|
PROFINET IO Controller Stack 1.0.0
Modern C++ implementation of a PROFINET IO Controller stack
|
Describes I/O data for a submodule (one direction: Input or Output). More...
#include <blocks.h>
Collaboration diagram for profinet::blocks::ExpectedSubmoduleDataDescription:Public Member Functions | |
| Bytes | ToBytes () const |
| Serialize this description to raw bytes. | |
Public Attributes | |
| std::uint16_t | dataDescription = 1 |
| Data direction: 1 = Input, 2 = Output. | |
| std::uint16_t | submoduleDataLength = 0 |
| Length in bytes of this direction's cyclic data. | |
| std::uint8_t | lengthIocs = 1 |
| Length in bytes of the IOCS (consumer status) trailer. | |
| std::uint8_t | lengthIops = 1 |
| Length in bytes of the IOPS (provider status) trailer. | |
Describes I/O data for a submodule (one direction: Input or Output).
| Bytes profinet::blocks::ExpectedSubmoduleDataDescription::ToBytes | ( | ) | const |
Serialize this description to raw bytes.
Definition at line 791 of file blocks.cpp.
References dataDescription, lengthIocs, lengthIops, profinet::wire::PutU16(), profinet::wire::PutU8(), and submoduleDataLength.
Here is the call graph for this function:| std::uint16_t profinet::blocks::ExpectedSubmoduleDataDescription::dataDescription = 1 |
| std::uint8_t profinet::blocks::ExpectedSubmoduleDataDescription::lengthIocs = 1 |
| std::uint8_t profinet::blocks::ExpectedSubmoduleDataDescription::lengthIops = 1 |
| std::uint16_t profinet::blocks::ExpectedSubmoduleDataDescription::submoduleDataLength = 0 |