Adding a Profibus master

The Profibus master is added with the TwinCAT System Manager, like the other devices. The attached master can then be used to find all connected slaves. The following section illustrates how to add a Profibus master in TwinCAT.

Prerequisites for this step:

  • TwinCAT must be in Config mode.
  • A selected target system (in this example it is the Embedded PC CX2020-M310)

Add a Profibus master as follows:

1. Start the System Manager.
2. In the tree view on the left, right-click on I/O Devices.
3. In the context menu click on Scan Devices.
Adding a Profibus master 1:
4. Select the devices you want to use and confirm the selection with OK.
Adding a Profibus master 2:
5. Confirm the request whether to search for boxes with Yes.
  • All devices and slave boxes that are found are displayed in the tree view on the left, including Bus Terminals connected to the devices or slave boxes.
    Adding a Profibus master 3:
    Repeat the steps if not all devices are displayed. If not all devices and slave boxes are found despite the repeat operation, check the cabling of the devices and slave boxes.
    In the next step you can test the connection between Profibus master and Profibus slave.