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

ExtChannelDiagnosis entry (USI 0x8002). More...

#include <diagnosis.h>

+ Inheritance diagram for profinet::diagnosis::ExtChannelDiagnosis:
+ Collaboration diagram for profinet::diagnosis::ExtChannelDiagnosis:

Public Attributes

std::uint16_t extErrorType = 0
 Extended channel error type code.
 
std::string extErrorTypeName
 Human-readable name for ExtErrorType.
 
std::uint32_t extAddValue = 0
 Extended channel additional value.
 
- Public Attributes inherited from profinet::diagnosis::ChannelDiagnosis
std::uint32_t api = 0
 API number.
 
std::uint16_t slot = 0
 Slot number.
 
std::uint16_t subslot = 0
 Subslot number.
 
std::uint16_t channelNumber = 0
 Channel number, with the accumulative bit packed into bit 15.
 
ChannelProperties properties
 Decoded channel properties.
 
std::uint16_t errorType = 0
 Channel error type code.
 
std::string errorTypeName
 Human-readable name for ErrorType.
 

Additional Inherited Members

- Public Member Functions inherited from profinet::diagnosis::ChannelDiagnosis
bool IsSubmoduleLevel () const
 Whether this diagnosis applies to the whole submodule.
 
bool operator== (const ChannelDiagnosis &) const =default
 Compares two ChannelDiagnosis for equality.
 

Detailed Description

ExtChannelDiagnosis entry (USI 0x8002).

Wire layout after the 6-byte ChannelHeader: ChannelErrorType (2) + ExtChannelErrorType (2) + ExtChannelAddValue (4).

Definition at line 212 of file diagnosis.h.

Member Data Documentation

◆ extAddValue

std::uint32_t profinet::diagnosis::ExtChannelDiagnosis::extAddValue = 0

Extended channel additional value.

Definition at line 221 of file diagnosis.h.

Referenced by profinet::diagnosis::ParseDiagnosisBlock().

◆ extErrorType

std::uint16_t profinet::diagnosis::ExtChannelDiagnosis::extErrorType = 0

Extended channel error type code.

Definition at line 215 of file diagnosis.h.

Referenced by profinet::diagnosis::ParseDiagnosisBlock().

◆ extErrorTypeName

std::string profinet::diagnosis::ExtChannelDiagnosis::extErrorTypeName

Human-readable name for ExtErrorType.

Definition at line 218 of file diagnosis.h.

Referenced by profinet::diagnosis::ParseDiagnosisBlock().


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