Siemens SIMATIC ET 200C Manual page 176

Table of Contents

Advertisement

Fault Diagnostics with the IM 308-C
Using STEP 5 to Diagnose Problems (Station Diagnostics), Continued
Example: Request
In this example, the FB IM308C (FB 192) is used to request station diagnos-
Diagnostics with
tics for a slave having station number 3. The diagnostics data will be written
FB IM308C
to data block DB 10, starting at data word DW 0.
Basic structure of the STEP 5 listing (e.g. in OB 1):
STL
:A
DB 10
:
:SPA FB 192
Name :IM308C
DPAD :
KH F800
IMST :
KY 0,3
FCT :
KC SD
GCGR :
KM 00000000 00000000
TYP :
KY 0,10
STAD :
KF +0
LENG :
KF -1
ERR :
MW 134
:
:L
DR 4
:L
KB 2
:!=F
:SPB FB 60
Name :LIMITA48
:
:
:
:L
DR 4
:L
KB 1
:!=F
:SPB FB 61
Name :DIA-AL48
:
:BE
STL: FB 60
Name :LIMITA48
:A
DB 10
:
:L
DW 6
:T
DW 60
:L
DW 8
:T
DW 61
:
:BE
8-12
Explanation
Call the FB IM308C
DP window: F800
Number of IM 308-C: 0, station
number of the slave: 3
SD = read slave diagnostics
irrelevant
Memory area: 0, block: DB 10
No. of first data word: DW0 Bytes to
be transferred: –1 (joker length)
fault word: MW 134
Check: Limit value alarm?
Store limit value alarm
Check: Diagnostics alarm?
Store diagnostics alarm
Explanation
Move information for limit value
alarm to prevent overwriting by
subsequent limit value alarms
ET 200C Distributed I/O Station
EWA 4NEB 812 6119-02b

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents