Diagnostics For Profinet Io - Siemens SIMATIC Vision Sensor VS 130-2 Manual

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

Advertisement

7.4.4

Diagnostics for PROFINET IO

SFB54 "RALRM" returns the following diagnostic information in the TINFO
parameter (task information) for PROFINET IO:
BYTE
Value
0 to 19
See OB description
20 to 21
Depending on
configuration
22
B#16#08
23
B#16#00
24
B#16#00 / B#16#01
25
B#16#01 / B#16#00
26 to 27
W#16#0B01
28 to 29
W#16#002A
30 to 31
W#16# 0001
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 described for exiting alarms (see
also the meaning of bytes 2 and 3 of AINFO).
BYTE
Value
0 to 1
W#16# 0002
2 to 3
W#16#0022 / W#16#0016
4 to 5
W#16# 0100
6 to 7
W#16#0001 / W#16#000C
8 to 11
DW#16# 00000000
12 to 13
W#16# 0000
14 to 15
W#16# 0001
16 to 19
DW#16# 00000300
20 to 23
DW#16# 00000000
Vision Sensor SIMATIC VS 130-2/VS 130-2vcr
A5E00475759-01
Meaning
Start information of the OB in which SFB 54 is called
Address:
Bits 0 to 10: Station number (acc. to configuration)
Bits 11 to 14: IO system ID (acc. to configuration)
Bit 15: 1
Bits 0 to 3: Slave type 1000 = PNIO
Bits 4 to 7: Profile type: 0000
Bits 0 to 3: Interrupt info type 0000
Bits 4 to 7: Structure version: 0000
Flags of the PNIO controller interface:
Bit 0 = 0: Interrupt from integrated interface module
Bit 0 = 1: Interrupt from external interface module
Bits 1 through 7: In each case 0
Flags of the PNIO controller interface:
Bit 0 = 1 for entering alarm
Bit 0 = 0 for exiting alarm
Bits 1 through 7: In each case 0
PNIO device identification number (fixed)
Manufacturer ID (fixed)
Identification number of the instance
Meaning
Block type (fixed)
Length of diagnostic data with alarm entering / exiting state
Version (fixed)
ID for the alarm type: Diagnostic alarm entering state /
diagnostic alarm exiting state
API (fixed)
Slot (fixed)
Subslot (fixed)
Module identification (fixed)
Submodule identification (fixed)
Diagnostics
7-15

Advertisement

Table of Contents
loading

This manual is also suitable for:

Simatic vision sensor vs 130-2vcr

Table of Contents