Setting the address
Once the CANopen slave was successfully added in TwinCAT, the address of the CANopen slave can be set. Devices with a DIP switch have a preset address. The address on the DIP switch must match the address set in TwinCAT.
For devices without DIP switch the address is only set in TwinCAT.
In this step the address is set in TwinCAT, so that the CANopen slave can be reached by the CANopen master via this address.
Prerequisites for this step:
- An added CANopen slave in TwinCAT.
Parameterize the CANopen slave as follows:
- 1. Click on a slave box.
- 2. Click on the CAN Node tab.
- 3. Enter a value for the CANopen address in the Node Id field, e.g. “31”.
- You have set the address successfully. The CANopen master can reach the CANopen slave with the set address.
You can now create further PDOs.