Multiple EtherNetIP Projects
Multiple EtherNetIP Projects
Table of Contents
Overview ....................................................................................................................................................... 1
Minimum requirement: ............................................................................................................................ 1
Procedure...................................................................................................................................................... 1
Overview
When multiple DA project run at the same time on a platform each requires its own communication
instance to the PLC. For EtherNet/IP multiple projects can share the same physical Network Interface/
cable but use individual IP addresses using virtual network adapters in Windows 10.
The following shows how to make two DA projects work on the Matrox 4-Sight EV6 with a single NIC,
but the principles are the same for other PC platforms.
Minimum requirement:
-Windows 8 and later
-Hyper-V Management and services installed
Procedure
Instructions to create Virtual NICs to share the same physical NIC.
1
Matrox Design Assistant X 2006
Setting up for Multiple DA runtime projects using EtherNet/IP
- The following creates a virtual Switch on the physical NIC (LAN2), and it creates 2 virtual NICs
attached to the virtual switch.
- In the PowerShell console, copy and paste the following lines one at a time (note: change LAN 2
to POE1, POE2, POE3, POE4, or LAN 1 if desired on an EV6, or the name of the Network
Connection you want to use on your PC).
---------------------------------------------------------------------------
-
New-VMSwitch "VMSW01" -MinimumBandwidthMode weight -NetAdapterName “LAN 2” –AllowManagementOS 1
If everything goes well, you should not see any error messages in red in the Powershell console.
In the Network Connections page, you should see the VMNIC01 and VMNIC02.
- Set the IPV4 of each of the 2 Virtual NICs (as you would on a regular NIC).
2
Matrox Design Assistant X 2006
Setting up for Multiple DA runtime projects using EtherNet/IP
- Go to MILConfig and for each EthernetIP instance, set the Interface field to use a different
Virtual NIC.
In the future, if you want to create more virtual NICs, copy and paste the following lines, changing the X
to subsequent numbers (3, 4, 5, 6, etc…)
3
Matrox Design Assistant X 2006