Control Logix With Delta V
Control Logix With Delta V
Control Logix With Delta V
Introduction
The procedure for interfacing the Allen-Bradley ControlLogix across a Device
Level Ring (DLR) using Class 1 connection with a Virtual I/O Module is
comprised of three main parts: VIMNet Explorer Setup, DeltaV Explorer Setup,
and Control Studio Setup. There may be cases in which specific information
pertaining to the components mentioned in this document must be
referenced. In the case of such an event, please refer to that part's
documentation (download links are listed below). To better understand both
interfaces, please look over the manuals below before proceeding forward.
Open VIMNet Explorer. Right-click on "I/O Net" and select "New Controller."
A prompt will appear asking for the name of the controller. The value for this
parameter is at the discretion of the user, but we recommend that it matches
the configured controller name in the DeltaV Database.
Expand "I/O Net" then right-click on the newly created controller and select
"New IO VIM."
A prompt will appear asking for configuration information specific to the VIM.
The "Type," "Virtual Cards," and "DeltaV version 10.x or earlier or M-Series IO"
fields should be configured as shown in the image above. We are
communicating with S-Series Controllers on DeltaV v11.3.1 All of the fields
under the "VIM Properties" panel are at the discretion of the user. Once the
Expand the controller, then the newly created IO VIM, and then "C57." Rightclick on "P01" under "C57" and select "Add Device."
A prompt will appear asking for configuration information specific to the new
device (this device is the 1756-EN2TR Module). The "Device Address" field will
need to match the device address in DeltaV. At this time, please record the
configured Device Address as it will be used later in the configuration of the
DeltaV Serial Device. The "Description" field is at the discretion of the user but
we recommend adding a description of the field device interface. After the
description has been provided, click "Add"to configure device specific
settings.
Configure the IP address, click "OK" to save the device IP Settings, then click
"OK" to save the overall device settings. At this point, the following
configuration should exist:
Next, the VIM will be commissioned and the configuration will be uploaded to
the VIM. Right-click on the VIM controller created earlier and select
"Commission."
Then, select the decommissioned Ethernet IP VIM. Once again, there will be
an option to Ping the IP Address and make sure it is available before assigning
the address to the VIM.
Select the appropriate VIM from the list of decommissioned VIMs and click on
"Start Flashing." At this point, please verify that the VIM intended for this
application has its lights flashing. After identification has been completed,
click on "Stop Flashing," and click "OK."
After commissioning, a blue arrow will appear next to the VIM controller. This
means that the VIM still requires the configuration in VIMNet Explorer to be
uploaded to the VIM hardware. Right-click on the VIM controller and select
"Upload Configuration to VIM."
Now, the upload process will begin. Keep in mind that the term "upload
configuration" refers to the VIMNet Explorer sending the configuration to the
VIM.
Open DeltaV Explorer and continue to the next step of the procedure.
Right-click on "Control Network -> Physical Network -> CTRL1 -> I/O" and
select "New Card."
A new card will need to be configured with a card class of "Serial Cards" and
card type "2 Ports, Programmable, RS232/RS485". Furthermore, this process
will need to be completed for cards 57-60. Once the cards are configured under
"CTRL1" -> "I/O," there will be a configuration similar to the screenshot below.
Expand the newly created card "C57," then right-click on "P01" and select
"Properties."
A prompt will appear asking for configuration information specific to the port.
Set the port to "Enabled," then click on the Advanced Tab.
The parameters "Retry count," "Message timeout (ms)," and "Transmit delay
(ms)" are tuneable parameters.
"Retry count" = The number of attempts that the controller will make in
requesting a data point from the Programmable Serial Card.
"Message timeout (ms)" = The amount of time in milliseconds that the
controller will wait before retrying the message.
"Transmit delay (ms)" = The amount of time that the controller will delay the
With that in mind, please consider that the controller will scan all of the
datasets and if the datapoint is not available, there will be a latency in the
communications for the total timeout T where T= (1st Attempt + Retry Count) *
Message timeout.
We recommend using the settings above as a first pass at obtaining
communications with the field device and then revisiting these settings
during the tuning of the communications.
Under the "Communications" tab, the default settings are used since the VIM
emulated Prog. Serial Cards do not use these settings.
Expand "C57" under "I/O", then right-click on "P01" under "C57" and select
"New Serial device."
A prompt will appear asking for configuration information specific to the new
serial device. Set "Device Address" to "1." The "Description" field is at the
discretion of the user.
A prompt will appear asking for configuration information specific to the new
dataset. In the "General" tab, set "Data direction" to "input." This defines the
direction of the data, relative to DeltaV. All input datasets will be scanned by
the VIM and output datasets will be written when a state change (i.e., a register
value changes) is detected.
The Output Mode controls how much of the dataset is written when a register
changes state. In all cases, outputs are only written when a register value
changes. The following output modes are valid:
0 - Block Output Mode = Any register changes value and all registers in the
dataset will be written out to the field device.
1 - Single Register Output Mode = A register changes value and only that
register is written to the field device. All other registers retain their current
state.
Output Read Back option controls the output dataset behavior as a bidirectional dataset. This means that the dataset is a part of the VIMs input
scan list. If the field device changes a value in this dataset, DeltaV will be able
to detect the change. When DeltaV changes register values in this dataset, they
are written to the device, according to the Output Mode setting. Note that for
Output datasets with readback, pending output changes always have
precedence over reading inputs.
In the "DeltaV" tab, set "DeltaV data type" to "16 bit uint w/status" and set
"Dataset Tag" to "CTRL1C57010101." This attribute defines how data will be
stored in the DeltaV dataset. The following table describes available options
for PLC5/XXE, and SLC 5XX and ControlLogix processors. For more
information please refer to the VIMNet Help Files (online webhelp link
(http://www.mynah.com/vimnet_webhelp/Default.htm)).
In the "PLC" tab, set "Device data type" to "15," set "Data start address" to "0,"
and set "Number of values" to "100." The Device data type parameter controls
the messaging mode of the VIM. For all of the supported messaging modes,
please refer to the VIMNet Help Files (online webhelp link
(http://www.mynah.com/vimnet_webhelp/Default.htm)).
The Start Address parameter controls the offset from the beginning of the data
file that the VIM will read from. For Device Data Type 15 (ENBT), this value
only sets the visible register number in DeltaV and it does not affect the
communications.
- When addressing registers, DeltaV PSIC register numbers are 1 based,
whereas PLC and SLC registers are 0 based.
The Number of Values parameter determines the size of the dataset. The value
is given in the number of registers based on the DeltaV Data Type. The
maximum number of registers is 100, or 50 for Floating Point.
- Floating Point file types, 32-bit Integer, and 32-bit unsigned Integer require 2
16-bit registers per value, thus reducing the registers per dataset to 50
(maximum 16-bit registers per dataset is 100).
When the PLC tab Device Data Type is specified as 15, the remote device
connects to the VIM. In this case, the "Special Tab" is not used.
Once all of the datasets have been configured, all 4 cards will need to be
downloaded at least once. This means that even if the emulated Prog. Serial
Cards are not being used, they will need to be downloaded at least once.
At this point, the interface has been completed. If you have any questions
regarding the procedures and components described in this document, please
feel free to contact MYNAH Support by creating a Support Ticket from your
MYNAH My Account.
Contact
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: [email protected]
Web: www.mynah.com