Siemens SIMATIC VS120 Operating Instructions Manual page 166

Image processing systems vision sensor
Table of Contents

Advertisement

Alarm, error and system messages
11.4 Slave diagnostics or /O device diagnostics
Byte
0 to 1
2 to 3
4 to 5
6 to 7
8 to 11
12 to 13
14 to 15
16 to 19
20 to 23
24 to 25
26 to 27
28 to 29
30 to 31
32 to 33
34 to 35
36 to 37
Read data record with SFB52 "RDREC"
In contrast to event-based reading of diagnostic data with the SFB54, it is also possible to
read diagnostic data based on the status. Status-related reading of the diagnostic data is
performed using SFB52 "RDREC".
SFB52 is called as follows:
• Assign the diagnostic address of the SIMATIC VS120 to the parameter ID in hexadecimal
• Assign the INDEX parameter the value 2.
11-16
Value
W#16# 0002
W#16#0022 / W#16#0016
W#16# 0100
W#16#0001 / W#16#000C
DW#16# 00000000
W#16# 0000
W#16# 0001
DW#16# 00000300
DW#16# 00000000
W#16#Bxxx / W#16#0xxx
W#16#0003
W#16# 0000
W#16# 0001
W#16# 0000
W#16# 0805
Value from the table in Error
messages
format.
Meaning
Block type (fixed)
Length of diagnostic data with alarm entering / exiting
state
Version (fixed)
ID for the alarm type: Diagnostic interrupt entering state /
diagnostic interrupt exiting state
API (fixed)
Slot (fixed)
Subslot (fixed)
Module identification (fixed)
Submodule identification (fixed)
Alarm specifier for alarms entering/exiting state:
Bits 0 through 10: Sequence number
Bit 11: Channel diagnostics: 0 (fixed)
Bit 12: Status of vendor-specific diagnostics
Bit 13: Status of diagnostics on submodule
Bit 14: reserved: 0
Bit 15: Application relation diagnostic status
Format ID for manufacturer-specific diagnostics (fixed)
Slot (fixed)
Subslot (fixed)
Channel (fixed)
Properties (fixed)
ID for occurring error
Operating Instructions, Edition 02/2006, A5E00757507-01
Vision Sensor SIMATIC VS120

Advertisement

Table of Contents
loading

Table of Contents