Siemens SIMATIC Distributed I/O System DP/ASi Link Specifiche Pagina 122

  • Scaricare
  • Aggiungi ai miei manuali
  • Stampa
  • Pagina
    / 240
  • Indice
  • SEGNALIBRI
  • Valutato. / 5. Basato su recensioni clienti
Vedere la pagina 121
Commissioning and Diagnostics
6-14
Distributed I/O Device ET 200M
EWA-4NEB780600602-06
Example of Displaying the S7 Diagnosis Using SFC 13 DPNRM_DG
Here you will find an example of how to use SFC 13 to display 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 diagnostic address of the ET 200M is 1022 (3FE
H
).
The slave diagnosis should be stored in 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
LADDR :=W#16#3FE
RET_VAL :=MW 0
RECORD :=P#DB82.DBX 0.0 BYTE 64
BUSY :=M2.0
Read request
Diagnostic address of the ET 200M
RET_VAL of SFC 13
Data mailbox for the diagnosis in DB 82
Read operation runs over several OB1 cycles
Vedere la pagina 121
1 2 ... 117 118 119 120 121 122 123 124 125 126 127 ... 239 240

Commenti su questo manuale

Nessun commento