You are on page 1of 18

Using the WAGO 750-841 as Remote I/O with a ControlLogix Ethernet/IP Bridge Module

OVERVIEW
The purpose of this document is to provide a step-by-step example of interfacing the WAGO 750-841 Ethernet Programmable Fieldbus Controller (PFC) with an Allen Bradley 1756-ENBT ControlLogix Ethernet Bridge using Ethernet/IP protocol. In this example, the 1756-ENBT module functions as an Ethernet/IP scanner and uses Control and Information Protocol (CIP) to manage the inputs and outputs (I/O) of the WAGO node (also known as implicit messaging).

HARDWARE SETUP
This procedure has been tested with, but is not limited to, the following hardware and software: Allen Bradleys 1756-A4 Chassis and 1756-PA72/B Power Supply Allen Bradleys 1756-L55A Logix5555 Controller Allen Bradleys 1756-ENBT ControlLogix Ethernet/IP Bridge Allen Bradleys RSLogix5000 Programming Software Allen Bradleys RSLinx Lite Communications Software, Version 2.41 Allen Bradleys Bootp/DHCP Software, Version 2.3 WAGO Ethernet Node 750-841 Ethernet Programmable Fieldbus Controller 750-402 4-point 24VDC Digital Input Module 750-504 4-point 24VDC Digital Output Module 750-467 2-point 0-10VDC Analog Input Module 750-550 2-point 0-10VDC Analog Output Module 750-600 End Module
Programming Terminal 10.5.140.40

1756-ENBT 10.5.140.55

WAGO 750-841 10.5.140.50

Ethernet Switch

NOTE: This procedure assumes that the WAGO 750-841 contains a valid IP address and it is installed on a working network, along with the Allen Bradley 1756-ENBT and the RSLogix5000 programming terminal. If necessary, refer to WAGOs Application Note A202900 for assigning a static IP address to the WAGO 750-841.

Page 1 of 18

Using the WAGO 750-841 as Remote I/O with a ControlLogix Ethernet/IP Bridge Module

The figure below illustrates the hardware of the WAGO node in this example. The process image table (I/O map) is displayed in byte format below the figure. In order to properly configure the 1756-ENBT Ethernet Bridge, the process image must be determined. When the controller is powered up, it automatically addresses the I/O modules of the node. The data for complex modules (modules occupying 1 or more bytes) is mapped first in the process image. They are mapped in the order of their physical position after the controller. As such, they start with byte address 0. Following this, the digital modules are grouped into bytes (8-bits per byte). The bits are arranged in the order of the modules location. When the number of digital points exceeds 8 (8-bits), the controller automatically starts the next byte.

Input Process Image Byte 0 Byte 1 Byte 2 Byte 3 Byte 4 - 750-467 Channel 1 Analog Input, Low Byte - 750-467 Channel 1 Analog Input, High Byte - 750-467 Channel 2 Analog Input, Low Byte - 750-467 Channel 2 Analog Input, High Byte - 750-402 4-Channel 24VDC Digital Input (bits 1 through 4)

Output Process Image Byte 0 Byte 1 Byte 2 Byte 3 Byte 4 - 750-550 Channel 1 Analog Output, Low Byte - 750-550 Channel 1 Analog Output, High Byte - 750-550 Channel 2 Analog Output, Low Byte - 750-550 Channel 2 Analog Output, High Byte - 750-504 4-Channel 24VDC Digital Output (bits 1 through 4)

Note: This example has 5-bytes of data in both the Input and Output Process Image.

There are two main steps in setting up this system: 1) Configuring WAGOs 750-841 I/O modules for Ethernet/IP 2) Configuring Allen Bradleys 1756-ENBT as an Ethernet/IP Scanner

Page 2 of 18

Using the WAGO 750-841 as Remote I/O with a ControlLogix Ethernet/IP Bridge Module

CONFIGURING WAGOS 750-841 I/O MODULES FOR ETHERNET/IP


There are two ways to configure the I/O of the WAGO node for Ethernet/IP: 1) edit the I/O configuration file (EA-config.XML) that is located on the PFCs built-in file server; 2) configure the I/O in WAGO-I/OPRO-CAA programming software and download. This document covers the first method. The second method is described in section 3.1.7 of the WAGO 750-841 manual. To edit the I/O configuration file EA-config.XML, an FTP utility program is required to access the file. This example uses a program called LeechFTP, which is a shareware program that can be found on the Internet. Different FTP utilities may also be used, but the steps will vary slightly from this procedure.

