Creating a virtual slave

Additional virtual slaves can be created on the same hardware interface. This enables more data to be exchanged with a Profibus master, or a connection with a second Profibus master can be established.

Each virtual slave is assigned a dedicated address via TwinCAT and is configured like an independent device for the Profibus master.

Prerequisites for this step:

  • A Profibus slave, created in TwinCAT.

Create a virtual slave as follows:

1. Right-click on a Profibus slave in the tree view on the left.
Creating a virtual slave 1:
2. Click on Append Box in the context menu.
Creating a virtual slave 2:
  • A further box (virtual slave) is created.
    Creating a virtual slave 3:

    Variables for the virtual slave can now be created. In the next step you can set the address for the slave.