
Description of the DP Functions, Data, and Error Codes
DP Base Programming Interface for CP 5613/CP 5614
C79000-G8976-C108-01
183
4.6.4 Format of the Device-Related Diagnostic Data (Slaves with DP-V1
Extensions)
Meaning
With these slaves, the device-related diagnostic data contains alarm data or status
messages. The status messages also include the variant "module status".
Entire Structure with Two Variants
The device-related diagnostic data exists in two variants: alarms and status
messages. Some components therefore have different codings.
The two variants can be distinguished by byte 2, bit 7.
Byte "Alarms" Variant "Status Messages" Variant
Byte 1 Header byte
Byte 2 Alarm_Type Status_Type
Byte 3 Slot number
Byte 4 Alarm specifier Status specifier
Byte 5
to 63
Diagnostic_User_Data
Byte 1 (Header Byte)
The two most significant bits in the first byte have the value 00. This identifies the
entire field as "device-related diagnostics".
The remaining six bits specify the length of the data field including the first byte.
Comentarios a estos manuales