7.7 Alarm and Error Messages of
LioN-P/-R Modules via PROFINET
7 Diagnostic Properties of the
Modules
7.7.1 Alarm Assessment in TIA Portal
In the TIA Portal, the user program execution is interrupted by triggering a
diagnostic alarm, and a diagnostic block is activated. The following blocks
are used:
Cause of the alarm
OB call
Peripheral error (short-circuit, overload, wire breakage, undervoltage of an I/O
module)
OB B2
Complete failure of the system
OB B6
Initial information on the cause of the error and error type is already delivered
based on the OB activated and its start information. You can receive more
detailed information about the error event in the error OB by activating SFB
54 RALRM (read supplementary alarm information). For this, SFB 54 must
be activated in every error OB.
If the error OB activated does not exist in the CPU, the CPU goes into the
STOP operating state.
It is also possible to activate a diagnostic data record using its data record
number with the system function block SFB 52 "RDREC" in OB 1.
7.7.2 Structure of Diagnostic Data Records
For the presentation of the diagnostic data records, the block version 0x0101
and the format identifier (USI, user structure identifier) 0x8000 is used.
The "ChannelNumber" and "ChannelError" data values have the following
values, depending on the error that has occurred:
Technical Manual LioN-P PROFINET
Version 2.0 10/2017
54