Adding a PROFINET slave

In the example configuration a CX2020 PROFINET slave with B930 option interface is used. In order to ensure that the PROFINET slave is configured and subsequently detected by the PROFINET master with all inputs and outputs, the PROFINET slave must first be added in TwinCAT.

Prerequisites for this step:

  • A scanned and selected target device with PROFINET slave. In this example it is the CX2020 with optional B930 interface.

Add the PROFINET slave as follows:

1. Start TwinCAT and open an empty project.
2. In the tree view on the left, right-click on Devices.
3. In the context menu click on Scan.
Adding a PROFINET slave 1:
4. Select the devices you want to use and confirm the selection with OK.
Adding a PROFINET slave 2:
5. Confirm the request with Yes, in order to look for boxes. Device 1 (PROFINET device CCAT (RT)) is integrated. The Insert Device Box 1 window appears.
6. Select the corresponding DAP module, which the PROFINET master supports, and click OK.
Adding a PROFINET slave 3:
7. Confirm the request whether to enable FreeRun with Yes.
  • The PROFINET slave was successfully added in TwinCAT 3 and is displayed in the tree view with the inputs and outputs.
    Adding a PROFINET slave 4:
    In the next step you can configure the process data.