Fetching Diagnostic Data With Step 5 And Step 7 In The Master System; Reading Out The Diagnostic Data - Siemens SIMATIC S7-300 Series Reference Manual

Cpu specifications
Hide thumbs Also See for SIMATIC S7-300 Series:
Table of Contents

Advertisement

CPU 31x-2 as DP Master/DP Slave and Direct Communication
S7 Diagnosis
An S7 diagnosis can be requested for all the modules in the SIMATIC S7/M7 range
of modules in the user program. 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 state of a module. Data record 1 also contains module-specific diagnostic
data.
You can find out how to configure the diagnostic data in the System and Standard
Functions Reference Manual.
2.6.3

Reading Out the Diagnostic Data

Table 2-7

Fetching diagnostic data with STEP 5 and STEP 7 in the master system

Programmable
Modules or
Controller with DP
registers in
Master
STEP 7
SIMATIC S7/M7
"DP Slave
Diagnostics"
tab
SFC 13
"DP NRM_DG"
SFC 51
"RDSYSST"
SFB 54
"RDREC"
(only 318-2)
SIMATIC S5 with
FB 192
IM 308-C operating
"IM308C"
as DP Master
SIMATIC S5 with
FB 230
S5-95U PLC
"S_DIAG"
operating as DP
Master
2-20
Application
Display slave diagnostic data as
plain text on the STEP 7 user
interface
Reading out slave diagnosis
(store in the data area of the user
program)
Read out system state sublists.
In the diagnostics interrupt with
the SSL ID W#16#00B4, call
SFC51 and read out the SSL
(system diagnostic list) of the
Slave CPU.
Applicable to DPV1 environment:
Read out interrupt information
within the corresponding interrupt
OB
Reading out slave diagnosis
(store in the data area of the user
program)
PLC S7-300, CPU Specifications CPU 312 IFM to CPU 318-2 DP
See...
See "Diagnosis of
Hardware" in the STEP 7
Online Help and STEP 7
User Manual
See Section 2.6.4; SFC: see
System and Standard
Functions Reference
Manual
System and Standard
Functions Reference
Manual
System and Standard
Functions
Reference Manual
See Section 2.6.4; for FBs
refer to the Distributed I/O
System ET200
Manual
200
A5E00111190-01

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents