Alarm, fault and system messages
11.4 I/O device diagnostics
SIMATIC MV420 / SIMATIC MV440
348 Operating Instructions, 04/2013, A5E02371045-06
11.4.3 Diagnostics with PROFINET IO
SFB 54 "RALRM" returns the following diagnostics information with PROFINET IO in the
TINFO parameter (task information):
Byte Value Meaning
0 ... 19 See OB description Start information of the OB in which SFB 54 was called.
20 ... 21 Depends on the configuration Address:
• Bit 0 ... 10: Station number (according to configuration)
• Bit 11 ... 14: I/O system ID (according to configuration)
• Bit 15: 1
22 B#16#08
• Bit 0 ... 3: Slave type: 1000 = PNIO
• Bit 4 ... 7: Profile type: 0000
23 B#16#00
• Bit 0 ... 3: Alarm info type: 0000
• Bit 4 ... 7: Structure version: 0000
24 B#16#00 / B#16#01 Flags of the PNIO controller interface module:
• Bit 0 = 0: Alarm from an integrated interface module
• Bit 0 = 1: Alarm from an external interface module
• Bits 1 ... 7: all 0
25 B#16#01 / B#16#00 Flags of the PNIO controller interface module:
• Bit 0 = 1 with incoming alarm
• Bit 0 = 0 with outgoing alarm
• Bits 1 ... 7: all 0
26 ... 27 W#16#8111 PNIO device ident number (fixed).
28 ... 29 W#16#002A Vendor ID (fixed).
30 ... 31 W#16#0001 Identification number of the instance.
SFB 54 "RALRM" returns the following diagnostics information with PROFINET IO in the
AINFO parameter (additional alarm information):
Note
When an alarm exits the alarm state, only bytes 0 to 25 of the AINFO parameter are written.
Compare the meaning of bytes 2 and 3 of AINFO.