Using the WAGO 750-841 as Remote IO With a ControlLogix Ethernet IP Bridge Module

18
Using the WAGO 750-841 as Remote I/O with a ControlLogix Ethernet/IP Bridge Module Page 1 of 18 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 Bradley’s 1756-A4 Chassis and 1756-PA72/B Power Supply Allen Bradley’s 1756-L55A Logix5555 Controller Allen Bradley’s 1756-ENBT ControlLogix Ethernet/IP Bridge Allen Bradley’s RSLogix5000 Programming Software Allen Bradley’s RSLinx Lite Communications Software, Version 2.41 Allen Bradley’s 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 Ethernet Switch Programming Terminal 10.5.140.40 WAGO 750-841 10.5.140.50 1756-ENBT 10.5.140.55 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 WAGO’s Application Note A202900 for assigning a static IP address to the WAGO 750-841.

Transcript of Using the WAGO 750-841 as Remote IO With a ControlLogix Ethernet IP Bridge Module

Page 1: Using the WAGO 750-841 as Remote IO With a ControlLogix Ethernet IP Bridge Module

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

Page 1 of 18

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 Bradley’s 1756-A4 Chassis and 1756-PA72/B Power Supply • Allen Bradley’s 1756-L55A Logix5555 Controller • Allen Bradley’s 1756-ENBT ControlLogix Ethernet/IP Bridge • Allen Bradley’s RSLogix5000 Programming Software • Allen Bradley’s RSLinx Lite Communications Software, Version 2.41 • Allen Bradley’s 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

Ethernet Switch

Programming Terminal

10.5.140.40 WAGO 750-841

10.5.140.50

1756-ENBT 10.5.140.55

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 WAGO’s Application Note A202900 for assigning a static IP address to the WAGO 750-841.

Page 2: Using the WAGO 750-841 as Remote IO With a ControlLogix Ethernet IP Bridge Module

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

Page 2 of 18

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 - 750-467 Channel 1 Analog Input, Low Byte Byte 1 - 750-467 Channel 1 Analog Input, High Byte Byte 2 - 750-467 Channel 2 Analog Input, Low Byte Byte 3 - 750-467 Channel 2 Analog Input, High Byte Byte 4 - 750-402 4-Channel 24VDC Digital Input (bits 1 through 4) Output Process Image Byte 0 - 750-550 Channel 1 Analog Output, Low Byte Byte 1 - 750-550 Channel 1 Analog Output, High Byte Byte 2 - 750-550 Channel 2 Analog Output, Low Byte Byte 3 - 750-550 Channel 2 Analog Output, High Byte Byte 4 - 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 WAGO’s 750-841 I/O modules for Ethernet/IP 2) Configuring Allen Bradley’s 1756-ENBT as an Ethernet/IP Scanner

Page 3: Using the WAGO 750-841 as Remote IO With a ControlLogix Ethernet IP Bridge Module

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

Page 3 of 18

CONFIGURING WAGO’S 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 PFC’s built-in file server; 2) configure the I/O in WAGO-I/O-PRO-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 4: Using the WAGO 750-841 as Remote IO With a ControlLogix Ethernet IP Bridge Module

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

Page 4 of 18

The LeechFTP Connect to dialog window is display:

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

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

Page 5: Using the WAGO 750-841 as Remote IO With a ControlLogix Ethernet IP Bridge Module

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

Page 5 of 18

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 6: Using the WAGO 750-841 as Remote IO With a ControlLogix Ethernet IP Bridge Module

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

Page 6 of 18

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 7: Using the WAGO 750-841 as Remote IO With a ControlLogix Ethernet IP Bridge Module

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

Page 7 of 18

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 8: Using the WAGO 750-841 as Remote IO With a ControlLogix Ethernet IP Bridge Module

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

Page 8 of 18

Notepad will open the file “EA-config.xml”.

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

10) Save the file and close Notepad. Select the program menu item File…Save, then File…Exit.

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.

Page 9: Using the WAGO 750-841 as Remote IO With a ControlLogix Ethernet IP Bridge Module

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

Page 9 of 18

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 File…Exit 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 10: Using the WAGO 750-841 as Remote IO With a ControlLogix Ethernet IP Bridge Module

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

Page 10 of 18

CONFIGURING ALLEN BRADLEY’S 1756-ENBT AS A ETHERNET/IP SCANNER This section assumes that you have an overall understanding of Allen Bradley’s 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 11: Using the WAGO 750-841 as Remote IO With a ControlLogix Ethernet IP Bridge Module

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

Page 11 of 18

2) Create a new project with RSLogix5000. Select the File…New menu item. The New Controller dialog window is displayed.

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

Page 12: Using the WAGO 750-841 as Remote IO With a ControlLogix Ethernet IP Bridge Module

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

Page 12 of 18

5) Before adding the WAGO I/O to the Logix5555 I/O configuration, you must first add the local 1756-ENBT 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 13: Using the WAGO 750-841 as Remote IO With a ControlLogix Ethernet IP Bridge Module

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

Page 13 of 18

The Module Properties... dialog window is displayed.

7) Enter the following parameters: Name: Local_ENBT IP Address: 10.5.140.55 (IP Address of the 1756-ENBT in this example) Slot: 1 (slot of the controller) Electronic Keying Compatible Module 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 14: Using the WAGO 750-841 as Remote IO With a ControlLogix Ethernet IP Bridge Module

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

Page 14 of 18

The Select Module Type dialog window is displayed.

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

Page 15: Using the WAGO 750-841 as Remote IO With a ControlLogix Ethernet IP Bridge Module

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

Page 15 of 18

The Module Properties… dialog window is displayed.

11) Enter the following parameters: Name: WAGO_IO Comm Format: Data – SINT (8-bit signed integer value; -128 to +127) IP Address 10.5.140.50 (IP Address of WAGO 750-841 in this example) Input Assembly Instance 104 (CIP Assembly Instance) Input Size 6 (5 bytes of Input Process Data plus 1 status byte) Output Assembly Instance 101 (CIP Assembly Instance) Output Size 5 (5 bytes of Input Process Data) Configuration Assembly Instance 1 (Not used by system) Configuration Size 0 (Not used by system)

Page 16: Using the WAGO 750-841 as Remote IO With a ControlLogix Ethernet IP Bridge Module

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

Page 16 of 18

12) The program/configuration can now be downloaded to the Logix5555 controller. Select the Communications…Download 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 17: Using the WAGO 750-841 as Remote IO With a ControlLogix Ethernet IP Bridge Module

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

Page 17 of 18

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 18: Using the WAGO 750-841 as Remote IO With a ControlLogix Ethernet IP Bridge Module

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

Page 18 of 18

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 Module/Parameter WAGO_IO:I.Data[0] 750-467 Channel 1 Analog Input, Low Byte WAGO_IO:I.Data[1] 750-467 Channel 1 Analog Input, High Byte WAGO_IO:I.Data[2] 750-467 Channel 2 Analog Input, Low Byte WAGO_IO:I.Data[3] 750-467 Channel 2 Analog Input, High Byte WAGO_IO:I.Data[4].0 750-402 4-Channel 24VDC Digital Input 1 WAGO_IO:I.Data[4].1 750-402 4-Channel 24VDC Digital Input 2 WAGO_IO:I.Data[4].2 750-402 4-Channel 24VDC Digital Input 3 WAGO_IO:I.Data[4].3 750-402 4-Channel 24VDC Digital Input 4 WAGO_IO:I.Data[5] Status Byte

Output Data

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