Creating a virtual slave

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

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

Prerequisites for this step:

  • A PROFINET slave, created in TwinCAT.

Create a virtual slave as follows:

1. Right-click on the PROFINET device in the tree view on the left.
2. Click Add New Item.
Creating a virtual slave 1:
3. Select the appropriate box, e.g. the CX2xx0 (Embedded PC) if you use a CX20xx Embedded PC with optional PROFINET interface.
Creating a virtual slave 2:
  • The virtual PROFINET slave is created in the tree view. You can now configure your own process data for the virtual slave.
    Creating a virtual slave 3:
    The MAC address of the virtual slave is editable. Make sure that the MAC address occurs only once in the system. The IP address is assigned by the PROFINET master