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.
- A PROFINET Device is available in TwinCAT.
- 1. In the project tree, right-click the created PROFINET Device
- 2. Click Add New Item...
- 3. Depending on the configuration, select the appropriate box, e.g. the CX2xx0 if you are using a CX20xx Embedded PC with PROFINET optional interface.
- The virtual PROFINET slave is created in the project tree.
- 4. You can now configure your own process data for the virtual slave.
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.