Diagnostics for PROFINET IO
Receive alarm with SFB54 "RALRM"
SFB54 "RALRM" returns the following diagnostic information in the TINFO parameter
(task information) for PROFINET IO:
Byte
0 to 19
20 to 21
22
23
24
25
26 to 27
28 to 29
30 to 31
The SFB 54 "RALRM" returns the following diagnostic information in the AINFO parameter
(alarm status information) for PROFINET IO:
Note
Only bytes 0 to 25 of the AINFO parameter are written for alarms exiting state (see also the
meaning of bytes 2 and 3 of AINFO).
Vision Sensor SIMATIC VS120
Operating Instructions, Edition 02/2006, A5E00757507-01
Value
See OB description
Depending on configuration
B#16#08
B#16#00
B#16#00 / B#16#01
B#16#01 / B#16#00
W#16#0B01
W#16#002A
W#16# 0001
Alarm, error and system messages
11.4 Slave diagnostics or /O device diagnostics
Meaning
Start information of the OB in which SFB 54 is called
Address:
Bit 0 to 10: Station number (acc. to configuration)
•
Bit 11 to 14: IO system ID (acc. to configuration)
•
Bit 15: 1
•
Bit 0 to 3: Slave type 1000 = PNIO
•
Bit 4 to 7: Profile type: 0000
•
Bit 0 to 3: Alarm info type: 0000
•
Bit 4 to 7: Structure version: 0000
•
Flags of the PNIO controller interface:
Bit 0 = 0: Alarm from integrated interface module
•
Bit 0 = 1: Alarm from external interface module
•
Bits 1 through 7: In each case 0
•
Flags of the PNIO controller interface:
Bit 0 = 1 for alarm entering state
•
Bit 0 = 0 for alarm exiting state
•
Bits 1 through 7: In each case 0
•
PNIO device identification number (fixed)
Manufacturer ID (fixed)
Identification number of the instance
11-15