Supplementary information
15.2 Supplementary information on diagnostics of CPU 410-5H as PROFIBUS DP master
CPU 410-5H Process Automation
232
System Manual, 09/2014, A5E31622160-AB
15.2
Supplementary information on diagnostics of CPU 410-5H as
PROFIBUS DP master
Reading the diagnostics data with STEP 7
Table 15- 1 Reading the diagnostics data with STEP 7
DP master
Block or tab in
STEP 7
Application
See ...
CPU 41x
"DP Slave Diagnos-
tics" tab
Show slave diagnostics in plain
text on the
STEP 7
user inter-
face
See "Hardware diagnostics" in
the
STEP 7
online help and in
Manual
Configuring Hardware
and Communication Connec-
tions with STEP 7
SFC 13
"DPNRM_DG"
Read slave diagnostics data,
i.e., save them to the data area
of the user program
It is possible that the busy bit
will not be set to "0" if an error
occurs while SFC 13 is being
processed. You should there-
fore check the RET_VAL pa-
rameter after every execution
of SFC 13.
see
System and Standard
Functions
reference manual. For the
structure of other slaves, refer
to their descriptions.
SFC 59 "RD_REC" Read data records of S7 diag-
nostics (store in the data area
of the user program)
See
System and Standard
Functions
reference manual
SFC 51 "RDSYSST" Read SSL partial lists. Call
SFC 51 in the diagnostic inter-
rupt with SSL ID W#16#00B3
and read the SSL of the slave
CPU.
SFB 52 "RDREC"
For DPV1 slaves
Read the data records of S7
diagnostics, i.e., store in the
data area of the user program
SFB 54 "RALRM"
For DPV1 slaves:
Read interrupt information
within the associated interrupt
OB