Integrating DeltaV Systems Using Modbus TCP Via VIM or VIM2 - MYNAH Technologies, LLC
Integrating DeltaV Systems Using Modbus TCP Via VIM or VIM2 - MYNAH Technologies, LLC
Integrating DeltaV Systems Using Modbus TCP Via VIM or VIM2 - MYNAH Technologies, LLC
IntegratingDeltaVSystemsusingModbusTCPviaVIMorVIM2|MYNAHTechnologies,LLC
This technical note describes the use of the Virtual IO Module to integrate data
from two DeltaV systems using Modbus TCP, with the VIM/VIM2 congured as
master and slave.
Using Modbus TCP and the Virtual IO Module (VIM or VIM2, M-Series or S-Series)
is a simple and eective way to link two DeltaV systems together over an
Industrial Ethernet network. The following should be considered when applying
this solution:
Slave functionality is available in Simplex applications only, i.e., the Slave
VIM/VIM2 must be deployed as Simplex. Master VIM/VIM2 may be Simplex or
Redundant.
In the case where both Master and Slave functions are required simultaneously,
the VIM/VIM2 must be Simpelx and can communicate with 16 slaves as Master,
and 16 masters as Slave.
https://www.mynah.com/content/modbustcpvim%E2%80%93masterslavecommunicationssetup
1/24
10/30/2015
IntegratingDeltaVSystemsusingModbusTCPviaVIMorVIM2|MYNAHTechnologies,LLC
Each DeltaV system will require one VIM or VIM2 and an IOD-4101, Modbus TCP
Driver.
DeltaV DST rules for serial card datasets shall apply on each system. Please see
the product bulletin for the DeltaV Virtual IO Module Network Gateway
(http://www.mynah.com/content/deltav-virtual-io-module-network-gateway)
for guidelines on DST counting for both VIM and VIM2.
This application notes demonstrates how to congure one VIM as a Modbus
master and another one as a Modbus slave for integration of two DeltaV systems.
It shows the conguration parameters for both master and slave VIM. In addition
it demonstrates how to congure one of VIMs ports as slave and the other as
master.
Next step is to commission the VIM placeholder to a real physical VIM card.
https://www.mynah.com/content/modbustcpvim%E2%80%93masterslavecommunicationssetup
2/24
10/30/2015
IntegratingDeltaVSystemsusingModbusTCPviaVIMorVIM2|MYNAHTechnologies,LLC
The following step is to add a SLAVE VIM device with device address and IP
address. The IP address needs to match congured slave VIMs IP address.
Next step is to upload the conguration to the master VIM. Right mouse click on
the Master_VIM placeholder and select VIM Conguration Upload as shown
below.
https://www.mynah.com/content/modbustcpvim%E2%80%93masterslavecommunicationssetup
3/24
10/30/2015
IntegratingDeltaVSystemsusingModbusTCPviaVIMorVIM2|MYNAHTechnologies,LLC
https://www.mynah.com/content/modbustcpvim%E2%80%93masterslavecommunicationssetup
4/24
10/30/2015
IntegratingDeltaVSystemsusingModbusTCPviaVIMorVIM2|MYNAHTechnologies,LLC
Next step is to commission the VIM placeholder to a real physical VIM card.
The following step is to add a SLAVE VIM device with device address and IP
address. The IP address needs to match congured slave VIMs IP address.
Next step is to upload the conguration to the slave VIM. Right mouse click on the
Slave_VIM placeholder and select VIM Conguration Upload as shown below.
https://www.mynah.com/content/modbustcpvim%E2%80%93masterslavecommunicationssetup
5/24
10/30/2015
IntegratingDeltaVSystemsusingModbusTCPviaVIMorVIM2|MYNAHTechnologies,LLC
6/24
10/30/2015
IntegratingDeltaVSystemsusingModbusTCPviaVIMorVIM2|MYNAHTechnologies,LLC
In this dialog, leave the default selection as Master mode. Then congure retry
count, message timeout and transmit delay according to your application. The
serial parameters on Communications tab are not used for VIM communications.
Next step is to right mouse click on Port and Add Serial Device. It opens the
following dialog box, where user needs to specify the device address and
description. Then click OK.
https://www.mynah.com/content/modbustcpvim%E2%80%93masterslavecommunicationssetup
7/24
10/30/2015
IntegratingDeltaVSystemsusingModbusTCPviaVIMorVIM2|MYNAHTechnologies,LLC
Next, user needs to congure datasets in the Serial Device. To add a new dataset,
right mouse click on the Serial Device and select New Dataset. The following
dialog will appear:
In master mode user can select the direction. Its optional but user can also add
the dataset description to make the conguration more readable.
On the DeltaV tab user will select the DeltaV data type.
https://www.mynah.com/content/modbustcpvim%E2%80%93masterslavecommunicationssetup
8/24
10/30/2015
IntegratingDeltaVSystemsusingModbusTCPviaVIMorVIM2|MYNAHTechnologies,LLC
On the PLC tab user will select the device data type, starting address (oset), and
number of values. In example below, the device data type is 3 or Holding
Registers.
The special data tab is not used unless the Floating Point data type is used. In that
case, user needs to congure 1 in special data 2.
https://www.mynah.com/content/modbustcpvim%E2%80%93masterslavecommunicationssetup
9/24
10/30/2015
IntegratingDeltaVSystemsusingModbusTCPviaVIMorVIM2|MYNAHTechnologies,LLC
On the DeltaV tab user needs to select the DeltaV data type.
On the PLC tab user needs to enter the device data type that is equivalent to coils.
Starting address is the oset of the full address, and number of values is desired
number of values for this dataset.
https://www.mynah.com/content/modbustcpvim%E2%80%93masterslavecommunicationssetup
10/24
10/30/2015
IntegratingDeltaVSystemsusingModbusTCPviaVIMorVIM2|MYNAHTechnologies,LLC
The special data tab is not used for VIM slave communications except when data
type used is oating point with status.
https://www.mynah.com/content/modbustcpvim%E2%80%93masterslavecommunicationssetup
11/24
10/30/2015
IntegratingDeltaVSystemsusingModbusTCPviaVIMorVIM2|MYNAHTechnologies,LLC
https://www.mynah.com/content/modbustcpvim%E2%80%93masterslavecommunicationssetup
12/24
10/30/2015
IntegratingDeltaVSystemsusingModbusTCPviaVIMorVIM2|MYNAHTechnologies,LLC
https://www.mynah.com/content/modbustcpvim%E2%80%93masterslavecommunicationssetup
13/24
10/30/2015
IntegratingDeltaVSystemsusingModbusTCPviaVIMorVIM2|MYNAHTechnologies,LLC
https://www.mynah.com/content/modbustcpvim%E2%80%93masterslavecommunicationssetup
14/24
10/30/2015
IntegratingDeltaVSystemsusingModbusTCPviaVIMorVIM2|MYNAHTechnologies,LLC
In this dialog user needs to select the Slave mode. Select the transmit delay. Click
OK. The rest of messaging parameters are not available. The parameters under
Communications tab are not used for VIM communications.
https://www.mynah.com/content/modbustcpvim%E2%80%93masterslavecommunicationssetup
15/24
10/30/2015
IntegratingDeltaVSystemsusingModbusTCPviaVIMorVIM2|MYNAHTechnologies,LLC
Next step is to right mouse click on Port and Add Serial Device. It opens the
following dialog box, where user needs to specify the device address and
description. Then click OK.
Next, user needs to congure datasets in the Serial Device. To add a new dataset,
right mouse click on the Serial Device and select New Dataset. The following
dialog will appear:
In slave mode the data direction is not signicant. Its optional but user can add
the dataset description to make the conguration more readable.
https://www.mynah.com/content/modbustcpvim%E2%80%93masterslavecommunicationssetup
16/24
10/30/2015
IntegratingDeltaVSystemsusingModbusTCPviaVIMorVIM2|MYNAHTechnologies,LLC
On the DeltaV tab user will select the DeltaV data type.
On the PLC tab user will select the device data type, starting address (oset), and
number of values. In example below, the device data type is 3 or Holding
Registers.
https://www.mynah.com/content/modbustcpvim%E2%80%93masterslavecommunicationssetup
17/24
10/30/2015
IntegratingDeltaVSystemsusingModbusTCPviaVIMorVIM2|MYNAHTechnologies,LLC
The special data tab is not used unless the Floating Point data type is used. In that
case, user need to congure 1 in special data 2.
On the DeltaV tab user needs to select the DeltaV data type.
https://www.mynah.com/content/modbustcpvim%E2%80%93masterslavecommunicationssetup
18/24
10/30/2015
IntegratingDeltaVSystemsusingModbusTCPviaVIMorVIM2|MYNAHTechnologies,LLC
On the PLC tab user needs to enter the device data type that is equivalent to coils.
Starting address is the oset of the full address, and number of values is desired
number of values for this dataset.
The special data tab is not used for unless the data type selected is Floating Point
with Status.
https://www.mynah.com/content/modbustcpvim%E2%80%93masterslavecommunicationssetup
19/24
10/30/2015
IntegratingDeltaVSystemsusingModbusTCPviaVIMorVIM2|MYNAHTechnologies,LLC
Below is the example of DeltaV conguration for Floating Point Slave Dataset.
https://www.mynah.com/content/modbustcpvim%E2%80%93masterslavecommunicationssetup
20/24
10/30/2015
IntegratingDeltaVSystemsusingModbusTCPviaVIMorVIM2|MYNAHTechnologies,LLC
https://www.mynah.com/content/modbustcpvim%E2%80%93masterslavecommunicationssetup
21/24
10/30/2015
IntegratingDeltaVSystemsusingModbusTCPviaVIMorVIM2|MYNAHTechnologies,LLC
In the following dialog box user needs to specify value of 1 in special data 2 eld.
It sends the message to master that data in slave in Floating Point format and vice
versa.
Following screen capture shows the VIMNet Diagnostics with the master and
slave VIM.
https://www.mynah.com/content/modbustcpvim%E2%80%93masterslavecommunicationssetup
22/24
10/30/2015
IntegratingDeltaVSystemsusingModbusTCPviaVIMorVIM2|MYNAHTechnologies,LLC
https://www.mynah.com/content/modbustcpvim%E2%80%93masterslavecommunicationssetup
23/24
10/30/2015
IntegratingDeltaVSystemsusingModbusTCPviaVIMorVIM2|MYNAHTechnologies,LLC
https://www.mynah.com/content/modbustcpvim%E2%80%93masterslavecommunicationssetup
24/24