Error Handling And Diagnosis; Diagnostics; Fig. 79 Profibus Diagnostic Byte In The System Manager - Beckhoff BC3150 Documentation

Bus terminal controller for profibus-dp
Table of Contents

Advertisement

Error handling and diagnosis

7
Error handling and diagnosis
7.1

Diagnostics

PROFIBUS state
In many cases it is important to know whether the communication with the higher-level master is still OK. To
this end, link the DpState variable with your PLC program.
Fig. 79: PROFIBUS diagnostic byte in the System Manager
Error number
0
129
130
131
Example
If the PROFIBUS is interrupted, e.g. if the cable is pulled or the PLC is switched, the Bus Terminal Controller
indicates this by reporting 130 in DP state. That is, the Bus Terminal Controller is waiting for parameter data
from the master.
Slave boot sequence after a timeout or starting of the master:
parameter data - configuration data - data exchange
Reading fieldbus state by ADS
In default or TwinCAT configuration the fieldbus state can be read via ADSREAD.
Parameter ADSREAD function block
NetID
Port
IndexGroup
IndexOffset
LEN
State of the K-bus
An internal bus or Bus Terminal error is indicated in the K-Bus state. 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.
88
Description
No error
Waiting for configuration data
Waiting for parameter data
No master available
Version: 2.1.0
Remedy
-
Start PROFIBUS
Start PROFIBUS
Check PROFIBUS cables and connectors
Description
local – empty string
1
16#0006
BX3100: 16#000C_A0F4
BC3150: 16#000C_A080
1
BC3150

Advertisement

Table of Contents
loading

Table of Contents