Uploaded by obinna obioji

288907873-Integrating-DeltaV-Systems-Using-Modbus-TCP-via-VIM-or-VIM2-MYNAH-Technologies-LLC (1)

advertisement
10/30/2015
Integrating DeltaV Systems using Modbus TCP via VIM or VIM2 | MYNAH Technologies, LLC
KNOWLEDGE BASE / TECHNICAL NOTES
Integrating DeltaV Systems
using Modbus TCP via VIM
or VIM2
By David Story
PRODUCT FAMILY: DELTAV VIRTUAL IO MODULE
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 configured as
master and slave.
Using Modbus TCP and the Virtual IO Module (VIM or VIM2, M-Series or S-Series)
is a simple and effective 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/modbustcp­vim­%E2%80%93­masterslave­communications­setup
1/24
10/30/2015
Integrating DeltaV Systems using Modbus TCP via VIM or VIM2 | MYNAH Technologies, 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 configure one VIM as a Modbus
master and another one as a Modbus slave for integration of two DeltaV systems.
It shows the configuration parameters for both master and slave VIM. In addition
it demonstrates how to configure one of VIM’s ports as slave and the other as
master.
VIMNet Explorer Configuration of Master VIM
In the VIMNet Explorer user needs to add master ModbusTCP VIM placeholder.
The user can choose the IP address and subnet mask per his/her network
requirements.
Next step is to commission the VIM placeholder to a real physical VIM card.
https://www.mynah.com/content/modbustcp­vim­%E2%80%93­masterslave­communications­setup
2/24
10/30/2015
Integrating DeltaV Systems using Modbus TCP via VIM or VIM2 | MYNAH Technologies, LLC
The following step is to add a SLAVE VIM device with device address and IP
address. The IP address needs to match configured slave VIM’s IP address.
Next step is to upload the configuration to the master VIM. Right mouse click on
the Master_VIM placeholder and select VIM Configuration Upload as shown
below.
https://www.mynah.com/content/modbustcp­vim­%E2%80%93­masterslave­communications­setup
3/24
10/30/2015
Integrating DeltaV Systems using Modbus TCP via VIM or VIM2 | MYNAH Technologies, LLC
VIMNet Explorer Configuration of Slave VIM
In the VIMNet Explorer user needs to add ModbusTCP VIM placeholder for Slave
VIM. The user can choose the IP address and subnet mask per his/her network
requirements.
https://www.mynah.com/content/modbustcp­vim­%E2%80%93­masterslave­communications­setup
4/24
10/30/2015
Integrating DeltaV Systems using Modbus TCP via VIM or VIM2 | MYNAH Technologies, 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 configured slave VIM’s IP address.
Next step is to upload the configuration to the slave VIM. Right mouse click on the
Slave_VIM placeholder and select VIM Configuration Upload as shown below.
https://www.mynah.com/content/modbustcp­vim­%E2%80%93­masterslave­communications­setup
5/24
10/30/2015
Integrating DeltaV Systems using Modbus TCP via VIM or VIM2 | MYNAH Technologies, LLC
DeltaV Configuration of Master VIM
The DeltaV configuration of datasets is very simple. It starts by Auto-sensing for
new IO cards.
Once the 4 Programmable Serial cards are inserted, the IO needs to be
downloaded.
In order to start configuring devices user needs to choose the card and expand it
to see the ports. Right mouse click on Port1 and go to Properties. Check the
checkbox to enable this port as shown below.
https://www.mynah.com/content/modbustcp­vim­%E2%80%93­masterslave­communications­setup
6/24
10/30/2015
Integrating DeltaV Systems using Modbus TCP via VIM or VIM2 | MYNAH Technologies, LLC
Click on Advanced tab. The following dialog will appear:
In this dialog, leave the default selection as Master mode. Then configure 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/modbustcp­vim­%E2%80%93­masterslave­communications­setup
7/24
10/30/2015
Integrating DeltaV Systems using Modbus TCP via VIM or VIM2 | MYNAH Technologies, LLC
Next, user needs to configure 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. It’s optional but user can also add
the dataset description to make the configuration more readable.
On the DeltaV tab user will select the DeltaV data type.
https://www.mynah.com/content/modbustcp­vim­%E2%80%93­masterslave­communications­setup
8/24
10/30/2015
Integrating DeltaV Systems using Modbus TCP via VIM or VIM2 | MYNAH Technologies, LLC
On the PLC tab user will select the device data type, starting address (offset), 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 configure 1 in special data 2.
https://www.mynah.com/content/modbustcp­vim­%E2%80%93­masterslave­communications­setup
9/24
10/30/2015
Integrating DeltaV Systems using Modbus TCP via VIM or VIM2 | MYNAH Technologies, LLC
In another example we have configured a coil dataset.
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 offset of the full address, and number of values is desired
number of values for this dataset.
https://www.mynah.com/content/modbustcp­vim­%E2%80%93­masterslave­communications­setup
10/24
10/30/2015
Integrating DeltaV Systems using Modbus TCP via VIM or VIM2 | MYNAH Technologies, LLC
The special data tab is not used for VIM slave communications except when data
type used is floating point with status.
Floating Point Dataset
https://www.mynah.com/content/modbustcp­vim­%E2%80%93­masterslave­communications­setup
11/24
10/30/2015
Integrating DeltaV Systems using Modbus TCP via VIM or VIM2 | MYNAH Technologies, LLC
https://www.mynah.com/content/modbustcp­vim­%E2%80%93­masterslave­communications­setup
12/24
10/30/2015
Integrating DeltaV Systems using Modbus TCP via VIM or VIM2 | MYNAH Technologies, LLC
https://www.mynah.com/content/modbustcp­vim­%E2%80%93­masterslave­communications­setup
13/24
10/30/2015
Integrating DeltaV Systems using Modbus TCP via VIM or VIM2 | MYNAH Technologies, LLC
DeltaV Configuration of Slave VIM
The DeltaV configuration of datasets is very simple. It starts by Auto-sensing for
new IO.
Once the 4 Programmable Serial cards are inserted, the IO needs to be
downloaded.
In order to start configuring devices user needs to choose the card and expand it
to see ports.
Right mouse click on Port1 and go to Properties. Check the checkbox to enable
this port as shown below.
https://www.mynah.com/content/modbustcp­vim­%E2%80%93­masterslave­communications­setup
14/24
10/30/2015
Integrating DeltaV Systems using Modbus TCP via VIM or VIM2 | MYNAH Technologies, LLC
Click on Advanced tab. The following dialog will appear:
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/modbustcp­vim­%E2%80%93­masterslave­communications­setup
15/24
10/30/2015
Integrating DeltaV Systems using Modbus TCP via VIM or VIM2 | MYNAH Technologies, 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 configure 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 significant. It’s optional but user can add
the dataset description to make the configuration more readable.
https://www.mynah.com/content/modbustcp­vim­%E2%80%93­masterslave­communications­setup
16/24
10/30/2015
Integrating DeltaV Systems using Modbus TCP via VIM or VIM2 | MYNAH Technologies, 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 (offset), and
number of values. In example below, the device data type is 3 or Holding
Registers.
https://www.mynah.com/content/modbustcp­vim­%E2%80%93­masterslave­communications­setup
17/24
10/30/2015
Integrating DeltaV Systems using Modbus TCP via VIM or VIM2 | MYNAH Technologies, LLC
The special data tab is not used unless the Floating Point data type is used. In that
case, user need to configure 1 in special data 2.
In another example we have configured a coil dataset.
On the DeltaV tab user needs to select the DeltaV data type.
https://www.mynah.com/content/modbustcp­vim­%E2%80%93­masterslave­communications­setup
18/24
10/30/2015
Integrating DeltaV Systems using Modbus TCP via VIM or VIM2 | MYNAH Technologies, LLC
On the PLC tab user needs to enter the device data type that is equivalent to coils.
Starting address is the offset 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/modbustcp­vim­%E2%80%93­masterslave­communications­setup
19/24
10/30/2015
Integrating DeltaV Systems using Modbus TCP via VIM or VIM2 | MYNAH Technologies, LLC
Below is the example of DeltaV configuration for Floating Point Slave Dataset.
https://www.mynah.com/content/modbustcp­vim­%E2%80%93­masterslave­communications­setup
20/24
10/30/2015
Integrating DeltaV Systems using Modbus TCP via VIM or VIM2 | MYNAH Technologies, LLC
https://www.mynah.com/content/modbustcp­vim­%E2%80%93­masterslave­communications­setup
21/24
10/30/2015
Integrating DeltaV Systems using Modbus TCP via VIM or VIM2 | MYNAH Technologies, LLC
In the following dialog box user needs to specify value of 1 in special data 2 field.
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/modbustcp­vim­%E2%80%93­masterslave­communications­setup
22/24
10/30/2015
Integrating DeltaV Systems using Modbus TCP via VIM or VIM2 | MYNAH Technologies, LLC
https://www.mynah.com/content/modbustcp­vim­%E2%80%93­masterslave­communications­setup
23/24
10/30/2015
Integrating DeltaV Systems using Modbus TCP via VIM or VIM2 | MYNAH Technologies, LLC
MYNAH Technologies LLC
390 South Woods Mill Road, Suite 100
Chesterfield, MO 63017 USA
+1.636.728.2000 (International)
+1.636.728.2001 (Fax)
Email: support@mynah.com
Web: www.mynah.com
© MYNAH Technologies 2012 - 2015. All rights reserved.
Designs are marks of MYNAH Technologies, Emerson Process Management, DeltaV, and the DeltaV design are marks of one of the
Emerson Process Management of companies. All other marks are property of their respective owners. The contents of this
publication are presented for informational purposes only, and while every effort has been made to ensure their accuracy, they are
not to be construed as warrantees or guarantees, expressed or implied, regarding the products or services described herein or their
use or applicability. All sales are governed by our terms and conditions, which are available on request. We reserve the right to
modify or improve the design or specification of such products at any time without notice.
While this information is presented in good faith and believed to be accurate, Mynah Technologies does not guarantee satisfactory
results from reliance upon such information. Nothing contained herein is to be construed as a warranty or guarantee, express or
implied, regarding the performance, merchantability, fitness or any other matter with respect to the products, nor as a
recommendation to use any product or process in conflict with any patent. Mynah Technologies reserves the right, without notice,
to alter or improve the designs or specifications of the products described herein.
https://www.mynah.com/content/modbustcp­vim­%E2%80%93­masterslave­communications­setup
24/24
Download