Communication
2.2 PROFINET communication
SIMOCODE pro - Communication
70
Function Manual, 11/2018, A5E40508495002A/RS-AC/003
Structure of the diagnostics data records
Data blocks, diagnostics data records
In the following description, the main structure of the diagnostics data records at slot level
(0xC010, 0xC011, 0xC00A) is described with the individual data blocks:
Table 2- 15 Data blocks, diagnostics data records
BlockType
2 bytes
BlockLength
2 bytes
BlockVersion
2 bytes
API (Application Process Identifier)
4 bytes
SlotNumber
2 bytes
SubslotNumber
2 bytes
ChannelNumber
2 bytes
ChannelProperties
2 bytes
USI (User Structure Identifier)
2 bytes
Number of repeats = number of entries
ChannelNumber
2 bytes
ChannelProperties
2 bytes
ChannelErrorType
2 bytes
Data block "BlockType"
Table 2- 16 Data block "BlockType"
BlockType
Meaning
0x0010
Diagnostics data record
0x0001
Alarm transport channel 1
0x0002
Alarm transport channel 2
Data block "BlockLength"
In the "BlockLength" data field, the number of the following bytes of the diagnostics data
record is coded. This is the length of the diagnostics data record without the number of bytes
for the data fields "BlockType" and "BlockLength," which each have a length of 2 bytes.
Data block "BlockVersion"
Table 2- 17 Data block "BlockVersion"
BlockVersion
Value
Meaning
BlockVersionHigh
0x01
First value of the version number, 0x01
BlockVersionLow
0x01
Version number, always 0x01 in the case of SIMOCODE pro