Interrupt, error and system messages
9.1 PROFIBUS DP
ET 200M
Operating Instructions, 12/2008, EWA-4NEB780600602-08
189
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
STEP 7 user program.
Assumptions
The following assumptions apply to this
STEP 7 user program:
●
The diagnosis address of the ET 200M is 1022 (3FE
H
).
●
The slave diagnosis should be stored in the DB 82:
as of address 0.0, length 64 bytes.
●
The slave diagnosis consists of 64 bytes.
STEP 7 user program
STL Description
CALL SFC 13
REQ :=TRUE
Read
request
LADDR
:=W#16#3FE
Diagnosis address of the ET 200M
RET_VAL
:= MW 0
RET_VAL of SFC 13
RECORD
:=P#DB82.DBX 0.0 BYTE 64
Data record for the diagnosis in the DB 82
BUSY
:=M2.0
Reading process runs through several OB 1
cycles
Содержание IM 153-4 PN
Страница 186: ...Functions 8 9 SNMP ET 200M 184 Operating Instructions 12 2008 EWA 4NEB780600602 08 ...
Страница 226: ...Interrupt error and system messages 9 2 PROFINET IO ET 200M 224 Operating Instructions 12 2008 EWA 4NEB780600602 08 ...
Страница 254: ...Order Numbers for the ET 200M ET 200M 252 Operating Instructions 12 2008 EWA 4NEB780600602 08 ...
Страница 268: ...Glossary ET 200M 266 Operating Instructions 12 2008 EWA 4NEB780600602 08 ...