Installation of a CPU 41x-H
4-37
Automation System S7-400H Fault-tolerant Systems
A5E00068197-07
Evaluating the Diagnosis in the User Program
The following figure shows you how to evaluate the diagnosis in the user program.
Diagnostics event
Read out OB82_MDL_ADDR
and
Read out OB82_IO_FLAG
(= input/output module identifier)
For the diagnosis of the whole DP slave:
Call SFC 13
±
Enter the diagnostics address
OB82_MDL_ADDR* in the LADDR parameter
Enter bit 0 of the OB82_IO_Flag as
bit 15 in OB82_MDL_ADDR
Result: Diagnostics address
“OB82_MDL_ADDR*”
For the diagnosis of the relevant modules:
Call SFC 51
±
Enter the diagnostics address
OB82_MDL_ADDR* in the INDEX parameter
Enter the ID W#16#00B3 in the SZL_ID parameter
(= diagnostics data of a module)
CPU 41x
OB82 is called
For the diagnosis of the relevant
components:
Call SFB 54 (in DPV1 environment)
±
MODE= set 1
Diagnostics data are entered in the
TINFO and
AINFO parameters.
Figure 4-7 Diagnostics with CPU 41x