Manual VIPA Accessories
Chapter 4 Deployment
HB37E - IM - RE_306-1UE00 - Rev. 15/22
4-21
Diagnostic functions
PROFIBUS DP provides an extensive set of diagnostic functions for quick
error localization. Diagnostic messages are transferred via the bus and
collected by the master.
In the case of a diagnostic with DP-V1 the DP slave gets a feedback from
the DP master. With DP-V1 the device related diagnostic has been
improved as further function and is subdivided into the categories
interrupts
and
status
messages
.
The diagnostic messages, which were created by the PROFIBUS slave,
have depending on the parameterization, a maximum length of 127byte.
The structure of the diagnostics data may be influenced by the properties
dialog of the IM 306 DP slave. Here the
Identifier/Channel related
diagnostic
and the
Module status
may be activated respect. deactivated.
Byte 0 ... 5
Standard diagnostic data
Byte x ... x+3
Identifier related diagnostic
Byte x ... x+8
Module status
Byte max. 40
⋅
(x ... x+2) Channel related diagnostic
Byte x ... x+11
Interrupt
may be enabled or disabled
via parameterization
More detailed information about the structure of the slave
Standard
diagnostic data
may be found in the standard papers of the PROFIBUS
User Organization.
Standard diagnostic
Byte
Bit 7 ... Bit 0
0
Bit 0: 0 (fix)
Bit 1: Slave is not yet ready for exchange data
Bit 2: Configuration data does not correspond to
current
configuration
Bit 3: External slave diagnostic available
Bit 4: Requested function is not supported by slave
Bit 5: 0 (fix)
Bit 6: Wrong parameterization
Bit 7: 0 (fix)
1
Bit 0: New parameters have to be assigned to slave
Bit 1: Static diagnostic
Bit 2: 1 (fix)
Bit 3: Response monitoring has been enabled
Bit 4: "FREEZE" control command received
Bit 5: "SYNC" control command received
Bit 6: reserved
Bit 7: 0 (fix)
2
Bit 6 ... 0: reserved
Bit 7: Diagnostic data overflow
3
Master address after parameterization
FFh: Slave has not been parameterized
4
Ident number high byte
5
Ident number low byte
Overview
Structure of the
diagnostic data
Standard
diagnostic
data