Technical Application Note

Similar documents
Technical Application Note

Application Note: 105U/905U-G-ET1 EtherNet IP & CompactLogix PLC

Operating a Power Xpert C445 Global Motor Management Relay with a Rockwell PLC via Ethernet/IP

EtherNet/IP Configuration for a Moxa MGate 5105-MB-EIP and an Allen-Bradley CompactLogix L32E. Copyright 2013 Moxa Inc Released on July 15, 2013

Operating a PowerXL DC1/DE1 Drive with a Rockwell PLC on Ethernet/IP

Using an AIMCO Gen 4 Controller on a Rockwell PLC with EtherNet IP

Communicating To Acromag Series 9xxEN-6xxx Ethernet Modules In An Allen Bradley CLX5555 Control System

Communicating To Acromag Series 9xxEN-6xxx and XTxxx2-xxx Ethernet Modules In An Allen Bradley ControlLogix System

Application Note. Adding an MPiec Controller as an EtherNet/IP Adapter to Allen Bradley CompactLogixL32E. Applicable Product: MPiec, CompactLogix5332E

User's Manual. DAQMaster MW100 Ethernet/IP Instruction Manual

Copyright Information. Copyright ThePlcCorner.com

Galileo training: Logix platform DF1 RS232 driver and tag import

EtherNet/IP to Allen-Bradley DH+ or Remote I/O Gateway AN-X-AB-DHRIO

Setting up Pinnacle Ethernet IP communication with Allen Bradley PLCs

CP1W-EIP01-US CP1L / CP1H EtherNet/IP Adapter To Allen-Bradley ControlLogix or CompactLogix with EtherNet/IP Setup Guide

User Manual APAX Software Manual

How to Configure the Allen Bradley CompactLogix for EtherNet/IP Communications to MultiRanger/ HydroRanger 200 HMI

Electronic Displays, Inc. EDV111 Series LED Signs Allen Bradley AOI (Add on Instruction) Software Manual

EtherNet /IP. Interface Configuration Quick Start

Configure an X-Gateway EtherNet/IP Adapter with RSLogix 5000

Building a groov HMI for Allen-Bradley Logix Systems. About groov. Building a groov HMI for Allen-Bradley Logix. A-B Systems and groov

Using an AIMCO Gen 4 Controller on a Rockwell PLC with Profibus

Allen-Bradley. PowerFlex DSI Communication Adapters. DeviceNet (22-COMM-D) EtherNet/IP (22-COMM-E) PROFIBUS (22-COMM-P) RS-232 DF1 Module (22-SCM-232)

EtherNET/IP Software Help File

Connecting an Emerson Wireless Gateway to the ABB Totalflow XRC 6490

WebAccess Driver Configuration Manual

Integration of Dimetix D Series Laser via Ethernet IP with Allen Bradley Systems PLC July 19, 2018

AKD Ethernet IP: Using Compactlogix or Contrologix With No Cyclic Poll ( Explicit Messaging Only )

Communication Allen Bradley Logix

TECH NOTES-311. Integrating RACO Verbatim Gateway with the Allen-Bradley CompactLogix PLC via DH485

TECH NOTES-309. Integrating RACO Verbatim Gateway with the Allen-Bradley ControlLogix Series PLC via Ethernet

For the configuration of the I/O-modules in a control system an EDS-file is required. The names of the files are as follows:

eth1000_large.jpg Using ICC ETH-1000 EtherNet/IP Interface with Mitsubishi iq PLC

EtherNet/IP - Getting Started User's Manual

ivu Plus Industrial Ethernet Instruction Manual

Addendum to Verbatim Gateway Owner's Manual. Gateway Ethernet Module Setup. Version 5.0

Addendum to Verbatim Gateway Owner's Manual. Verbatim Gateway EtherNet Module Setup. Version 4.0

Addendum to Verbatim Gateway Owner's Manual How to configure a Verbatim EtherNet/IP with RSLogix 5000

