PROFINET IO functionality
8.4 Structure of the data records
SCALANCE X-200
Operating Instructions, 12/2011, A5E00349864-19 257

8.4 Structure of the data records

Data records 4, 5 and 0x802A

The structure of the data records 4, 5 and 0x802A is described below.

Data record 4:

Access: Read-write,
Structure:
typedef struct {
Word BlockType;
Word BlockLength;
Byte BlockVersionHigh:
Byte BlockVersionLow:
DWord Alarm_enable; };

BlockType:

1: Constant

BlockLength:

6: Constant in device data, designates the length without Type+ Length

BlockVersionHigh:

1: Constant in device data, designates the major version

BlockVersionLow:

1: Constant in device data, designates the minor version

Enable_alarms:

This bit list specifies what is to be monitored. If a bit is set, this alarm source is enabled.
Reserved
Bit 2 - 31
C-PLUG
Bit 1
Red_power
Bit 0
0 0: No C-PLUG monitoring 0: No monitoring of the redundant power supply
1: Missing or incorrect C-
PLUG generates alarm
1: Monitoring of the redundant power supply