Format Of Id-Related Diagnostics - Siemens SIMATIC NET CP 5613 Manual

Dp base programming interface
Table of Contents

Advertisement

Description of the DP Functions, Data, and Error Codes
4.6.5

Format of ID-Related Diagnostics

Meaning
Module-specific diagnostics is possible for modular slaves with an ID byte per
module. The DP master sends ID bytes to the slave in a configuration frame during
the startup phase. In the ID-related diagnostic data each module is assigned a bit
in the data field. If a bit is set, this means that there is diagnostic information on the
corresponding module.
Identification of the ID-Related Diagnose Data and Length in the First Byte
The two most significant bits in the first byte have the value 01.
The remaining six bits specify the length of the data field including the first byte.
Content of the Data Field
The remaining bytes of the data field contain a bit array. The least significant bit of
the 2nd byte has the index 0 and so on in ascending order so that,for example, the
most significant bit of the 3rd byte has index 15.
The bits indicate whether or not diagnostic data were signaled for the ID index.
Meaning of the Bits in the Diagnostic Byte
Each bit in the "diagnostic bytes" has a special meaning.
Note
Refer to the example at the end of Section 4.6.6.
198
DP Base Programming Interface for CP 5613/CP 5614
C79000-G8976-C108-02

Advertisement

Table of Contents
loading

This manual is also suitable for:

Simatic net cp 5614

Table of Contents