Error handling and diagnosis
BC5250
78
Version: 2.0.0
Reading fieldbus state by ADS
You can read the fieldbus state via ADSREAD in the default configuration or in the TwinCAT configuration.
Parameter ADSREAD function block
Description
NetID
local – empty string
Port
1
IndexGroup
16#0006
IndexOffset
16#000C_AE00
LEN
1
State of the K-bus
An internal bus or Bus Terminal error is indicated in the
K-bus state
variable. A more precise fault description
can be obtained via a function block (in preparation). To this end, link the
K-bus state
variable with your PLC
program.
Fig. 73: State of the K-bus
Error bit
Description
Error type
0
No error
No error
Bit 0
K-bus error
Error
Bit 2
K-Bus is re-triggered
Note
Reading K-Bus state by ADS
You can read the fieldbus state via ADSREAD in the default configuration or in the TwinCAT configuration.
Parameter ADSREAD function block
Description
NetID
local – empty string
Port
1
IndexGroup
16#0006
IndexOffset
16#000C_9000
LEN
1