Editing EA-config.XML with LeechFTP 1) Launch LeechFTP. The LeechFTP main window in displayed. 2) Connect to the WAGO 750-841 PFC using the File...Connect menu item.

Page 3 of 18

Using the WAGO 750-841 as Remote I/O with a ControlLogix Ethernet/IP Bridge Module

The LeechFTP Connect to dialog window is display:

3) Enter the following parameters: Host or URL: Username: Password 10.5.140.50 admin wago (IP address of the WAGO 750-841 in this example). (displayed as **** in the dialog window)

4) Click the Connection Settings tab.

5) Uncheck Use proxy server for the connection and click OK.

Page 4 of 18

Using the WAGO 750-841 as Remote I/O with a ControlLogix Ethernet/IP Bridge Module

The following screen is displayed. The center window shows a directory on your local hard drive. The right window shows the root directory of the 750-841 PFC file system. Note that the PFC file system has three sub-folders (i.e., webserv, PLC, and etc).

6) Double click on the etc folder, in the right window.

Page 5 of 18

Using the WAGO 750-841 as Remote I/O with a ControlLogix Ethernet/IP Bridge Module

The contents of the etc folder is displayed.

7) Right click on the file EA-config.xml and select the Download Selected menu item.

Page 6 of 18

Using the WAGO 750-841 as Remote I/O with a ControlLogix Ethernet/IP Bridge Module

The file will be copied to your hard drive. It will appear in the center window.

8) Right click on the EA-config.xml in the center window, and select the Edit in Notepad menu item.

Page 7 of 18

Using the WAGO 750-841 as Remote I/O with a ControlLogix Ethernet/IP Bridge Module

Notepad will open the file EA-config.xml.

9) Edit the file so it looks like the file above.

NOTE: Each I/O module in the node that has process data must have a <Module ... configuration line. In this example, lines 4 through 7 map all four I/O modules to FB2. FB2 means Fieldbus 2, which is Ethernet IP. Other options include: PLC the PFC controls the I/O module locally with an IEC61131 program; or FB1 - a Modbus TCP Fieldbus Master controls the I/O module. Each module is mapped to one device, but the node may have modules mapped from multiple devices.

10) Save the file and close Notepad. Select the program menu item FileSave, then FileExit.

Page 8 of 18

Using the WAGO 750-841 as Remote I/O with a ControlLogix Ethernet/IP Bridge Module

The LeechFTP window will regain focus.

11) Right click on the EA-config.xml file in the center window, and select the Upload Files menu item.

12) Exit LeechFTP. Select the program menu item FileExit

At this point, the four I/O modules in the WAGO node are configured for the Ethernet/IP fieldbus. In the next section, the 1756-ENBT will be configured as the Ethernet/IP Scanner.

Page 9 of 18

Using the WAGO 750-841 as Remote I/O with a ControlLogix Ethernet/IP Bridge Module

CONFIGURING ALLEN BRADLEYS 1756-ENBT AS A ETHERNET/IP SCANNER


This section assumes that you have an overall understanding of Allen Bradleys hardware and software. It focuses only on configuring the Logix5555 controller with RSLogix5000, so the WAGO PFC is accessible as a remote I/O node via Ethernet/IP.

1) Start RSLogix5000. The RSLogix5000 main window is displayed.

Page 10 of 18

Using the WAGO 750-841 as Remote I/O with a ControlLogix Ethernet/IP Bridge Module
2) Create a new project with RSLogix5000. Select the FileNew menu item. The New Controller dialog window is displayed.

3) Enter the following parameters: Type: Revision Name Description Chassis Type Slot Created In: 1756-L55 ControlLogix Controller 12 WAGO_EthernetIP Enter an appropriate description 1756-A4 4-Slot ControlLogix Chassis 0 Enter an appropriate value

4) Click on OK.

Page 11 of 18

Using the WAGO 750-841 as Remote I/O with a ControlLogix Ethernet/IP Bridge Module

5) Before adding the WAGO I/O to the Logix5555 I/O configuration, you must first add the local 1756ENBT module. To do this, open the I/O Configuration folder in the project window. Right click on I/O Configuration and select the New Module menu item.

The Select Module Type dialog window is displayed.

6) Select 1756-ENBT/A from the list and click OK.

Page 12 of 18

Using the WAGO 750-841 as Remote I/O with a ControlLogix Ethernet/IP Bridge Module

The Module Properties... dialog window is displayed.

7) Enter the following parameters: Name: IP Address: Slot: Electronic Keying Local_ENBT 10.5.140.55 1 Compatible Module

