5.2. Structure of the diagnostics telegram
The diagnostics telegram shows the current operating status of the devices. It is transmitted when
requested by the PROFIBUS master.
The system differentiates between status and error messages. Error messages are marked with E and
are sent to the master with a higher priority. This means that diagnostics data is sent to the master instead
of process data as soon as an error is detected. Status messages are sent only if no process data has to
be sent.
Byte
Bit
Remark
0
7...0 Station status 1 (DP standard)
1
7...0 Station status 2 (DP standard)
2
7...0 Station status 3 (DP standard)
3
7...0 Address of the PROFIBUS master
4
7...0 Slave ID (high byte)
5
7...0 Slave ID (low byte)
6
7...0 07h: Header of the device-specific diagnostics (DPV1)
7
7...0 81h: Diagnostics type
8
7...0 00h: Slot number
9
7...0 00h: Reserved
Module state (low byte) (LPC/DPC) Errors
10
7
Configuration mode is set
Reserved
6
5
Switch output overload
Error power supply detected
4
3
Checksum config area is invalid
Checksum vendor area is invalid
2
Reserved
1
0
Undefined, unspecified internal error
Module state (high byte) DPC Errors
11
7
Stack error
Checksum ROM is invalid
6
5
Internal communication error
Digital input error
4
3
Reserved
Reserved
2
Reserved
1
0
Reserved
12
MSIM Slave Error 1 (module defective or device missing)
7
Slave 8:
6
Slave 7:
Slave 6:
5
Slave 5:
4
3
Slave 4:
Slave 3:
2
1
Slave 2:
0
Slave 1:
error or missing
error or missing
error or missing
error or missing
error or missing
error or missing
error or missing
error or missing
M
E
E
E
E
E
E
E
E
E
M
M
M
E
E
E
E
E
E
E
E
E
25