PLCnext API Documentation 23.6.0.37
Public Member Functions | Static Public Member Functions | Public Attributes | List of all members
Arp::Io::Profibus::Services::StationDiagnosisItem Class Reference

Delivers diagnostic information of a slave More...

#include <StationDiagnosisItem.hpp>

Inheritance diagram for Arp::Io::Profibus::Services::StationDiagnosisItem:
Inheritance graph

Public Member Functions

void Serialize (RscWriter &writer) const override
 Serializes the datatype. All fields of the datatype have to be serialized in use of RscWriter. More...
 
void Deserialize (RscReader &reader) override
 Deserializes the datatype. All fields of the datatype have to be deserialized in use of RscReader. More...
 
- Public Member Functions inherited from Arp::System::Rsc::Services::IRscSerializable
virtual ~IRscSerializable ()=default
 default destructor
 
virtual void Serialize (RscWriter &writer) const =0
 Serializes the datatype. All fields of the datatype have to be serialized in use of RscWriter. More...
 
virtual void Deserialize (RscReader &reader)=0
 Deserializes the datatype. All fields of the datatype have to be deserialized in use of RscReader. More...
 

Static Public Member Functions

static constexpr size_t GetFieldCount (void)
 
- Static Public Member Functions inherited from Arp::System::Rsc::Services::IRscSerializable
static size_t GetFieldCount (void)
 Returns the count of fields of the struct type More...
 

Public Attributes

uint8 StationAddress = 0
 Contain station address of slave
 
uint8 MasterAddress = 0
 Contains station address of master which configured the slave
 
uint16 Id = 0
 Identification number of slave given by manufacturer
 
boolean StationExists = false
 Slave does exist and is responding
 
boolean IsStationReady = false
 Slave is ready for cyclic data transfer
 
boolean HasConfigurationError = false
 Internal configuration of the slave differs from the master configuration
 
boolean HasExtendedDiagnosis = false
 Extended diagnostic information available
 
boolean NotSupported = false
 Requested command is not supported by slave
 
boolean IsValidResponse = false
 Response of slave was valid.
 
boolean HasParameterError = false
 Last parameter telegram was defective or incorrect
 
boolean HasMasterLock = false
 Slave has been parameterized by another master
 
boolean RequiresParameterization = false
 Slave requires new parameterization and configuration
 
boolean HasStaticDiagnosis = false
 Master needs to request diagnostic information from slave again. Slave is not ready for data exchange because of general error.
 
boolean WatchdogEnabled = false
 Watchdog timer supervision mechanism is activated
 
boolean IsFreezed = false
 Slaves has received a "Freeze" command
 
boolean IsSynced = false
 Slave has received a "Sync" command
 
boolean IsSlaveEnabled = false
 Slave has been projected
 
std::vector< byteExtendedDiagnosisData
 Contains extended diagnosis data if 'ExtendedDiagnosis' is set
 

Detailed Description

Delivers diagnostic information of a slave

Member Function Documentation

◆ Deserialize()

void Arp::Io::Profibus::Services::StationDiagnosisItem::Deserialize ( RscReader reader)
inlineoverridevirtual

Deserializes the datatype. All fields of the datatype have to be deserialized in use of RscReader.

Parameters
readerReference to RscReader.

Implements Arp::System::Rsc::Services::IRscSerializable.

◆ Serialize()

void Arp::Io::Profibus::Services::StationDiagnosisItem::Serialize ( RscWriter writer) const
inlineoverridevirtual

Serializes the datatype. All fields of the datatype have to be serialized in use of RscWriter.

Parameters
writerReference to RscWriter

Implements Arp::System::Rsc::Services::IRscSerializable.


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