Download Print this page

Siemens SIMATIC ET 200M Operating Instructions Manual page 191

Distributed i/o device
Hide thumbs Also See for SIMATIC ET 200M:

Advertisement

Note
For more information on reading out diagnostics information, refer to the "SIMATIC software,
programming with STEP 7 V5.x.
(http://support.automation.siemens.com/WW/view/en/18652056)" manual.
Example for reading the S7 diagnosis with SFC 13 "DPNRM_DG"
Here you will find an example of how to use the SFC 13 to read the slave diagnosis for a DP
slave in the
Assumptions
The following assumptions apply to this
● The diagnosis address of the ET 200M is 1022 (3FE
● The slave diagnosis should be stored in the DB 82:
● The slave diagnosis consists of 64 bytes.
STEP 7 user program
STL
CALL SFC 13
REQ
LADDR
RET_VAL
RECORD
BUSY
ET 200M
Operating Instructions, 12/2008, EWA-4NEB780600602-08
STEP 7
user program.
as of address 0.0, length 64 bytes.
:=TRUE
:=W#16#3FE
:= MW 0
:=P#DB82.DBX 0.0 BYTE 64
:=M2.0
Interrupt, error and system messages
STEP 7
user program:
).
H
Description
Read request
Diagnosis address of the ET 200M
RET_VAL of SFC 13
Data record for the diagnosis in the DB 82
Reading process runs through several OB 1
cycles
9.1 PROFIBUS DP
189

Hide quick links:

Advertisement

loading

This manual is also suitable for:

Im 153-1Im 153-2Im 153-2 foIm 153-4 pn