Using the WagoAppEtherNetIP_Adapter library with a CompactLogix Controller A500930

eth1000_large.jpg Using ICC ETH-1000 EtherNet/IP Interface with Mitsubishi iq PLC

Version 1.4. January Publication CNIP-1000

Version 2.0. January For Firmware versions 4.25 and 5.2

Application Note. Adding an MPiec Controller as an EtherNet/IP Adapter to Allen Bradley ControlLogix 5555

WebAccess AB LOGIX PLC Ethernet Driver Guide. Advantech WebAccess. - AB LOGIX PLC Ethernet Driver Guide Version: 1.02

ICC. EtherNet/IP Client Driver Manual INDUSTRIAL CONTROL COMMUNICATIONS, INC Industrial Control Communications, Inc.

DEFAULT IP ADDRESS

TECH NOTES-307. Integrating RACO Verbatim Gateway with the Allen-Bradley SLC 5/05 Series PLC via Ethernet

Gateway for EIP - DF1 Allen-Bradley PLC

PLX51-DF1-ENI. DF1 Router DF1 to EtherNet/IP TM Router USER MANUAL

CM-EIP-1 G9SP Safety Controller EtherNet/IP Adapter Application and Setup Guide

EtherNet /IP User Guide

ICP DAS GW-7472 FAQ. FAQ Version 3.4. ICP DAS Co., Ltd

TECHNICAL NOTE TNOI38

Kontakt. Internet: Web Kontakt-Formular:

HART / EtherNet/IP Gateway GT200-HT-EI User Manual V 1.0 REV A SST Automation

APPLICATION NOTE: Reading/writing data from Anybus-S EtherNet/IP using ControlLogix5000 MSG instruction. HMS Industrial Networks

EtherNet /IP User Guide

Communication settings: Network configuration can be done via the Anybus IP configuration setup tool or via the on board Web server

Network configuration can be done via the Anybus IP configuration setup tool or via the on board Web server.

SMVector EtherNet/IP Communication Module Communications Interface Reference Guide

Chapter 5: Communications 5 1 SR55 Communications Overview 5 2

PLX51-DF1-MSG. DF1 Messenger DF1 to EtherNet/IP TM Messenger USER MANUAL

Supplementary documentation Proline Promag 53

HMS Anybus configuration setup

Modular Controller System KS vario

Technical Note. ACSI Motor/Drive/Controller & ACS Drive with Allen Bradley RSLogix 5000 EtherNet/IP Setup Guide. Contents

Global Partner Local Presence

PS69-DPS. CompactLogix or MicroLogix Platform Profibus DP Slave Communication Module USER MANUAL

BIET EtherNet Interface

Registering and Using an EDS File in Rockwell Automation Studio 5000

AN-X-DCSNet Communication Module. User Manual. Quest Technical Solutions 4110 Mourning Dove Court Melbourne FL

P2 Configuration Guide

Addendum to Catalyst Owner's Manual How to configure a Catalyst EtherNet/IP with RSLogix 5000

Table of Contents. Chapter 1: Getting Started. Chapter 2: Specifications

CompactLogix Controllers, Revision 15

1) Examine exterior of package for signs of damage. Report any damage to shipping carrier.

Tritex II EtherNet/IP - Option

Application Note. Using the Yaskawa V1000 AC Drive and SI-N3/V DeviceNet Option Kit with AB CompactLogix Programmable Controller. Applicable Product:

APPLICATION NOTE. Reading/writing data from an X-gateway EtherNet/IP using ControlLogix5000 MSG instruction SCM HMS Industrial Networks

Field Upgrading Bulletin 1404 Power Monitor Version 4.2x base and 4.1x Ethernet Communications Firmware

Technical Note. MVI56(E)-MNETR Add-On Instruction Installation Guide

BridgeWay. Application Note

