Setting the address with a DIP switch

To ensure that the address set via the address selection switch is used, the corresponding setting must be enabled in TwinCAT.

The corresponding setting in TwinCAT is only active, if the Profibus device has an address selection switch.

Prerequisites for this step:

  • Profibus device with address selection switch.
  • Profibus device added in TwinCAT.

Set the address as follows:

1. Click on the Profibus device in the tree view on the left.
Setting the address with a DIP switch 1:
2. Click on the CCAT PBS tab and select the option Set by DIP switch under Station No.
Setting the address with a DIP switch 2:
3. Click on the Profibus box in the tree view on the left.
Setting the address with a DIP switch 3:
4. Click on the DP slave tab and select the option DIP Switch+0 under Station No.
In this example the number 0 is added to the address set on the DIP switch. Other numbers (0-126), e.g. for virtual slaves, may also be added to the address.
Setting the address with a DIP switch 4:
  • You have set the address successfully, and the Profibus slave will use the set address from now on.