PROFIBUS Interface

PROFIBUS communication takes place via the D-sub port X101. The CX8030 supports the automatic slave scanning function. To this end the GSD file must be stored in the folder \TwinCAT\IO\PROFIBUS.

PROFIBUS Interface 1:

No ADS via PROFIBUS

The CX8030 does not support the ADS via PROFIBUS. The program download and debugging can take place exclusively via the Ethernet interface.

PROFIBUS address (only in slave mode)

The PROFIBUS address can be assigned using the DIP switch or permanently assigned in the System Manager. If the address is permanently defined, the address switch is ignored (see DIP switch).

GSD file

The GSD file for PROFIBUS devices should be stored in the TwinCAT folder \TwinCAT\IO\PROFIBUS.

DpState

PROFIBUS Interface 2:

You can display the status of the PROFIBUS communication via the DpState and ascertain whether the slave is exchanging data (DpState=0) or whether there is an error or a problem.

0 = No error
1 = Station deactivated
2 = Station not exists
3 = Master lock
4 = Invalid slave response
5 = Parameter fault
6 = Not supported
7 = Config fault
8 = Station not ready
9 = Static diagnosis
10 = Diagnosis overflow
11 = Physical fault
12 = Data-Exchange left
13 = Severe bus fault
14 = Telegram fault
15 = Station has no resources
16 = Service not activated
17 = Unexpected telegram
18 = Station ready
31 = only for EtherCAT gateways: WC-State of cyclic EtherCAT frame is 1
128 = slave, waiting for data transfer (or DP-Master in CLEAR-Mode)
129 = slave, waiting for configuration
130 = slave, waiting for parameter
131 = slave, waiting for baudrate

ExtDiagFlag

The flag indicates whether slave diagnosis is active. It can be read via the System Manager or the PLC through ADS (see ADS interface).

PROFIBUS Interface 3:

Grayed out System Manager functions

In contrast to other PROFIBUS masters from Beckhoff, not all PROFIBUS features are supported. Therefore, some options are grayed out in the System Manager or are not displayed. See Technical data CX8030 PROFIBUS.