GSE Scale Systems Ethernet IP Option

EQ-DCM User Manual Revision 1.02 Sep 10, 2013

Introduction. Contents (these are links; click to jump to a topic)

MVI46-MCM SLC Platform Modbus Interface Module USER MANUAL. February 5, 2004

# Byrne Rd, Burnaby, BC, V5J 3J1, Canada Phone: or

Technical Note. Typical Scenario Performance Test

6053/6055 ControlNet Communications Interface

Technical Note. Rockwell Automation ControlLogix PLC Communications with 4B Watchdog Super Elite via a ProSoft Technology PLX31-EIP-MBTCP

User Guide. Babel Buster 2 Model BB Modbus ZigBee Gateway

Document Number: Rev. B

Integration of In-Sight with AB PLCs running RSLogix

TECHNICAL NOTE TNDA05

AKD Using AKD EtherNet/IP with RSLogix Manual

X-Series Recorder Application Note OneWireless R200 Modbus Interface

PLX51-HART-4I. 4-Channel HART Input Multidrop Field Device USER MANUAL

DriveLogix Controller Firmware Revision 11 / RSLogix 5000 Version 11

EIP ET200 Configuration Tool User Reference Guide

MC-Link with Ethernet/IP Interface User Manual

Transcription:

Using 105U/905U-G wireless gateways with an AB CompactLogix PLC Technical Application Note Purpose This application note provides information on configuring the ELPRO 105U and 905U-G-ET1 gateways communicating EtherNet IP with an Allen Bradley CompactLogix Series PLC. We recommend that you read this application note along with the 105/905U-G user manuals for details on powering and programming the gateways. This document assumes that you have a firm understanding of the EtherNet IP protocol available from ODVA (see www.odva.org) and AB CompactLogix Series PLC programming. Network example overview There are two ways to exchange data between the gateway and PLC. The first is by adding the gateway as a module to the PLC. This approach limits you to one input (consumed) instance of 256 words and output (produced) instance of 256 words. The second method is by creating a message instruction and tags to view the remaining I/O instances. The 105/905U-G can simultaneously handle up to six produced and six consumed connections, each of 256 words. This application note shows the first method that is, adding the gateway as a module to the PLC. Configuring the 105/905U-G gateway 1. Set the module s IP address under Ethernet Settings. If you are going through a network, you also need to enter this address in the Gateway Address field. 2. Make sure that the Enable Ethernet/IP check box is selected and the Enable Modbus Server check box is not selected. 3. To exchange data between the 105/905U-G and PLC, make a series of fieldbus configurations that link the I/O registers of the gateway to the fieldbus (PLC). In this example, the local onboard digital I/O will be written to registers 4306, 4307 and read from registers 4320, 4321 on the PLC. The following configuration shows the two fieldbus mappings to input instance 1 and output instance 1. Materials This application uses the following materials: AB CompactLogix L35E PLC RSLogix5000 and RSView programming software 105/905U-G gateway EDS file for 105/905U-G E-Series Configuration Utility RS 232 DB 9 serial cable RJ 45 Ethernet cables and network hub (depending on connection crossover cables may be needed)

The following example shows a command type read from the fieldbus interface to the gateway. This comes from the PLCs output tags. After you load the file, a message indicates whether the file loaded correctly. The next command type write mapping (shown below) is to the fieldbus interface where the PLC will read this value and store in its input tags. 3. After the EDS file is loaded, configure a driver to communicate to the gateway by selecting Communications>Configure drivers from the main RSLinx menu bar. 4. Select Ethernet Devices and assign the IP address of the 105/905U-G-ET1 gateway to the configured driver. 4. After completing the mappings, download the configuration to the module using an RS 232 cable, as described in the user manual. Configuring the PLC 1. Load the EDS file for the 105/905U-G into RSLinx using the RSLinx Hardware Installation Tool Wizard. The EDS file provides the PLC with the EtherNet/ IP interface parameters of the 105/905U-G. You can download the EDS file for the 105/905U-G from www.eaton.com/wireless. 2. In the Wizard, click Add and browse to find the location of the ESD file. Select the option to register it as a single file. 2 Technical Application Note September 2014 www.eaton.com

