Reading Out Slave Diagnostic Data - Siemens Simatic S7-300 CPU 31xC Series Installation And Operating Instructions Manual

Hide thumbs Also See for Simatic S7-300 CPU 31xC Series:
Table of Contents

Advertisement

10.7.2

Reading out slave diagnostic data

The slave diagnostic data is compliant with EN 50170, Volume 2, PROFIBUS. Depending on
the DP master, diagnostic data for all DP slaves conforming to standard can be read with
STEP 7.
Diagnostic addresses for the receiving station with direct data exchange
For direct data exchange, you assign a diagnostic address in the receiving station:
CPU 31x-2 as sender
In this figure, you see that assign a diagnostic address to the receiving station in your
configuration. The receiving station receives information about the status of the transmitting
station or about a bus interruption by means of this diagnostic address.
Reading out the diagnostic data
The table below shows you how the various DP master systems can read diagnostic
information from a slave.
Table 10-12 Reading out diagnostic data in the master system, using STEP 5 and STEP 7
Automation system with
DP master
SIMATIC S7/M7
S7-300, CPU 31xC and CPU 31x: Installation
Operating Instructions, Edition 08/2004, A5E00105492-05
Blocks or registers in STEP 7 Application
"DP slave diagnostics" tab
SFB 54 "RALRM"
SFC 13 "DP NRM_DG"
SFC 51 "RDSYSST"
Debugging functions, diagnostics and troubleshooting
CPU 31x-2 as receiver
PROFIBUS
Diagnostic address
Output of slave diagnostic
data in plain text to a
STEP 7 user interface
Reading additional
interrupt information from
a DP slave or local
module from the relevant
OB.
Reading slave diagnostic
data
(stored in the data area of
the user program)
Reading SSL sublists. In
the diagnostic interrupt,
call SFC 51 with the SSL
ID W#16#00B4, and then
read out the SSL of the
slave CPU.
10.7 Diagnostics of DP CPUs
Further Information
Found under the keyword
diagnostics
in the STEP 7 Online
Programming
Help and in the
STEP 7
Manual
System and Standard Functions
Reference Manual
System and Standard Functions
Reference Manual
System and Standard Functions
Reference Manual
Hardware
10-21

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Simatic s7-300 cpu 312cSimatic s7-300 cpu 313c-2 dpSimatic s7-300 cpu 314c-2 ptpSimatic s7-300 cpu 314c-2 dpSimatic s7-300 cpu 312Simatic s7-300 cpu 31 series ... Show all

Table of Contents