Operating instructions

PROFINET IO functionality
7.3 Access options with PNIO
Industrial Ethernet SCALANCE X-100 and SCALANCE X-200 Product Line
Operating instructions, 09/2006, A5E00349864 Release 7
7-15
Structure:
typedef struct {
Word BlockType;
Word BlockLength;
Byte BlockVersionHigh:
Byte BlockVersionLow:
Word Alarm_Mode;
DWord Alarm_Parameter;
};
BlockType:
1: Constant
BlockLength:
8: 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
Alarm_Mode:
Reserved
Bit 15..Bit8
Auto_mode
Bit 4..Bit7
Port_Enable
Bit 0..Bit3
0: Configured alarm setting 0: Alarm disable
1: Transfer LinkStatus
Operating mode at start of
cyclical data exchange for
switch as desired status for
this port.
1: Alarm enable
Permitted values:
0
Dec
0x0000 No alarm generation Default
1
Dec
0x0001 Alarm enable See Alarm_Parameter for
setpoint
17
Dec
0x0011 Alarm enable Setpoint determined at start
of data transfer mode