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

Delivers Profibus system variables More...

#include <SystemVariables.hpp>

Inheritance diagram for Arp::Io::Profibus::Services::SystemVariables:
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 MasterMainState = 0
 Delivers main state of Profibus master More...
 
boolean HasControlError = false
 Error is caused by incorrect parameterization More...
 
boolean HasAutoClearError = false
 Communication is stopped to all slaves More...
 
boolean HasExchangeError = false
 At least one slave does not exchange process data More...
 
boolean IsHostReady = false
 Host is ready to communicate More...
 
boolean HasTimeoutError = false
 Timeout occured because of rejected Profibus telegram More...
 
uint16 BusErrorCounter = 0
 Counter for bus error events More...
 
uint16 TimeoutCounter = 0
 Counter for bus timeouts More...
 

Detailed Description

Delivers Profibus system variables

Member Function Documentation

◆ Deserialize()

void Arp::Io::Profibus::Services::SystemVariables::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::SystemVariables::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

◆ BusErrorCounter

uint16 Arp::Io::Profibus::Services::SystemVariables::BusErrorCounter = 0

Counter for bus error events

◆ HasAutoClearError

boolean Arp::Io::Profibus::Services::SystemVariables::HasAutoClearError = false

Communication is stopped to all slaves

◆ HasControlError

boolean Arp::Io::Profibus::Services::SystemVariables::HasControlError = false

Error is caused by incorrect parameterization

◆ HasExchangeError

boolean Arp::Io::Profibus::Services::SystemVariables::HasExchangeError = false

At least one slave does not exchange process data

◆ HasTimeoutError

boolean Arp::Io::Profibus::Services::SystemVariables::HasTimeoutError = false

Timeout occured because of rejected Profibus telegram

◆ IsHostReady

boolean Arp::Io::Profibus::Services::SystemVariables::IsHostReady = false

Host is ready to communicate

◆ MasterMainState

uint8 Arp::Io::Profibus::Services::SystemVariables::MasterMainState = 0

Delivers main state of Profibus master

0x00 : OFFLINE

0x40 : STOP

0x80 : CLEAR

0xC0 : OPERATE

◆ TimeoutCounter

uint16 Arp::Io::Profibus::Services::SystemVariables::TimeoutCounter = 0

Counter for bus timeouts


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