7.13 Diagnostics with STEP 7 with PROFIBUS
7.13.1 Introduction
Introduction
The device diagnostics behave according to the IEC 61784-1:2002 Ed1 CP 3/1 standard.
Depending on the DP master, it can be read out with STEP 7 for all DP devices that behave
according to the standard.
The reading out and the conguration of the device diagnostics is described in the following
sections.
7.13.2 Reading the diagnostics for PROFIBUS
Options for reading out the diagnostics
Table 7-19 Reading the diagnostics with STEP 7
Automation sys‐
tem with DP mas‐
ter
Block or tab in STEP 7 Application See...
SIMATIC S7 "DP Slave Diagnostics"
tab
Device diagnostics as plain text on
STEP 7 interface
"Diagnose hardware" in the STEP 7 on‐
line help
SFC13 "DPNRM_DG" Read out device diagnostics (store in
data area of user program)
Conguration see section "Congura‐
tion of device diagnostics for PROFIBUS
(Page 202)"; SFC see Reference Manual
System and standard functions (https://
support.automation.siemens.com/WW
/view/en/1214574)
SFC 59 "RD_REC" Read out data records (DS0/1) of S7
diagnostics (store in data area of user
program)
Example of reading out the S7 diagnostics with SFC 13 "DPNRM_DG".
Here you nd an example how to read the device diagnostics for a DP device in the STEP 7 user
program with the SFC 13.
Assumptions
The following assumptions apply to this STEP 7 user program:
• The diagnostic address of the ET 200iSP is 1022 (3FE
H
).
• The device diagnostics are stored in DB 82: from address 0.0, length 96 bytes.
• Device diagnostics comprises 96 bytes.
Commissioning and Diagnostics
7.13 Diagnostics with STEP 7 with PROFIBUS
ET 200iSP
Operating Instructions, 11/2022, A5E00247483-AK 197