Fig. 15: Visualization: CS31 bus diagnosis
Table 8: Interpretation of variable byStateDiag
Bit Value Description
0 1 CS31 bus slave disconnected
1 2 Not used
2 4 slave on CS31 bus bus not
configured
3 8 Difference in the number of
data bytes between configura-
tion and CS31 bus
4 16 Internal device error
5 32 Channel error
6 64 Not used
7 128 Not used
All bits of byStateDiag equal 0 -> no error in CS31 bus slave.
The variables byDiagChannel and byDiagErr in the structure strCS31_DiagOneModule
include the error channel and code. The possible values of these variables are indicated in the
documentation of the respective CS31 bus slave.
The Diagnosis system of the AC500 series provides the errors in the following format:
Diagnosis
system
System data and CS31 bus system data > CS31 bus system data
2018/09/24 3ADR010122, 8, en_US 17