Table 5-9 Reading Out The Diagnostic Data With Step 5 And Step 7 In The Master System - Siemens SIMATIC S7-400 Manual

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

Advertisement

PROFIBUS DP
5.1 CPU 41x-3 PN/DP as DP master / DP slave
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
Functions
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
SIMATIC S7
SIMATIC S5 with
IM 308-C operating in DP
master mode
SIMATIC S5 with the
S5-95U programmable
controller as DP master
5-16
reference manual.
STEP 7
Block or tab in
"DP Slave Diagnostics" tab Show slave diagnosis in clear
SFC13 "DP NRM_DG"
SFC 51 "RDSYSST"
SFB54 "RDREC"
FB125/FC125
FB 192 "IM308C"
FB 230 "S_DIAG"
Application
STEP 7
text on the
interface
Reading out slave diagnostics
(store in data area of the user
program)
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.
The following applies to the
DPV1 environment: To read out
interrupt information within the
associated interrupt OB
To evaluate slave diagnostic
information
Reading out slave diagnostics
(store in data area of the user
program)
S7-400 Automation System, CPU Specifications
Standard and System
Reference
See the section on hardware
STEP 7
diagnostics in the
online help system and in the
Programming with STEP 7
manual
System Software for
SFC, see
S7-300/400, System and
Standard Functions
reference
manual.
System Software for
S7-300/400, System and
Standard Functions
reference
manual.
The Internet page
http://www.ad.siemens.d
e/simatic-cs
ID 387 257
For structure, see section
"Diagnostics of the CPU 41x
as DP slave"; FBs see manual
Distributed I/O Station ET 200
Manual, 10/2006, 6ES7498-8AA04-8BA0

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Simatic s7-400 automation system

Table of Contents