0% found this document useful (0 votes)
48 views3 pages

Multiple EtherNetIP Projects

Uploaded by

i_aordaz
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
48 views3 pages

Multiple EtherNetIP Projects

Uploaded by

i_aordaz
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 3

Setting up for Multiple DA runtime projects using EtherNet/IP

Setting Up Multiple Virtual EtherNet/IP Connections


July 16, 2020
Copyright© 2007-2020 by Matrox Electronic Systems Ltd. All rights reserved.

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.

Reference to configure projects for multiple runtimes:


Introduction to Design Assistant X 2006.pdf -- Getting Started with Multiple Runtimes

Reference to add EthernetIP instances in MILConfig:


Upgrading Projects from DA 5 to Design Assistant X.pdf -- Industrial Communication Protocols

Minimum requirement:
-Windows 8 and later
-Hyper-V Management and services installed

Procedure
Instructions to create Virtual NICs to share the same physical NIC.

- Remove all cables on the Physical NIC


- Open Powershell console with Administrative rights. Search for Powershell with the Windows10
search icon, then right click on the Powershell, and run as admin

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

Set-VMSwitch "VMSW01" -DefaultFlowMinimumBandwidthWeight 20

Add-VMNetworkAdapter -ManagementOS -Name "VMNIC01" -SwitchName "VMSW01"

Set-VMNetworkAdapter -ManagementOS -Name "VMNIC01" -MinimumBandwidthWeight 20 –MaximumBandwidth


100000000

Add-VMNetworkAdapter -ManagementOS -Name "VMNIC02" -SwitchName "VMSW01"

Set-VMNetworkAdapter -ManagementOS -Name "VMNIC02" -MinimumBandwidthWeight 20 –MaximumBandwidth


100000000
----------------------------------------------------------------------------

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…)

Add-VMNetworkAdapter -ManagementOS -Name "VMNIC0X" -SwitchName "VMSW01"

Set-VMNetworkAdapter -ManagementOS -Name "VMNIC0X" -MinimumBandwidthWeight 20 –MaximumBandwidth


100000000
---------------------------------------------------------------

3
Matrox Design Assistant X 2006

You might also like