Diagnostics Of Dp Cpus - Siemens SIMATIC S7-300 Hardware And Installation Manual

Hide thumbs Also See for SIMATIC S7-300:
Table of Contents

Advertisement

Testing functions, Diagnostics and Fault Elimination

11.6 Diagnostics of DP CPUs

11.6.1 Diagnostics of DP CPUs operating as DP master
Diagnostics evaluation in the user program
The figure below illustrates the procedure for evaluating the diagnostics in the user
program.
OB82 is called
Read out OB82_MDL_ADDR
and
Read out
(= Identification I/O module)
Bit 0 of
entered as Bit 15 into
OB82_MDL_ADDR
Result: Diagnostic address
"OB82_MDL_ADDR*"
For the diagnostics of
the entire DP slave:
Call
SFC 13
enter the diagnostic address
"OB82_MDL_ADDR*"
the LADDR parameter
Note:
SFC 13 ist asynchronous, i. e. it can be
called several times until it enters the
BUSY mode = 0.
First call into OB82,
Finish processing in the cycle.
Figure 11-2 Diagnostics with CPU 31x-2
11-12
Diagnostic event
OB82_IO_FLAG
OB82_IO_FLAG
into
Valid for the following CPUs
CPU 318-2-DP>=V3.0.0,
CPU 31xC-2 DP
CPU 315-2 DP (6ES7315-2AG10-0AB0)
For the diagnostics of the
affected components:
Call
SFB 54
MODE=1 set
Diagnostic data is entered
into the TINFO
and AINFO parameters.
For the diagnostics of the affected modules:
call
SFC 51
Enter the diagnostic address
"OB82_MDL_ADDR*" into
the INDEX parameter
Enter
ID W#16#00B3
(= diagnostic data of a module) into
the SZL_ID parameter
S7-300 Programmable Controller Hardware and Installation
A5E00105492-02

Advertisement

Table of Contents
loading

Table of Contents