(IP Address of the 1756-ENBT in this example) (slot of the controller)

8) Click the Finish button. The module will appear in the I/O Configuration.

9) Right click on 1756-ENBT/A Local_ENBT tree item, and select the New Module menu item.

Page 13 of 18

Using the WAGO 750-841 as Remote I/O with a ControlLogix Ethernet/IP Bridge Module

The Select Module Type dialog window is displayed.

10) Select Generic Ethernet Module from the list and click OK.

Page 14 of 18

Using the WAGO 750-841 as Remote I/O with a ControlLogix Ethernet/IP Bridge Module

The Module Properties dialog window is displayed.

11) Enter the following parameters: Name: Comm Format: IP Address Input Assembly Instance Input Size Output Assembly Instance Output Size Configuration Assembly Instance Configuration Size WAGO_IO Data SINT 10.5.140.50 104 6 101 5 1 0

(8-bit signed integer value; -128 to +127) (IP Address of WAGO 750-841 in this example) (CIP Assembly Instance) (5 bytes of Input Process Data plus 1 status byte) (CIP Assembly Instance) (5 bytes of Input Process Data) (Not used by system) (Not used by system)

Page 15 of 18

Using the WAGO 750-841 as Remote I/O with a ControlLogix Ethernet/IP Bridge Module

12) The program/configuration can now be downloaded to the Logix5555 controller. Select the CommunicationsDownload program menu item.

After downloading, if everything was setup correctly, the I/O OK indicator should be green. Additionally, when the cursor is placed on the ETHERNET-MODULE WAGO_IO, the Module Fault box at the bottom of the figure below should be blank, indicating no error.

If an error does occur, the screen will look similar to the one below. This error is indicating an improper connection size was entered for either the input or output parameters.

Page 16 of 18

Using the WAGO 750-841 as Remote I/O with a ControlLogix Ethernet/IP Bridge Module

13) To view the process data from the WAGO 750-841, click on the Controller Tags tree item.

The Controller Tags dialog window opens. In this example only data from the WAGO 750-841 is displayed. In a real world application, more data would be included in the project.

14) Click the + button to expand the Controller Tags view.

Page 17 of 18

Using the WAGO 750-841 as Remote I/O with a ControlLogix Ethernet/IP Bridge Module

After completing these steps, the configuration of the WAGO 750-841 PFC and the1756-ENBT Ethernet/IP Scanner are complete. The WAGO input and output data is now accessible to the Logix5555 controller as defined in the tables below:

Input Data RSLogix Variable WAGO_IO:I.Data[0] WAGO_IO:I.Data[1] WAGO_IO:I.Data[2] WAGO_IO:I.Data[3] WAGO_IO:I.Data[4].0 WAGO_IO:I.Data[4].1 WAGO_IO:I.Data[4].2 WAGO_IO:I.Data[4].3 WAGO_IO:I.Data[5] WAGO Module/Parameter 750-467 Channel 1 Analog Input, Low Byte 750-467 Channel 1 Analog Input, High Byte 750-467 Channel 2 Analog Input, Low Byte 750-467 Channel 2 Analog Input, High Byte 750-402 4-Channel 24VDC Digital Input 1 750-402 4-Channel 24VDC Digital Input 2 750-402 4-Channel 24VDC Digital Input 3 750-402 4-Channel 24VDC Digital Input 4 Status Byte

Output Data RSLogix Variable WAGO_IO:O.Data[0] WAGO_IO:O.Data[1] WAGO_IO:O.Data[2] WAGO_IO:O.Data[3] WAGO_IO:O.Data[4].0 WAGO_IO:O.Data[4].1 WAGO_IO:O.Data[4].2 WAGO_IO:O.Data[4].3 WAGO Module/Parameter 750-550 Channel 1 Analog Output, Low Byte 750-550 Channel 1 Analog Output, High Byte 750-550 Channel 2 Analog Output, Low Byte 750-550 Channel 2 Analog Output, High Byte 750-504 4-Channel 24VDC Digital Output 1 750-504 4-Channel 24VDC Digital Output 2 750-504 4-Channel 24VDC Digital Output 3 750-504 4-Channel 24VDC Digital Output 4

Configuration Data The configuration data (e.g., WAGO_IO:C.Data[0]) is automatically assigned by RSLogix when a Generic Ethernet/IP module is added as I/O. Since the WAGO 750-841 does not use this data, it should be ignored.

Page 18 of 18

You might also like