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.
- 2. Click on Append Box in the context menu.
- A further box (virtual slave) is created.
Variables for the virtual slave can now be created. In the next step you can set the address for the slave.