PROFIBUS DP
5.1 CPU 41x-3 PN/DP as DP master / DP slave
S7-400 Automation System, CPU Specifications
5-16 Manual, 10/2006, 6ES7498-8AA04-8BA0
S7 Diagnostics
S7 diagnostic information can be requested in the user program from all diagnostics-capable
modules in the SIMATIC S7/M7 range of modules. You can find out which modules have
diagnostic capability in the module information or in the catalog. The structure of the
S7 diagnostic data is the same for both central and distributed modules.
The diagnostic data of a module is located in data records 0 and 1 of the system data area of
the module. Data record 0 contains 4 bytes of diagnostic data describing the current status
of a module. Data record 1 also contains module-specific diagnostic data.
You will find the structure of the diagnostic data described in the
Standard and System
Functions
reference manual.
Reading Out the Diagnostics
Table 5-9 Reading out the diagnostic data with STEP 5 and STEP 7 in the master system
Automation system with
DP master
Block or tab in
STEP 7
Application Reference
"DP Slave Diagnostics" tab
Show slave diagnosis in clear
text on the
STEP 7
interface
See the section on hardware
diagnostics in the
STEP 7
online help system and in the
Programming with STEP 7
manual
SFC13 "DP NRM_DG" Reading out slave diagnostics
(store in data area of the user
program)
SFC, see
System Software for
S7-300/400, System and
Standard Functions
reference
manual.
SFC 51 "RDSYSST" Read out partial SSL lists.
Call SFC51 in the diagnostic
interrupt using the SSL ID
W#16#00B3 and read out the
SSL of the slave CPU.
SFB54 "RDREC" The following applies to the
DPV1 environment: To read out
interrupt information within the
associated interrupt OB
System Software for
S7-300/400, System and
Standard Functions
reference
manual.
SIMATIC S7
FB125/FC125 To evaluate slave diagnostic
information
The Internet page
http://www.ad.siemens.d
e/simatic-cs
ID 387 257
SIMATIC S5 with
IM 308-C operating in DP
master mode
FB 192 "IM308C"
SIMATIC S5 with the
S5-95U programmable
controller as DP master
FB 230 "S_DIAG"
Reading out slave diagnostics
(store in data area of the user
program)
For structure, see section
"Diagnostics of the CPU 41x
as DP slave"; FBs see manual
Distributed I/O Station ET 200