Reading Out The Diagnostic Data With Step - Siemens SIMATIC S7-400 Reference Manual

Automation system
Hide thumbs Also See for SIMATIC S7-400:
Table of Contents

Advertisement

Structure of a CPU 41x
S7 Diagnosis
An S7 diagnosis can be requested for all diagnostics-capable modules in the
SIMATIC S7/M7 range of modules in the user program. 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 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 Diagnosis
Table 1-12 Reading Out the Diagnostic Data with STEP 5 and STEP 7 in the Master System
Automation System
with DP Master
SIMATIC S7/M7
DP slave diagnostics
tab
SFC 13
"DP NRM_DG"
SFC 51 "RDSYSST"
SFB 54 "RDREC"
FB 125/FC 125
1-52
Block or Tab in
STEP 7
To display the slave
diagnosis as plain text at
the STEP 7 user interface
To read out the slave
diagnosis
(store in the data area of
the user program))
To read out SSL sublists
Call SFC 51 in the
diagnostic interrupt using
the SSL ID W#16#00B3
and read out the SSL of the
slave CPU.
Applies to the DPV1
environment: To read out
interrupt information within
the associated interrupt OB
To evaluate slave diagnosis The Internet page
Application
See the section on
hardware diagnostics in
the STEP 7 online help
system and in the STEP 7
user guide STEP 7
SFC see Reference
Manual System and
Standard Functions
See the System and
Standard Functions
Reference Manual
Reference Manual
http://www.ad.siemens.de/
simatic-cs
ID 387 257
Automation System S7-400 CPU Specifications
Refer To...
A5E00165965-01

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents