PROFIBUS diagnosis

Diagnostic variables

The slave has several diagnostic variables, that describe the state of the slave and the PROFIBUS and can be linked in the PLC:

PROFIBUS diagnosis 1:

DpState:

Value

Description

0

No Error:
Station is in data exchange.

1

Station deactivated:
The slave has been deactivated.

2

Station not exists:
Slave does not respond. Check whether the slave is switched on, the cabling is correct or the address is correct.

3

Master lock:
The slave is exchanging data with another master.

4

Invalid slave response:
An incorrect response from the slave. Occurs temporarily if the slave has terminated the data exchange due to a local event.

5

Parameter fault:
Indicates a parameterization error.

6

Not supported:
A DP function is not supported. Check whether the GSD file and the address is correct.

7

Config fault:
Indicates a configuration error. Check whether the added terminals or modules are OK.

8

Station not ready:
The device is starting up. This is displayed temporarily during startup.

9

Static diagnosis:
The slave indicates a static diagnosis and is currently unable to provide valid data. Check the operating state at the slave.

10

Diagnosis overflow:
The slave indicates a diagnosis overflow. Read the diagnostics data with ADS Read and check the operating state of the slave.

11

Physical fault:
Indicates a physical error in the response of a slave. Check the cabling.

12

Data-Exchange left:
The data transmission was not completed.

13

Severe bus fault:
Indicates a severe bus fault. Please check the cabling.

14

Telegram fault:
The slave responds with an invalid telegram.

15

Station has no ressources:
The slave does not have enough resources for the telegram. Check whether the GSD file is correct.

16

Service not activated:
Occurs if the slave terminates the data exchange due to a local event. Check whether DP functionality is disabled for the slave.

17

Unexpected telegram:
Unexpected telegram, can occur temporarily if two PROFIBUS networks are plugged together or check whether bus times are set the same for the second master.

18

Station ready:
Occurs temporarily during startup and as long as the task has not yet started.

31

only for EtherCAT gateways:
WC state of the cyclic EtherCAT frame is 1.

128

Slave waiting for data transfer:
The slave has been parameterized and configured, but has not yet received a Data_Exchange telegram.

129

Slave waiting for configuration:
The slave has been parameterized but has not yet received a Chk_Cfg telegram.

130

Slave waiting for parameter:
Slave has not yet been parameterized and is waiting for Set_Prm (Lock) telegram.

131

Slave waiting for baud rate:
The baud rate has not been set.

132

Slave waiting for station no. from PLC:
The Profibus address has not been set.

ExtDiagFlag:

Value

Description

0

Diagnostic data have not changed.

1

Diagnostic data have changed. Use ADS Read to read the data.