Siemens SIMATIC VS120 Operating Instructions Manual page 163

Image processing systems vision sensor
Table of Contents

Advertisement

Receive alarm with SFB54 "RALRM"
SFB 54 "RALRM" returns the following diagnostic information in the TINFO parameter
(task information) for PROFIBUS DP:
Byte
0 to 19
20 to 21
22
23
24
25
26 to 27
Vision Sensor SIMATIC VS120
Operating Instructions, Edition 02/2006, A5E00757507-01
Value
See OB description
Depending on configuration
B#16#00
B#16#01
B#16#00 / B#16#01
B#16#01 / B#16#00
W#16#80ED
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 7: Station number (acc. to configuration)
Bit 8 to 14: DP master system ID (acc. to
configuration)
Bit 15: 0
Bit 0 to 3: Slave type (DP)
Bit 4 to 7: Profile type: 0000
Bit 0 to 3: Alarm information type (alarm of a
non-DPV1 slave / non-IO device)
Bit 4 to 7: Structure version
Flags of the PROFIBUS DP master interface:
Bit 0 = 0: Alarm from integrated interface module
Bit 0 = 1: Alarm from external interface module
Bit 1 to 7: In each case 0
Flags of the PROFIBUS DP master interface:
Bit 0 = 1 for alarm entering state
Bit 0 = 0 for alarm exiting state
Bit 1 to 7: In each case 0
PROFIBUS identification number (fixed)
11-13

Advertisement

Table of Contents
loading

Table of Contents