PROFINET IO Controller Stack 1.0.0
Modern C++ implementation of a PROFINET IO Controller stack
Loading...
Searching...
No Matches
profinet::PEAlarmItem Struct Reference

PROFIenergy alarm item (USI 0x8310). More...

#include <alarms.h>

+ Collaboration diagram for profinet::PEAlarmItem:

Public Member Functions

std::string UsiName () const
 Human-readable name for this item's USI.
 
std::string ModeName () const
 Human-readable name for PeOperationalMode.
 

Public Attributes

Usi userStructureId = Usi::PeAlarm
 User Structure Identifier for this item.
 
BlockType blockType = BlockType::Unknown
 Nested block type.
 
std::uint16_t blockLength = 0
 Nested block length.
 
std::uint16_t blockVersion = 0
 Nested block version.
 
std::uint8_t peOperationalMode = 0
 Current PROFIenergy operational mode.
 

Detailed Description

PROFIenergy alarm item (USI 0x8310).

Definition at line 240 of file alarms.h.

Member Function Documentation

◆ ModeName()

std::string profinet::PEAlarmItem::ModeName ( ) const
inline

Human-readable name for PeOperationalMode.

Returns
The mode name (see GetPeModeName()).

Definition at line 266 of file alarms.h.

References profinet::GetPeModeName(), and peOperationalMode.

+ Here is the call graph for this function:

◆ UsiName()

std::string profinet::PEAlarmItem::UsiName ( ) const
inline

Human-readable name for this item's USI.

Returns
The USI name (see GetUsiName()).

Definition at line 259 of file alarms.h.

References profinet::GetUsiName(), and userStructureId.

+ Here is the call graph for this function:

Member Data Documentation

◆ blockLength

std::uint16_t profinet::PEAlarmItem::blockLength = 0

Nested block length.

Definition at line 249 of file alarms.h.

◆ blockType

BlockType profinet::PEAlarmItem::blockType = BlockType::Unknown

Nested block type.

Definition at line 246 of file alarms.h.

◆ blockVersion

std::uint16_t profinet::PEAlarmItem::blockVersion = 0

Nested block version.

Definition at line 252 of file alarms.h.

◆ peOperationalMode

std::uint8_t profinet::PEAlarmItem::peOperationalMode = 0

Current PROFIenergy operational mode.

Definition at line 255 of file alarms.h.

Referenced by ModeName().

◆ userStructureId

Usi profinet::PEAlarmItem::userStructureId = Usi::PeAlarm

User Structure Identifier for this item.

Definition at line 243 of file alarms.h.

Referenced by UsiName().


The documentation for this struct was generated from the following file: