
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
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.
Summary of Contents for SIMATIC MV500
Page 10: ...Preface SIMATIC MV500 10 Operating Instructions 03 2021 C79000 G8976 C494 05 ...
Page 16: ......
Page 28: ......
Page 32: ......
Page 92: ......
Page 114: ......
Page 148: ......
Page 244: ......
Page 254: ......
Page 260: ......
Page 292: ......
Page 294: ...Service Support SIMATIC MV500 294 Operating Instructions 03 2021 C79000 G8976 C494 05 ...