EasyManua.ls Logo

Siemens SIMATIC MV500 - Page 238

Siemens SIMATIC MV500
294 pages
Print Icon
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
Service and maintenance
10.1 Error and diagnostics messages
SIMATIC MV500
238 Operating Instructions, 03/2021, C79000-G8976-C494-05
SFB 54 "RALRM" returns the following diagnostics information with PROFINET IO in the
"AINFO" parameter (additional alarm information):
Note
Only the bytes 0 to 25 are written for outgoing alarms
Only bytes 0 to 25 of the "AINFO" parameter are written for outgoing alarms. Compare the
meaning of bytes 2 and 3 of "AINFO".
Table 10- 10 Diagnostic information of SFB 54 "RALRM" - "AINFO" parameter
Byte
Value
Meaning
0 ... 1
According to PNIO standard
Block type
2 ... 3
W#16#001A / W#16#0016
Length of the diagnostics data with an incoming / outgoing alarm.
4 ... 5
W#16#0100
Version (fixed)
6 ... 7
W#16#0001 / W#16#000C
ID for the alarm type: Diagnostics alarm incoming / diagnostics alarm
outgoing.
8 ... 11
DW#16#00000000
API (fixed)
12 ... 13
W#16#0000
Slot (fixed)
14 ... 15
W#16#0001
Subslot (fixed)
16 ... 19
DW#16#00000300
Module identification (fixed)
20 ... 23
DW#16#00000000
Submodule identification (fixed)
24 ... 25
W#16#Bxxx / W#16#xxx
Alarm specification for incoming / outgoing alarm:
Bits 0 to 10: Sequence number
Bit 11: Channel diagnostics: 0 (fixed)
Bit 12: Status of vendor-specific diagnostics
Bit 13: Status of diagnostics for submodule
Bit 14: Reserved: 0
Bit 15: Diagnostics status
26 ... 27
W#16#0004
ID for vendor-specific diagnostics (fixed).
28 ... 29
See value with the section "Error
messages (Page 224)"
ID of the error that occurred.
In addition to the event-related readout of the diagnostic data with the SFB 54, you also have
the option of reading out status-related diagnostics data.
You read out status-related diagnostics data using SFB 52 "RDREC".
Proceed as follows to call the SFB 52:
1. Assign the diagnostic address of the optical reader in hexadecimal form to the "ID"
parameter.
2. Assign the value 2 to the "INDEX" parameter.

Table of Contents

Other manuals for Siemens SIMATIC MV500