6.8
Diagnostics with STEP 7
6.8.1
Introduction
Introduction
The slave diagnostics behaves according the
IEC 61784-1:2002 Ed1 CP 3/1 standard. In
dependence on the DP master it can be read out using STEP 7 for all DP slaves that behave
according to the standard.
The readout and the configuration of the slave diagnostics is described in the follow sections.
6.8.2
Reading out the diagnostics
Options for reading out the diagnostics
Table 6-9
Reading out diagnostic information with STEP 7
Automation sys‐
tem with DP mas‐
ter
Block or tab in STEP 7
Application
See...
SIMATIC S7
"DP Slave Diagnostics" tab
Slave diagnostics in plain text
on the STEP 7 user interface
"Hardware diagnostics" in the STEP 7
Online Help
SFC13 "DPNRM_DG"
Reading out slave diagnostic
information (storing in the data
area of the user program)
Structure, see chapter Structure of the
slave diagnostics (Page 159); SFC
see reference manual System and
support.automation.siemens.com/
SFC 59 "RD_REC"
Reading out data records
(DS0/1) of the S7 diagnostics
(save in data area of user pro‐
gram)
Example of Reading Out the S7 Diagnostics using SFC 13 "DPNRM_DG"
This is an example of how to use the SFC 13 to read out the slave diagnostics for a DP slave
in the STEP 7 user program.
Assumptions
The following assumptions apply for this STEP 7 user program:
● The diagnostics address of the ET 200iSP is 1022 (3FE
H
).
● The slave diagnostics should be stored in the DB 82: from address 0.0, length 96 bytes.
● The slave diagnostics comprises 96 bytes.
Commissioning and Diagnostics
6.8 Diagnostics with STEP 7
ET 200iSP
154
Operating Instructions, 11/2017, A5E00247483-07