5. After the EDS file is loaded and opened in RSLinx, expand the workstation to locate the 105/905U-G. The 105/905U-G is identified in RSLinx as an Anybus-S EtherNet/IP device. 6. Open RSLogix and create a new project file. 7. Under I/O Configuration, right-click the PLC Ethernet port and add a new module. Then, select Generic Ethernet Module from the list. This makes the 105/905U-G EtherNet/IP connection available to the PLC. 9. Examine the Comm Format and Connection Parameters closely, and enter values with respect to the fieldbus configuration you made earlier. The Comm Format parameter determines the size of the register for the Connection Parameters. Data INT is a 16-bit register, which is the same size as the 105/905U-G registers. 10. For Connection Parameters, assign which input instance and output instance you want to read and write from the 105/905U-G. Input: the input assembly instance 100 is input instance 1 on the 105/905U-G. Output: the output assembly instance 150 is output instance 1 on the 105/905U-G. Note: The size of the registers that you will be transferring must be less than or equal to the amount in the fieldbus configuration, otherwise an error will occur because the PLC will attempt to read or write from a location that does not exist in the 105/905U G. In the fieldbus configuration of the 105/905U-G, two words are transferred to the input area and two words are transferred to the output area, so the size for the input and output in this configuration will be two, with a Comm Format of Data - INT. Configuration: this parameter is not supported by the 105/905U-G, but you must enter a value to proceed with the configuration. 11. Click Next and enter the RPI time of 50 ms. The RPI time is the time interval that the PLC requests data from the gateway module. It must be adjusted to suit the application. Note that network traffic may be increased if you use a fast packet interval time. 8. Enter the parameters of the 105/905U-G in the Module Properties screen. The IP address is the same as the IP address used in the E-series Configuration Utility. RSLogix now has the 105/905U-G setup in the current project, which you can see under I/O Configuration in the PLC project. Technical Application Note September 2014 www.eaton.com 3

12. To view and write data to the 105/905U-G, download the project to the PLC, and then select Controller Tags from top of the project tree. Using online diagnostics for debugging You can view the current values in the ELPRO registers and debug any problems by using online diagnostics over an Ethernet connection. 1. Select Ethernet Settings in the configuration utility. Then, select Debug I/O Regs and confirm that you want to debug the I/O registers at the IP address. 905U-G-ET1 13. To view the inputs to PLC, expand I & O data fields, select the style as Hex, and expand again to see the two words. The I data tag will show values when the local DIO 7 and DIO 8 are turned on from the gateway. If a value is entered in the O data tag it will be sent to the 105/905U-G. A value of FFFF will turn on one of the local digital outputs, as configured in the E-Series Fieldbus Configuration. 2. On the Register Selection screen, select Connect. 3. Make sure there is a green connected box below the Connect/Disconnect buttons, indicating that you have a valid Ethernet connection to the 105/905U-G from the software. 4. From the I/O location bar on the left, scroll down to I/O registers 4300 4399. 5. Select the Continuous check box, and then select Read. The E-series configuration utility continuously scans the I/O database for changes from the PLC or from the gateway radio. The I/O database is the link between the gateway radio and the PLC / fieldbus interface. Changing these outputs will turn on gateway outputs Gateway inputs will change inputs When a value is sent from the PLC to the gateway using the configuration described here, registers 4320 and 4321 will indicate FFFF for ON and 0000 for OFF. Registers 4320 and 4321 are tied to local digital output LEDS 1 and 2 located on the top of the gateway radio. When the register is FFFF, the digital output LED is ON. When a value is sent from the gateway to the PLC, the value will be from registers 4306 and 4307. When the register is FFFF the PLC input is ON, and when the 4 Technical Application Note September 2014 www.eaton.com

