Reading Out The Diagnostic Data - Siemens ET 200pro Operating Instructions Manual

Small, extremely rugged and high-performance i/o system with ip65/66/67 degree of protection
Hide thumbs Also See for ET 200pro:
Table of Contents

Advertisement

9.1.2

Reading out the diagnostic data

Introduction
The slave diagnostics function is compliant with IEC 61784-1:2010 Ed3 CP 3/1. Depending
on the DP master, the diagnostic data of all DP slaves which conform with this standard can
be read using STEP 7.
Options for reading out diagnostic data
The table shows the options for reading out diagnostic data using STEP 7.
Automation system
Block or register
with DP master
SIMATIC S7/M7
"DP slave diagnostics" tab Slave diagnostic information in plain
SFC 13 "DP NRM_DG"
SFC 59 "RD_REC"
SFB 52 "RDREC"
SFB 54 "RALRM"
Example of reading S7 diagnostic data using SFC 13 "DP NRM_DG"
The following is assumed for the STEP 7 user program:
● The diagnostics address of ET 200pro is 1022 (3FEH).
● Slave diagnostic data should be stored in DB 82: starting at address 0.0, length 128 byte.
● Slave diagnostic data consists of up to 128 byte (IM 154-1).
STL
CALL SFC 13
REQ :=TRUE
LADDR :=W#16#3FE
RET_VAL :=MW0
RECORD :=P#DB82.DBX 0.0 BYTE 128
BUSY :=M2.0
cycles
ET 200pro distributed I/O system
Operating Instructions, 03/2013, A5E00335544-08
Application
text on the STEP 7 user interface
Reading out slave diagnostic data
(save to the data area of the user
program)
Reading out S7 diagnostic data records
(save to the data area of the user
program)
Reading data records from the DP
slave
Receiving interrupts from interrupt OBs
% Read request
% Diagnostics address of ET 200pro
% RET_VAL of SFC 13
% Mailbox for diagnostics in DB 82
% Read operation across several OB 1
Alarm, error and system messages
9.1 PROFIBUS DP
See...
"Hardware diagnostics" in
STEP 7 online help
SFC, refer to the STEP 7
online help
See "System and Standard
Functions" Reference
Manual
SFB, refer to STEP 7 online
help (system functions/
function blocks)
SFB, refer to STEP 7 online
help (system functions/
function blocks)
191

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents