159
Appendix
Example of Extended Diagnostics
Below an example of Extended diagnostics data is given, using the definitions above. The 6 mandatory bytes
preceding them are not shown.
The figure above shows the extended diagnostics of a slave device, which contains:
• Device related diagnostics:
One header byte and three device specific diagnostics bytes are shown in this example. The contents of
the diagnostics is device specific.
• Module related diagnostics:
One header byte and three module diagnostics bytes. The first of three bytes indicates pending diagnostics
in module1, the next byte indicates pending diagnostics in module14.
• Channel related diagnostics:
Two channel related diagnostics entries are shown: One for module 1 and one for module 14. In module 1,
Input channel 4, has detected an overload. In module 14, channel 8, has detected an high-limit exceeded
event.
76543210
0 0 0 0 0 1 0 0
0 1 0 0 0 1
1 0 0 0 0 0 0 1
Device specific
diagnostics field
of length 3
1
1
1
0 1 0 0 0 1 0 0
0 1 1 0 0 1 0 0
1 0 0 0 1 1 1 0
0 0 0 0 1 0 0 0
1 0 0 0 0 1 1 1
Module 1 has diagnostics
Module 14 has diagnostics
Header byte
Channel 4 (Input)
Channel 8
Overload, bit oriented
High Limit exceeded, byte oriented
Device specific contents
0
Device related diagnostics:
Module related diagnostics:
Channel related diagnostics:
Channel related diagnostics:
Header byte
Module 1
Module 14