Delivers Profibus system variables
More...
#include <SystemVariables.hpp>
|
|
| SystemVariables (void) |
| | Constructs an SystemVariables instance.
|
| |
|
| SystemVariables (uint8 masterMainState, boolean hasControlError, boolean hasAutoClearError, boolean hasExchangeError, boolean isHostReady, boolean hasTimeoutError, uint16 busErrorCounter, uint16 timeoutCounter) |
| | Constructs an SystemVariables instance.
|
| |
| void | Serialize (RscWriter &writer) const |
| | Serializes the datatype. All fields of the datatype have to be serialized in use of RscWriter. More...
|
| |
| void | Deserialize (RscReader &reader) |
| | Deserializes the datatype. All fields of the datatype have to be deserialized in use of RscReader. More...
|
| |
|
| RscSerializable (void)=default |
| | The default constructor.
|
| |
|
| uint8 | MasterMainState = 0 |
| | Delivers main state of Profibus master More...
|
| |
|
boolean | HasControlError = false |
| | Error is caused by incorrect parameterization
|
| |
|
boolean | HasAutoClearError = false |
| | Communication is stopped to all slaves
|
| |
|
boolean | HasExchangeError = false |
| | At least one slave does not exchange process data
|
| |
|
boolean | IsHostReady = false |
| | Host is ready to communicate
|
| |
|
boolean | HasTimeoutError = false |
| | Timeout occured because of rejected Profibus telegram
|
| |
|
uint16 | BusErrorCounter = 0 |
| | Counter for bus error events
|
| |
|
uint16 | TimeoutCounter = 0 |
| | Counter for bus timeouts
|
| |
Delivers Profibus system variables
◆ Deserialize()
| void Arp::Io::Profibus::Services::SystemVariables::Deserialize |
( |
RscReader & |
reader | ) |
|
Deserializes the datatype. All fields of the datatype have to be deserialized in use of RscReader.
- Parameters
-
| reader | Reference to RscReader. |
◆ GetFieldCount()
| size_t Arp::Io::Profibus::Services::SystemVariables::GetFieldCount |
( |
void |
| ) |
|
|
static |
Returns the count of fields
- Returns
- Count of fields.
The field count is used for serialization via Rsc
◆ Serialize()
| void Arp::Io::Profibus::Services::SystemVariables::Serialize |
( |
RscWriter & |
writer | ) |
const |
Serializes the datatype. All fields of the datatype have to be serialized in use of RscWriter.
- Parameters
-
| writer | Reference to RscWriter |
◆ MasterMainState
| uint8 Arp::Io::Profibus::Services::SystemVariables::MasterMainState = 0 |
Delivers main state of Profibus master
0x00 : OFFLINE
0x40 : STOP
0x80 : CLEAR
0xC0 : OPERATE
The documentation for this class was generated from the following files: