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
10.6

Diagnostics of DP CPUs

10.6.1
Diagnostics of DP CPUs operating as DP master
Diagnostics evaluation in the user program
The figure below shows you the procedure for evaluating the diagnostics in the
user program.
For the diagnosis of the whole DP slave:
call
SFC 13
Enter the diagnostic address
"OB82_MDL_ADDR*" in the
LADDR parameter
Note:
The SFC 13 is asynchronous, i. e. It can
be called several times if necessary until
it changes into the BUSY = 0 status.
First call in OB82,
Finish processing in the cycle.
Figure 10-3 Diagnostics with CPU 31x-2 (315-2-DP as of 315-2AF03)
10-12
Diagnostic event
OB82 is called
Read out OB82_MDL_ADDR
and
Read out
OB82_IO_FLAG
(= identifier I/O module)
Enter Bit 0 of the
OB82_IO_FLAG
as Bit 15 in the
OB82_MDL_ADDR
Result: diagnostic address
"OB82_MDL_ADDR*"
For the diagnosis of the modules involved:
call
SFC 51
Enter the diagnostic address
"OB82_MDL_ADDR*" in the
Enter the
p
arameter
S7-300 Programmable Controller Hardware and Installation
318-2-DP>=V3.0.0
For the diagnosis of the
components involved:
call
SFB 54
(in DPV1 environment)
MODE =1 set
Diagnostic data is entered
in the TINFO and
AINFO parameters.
INDEX parameter
ID W#16#00B3 in the
SZL_ID
(= diagnostic data of a module)
A5E00105492-01

Advertisement

Table of Contents
loading

Table of Contents