Lenze · I/O system 1000 · Reference Manual · DMS 5.0 EN · 09/2016 · TD17 316
6 PROFIBUS communication
6.11 Diagnostics
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
6.11 Diagnostics
The extensive diagnostic functions under PROFIBUS-DP enable a quick error localisation. The
diagnostic data are transmitted via the bus and summarised in the master. There, you can, for
instance, access the diagnostic data with your project planning tool. The diagnostic message
created by the PROFIBUS slave, have a maximum length of 122 bytes, depending on the
parameterisation. As soon as the slave sends a diagnostic message to the master, the max. 122
bytes of diagnostic data are prefixed with 6 bytes of slave standard diagnostic data.
6.11.1 Slave standard diagnostic data
If a diagnostic message is transmitted to the master, the diagnostic bytes are prefixed with the
standard diagnostic data.
More information on the structure of the standard diagnostic data can be found in the
documentation of the PROFIBUS user organisation.
Structure of the diagnostic data
Byte Function
0 ... 5 Standard diagnostic data
The master is only prefixed in case the transfer is executed via PROFIBUS.
x ... x + 8 ID-related diagnostics (can be disabled/enabled via parameterisation)
x ... x + 19 Module status (can be disabled/enabled via parameterisation)
max. 21 ×
(x ... x + 2)
Channel-related diagnostics (can be disabled/enabled via parameterisation)
x ... x + 20 Alarm (can be disabled/enabled via parameterisation)
Standard diagnostic data
Byte Function
0 Bit 0: 0 (fix)
Bit 1: Slave is not ready for data exchange
Bit 2: Configuration data do not match with each other
Bit 3: Slave has external diagnostic data
Bit 4: Slave does not support the requested function
Bit 5: 0 (fix)
Bit 6: Wrong parameterisation
Bit 7: 0 (fixed)
1 Bit 0: Slave has to be re-parameterised
Bit 1: Statistical diagnostics
Bit 2: 1 (fix)
Bit 3: Response monitoring is active
Bit 4: "FREEZE" command received
Bit 5: "SYNC" command received
Bit 6: Reserved
Bit 7: 0 (fixed)
2 Bit 6 ... 0: Reserved
Bit 7: Diagnostic data overflow
3 Master address after parameterisation
• 0xFF: Slave is without parameterisation
4ID number High Byte
5ID number Low Byte