Siemens Industrial Ethernet Switches SCALANCE X-200 User Manual

Page 258

Advertising
background image

PROFINET IO functionality

8.4 Structure of the data records

SCALANCE X-200

258

Operating Instructions, 12/2011, A5E00349864-19

Data record 5:

Supplies the current alarm setting for this port
Access: Read-only
typedef struct {
Word BlockType;
Word BlockLength;
Byte BlockVersionHigh;
Byte BlockVersionLow;
DWord status; };

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

Status:

Reserved

Bits 8-31

C-PLUG_status

Bits 4-7

Reserved

Bits 2-3

Fault_line_status

Bit 1

Power line redundancy

Bit 0

0

Information regarding

the configuration plug

of the network

component
0: C-PLUG inserted

and ok
1:C-PLUG not inserted
2: C-PLUG inserted but

not ok (incorrect type)
3: C-PLUG inserted but

not ok (checksum error)

Information about the

current error status
0: Fault line passive
1: Fault line active

This bit provides

information about the

redundant power supply
0: not redundant
1: redundant

Advertising