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

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.

Member Data Documentation

◆ ExtendedDiagnosisData

std::vector<uint8> Arp::Io::Profibus::Services::StationDiagnosisItem::ExtendedDiagnosisData

Contains extended diagnosis data if 'ExtendedDiagnosis' is set

◆ HasConfigurationError

boolean Arp::Io::Profibus::Services::StationDiagnosisItem::HasConfigurationError = false

Internal configuration of the slave differs from the master configuration

◆ HasExtendedDiagnosis

boolean Arp::Io::Profibus::Services::StationDiagnosisItem::HasExtendedDiagnosis = false

Extended diagnostic information available

◆ HasMasterLock

boolean Arp::Io::Profibus::Services::StationDiagnosisItem::HasMasterLock = false

Slave has been parameterized by another master

◆ HasParameterError

boolean Arp::Io::Profibus::Services::StationDiagnosisItem::HasParameterError = false

Last parameter telegram was defective or incorrect

◆ HasStaticDiagnosis

boolean Arp::Io::Profibus::Services::StationDiagnosisItem::HasStaticDiagnosis = false

Master needs to request diagnostic information from slave again. Slave is not ready for data exchange because of general error.

◆ Id

uint16 Arp::Io::Profibus::Services::StationDiagnosisItem::Id = 0

Identification number of slave given by manufacturer

◆ IsFreezed

boolean Arp::Io::Profibus::Services::StationDiagnosisItem::IsFreezed = false

Slaves has received a "Freeze" command

◆ IsSlaveEnabled

boolean Arp::Io::Profibus::Services::StationDiagnosisItem::IsSlaveEnabled = false

Slave has been projected

◆ IsStationReady

boolean Arp::Io::Profibus::Services::StationDiagnosisItem::IsStationReady = false

Slave is ready for cyclic data transfer

◆ IsSynced

boolean Arp::Io::Profibus::Services::StationDiagnosisItem::IsSynced = false

Slave has received a "Sync" command

◆ IsValidResponse

boolean Arp::Io::Profibus::Services::StationDiagnosisItem::IsValidResponse = false

Response of slave was valid.

◆ MasterAddress

uint8 Arp::Io::Profibus::Services::StationDiagnosisItem::MasterAddress = 0

Contains station address of master which configured the slave

◆ NotSupported

boolean Arp::Io::Profibus::Services::StationDiagnosisItem::NotSupported = false

Requested command is not supported by slave

◆ RequiresParameterization

boolean Arp::Io::Profibus::Services::StationDiagnosisItem::RequiresParameterization = false

Slave requires new parameterization and configuration

◆ StationAddress

uint8 Arp::Io::Profibus::Services::StationDiagnosisItem::StationAddress = 0

Contain station address of slave

◆ StationExists

boolean Arp::Io::Profibus::Services::StationDiagnosisItem::StationExists = false

Slave does exist and is responding

◆ WatchdogEnabled

boolean Arp::Io::Profibus::Services::StationDiagnosisItem::WatchdogEnabled = false

Watchdog timer supervision mechanism is activated


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