Step 1 – Right click on the Controller to Add Virtual I/O Module (VIM) placeholder.
A dialog box will appear to Add Modbus TCP Virtual I/O Module
Fill in the parameters as follows:
a. Name – Unique 32 character VIM name.
b. IP Address – IP addresses in your network that are not currently being used. Click the Ping button to ensure that assigned IP addresses are unused.
c. Subnet Mask – as required by your network architecture.
_____________________________________________________________________________________________________
504 Trade Center Blvd. • Chesterfield, MO 63005 • Telephone (636) 681-1555 • Fax (636) 681-1660 • www.mynah.com 20
d. Gateway – Specify the IP address of the network routers so the VIMs can access devices on another network. Configure as 0.0.0.0 if a Gateway is not used.
e. Select the “VIM is Redundant” checkbox.
f. Virtual Cards – All eight serial cards will be allocated as four redundant pairs.
g. Type – This is the VIM firmware type. Select Modbus TCP.
h. Check the VIM is Redundant checkbox.
i. DeltaV version 10.x – click this checkbox if the DeltaV system is v10.3 or earlier, or v11.3 with M-Series I/O. For v11.3 with S-Series I/O, this field is unchecked.
Note that if the Gateway field is disabled; enable it via the Windows Registry.
The key is EnableDefaultGateway, DWORD, with a value of 1.
The key path is My Computer\HKEY_CURRENT_USER\Software\Mynah Technologies\PPV\Settings After filling out the parameters, select OK. The Virtual I/O placeholder module has been added. (Note that the Virtual Cards appear and you are ready to commission.)
Step 2 – Click on Decommissioned VIMs to display all available decommissioned VIMs. This list is dynamically populated as VIMs are detected on the network. Click the Decommissioned VIMs object in the left pane and verify the VIMs appear in the list in the right pane.
Step 3 – Right click on the VIM placeholder under I/O Net and select the Commission menu option. You must commission both VIMs separately as VIM A and VIM B.
Select the VIM to be commissioned from the list of Decommissioned VIMs.
Select the Start Flashing Radio Button to identify the VIM you are commissioning. Once the correct VIM has been located, select Stop Flashing and then select OK.
If the VIM cannot be located, check the network connection and power supply. Cancel the dialog and repeat Step 3.
When commissioned, the Active LED will stay steady green for VIM A and your state on the VIMNet Explorer will indicate commission good. VIM B will indicate that it is commissioned by changing the Standby LED to steady green and it will turn off the Active LED. The Active and Standby LEDs state on both VIMs will change based on redundancy role. Only one LED will be active on a VIM at a time, i.e., the Active and Standby LED cannot both be lit at the same time on one VIM.
_____________________________________________________________________________________________________
504 Trade Center Blvd. • Chesterfield, MO 63005 • Telephone (636) 681-1555 • Fax (636) 681-1660 • www.mynah.com 22
Step 4 – Repeat Step 3 for the partner VIM.
Step 5 - To complete VIM configuration, Network devices must be added to the Virtual Cards. Right Click on the Serial Port and select the Add Device menu option.
Adding a Non-Gateway Device
Right click on the port and select Add Device as follows:
Fill in the parameters as follows:
a. Device Address – 1-254. This is the PLC address of the device, which must be the same as the device address configured in the DeltaV explorer for the serial card. Address 255 is reserved.
b. Description – up to 32 characters
c. Click Add to add a new IP address and specify its properties. The following dialog will appear. Note that unused IP addresses are automatically discarded from the list. All configured and available IP addresses are shown in the list. You can map a device to any
available IP address. Furthermore, more than one device can be mapped to a single IP address.
In this dialog:
a. Specify the IP address of the Modbus TCP PLC device.
b. If redundant, select the type of device redundancy being used. Device redundancy is described in Section 7.
c. Enter 502 for the standard Modbus TCP Port Number. This can be modified as needed for the external device.
d. Adjust the Number of Simultaneous Messages (read requests) as needed. For example, Quantum PLCs allow a maximum of 16 requests. Write requests are always one at a time.
e. The Gateway Device checkbox should remain unchecked.
Click OK after filling the parameters. The following window shows one non-gateway redundant device configured.
_____________________________________________________________________________________________________
504 Trade Center Blvd. • Chesterfield, MO 63005 • Telephone (636) 681-1555 • Fax (636) 681-1660 • www.mynah.com 24
Adding a Gateway Device
A Gateway device is one which supports multiple simultaneous network connections. Each connection opens a path to one of the underlying sub-devices as illustrated below with Modbus Plus Gateway.
Right click on the port and select Add Device as follows:
Fill in the parameters as follows:
a. Device Address – 1-254. This is the PLC address of the device, which must be the same as the device address configured in the DeltaV explorer for the serial card. Address 255 is reserved.
b. Description – up to 32 characters
c. Click Add to add a new IP address and specify its properties. The following dialog will appear. Note that unused IP addresses are automatically discarded from the list. All configured and available IP addresses are shown in the list. You can map a device to any available IP address. Furthermore, more than one device can be mapped to a single IP address.
_____________________________________________________________________________________________________
504 Trade Center Blvd. • Chesterfield, MO 63005 • Telephone (636) 681-1555 • Fax (636) 681-1660 • www.mynah.com 26
In this dialog:
a. Specify the IP address of the Modbus TCP PLC device.
b. Select the type of device redundancy being used. Device redundancy is described in Section 7. In this case, two Modbus Plus Gateways would be required.
c. Enter 502 for the standard Modbus TCP Port Number. This can be modified as needed for the external device.
d. Adjust the Number of Simultaneous Messages (read requests) as needed. For example, Quantum PLCs allow a maximum of 16 requests. Write requests are always one at a time.
e. Check the Gateway Device checkbox. The device being configured must be a Gateway which supports multiple simultaneous connections. For example, the Schneider Modbus Plus to Ethernet Bridge, part number 174 CEV 200 40, is one such gateway shown in above illustration. Similarly, the Schneider Modbus TCP to serial converter, part number TSX ETG 100, is also a gateway. When checked, the Max Sessions field will become enabled. Specify the maximum number of simultaneous sessions the VIM should open when connecting with the gateway. Messages on each session are handled independently. In this example, we have selected 4 simultaneous sessions.
Click OK after filling the parameters. Repeat the above steps to add additional devices, selecting the existing IP address pair, and the same or different session number. The following window shows one gateway redundant device configured. This device exists in 4 sessions. Based on this, the VIM will open 4 independent, simultaneous connections to the device. Note that each device uses the same IP address pair.
_____________________________________________________________________________________________________
504 Trade Center Blvd. • Chesterfield, MO 63005 • Telephone (636) 681-1555 • Fax (636) 681-1660 • www.mynah.com 28
Adding a Bridge Device
A Bridge device is different from a Gateway device in that it only supports one network session. The underlying devices are usually connected to the Bridge via RS485 in a multi-drop architecture as shown below. The open connection multiplexes between the connected sub-devices. However this architecture delivers limited throughput. Loss of one sub-device can severely disrupt communications with the remaining sub-devices. Such architectures are not recommended, unless one bridge/one device is used.
Right click on the port and select Add Device as follows:
Fill in the parameters as follows:
a. Device Address – 1-254. This is the PLC address of the device, which must be the same as the device address configured in the DeltaV explorer for the serial card. Address 255 is reserved.
b. Description – up to 32 characters
c. Click Add to add a new IP address and specify its properties. The following dialog will appear. Note that unused IP addresses are automatically discarded from the list. All configured and available IP addresses are shown in the list. You can map a device to any available IP address. Furthermore, more than one device can be mapped to a single IP address.
In this dialog:
a. Specify the IP address of the Modbus TCP PLC device.
b. A bridge is usually deployed as a simplex device.
_____________________________________________________________________________________________________
504 Trade Center Blvd. • Chesterfield, MO 63005 • Telephone (636) 681-1555 • Fax (636) 681-1660 • www.mynah.com 30
c. Enter 502 for the standard Modbus TCP Port Number. This can be modified as needed for the external device.
d. Simultaneous Messages (read requests) must be set to 1.
e. Leave the Gateway Device checkbox unchecked.
Click OK after filling the parameters. Repeat the above steps to add additional devices, specifying the same existing IP address. The following window shows one bridge device configured. This bridge has 3 underlying sub-devices, all sharing the same IP address but the device address is different. See Section 5.7 for additional dataset level flags required for bridged device communications.