register is 0000 the PLC input is OFF. Registers 4306 and 4307 are tied to local digital inputs 7 and 8 located on the top of the gateway radio. When digital inputs 7 or 8 are physically turned on by linking the input and GND terminals together with a switch or piece of wire the input will be ON. For Firmware versions 1.70 or higher When creating a fieldbus mapping, you can select the byte order. You can have the byte order swapped in the configuration software so the PLC sees the correct value, or you can leave it as is and use the PLC logic to perform a swap byte function. If you are using the configuration software to swap the bytes, when you create a fieldbus configuration mapping make sure that the MS Byte First check box is not selected. This allows the actual byte order to be swapped. Internal status registers Additional register values that you can see in the debugging described here are internal status registers, such as: I/O register 4308 (low battery volts) I/O register 4309 (gateway supply volts) I/O register 4310 (battery supply volts) I/O registers 4330 4333 (gateway system clock) These registers are information only and can be used in projects for alarm indications for loss of gateway supplies. For Firmware versions below 1.70 For all other firmware versions, byte swapping must be performed in the PLC configuration. In RSLogix 5000 there is a Swap Byte (SWPB) function located under the Move/ Logical heading. This function reads the input values, swaps the byte order, and places the values in a new tag destination. Note that this application note uses the local digital inputs for testing communications. A digital input is either on or off, and depending on the format, you read it as in the PLC. For example, hexadecimal, discrete or decimal will always be the same for on (FFFF, 1, 65535) and off ( 0000, 0, 0). When transferring integer values such as values for level, pressure, and temperature the values will always be different. Byte order The 105/905U-G uses a Motorola Brand processor, and Allen Bradley PLCs use Intel processors. The common problem between these two types of processors is that the byte order is swapped (big endian, little endian). For example, if the value of ABCD is stored in the 105/905U-G this is shown as CDAB in the PLC tag database. There are ways of correcting this depending on the gateway firmware version, which can be found in the module serial number located on the underside of the module. The firmware version is written in digits 5 through 7 of the serial number. For example, a module with serial number 04051709468 has firmware version 1.70. If you are transferring a large number of words, instead of performing a Swap Byte function for each word you can create a FOR instruction to repeatedly execute a routine. The following example shows the big-endian routine looped for a list of 100 I/O points under the Terminal Value section. If you are transferring 200 I/O points, you would put a value Technical Application Note September 2014 www.eaton.com 5

of 200 or higher in this section. This routine is big endian, which is the Swap Byte instruction. After the swap byte order routine is complete, the corrected value is placed into the destination tag. The index of Loop is a program tag set up in the main program under tasks. The following example shows a value of hexadecimal ABCD entered into the gateway register 0. This is read into the PLC as CDAB. 6 Technical Application Note September 2014 www.eaton.com

Eaton s wireless business www.eaton.com/wireless North America & Latin America 5735 W. Las Positas Suite 100 Pleasanton, CA 94588 United States Telephone: +1 925 924 8500 Australia, New Zealand 9/12 Billabong Street Stafford Queensland 4053 Australia Telephone: +61 7 3352 8600 China 955 Shengli Road East Area of Zhangjiang High-Tech Park Shanghai, 201201 China Telephone: +86 21 2899 3600 Southeast Asia 2 Serangoon North Avenue 5 # 06-01 Fu Yu Building, 554911 Singapore Telephone: +65 6645 9888 Europe Hein-Moeller-Straße 7-11 53115 Bonn, Germany Telephone: +49 228 602 5573 Eaton 1000 Eaton Boulevard Cleveland, OH 44122 United States Eaton.com 2014 Eaton All Rights Reserved Printed in USA September 2014 Eaton is a registered trademark. All other trademarks are property of their respective owners.