PROFIBUS DP communication module
9.9 Diagnosis with STEP 7
9.9
Diagnosis with STEP 7
9.9.1
Reading out the diagnostic data
Length of the diagnostics message frame
The maximum message frame length is 32 bytes.
9.9.2
Options for reading diagnostic data
Table 9- 9
Automation system with
DP master
SIMATIC S7/M7
Example of reading out S7 diagnostics using SFC 13 "DP NRM_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:
● Diagnostics address is 1022 (3FEH).
● Slave diagnostic data must be stored in DB82: from address 0.0,
length 32 bytes.
● The slave diagnostic data has a length of 32 bytes.
172
Reading out the diagnostics information with STEP 7
Blocks or registers in
STEP 7
SFC 13 "DP NRM_DG"
Application
Reading slave
diagnostic data (stored
in the data area of the
user program)
Manual, 03/2017, NEB535219502000/RS-AB/008
See ...
Chapter Structure of
the slave diagnostics
(Page 173);
for SFC, see online
help in STEP 7
3RW44 soft starters