Siemens SIMATIC Vision Sensor VS 130-2 Manual page 148

Hide thumbs Also See for SIMATIC Vision Sensor VS 130-2:
Table of Contents

Advertisement

Diagnostics
BYTE
Value
24 to 25
W#16#Bxxx / W#16#0xxx
26 to 27
W#16# 0002
28 to 29
W#16# 0000
30 to 31
W#16# 0001
32 to 33
W#16# 0000
34 to 35
W#16# 0805
36 to 37
Value from the table in Error
Messages
In contrast to event-based reading of diagnostic data with the SFB 54, it is also
possible to read diagnostic data based on the status. This can be performed using
SFB 52 "RDREC".
SFB 52 is called as follows:
Assign the diagnostic address of the VS 130-2/VS 130-2vcr in hexadecimal
form to the parameter ID.
Assign the INDEX parameter the value 2.
The diagnostic data record is structured as follows:
BYTE
Value
0 to 1
W#16# 0010
2 to 3
W#16# 0012
4 to 5
W#16# 0100
6 to 7
W#16# 0000
8 to 9
W#16# 0000
10 to 11
W#16# 0000
12
B#16#08 / B#16#10
13
B#16#05
14 to 15
W#16# 0002
16 to 17
W#16# 0000
18 to 19
W#16#0805 / W#16#1005
20 to 21
Value from the table in Error
Messages
7-16
Meaning
Alarm specifier for entering/exiting alarms:
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
Meaning
Data record type: Diagnostic Data Record
Data record length starting at byte 4: 18 bytes
Version
Slot
Subslot
Channel
Error detected / no error detected
Indicates that all variables are save word by word beginning at
byte 14
ID for manufacturer-specific diagnostics
Channel number
Content identical to bytes 12 and 13
ID for occurring error
Vision Sensor SIMATIC VS 130-2/VS 130-2vcr
A5E00475759-01

Advertisement

Table of Contents
loading

This manual is also suitable for:

Simatic vision sensor vs 130-2vcr

Table of Contents