This procedure describes how to configure an Implicit IO connection to an EtherNet/IP VIM2 in RSLogix 5000/Studio Designer. The procedure in RSLogix 5000/Studio Designer is the same for all VIM2 firmware options (IOD-4112: Rockwell PLC EtherNet/IP, IOD-4114: Generic Devices EtherNet/IP, and IOD-4116: ODVA EtherNet/IP) but there are differences in the VIMNet Explorer and DeltaV Explorer configuration steps.
When using Implicit IO Messaging between a Rockwell PLC to a VIM2, the PLC will act as the Scanner and the VIM2 will act as an Adapter. The PLC (scanner) will establish a connection to the VIM2 (adapter) and data between the two nodes will be exchanged at the Requested Packet Interval (RPI). Assembly Instances are used to configure what data will be written to and read. When using the Rockwell PLC EtherNet/IP VIM2 firmware, the VIM’s assembly instances are fixed, based on the serial card number and dataset number. When using the Generic Devices or ODVA EtherNet/IP firmwares, the assembly instances for the VIM are configured in the connection definition. Both scenarios will be described in more detail in the procedure.
1. Create a DeltaV dataset with the following settings:
Direction | Output with Readback |
DeltaV Data Type | 16-bit UINT with Status |
DeltaV Device Data Type | 15 |
Start Address | 0 |
Number of Values | 100 |
Special Data | 0,0,0,0,0 |
2. Create a second DeltaV dataset with the following settings:
Direction | Output with Readback |
DeltaV Data Type | Floating point with Status |
DeltaV Device Data Type | 15 |
Start Address | 0 |
Number of Values | 50 |
Special Data | 0,0,0,0,0 |
More details on configuring datasets using the Rockwell PLC EtherNet/IP firmware can be found here.
1. Create a connection definition with the following settings:
Message Type | Implicit: Class 1 IO Message → Adapter (Target Server) |
Assembly Instance | 1 |
Comm Format | INT |
Transfer Data | 100 |
Maximum RPI | 750 |
2. Create a second connection definition with the following settings:
Message Type | Implicit: Class 1 IO Message → Adapter (Target Server) |
Assembly Instance | 2 |
Comm Format | REAL |
Transfer Data | 50 |
Maximum RPI | 750 |
3. Assign the connection definitions to the device in VIMNet Explorer
4. Export the VIM configuration to an FHX file
5. Import the configuration into DeltaV to generate the datasets automatically
More details on configuring connection definitions can be found here.
1. In the RSLogix 5000/Studio Designer system, right click on I/O configuration as shown below and select New Module.
2. When New Module is selected, the following dialog will appear. Select the Ethernet Interface card appropriate for your PLC.
In this guide, we are configuring a 1756-EN2T for a ControlLogix processor. A 1756-ENBT will also work.
3. Add a name and IP Address for the Ethernet card. This will be the configuration for the EN2T that is physically present in the RSLogix chassis along with the controller. The Slot number must match the slot position of the Ethernet card in the Logix chassis.
4. Click on the “Change” button under the Module Definition section. Select the following parameters to finish the module configuration:
Electronic Keying: Disable Keying
Rack Connection: None
Time Sync Connection: None
5. Next, right click on the ENET parent’s Ethernet node and select New Module. Then from the list provided, select and add a new 1756-ENBT module.
The VIM will be represented as this 1756-ENBT card in the RSLogix configuration. Regardless of the parent ENBT card type, this one should be a 1756-ENBT/A. Other interface card types may result in undesired behavior.
6. Select a name for the VIM’s ENBT module, enter the VIM’s IP Address, and specify the Slot number as 0.
7. Click “Change” under the Module Definition section. Enter the following parameters to finish the ENBT configuration:
Electronic Keying: Disable Keying
Rack Connection: None
Time Sync Connection: None
Chassis Size: 32
The PLC will not be able to properly establish a connection if the Electronic Keying, Rack Connection, and Time Sync Connection settings are not configured properly. Specifically, for example, Rack Optimization is not supported. The VIM will reject with error a Rack Optimized IO connection request from the PLC if this option is selected. Furthermore note that Rack Optimized IO connections will interfere with other, normal connections at run time, leading to unpredictable results.
The chassis size will determine how many connections the EN2T will be able to establish to the VIM2. The maximum size of 32 is recommended which allows 31 connections.
8. Right-click on the VIM ENBT module and select New Module. Select 1756-MODULE from the list. Configure the generic module with the settings in the following screenshot.
If using the Rockwell PLC EtherNet/IP VIM2 driver, the module as shown will generate tags to be used with the first output with readback dataset on the first serial card. In the Assembly Instance column, the Input and Output parameters are the dataset index numbers. In this example, these are specified as 1 for the first dataset on Card 57. The valid range for these parameters is 1-128. This parameter is calculated based on the target card/dataset to which the ENBT is mapped. The following table can be used as a quick reference.
Assembly Instance Mapping for the Rockwell PLC EtherNet/IP VIM2 Firmware
Serial Card | Serial Card | Calculated Assembly Instance Range |
---|---|---|
57 | 61 | 1-32 |
58 | 62 | 33-64 |
59 | 63 | 65-96 |
60 | 64 | 97-128 |
Examples:
To map an ENBT module to Card 57, Port 2, Dataset 1, use an instance parameter of 17.
To map an ENBT module to Card 59, Port 1, Dataset 5, use an instance parameter of 69.
The ODVA and Generic Devices EtherNet/IP VIM2 drivers do not follow this assembly instance mapping. Instead, these firmware options use connection definitions which define assembly instances for the given datasets. The valid range is still 1-128. The Assembly Instances in the generic module configuration will need to match the assembly instance defined in the connection definition. In this example, this generic module will generate tags to be used for the connection definition that uses Assembly Instance 1.
The Input and Output Size Parameters should match the number of values in the DeltaV dataset. Lastly, specify the Comm Format. The Comm format corresponds to the DeltaV data type. For example, INT corresponds to 16-bit unsigned int.
Do not use any data type other than an array of a basic type.
The VIM does not support user-defined data types.
9. After finishing the generic module configuration, update the RPI under the Module Properties → Connection Tab to a value between 200 – 750 ms. This will specify how often data is exchanged between the PLC and the VIM for this module. For few (less than 8) datasets, an RPI of 200ms may be used. For more than 16 datasets, the RPI may have to be adjusted up to the maximum (slowest) rate of 750ms.
Configuring an RPI of less than 100ms is not recommended. The VIM will not be able to keep up with messages from Logix, causing datasets to have bad status.
Unicast connections are recommended. Select the Unicast Connection over EtherNet/IP checkbox. The PLC will use Multicast messages when this option is not selected. However, the VIM will support either method.
10. Create the 1756-MODULE for the second DeltaV Dataset
Note that this module is configured for DeltaV dataset 2, and has a Comm Format of REAL. This corresponds to a DeltaV dataset of type floating point, with a maximum of 50 registers.
11. The final configuration with 2 connections will appear as follows:
12. The generic module tags should be available under the Controller Tags node.
Please contact us for any questions at:
Emerson Automation Solutions
Process Simulation Center of Excellence
390 South Woods Mill, Suite 100
Chesterfield, MO 63017 USA
1.636.728.2000
MYNAH Technologies LLC
390 South Woods Mill Road, Suite 100
Chesterfield, MO 63017 USA
+1.314.553.7008 (International)
Email: support@mynah.com
Web: www.mynah.com
© MYNAH Technologies 2012 - 2021. 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.