Programming
CX8030 / CX8031 59Version: 1.6
The diagnostic data contains the slave statistics (32 bytes) and the DP diagnostic data sent by the slave (up
to 244 bytes), and is constructed as follows:
Offset Meaning
Slave statistics
0 Receive Error Counter (WORD): The number of faulty
telegrams occurring while communicating with this
slave.
2 Repeat Counter[8] (WORD): The repeat counters
indicate how many repeats have had to be made,
and how often. Repeat Counter[0] indicates how
often it has been necessary to repeat a telegram for
this slave once, Repeat Counter[1] shows how often
a telegram for this slave has had to be repeated
twice, and so on. The maximum number of retries is
set with the parameter Max Retry Limit (see bus
parameters dialog). The value range is from 0 to 8,
therefore there are 8 repeat counters (for 1 to 8
retries)
18 reserved for extensions
20 NoAnswer Counter (DWORD): The number of
telegrams in communication with this slave that have
not received an answer. The first time that a slave
fails to answer, the telegram is repeated up to
MaxRetryLimit times, but if it does not answer even
then, further telegrams are not repeated.
24-27 Last-DPV1-Error[4] (BYTE): The most recent faulty
DPV1 response is entered here (byte 0: DPV1
service (bit 7 is set, thus indicating an error), byte 1:
Error_Decode, byte 2: Error_Code_1 (Error_Class/
Error_Code), byte 3: Error_Code_2), see description
of the DPV1 error codes [}66]
27-31 reserved for extensions
from 32 DP diagnostic data
There follows a description of the DP diagnostic data