Slave

Diagnostic variables

The slave features various diagnostic variables, which describe the state of the slave and the Profibus and can be linked in the PLC:

Slave 1:


DpState:

Value

Description

0

No Error:
Station is in data exchange.

1

Station deactivated:
The slave was deactivated.

2

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

3

Master lock:
The slave is in data exchange with another master.

4

Invalid slave response:
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 paramétrisation error.

6

Not supported:
A DP function is not supported. Check whether the GSD file and the station 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 diagnostics overflow. Read the diagnostic data with ADS Read and check the operating state of the slave.

11

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

12

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

13

Severe bus fault:
Indicates a serious bus error. Please check the cabling.

14

Telegram fault:
The slave responds with an invalid telegram.

15

Station has no resources:
The slave has insufficient 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 linked, or check whether bus times in the second master are set the identically

18

Station ready:
Occurs temporarily during startup, 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 was parameterized and configured, but has not yet received a data exchange telegram.

129

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

130

Slave waiting for parameter:
The slave was not yet parameterized and is waiting for a Set_Prm (Lock) telegram.

131

Slave waiting for baud rate:
The baud rate was not set.

132

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

 

ExtDiagFlag:

Value

Description

0

Diagnostic data have not changed.

1

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