K-bus diagnostic, Signalling the k-bus error, K-bus reset – BECKHOFF BK3xx0 User Manual
Page 73: K-bus interruption

Notes on the Documentation
Fieldbus Components
71
K-Bus Diagnostic
K-Bus Interruption
If the K-Bus is interrupted, or suffers from a relatively long malfunction, the coupler enters the K-Bus error state.
Depending on the setting made for Reaction to K-Bus error in the UserPrmData, the coupler abandons DP data
exchange and sets the Stat_Diag bit in the diagnostic data at the next DP start-up (with the consequence that DP
data exchange is not carried out), sets the DP inputs to 0, or leaves the DP inputs unchanged.
Byte
Bit
Value
Description
00
bin
Reaction to K-Bus error: DP data exchange is abandoned (default)
01
bin
Reaction to K-Bus error: DP inputs set to 0
10
2-3
10
bin
Reaction to K-Bus error: DP inputs remain unchanged
When the interruption or malfunction on the K-Bus has been rectified, the setting of Response to K-Bus error in the
UserPrmData determines whether the K-Bus error state is left manually (by means of a K-Bus reset), or
automatically:
Byte
Bit
Value
Description
0
bin
Response to K-Bus error: manual K-Bus reset (default)
7
0
1
bin
Response to K-Bus error: automatic K-Bus reset
Signalling the K-Bus error
A K-Bus error is indicated both on the I/O-ERR LED and in the DPV1 status message in the DP diagnostic data
(bytes 11-13).
Byte
Bit
Description
11
0
too many K-Bus command errors
11
1
too many K-Bus timeouts
11
2
too many K-Bus receive errors
11
3
too many K-Bus transmit errors
11
4
K-Bus reset error
11
5
general K-bus error
12
0-7
K-Bus error code
13
0-7
K-Bus error argument
K-Bus reset
A K-Bus reset can be carried out manually by means of a DPV1 Write:
Slot number
Index
Byte
Value
0
2
1
1
2
0
0
99
3
0