EasyManua.ls Logo

Siemens Simatic S7-400

Siemens Simatic S7-400
206 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
PROFIBUS DP
5.1 CPU 41x-3 PN/DP as DP master / DP slave
S7-400 Automation System, CPU Specifications
5-8 Manual, 10/2006, 6ES7498-8AA04-8BA0
Analysis of Diagnostic Data in the User Program
The following figure shows you how to evaluate the diagnostic data in the user program.
CPU 41x
Diagnostic event
OB82 is called
Read out OB82_MDL_ADDR
and
Read out OB82_IO_FLAG
(= input/output module identifier)
Enter bit 0 of the OB82_IO_Flag as
bit 15 in OB82_MDL_ADDR Result:
Diagnostic address
"OB40_MDL_ADDR*"
For the diagnosis of the whole DP slave:
Call SFC 13
Enter the diagnostic address
“OB82_MDL_ADDR*” in the LADDR param-
eter
For the diagnosis of the relevant modules:
Call SFC 51
Enter the diagnostic address
“OB82_MDL_ADDR*” in the INDEX parameter
Enter the ID W#16#00B3 in the SZL_ID
parameter (= diagnostic data of a module)
For the diagnosis of the relevant
components:
Call SFB 54 (in the DPV1 environ-
ment)
MODE= set 1
Diagnostic data are entered in the
TINFO and AINFO parameters.
Figure 5-1 Diagnostics with CPU 41x

Table of Contents

Other manuals for Siemens Simatic S7-400

Related product manuals