Reading Master Diagnostics - Siemens SIMATIC S5 Manual

Distributed i/o system
Hide thumbs Also See for SIMATIC S5:
Table of Contents

Advertisement

9.3 Reading master diagnostics

Definition
Master diagnostics consists of 64 bytes structured as follows:
The remaining 16 bytes are reserved.
Reading master
To request master diagnostics, call the FB IM308C with the function
diagnostics
FCT = MD. The values for the other parameters in this call are shown in
Section 9.7.
Result: The FB IM308C places the diagnostic data in the S5 memory area
specified in the FB IM308C call (data block or bit memory address area).
Meaning of master
Master diagnostics is structured as follows:
diagnostics
Table 9-4 Structure of master diagnostics
Byte
0 to 15
Overview diagnostics: A "1" means that the corresponding DP slave has reported
diagnostics or that the DP slave cannot be addressed by the DP master.
16 to 31
Master status: Information on the operating modes of the IM 308-C and version releases.
32 to 47
Data-transfer list: A "1" means that data has been exchanged with the station in question
within a time calculated by COM ET 200 Windows (response monitoring/ T
48 to 63
Reserved
ET 200 Distributed I/O System
EWA 4NEB 780 6000-02a
IM 308-C – addressing, diagnostics and use of the FB IM308C
Overview diagnostics (16 bytes)
In overview diagnostics, you can check all DP slaves for which diagnostic
data is available.
On the basis of the overview diagnostics, you can trace the type of
diagnostic message by checking the (see Section 9.4):
– station status and
– depending on the type of the DP slave, station diagnostics, module
diagnostics and/or channel diagnostics.
Master status (16 bytes)
The master status diagnostic byte indicates the operating mode of the
master: RUN, CLEAR, STOP or OFF.
Data-transfer list (16 bytes)
The data-transfer list marks those DP slaves assigned to a DP master with
which data has been exchanged within a time configurable under
COM ET 200 Windows (response monitoring/T
Meaning
).
TR
).
TR
9-13
9

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Et 200

Table of Contents