Reading Slave Diagnostics - Siemens SIMATIC S5 Manual

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

Advertisement

9.4 Reading slave diagnostics

Definition
Slave diagnostics comprises a maximum of 40 bytes and is structured as
follows:
Reading slave
To request slave diagnostics, you must call the FB IM308C with the function
diagnostics
FCT = SD. See Section 9.7 for the values of the remaining parameters.
Result: The FB IM308C places the slave-diagnostic data in the S5 memory
area opened in the FB IM308C call (data block or marker area).
ET 200 Distributed I/O System
EWA 4NEB 780 6000-02a
IM 308-C – addressing, diagnostics and use of the FB IM308C
Station status 1 through 3 (length: 3 bytes)
Station status 1 through 3 reflects the status of a DP slave.
Master-station number (length: 1 byte)
The master-station number diagnostic byte contains the station number of
the DP master which parameterized the DP slave.
Manufacturer ID (length: 2 bytes)
The manufacturer ID contains a code indicating the type of the DP slave.
Station diagnostics (length depends on the type of the DP slave)
Station diagnostics provides general information on the DP slave.
Module diagnostics (length depends on the type of the DP slave)
Module diagnostics indicates which module is defective and which slot it
occupies.
Channel diagnostics (length depends on the type of the DP slave)
Channel diagnostics indicates which channel of a DP slave has an error
message.
9
9-15

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Et 200

Table of Contents