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 CANopen device has an address selection switch.

Prerequisites for this step:

Set the slave node id as follows:

1. Click on the CANopen device in the tree view on the left.
Setting the address with a DIP switch 1:
2. Click on the FC 51xx tab and select the option Set by DIP-switch under Slave Node-ID.
Setting the address with a DIP switch 2:
3. Click on the CANopen box in the tree view on the left.
Setting the address with a DIP switch 3:
4. Click on the CAN Node tab and select the option DIP-Switch+0 under Node Id.
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 slave node id successfully, and the CANopen slave will use the set address from now on. You can now create further PDOs.