Add CANopen slave

The sample shows a CX2020 CANopen slave with CX2500-B510 fieldbus module, connected to the CANopen master. In order to ensure that the CANopen slave is configured and subsequently detected by the CANopen master with all inputs and outputs, the CANopen slave first must be added in TwinCAT.

Prerequisites for this step:

  • A scanned and selected target device with CANopen slave. This sample uses a CX2020 with CX2500-B510 fieldbus module.

Add the CANopen slave as follows:

1. In the tree view on the left, right-click on I/O Devices.
2. In the context menu click on Scan Devices.
Add CANopen slave 1:


3. Select the devices you want to use and confirm the selection with OK.
Add CANopen slave 2:
4. Confirm the request with Yes, in order to look for boxes.
  • The CANopen slave was successfully added in TwinCAT 2 and is displayed in the tree view with the inputs and outputs.
    Add CANopen slave 3:

    In the next step you can extend the process image by creating additional virtual slaves. Or you can set the address, once the slave configuration is complete.