Rockwell Automation AB Quality Allen-Bradley MicroLogix 1761-NET-ENI User Manual
Rockwell Automation AB Quality Allen-Bradley MicroLogix 1761-NET-ENI User Manual

Rockwell Automation AB Quality Allen-Bradley MicroLogix 1761-NET-ENI User Manual

Ethernet interface
Table of Contents

Advertisement

Quick Links

MicroLogix™
Ethernet Interface
1761-NET-ENI and
1761-NET-ENIW
User Manual

Advertisement

Table of Contents
loading

Summary of Contents for Rockwell Automation AB Quality Allen-Bradley MicroLogix 1761-NET-ENI

  • Page 1 MicroLogix™ Ethernet Interface 1761-NET-ENI and 1761-NET-ENIW User Manual...
  • Page 2 In no event will Rockwell Automation, Inc. be responsible or liable for indirect or consequential damages resulting from the use or application of this equipment.
  • Page 3 The table below lists the sections that document new features and additional or updated information on existing features. For this information: how to obtain a manual from Rockwell Automation Series D LED description page 1-3 Ethernet Settings...
  • Page 4 Summary of Changes Publication 1761-UM006E-EN-P - August 2005...
  • Page 5: Table Of Contents

    Table of Contents Preface Who Should Use this Manual..... . . P-1 Purpose of this Manual ......P-1 Related Documentation .
  • Page 6 Table of Contents Chapter 3 Operation Operation Overview ......3-1 Allocation of Ethernet Connections ....3-1 ENI and ENIW Functional Overview .
  • Page 7 Table of Contents Chapter 5 Peer-to-Peer Messaging Messaging Between the ENI/ENIW and DF1 Devices ..5-1 Message to Configuration Nodes (Nodes 100 to 149) and Sending a Message to a Destination Controller (Nodes 0 to 49) ..5-2 Chapter 6 EMail Messages (Node 50 to 99) Overview .
  • Page 8 Table of Contents Configuration Via Ladder Logic....8-10 Download To The CompactLogix Controller Through Two Series A ENIs ........8-17 Download to the CompactLogix Controller Through a ENI/ENIW Series B/C/D via Ethernet .
  • Page 9: Preface

    • the purpose of this manual • related documentation • conventions used in this manual • Rockwell Automation support Who Should Use this Use this manual if you are responsible for designing, installing, programming, or troubleshooting control systems that use Manual Allen-Bradley Controllers on Ethernet.
  • Page 10: Related Documentation

    Preface Related Documentation The following documents contain additional information concerning Rockwell Automation products. To obtain a copy, contact your local Rockwell Automation office or distributor. Read this Document Document Number Instructions on installing a 1761-NET-ENI or 1761-NET-ENIW Interface Ethernet Interface Installation 1761-IN007 Converter.
  • Page 11: Your Questions Or Comments On This Manual

    If you find a problem with this manual, or you have any suggestions for how this manual could be made more useful to you, please Comments on this Manual contact us at the address below: Rockwell Automation Automation Control and Information Group Technical Communication, Dept. A602V P.O. Box 2086...
  • Page 12 Preface Publication 1761-UM006E-EN-P - August 2005...
  • Page 13: Product Overview

    Chapter Product Overview This chapter gives an overview of the Ethernet Network Interface. The following topics are covered: • EtherNet/IP Connectivity • Hardware Features • Operating Modes • Device Compatibility • Enhancements by Series • Ethernet Networks • Web-Server Functionality EtherNet/IP Connectivity The 1761-NET-ENI and 1761-NET-ENIW provide EtherNet/IP connectivity for all MicroLogix controllers, CompactLogix controllers,...
  • Page 14: Hardware Features

    Product Overview Hardware Features Product Drawing RS-232 ETHERNET Mini-DIN Port INTERFACE Ethernet Port Ethernet Hardware Series A/B: 10-Base-T 1761-NET-ENI 2.20 E N I * B 2 2 0 0 1 0 2 0 0 0 1 F A C . Address Series C/D: 10/100-Base-T LISTED IND.CONT.EQ.
  • Page 15 Product Overview Series C FAULT RS-232 TX/RX POWER Table 1.2 Series C Descriptions Description Function Color RS-232 RS-232 data RS-232 port is transmitting or receiving flashing TX/RX transmission indicator data green no RS-232 traffic POWER module power module is powered green 10-Base-T Ethernet No link or continuous data activity...
  • Page 16 Product Overview Series D FAULT LINK Ethernet TX/RX RS-232 TX/RX POWER Table 1.3 Series D Descriptions Description Function Color RS-232 data RS-232 port is transmitting or flashing green RS-232 transmission indicator receiving data TX/RX no RS-232 traffic POWER module power module is powered green Ethernet link status and...
  • Page 17: Default Settings

    Product Overview The IP addresses in any of the examples in this IMPORTANT manual were arbitrarily assigned and should only be used on an isolated Ethernet network. Contact your system administrator for unique IP addresses if you are connecting your Ethernet devices to your employer’s Ethernet network.
  • Page 18 Product Overview Table 1.6 Ethernet Settings Setting Default Other Options 10 Mbps half-duplex 0 = Auto Negotiate Ethernet Speed/Duplex (series A, B) 1 = 10 Mbps half-duplex Auto Negotiate (series C, D) 2 = 10 Mbps full-duplex 3 = 100 Mbps half-duplex 4 = 100 Mbps full-duplex null 45 character username...
  • Page 19: Operating Modes

    Product Overview Operating Modes Messaging When the ENI/ENIW is connected to a programmable controller (and connected to an Ethernet network), the controller can be accessed from other devices on Ethernet, or initiate communications to other EtherNet/IP devices. Email The ENI/ENIW also support SMTP mail service, which allows a controller to send email messages to any email address on the network.
  • Page 20: Series C Enhancements

    Product Overview Series C Enhancements The 1761-NET-ENI/ENIW series C features the following enhancements: • 10/100-Base-T Ethernet port that auto-negotiates between 10 Megabits per second and 100 Megabits per second, either half-duplex or full-duplex. • increased temperature range up to 60°C (140°F) •...
  • Page 21: Web Server Functionality

    Product Overview The ENI/ENIW provides a 10/100 Base-T, RJ45 IMPORTANT Ethernet connector which connects to standard Ethernet hubs and switches via an 8-wire twisted pair straight-through cable. To access other Ethernet mediums, use 10/100 Base-T media converters or Ethernet switches that can be connected together via fiber, thin-wire, or thick-wire coaxial cables, or any other physical media commercially available with Ethernet switches.
  • Page 22 1-10 Product Overview Publication 1761-UM006E-EN-P - August 2005...
  • Page 23: Installation And Wiring

    Chapter Installation and Wiring This chapter covers installation and wiring for the ENI/ENIW. It is divided into the following sections: • European Communities (EC) Directive Compliance • Safety Considerations • Mounting • External Power Supply Wiring • ENI/ENIW Port Identification •...
  • Page 24: Safety Considerations

    Installation and Wiring Tests. For specific information required by EN 61131-2, see the appropriate sections in this publication, as well as the Allen-Bradley publication Industrial Automation Wiring and Grounding Guidelines For Noise Immunity, publication 1770-4.1. Open style devices must be provided with environmental and safety protection by proper mounting in enclosures designed for specific application conditions.
  • Page 25: External Power Supply Wiring

    Installation and Wiring External Power Supply Wiring EXPLOSION HAZARD WARNING In Class I Division 2 applications, an external, Class 2 power supply must be used. The DC Power Source selector switch on the ENI/ENIW must be set to EXTERNAL before connecting the power supply to the ENI/ENIW.
  • Page 26: Din Rail Mounting

    Installation and Wiring DIN Rail Mounting Installation 1. Mount your DIN rail. 2. Snap the DIN rail latch into the closed position. Rail 3. Hook the top slot over the DIN rail. Latch 4. While pressing the unit against the rail, snap the unit into position.
  • Page 27: Eni/Eniw Port Identification

    Installation and Wiring 1. Remove the mounting template from Mounting the back of the installation instructions. Template 2. Secure the template to the mounting surface. 3. Drill holes through the template. 4. Remove the mounting template. 5. Mount the unit. ENI/ENIW Port Identification RS-232 Mini-DIN (Port 2)
  • Page 28: Ethernet Cables

    Installation and Wiring When to use straight-through and cross-over cables: • ENI/ENIW Ethernet port to 10/100-Base-T Ethernet switch cables utilize a straight-through pin-out (1-1, 2-2, 3-3, 6-6). • Direct point-to-point 10/100-Base-T cables connecting the ENI/ENIW Ethernet port directly to another ENI/ENIW Ethernet port (or a computer 10/100-Base-T port) require a cross-over pin-out (1-3, 2-6, 3-1, 6-2).
  • Page 29: Rs-232 Port Connections

    Installation and Wiring RS-232 Port Connections RS-232 Connector 8-pin mini-DIN Table 2.1 RS-232 Connector Pin Assignments Port 2 24V dc ground (GND) no connection ENI/ENIW input data, RxD no connection no connection ENI/ENIW output data, TxD ground (GND) RS-232 Cables Port 2 of the ENI/ENIW is an 8-pin mini-DIN RS-232 port that provides connection to DF1 compatible RS-232 devices.
  • Page 30 Installation and Wiring Publication 1761-UM006E-EN-P - August 2005...
  • Page 31: Operation Overview

    Chapter Operation This chapter describes ENI/ENIW operation. The following information is included: • Operation Overview • Allocation of Ethernet Connections • ENI and ENIW Functional Overview • General Ethernet Information • RSLinx/RSWho Connectivity Example Using ENI/ENIW Interface Operation Overview Ethernet is the protocol used to transport TCP/IP messages. On top of TCP, EtherNet/IP is the open protocol used by the ENI and ENIW.
  • Page 32: Eni And Eniw Functional Overview

    Operation ENI and ENIW Functional The ENI and ENIW provide EtherNet/IP connectivity for RS-232 devices that use DF1 full-duplex protocol. DF1 full-duplex is an open, Overview point-to-point protocol used in any Allen-Bradley controller with an RS-232 port, and in many other devices. DF1 full-duplex supports up to 255 node addresses.
  • Page 33: Interface

    Operation Table 3.1 Example Network IP Addresses IP Address ENI or ENIW Series Device 131.200.50.96 computer’s Ethernet card 131.200.50.97 Series B/C/D 1761-NET-ENI/1761-NET-ENIW #3 (1769-L20 or 1769-L3x CompactLogix controller) 131.200.50.98 Series A or B/C/D 1761-NET-ENI/1761-NET-ENIW #4 (MicroLogix 1500) The subnet mask for each Ethernet device is then, 255.255.0.0. The RS-232/DF1 interface between the IMPORTANT CompactLogix controller and its ENI/ENIW module,...
  • Page 34: Pc Connected Directly To Ethernet (Rslinx On Ethernet)

    Operation The ENI/ENIW allows you to connect from your PC to controllers over Ethernet. The following procedure can be used when the computer has a connection directly onto Ethernet (PCI card, PCMCIA interface, built in TCP/IP port, etc.) and also when the ENI/ENIW is plugged into the computer’s RS-232 (COMM) port.
  • Page 35 Operation 2. Select “Ethernet devices” from the available drivers, and then click “OK” to load the driver into RSLinx. The RSLinx Ethernet/IP driver may also be used with series B (FRN 2.31) ENIs and higher. The advantage of this driver is that it can ‘discover’...
  • Page 36 Operation At that point, the station mapping screen will appear as illustrated here. Double click on the row below “Host Name”, and enter the TCP/IP addresses that match the devices on your network. When you are done entering the stations, click OK to close the station mapping window.
  • Page 37 Operation 4. Open the AB_ETH-1 tree on your computer. Autobrowse should be running and any active device that you have configured should be shown on the screen as illustrated below. If the ENI or ENIW shows up as an “Unrecognized Device”, you may need to install the latest ENI or ENIW (series B or series C/D) EDS file.
  • Page 38: Pc Connected To Ethernet Via The Eni Or Eniw

    Operation PC Connected to Ethernet via the ENI or ENIW As shown below, the ENI/ENIW can also be used to connect a computer’s RS-232 port to EtherNet/IP and allow program upload and download and online sessions with a maximum of four EtherNet/IP devices.
  • Page 39 Operation RSLinx Configuration 1. Open RSLinx. 2. Open the configure drivers dialog box. 3. Select RS-232 DF1 devices. Click Add New. 4. Configure AB_DF1-1 driver to match the example below. 5. Click OK when the AB_DF1-1 driver is configured. The 1770-KF3/1747-KE device type only allows you to address nodes 0 to 31 (decimal).
  • Page 40 3-10 Operation 6. If you have set up the ENI/ENIW Message Routing table with IP addresses in entries between 1 and 31, those devices should respond when you browse the AB_DF1 driver. If you use the AB_DF1 driver through an ENI/ENIW, you may go online with CompactLogix controllers using RSLogix 5000 whether they are connected to Ethernet through...
  • Page 41: Eni/Eniw Configuration Utility

    Chapter ENI/ENIW Configuration (Nodes 241 to 254) This chapter describes configuration methods and parameters. It is arranged as follows: • Configuration Methods • ENI/ENIW Configuration Utility • Controller Messaging • ENI/ENIW Configuration Parameters • Configuring ENI/ENIW Data Parameters • Configuring ENI/ENIW String Parameters Configuration Methods The ENI/ENIW’s IP information can be entered using either: •...
  • Page 42: Make Configuration Settings

    ENI/ENIW Configuration (Nodes 241 to 254) Make Configuration Settings COM Port Settings Use the Utility Settings tab to set the following: • COM Port – The PC’s RS-232 port that the communications cable is plugged into, or the COM port that the Com Port Redirector is configured for.
  • Page 43 ENI/ENIW Configuration (Nodes 241 to 254) If a Configuration Security Mask is set to 192.168.255.76 all source IP Addresses that equal 192.168.xxx.76 will be accepted. RS-232 Baud Rate, TCP/IP Parameters, BOOTP/DHCP, and Ethernet Speed/Duplex Options Use the ENI/ENIW IP Addr tab to set the following: •...
  • Page 44: Save To Eni/Eniw Ram Or Eni/Eniw Rom

    ENI/ENIW Configuration (Nodes 241 to 254) Series B, C, and D Options The latest 1761-NET-ENI/1761-NET-ENIW Configuration Utility features the following options that apply to series B or later modules: • CompactLogix Routing Checkbox – allows a Logix controller connected to the ENI/ENIW to go online using RSLogix 5000 on Ethernet.
  • Page 45: Email Settings

    ENI/ENIW Configuration (Nodes 241 to 254) Email Settings Use the email screen to fill in the information for email messages. Email servers are described on page 4-15. See Chapter 6 for information on the “To” and “From” strings. The Configuration Utility provides fields for a Username and Password required for authentication to an open SMTP mail server.
  • Page 46: Reset

    ENI/ENIW Configuration (Nodes 241 to 254) Reset Use the Reset screen to issue reset commands and to set the type of behavior that will occur at reset. The reset behavior options are described on page 4-19. For configurations uploaded from an ENI, the reset screen also displays information, such as the ENI/ENIW Ethernet hardware address and ENI/ENIW firmware revision.
  • Page 47 ENI/ENIW Configuration (Nodes 241 to 254) 1. Open the ENI/ENIW Configuration Utility. 2. On the Utility Settings tab, select the appropriate COM port and baud rate. • COM Port – The PC’s RS-232 port that the communications cable is plugged into. •...
  • Page 48: Use The Configuration Utility Over Ethernet (Series D Only)

    ENI/ENIW Configuration (Nodes 241 to 254) Use the Configuration Utility Over Ethernet (Series D only) When using the ENI/ENIW Configuration Utility via Ethernet, connect the ENI/ENIW to the same subnet as the computer. Redirect the COM port to the ENI/ENIW IP Address 1.
  • Page 49 ENI/ENIW Configuration (Nodes 241 to 254) 6. Select the port, or ports, you want to redirect and click OK. You may either assign each ENI/ENIW its own Com port address, or use only one Com port and modify the IP address that the Com port is configured for before running the ENI/ENIW Configuration Utility.
  • Page 50 4-10 ENI/ENIW Configuration (Nodes 241 to 254) 9. In the Host field, enter the IP Address of the ENI or ENIW. In the TCPPort field, enter 10001. Click OK. If a BOOTP or DHCP server provided the IP Address, browse using RSLinx to determine the IP Address.
  • Page 51 ENI/ENIW Configuration (Nodes 241 to 254) 4-11 14. The software notifies you that changes take effect when the port is reopened. Click OK. 15. Click OK and then close the Com Port Redirector. 16. Reboot the PC, if requested. Configure the ENI/ENIW 1.
  • Page 52: Controller Messaging

    4-12 ENI/ENIW Configuration (Nodes 241 to 254) Controller Messaging When using this method, a write message is used to configure the TCP/IP configuration parameters. A 485CIF write message is initiated to the controller. CIF stands for Common Interface File and is supported by all Allen-Bradley programmable controllers that have an RS-232 port.
  • Page 53: Node 254 - Ethernet Hardware Address

    ENI/ENIW Configuration (Nodes 241 to 254) 4-13 Table 4.1 Configuration Node Functions Node Function Data Type Number of Options Default Elements TCP/IP Configuration Integers 4, 8, 12, 16, Valid IP Address 000.000.000.000 or 20 192.168.1.254 From String ASCII String ENI/ENIW Identifier ENI192.168.1.254@eni1761.org Integer 0 = save configuration to flash...
  • Page 54: Node 253 - Baud Rate

    4-14 ENI/ENIW Configuration (Nodes 241 to 254) Node 253 - Baud Rate The first time the ENI/ENIW is powered-up (out-of-the-box), it is set to Autobaud so that it can synchronize to the attached controller. The baud rate can be changed by sending a message to address 253 with one of the configuration values shown in the table below.
  • Page 55: Node 252 - Bootp Configuration

    ENI/ENIW Configuration (Nodes 241 to 254) 4-15 Node 252 - BOOTP Configuration The ENI/ENIW allows the BOOTP request to be disabled by clearing the BOOTP Enable parameter in the channel Configuration File. BOOTP Enable behaves as follows: Table 4.3 BOOTP Configuration Settings Node ENI Configuration Description...
  • Page 56 4-16 ENI/ENIW Configuration (Nodes 241 to 254) instruction to the ENI/ENIW (or by using the ENI/ENIW Configuration Utility). 1. Configure a 485CIF/PLC2 write message in the Allen-Bradley controller. To configure TCP/IP parameters in this manner, IMPORTANT BOOTP and DHCP must be disabled. Only PLC2 type or 485CIF write messages can be used to configure the ENI/ENIW, node 250.
  • Page 57 ENI/ENIW Configuration (Nodes 241 to 254) 4-17 Subnet Mask A subnet mask is used to interpret IP addresses when the network is divided into subnets. If your network is not divided into subnets, then leave the subnet mask at the default or allow the ENI/ENIW Configuration Utility to assign a default.
  • Page 58 4-18 ENI/ENIW Configuration (Nodes 241 to 254) The security masks default value is 0.0.0.0 out-of-box, which is defined as “accept all register session requests”. A Security Mask of 255.255.255.255 is also defined as “accept all register session requests”. The security mask acts as a filter on the source IP address such that any mask octet set to the value of 255 becomes “don’t care”...
  • Page 59: Node 249 - From String

    ENI/ENIW Configuration (Nodes 241 to 254) 4-19 Node 249 - From String Node 249 holds the ASCII string that is sent with any email message initiated by the ENI/ENIW. Criteria for a valid email From String include: • The From String remains at the default value unless changed by the user.
  • Page 60: Node 245 - Configuration Security Mask

    4-20 ENI/ENIW Configuration (Nodes 241 to 254) Node 245 - Configuration Security Mask The Configuration Security Mask can limit which computers are allowed to configure the ENI or ENIW over Ethernet, based on their IP Address. A Configuration Security Mask of 000.000.000.000 or 255.255.255.255 allows any computer to configure the ENI or ENIW over Ethernet.
  • Page 61: Node 243 - Smtp Email Authentication Password (Series D Only)

    ENI/ENIW Configuration (Nodes 241 to 254) 4-21 The ENI/ENIW performs the following Email Authentication configuration operations when receiving a 485CIF/PLC2 Unprotected Write message of one element (integer) to Node 244. • 0 = Disabled • 1 = Enabled Node 243 - SMTP Email Authentication Password (Series D Only) Many open mail servers now require user authentication for email.
  • Page 62: Node 241 - Ethernet Speed And Duplex Setting (Series D Only)

    4-22 ENI/ENIW Configuration (Nodes 241 to 254) Node 241 - Ethernet Speed and Duplex Setting (Series D Only) This node allows speed and duplex settings of 10 Mbps or 100 Mbps and half-duplex or full-duplex to be forced. Auto negotiation may also be selected with this node.
  • Page 63 ENI/ENIW Configuration (Nodes 241 to 254) 4-23 2. Create your message logic using whatever conditional instructions you may need. In this MicroLogix example, bit B3:0/8 is used to condition the message instruction and message file 10, element 1 is used to manage the message session. 3.
  • Page 64: Configuring Eni/Eniw String Parameters

    4-24 ENI/ENIW Configuration (Nodes 241 to 254) 4. With the controller in Run, initiate the message. The new TCP/IP information is transmitted to the ENI/ENIW. At this point, the new configuration has NOT ATTENTION been saved to permanent memory. See Node 248 information on page 4-19 for instructions.
  • Page 65 ENI/ENIW Configuration (Nodes 241 to 254) 4-25 1. Create a valid string file element as illustrated below. This example has data file 25 configured for string elements. In File ST25, element 0 has a valid email from string, Station_0@My_Company.com. 2. Create your message logic using whatever conditional instructions you may need.
  • Page 66 4-26 ENI/ENIW Configuration (Nodes 241 to 254) Table 4.10 Message Instruction Variables for Configuring ENI/ENIW String Parameters Variable Setting This Controller Parameters: Communication Command For the ENI/ENIW configuration, this must be set to: • 485CIF for MicroLogix and SLC • a PLC2 Unprotected Write command for CompactLogix and PLC-5 Data Table Address In this example we are using string file 25, element 0 (ST25:0)
  • Page 67: Messaging Between The Eni/Eniw And Df1 Devices

    Chapter Peer-to-Peer Messaging This chapter describes messaging between the ENI/ENIW and DF1 devices. The following topics are covered: • Messaging Between the ENI/ENIW and DF1 Devices • Message to Configuration Nodes (Nodes 100 to 149) and Sending a Message to a Destination Controller (Nodes 0 to 49) Messaging Between the The ENI/ENIW can route a DF1 message received from the attached controller to a compatible destination TCP/IP device, using DF1 node...
  • Page 68 Peer-to-Peer Messaging When the ENI/ENIW receives a 485CIF/PLC2 write IMPORTANT message to a configuration node address (100 through 149), it closes any open communications currently active on that connection and reconfigures the IP address to match the new configuration. If the received data matches the current configuration, the ENI/ENIW closes any open communications with the destination device.
  • Page 69 Peer-to-Peer Messaging In the ENI/ENIW, node addresses 45 through 49 are IMPORTANT dedicated for sending messages to any Logix controllers with integral Ethernet ports. In addition, when sending messages to a ControlLogix controller via a 1756-ENBT, the controller MUST be in slot 0 of the ControlLogix chassis for the message to be delivered to it.
  • Page 70 Peer-to-Peer Messaging Table 5.3 Message Instruction Variables for Sending a Message to a Destination Controller Variable Setting This Controller Parameters: Communication Command Use any command supported by your controller and the target device. Data Table Address Use any valid file. Size in Elements Use any valid size.
  • Page 71: Chapter 6 Overview

    Chapter EMail Messages (Node 50 to 99) This chapter describes using the ENI/ENIW’s email feature. The following topics are included: • Overview • Configuring Email • Sending an Email Message Overview The ENI/ENIW is capable of transmitting email messages generated by the attached controller.
  • Page 72: Configuring Email

    EMail Messages (Node 50 to 99) Configuring Email SMTP Email Address To configure the email function, at least two parameters must be configured: • SMTP Mail Server IP address - configured by sending a write message to node 251 (email server). See page 4-15 for more information.
  • Page 73: Destination Addresses

    EMail Messages (Node 50 to 99) Destination Addresses The ENI/ENIW stores email addresses; it does not store the email messages. To store a destination address, write a message to a specific node number (nodes 150 to 199). The message data must be a string element that contains a valid email ASCII text string address, as illustrated in ST15:2 through ST15:5 in the example below.
  • Page 74: Message Fields (To, From, Subject)

    EMail Messages (Node 50 to 99) Message Fields (to, from, subject) The ENI/ENIW includes the “to”, “from”, and “subject” fields in the body of the message. The default “from” text is ENI0.0.0.0@eni1761.org (ENI192.168.1.254@ENI1761.org for series D). This can be changed in the ENI/ENIW configuration, Node 249.
  • Page 75 EMail Messages (Node 50 to 99) The ENI/ENIW does not support non-printable ASCII IMPORTANT characters and may exhibit unpredictable behavior when these characters are used in an email message. Avoid using non-printable ASCII characters such as Carriage Return, Line Feed, Tabs, etc. The procedure to send configuration strings (nodes 150 to 199), or message strings (nodes 50 to 99) is exactly the same as discussed, “Configuring...
  • Page 76 EMail Messages (Node 50 to 99) 2. Open the message instruction and enter the appropriate variables. The variables are described in Table 6.2. Table 6.2 Message Instruction Variables for Sending an Email Message Variable Setting This Controller Parameters: Communication Command 485CIF/PLC2 Data Table Address Any valid string, such as ST25:21 as shown below.
  • Page 77: Web Browser Compatibility

    Chapter 1761-NET-ENIW Web Server Capabilities This chapter covers using the ENIW’s web server features. It describes: • web browser compatibility • pages and file types • defining URL links • displaying device data on web pages • ENIW update timer •...
  • Page 78: Home Page

    1761-NET-ENIW Web Server Capabilities The lower frame is scrollable and consists of a group of static and dynamic web pages in tabbed format. The page tabs are labelled: • Home • Data View 1 through 4 • Events • Diagnostics •...
  • Page 79: Defining Url Links

    1761-NET-ENIW Web Server Capabilities PLC-2 Unprotected Write MSG instruction, enter the element value in octal. Table 7.1 Renaming Home Page and Data View Pages Item Affected Pages Default Title Element Offset Home Page Title Home Page ENIW Home Page 0200 Page 1 User String Home and Data Data View Page 1 of 4...
  • Page 80 1761-NET-ENIW Web Server Capabilities The ENIW allows limited HTML formatting. For example, the string ‘<B>Go to Allen-Bradley website</B>’ would create a bold title. The ENIW does not validate the URL. IMPORTANT Table 7.2 Defining URL Links on the Home Page Node 200 Defines For User Link...
  • Page 81: Displaying Device Data

    1761-NET-ENIW Web Server Capabilities Displaying Device Data The four Data View pages show data pushed to the ENIW by the attached device. If no data has been written to the ENIW by the attached device or configuration utility, these pages display empty cells.
  • Page 82: Integer Data

    1761-NET-ENIW Web Server Capabilities Figure 7.2 Example Write to First String on Second Data View Page Integer Data Integer data for the Data View pages is written to Node 202, offset elements 0 to 27, as described in Table 7.3. Integers are displayed as right-justified, signed decimal numbers from -32768 to +32767.
  • Page 83: Floating-Point Data

    1761-NET-ENIW Web Server Capabilities Figure 7.3 Example Write to First Integer on Second Data View Page Floating-point Data Floating-point data for the Data View pages is written to Node 203, offset elements 0 through 11, as described in Table 7.3. Floating-points in column 2 are right-justified with 7 significant digits plus the decimal point.
  • Page 84: Writing Data To The Eniw

    1761-NET-ENIW Web Server Capabilities Writing Data to the ENIW The following table summarizes how string, integer, and floating-point device data is written to the ENIW. Table 7.3 Writing Device Data to ENIW Data Displayed in Write Data View 1 Data View 2 Data View 3 Data View 4 Type...
  • Page 85: Auto-Refresh Of Data View Pages

    1761-NET-ENIW Web Server Capabilities Auto-Refresh of Data View Pages By default, each Data View page has an update frequency of 10 seconds. You can enter a refresh time in seconds (5 to 9999) and post this information to the ENIW by clicking anywhere within the frame. Figure 7.5 Auto-refresh Field To avoid excessive loading of the Ethernet network, set the refresh rate as long as is practical for your...
  • Page 86: Posting Data To The Device

    7-10 1761-NET-ENIW Web Server Capabilities Posting Data to the Device Each of the four Data View pages has the option for user updates to the attached device using 500CPU/SLC-type write messages. Each of these pages protects data using a unique, case-sensitive password containing a maximum of 8 characters.
  • Page 87: Display Event Data

    1761-NET-ENIW Web Server Capabilities 7-11 Table 7.5 Data Table Addresses for Data View Pages Data Table Addresses Page1 Page2 Page3 Page4 N50:0 N50:7 N50:14 N50:21 N50:1 N50:8 N50:15 N50:22 N50:2 N50:9 N50:16 N50:23 N50:3 N50:10 N50:17 N50:24 N50:4 N50:11 N50:18 N50:25 N50:5 N50:12...
  • Page 88: Display Diagnostic Data

    7-12 1761-NET-ENIW Web Server Capabilities Figure 7.7 Example Event Page The Event page displays a log of events in a buffered list composed of up to 50 string elements. Each string is displayed in a single line on the page. The event log displays the last number (n) of strings received, with the newest message at the top.
  • Page 89: Display Configuration

    1761-NET-ENIW Web Server Capabilities 7-13 Figure 7.8 Diagnostic Page Display Configuration The reference page displays a summary of ENIW configuration details. It details the configuration nodes used to read or write ENIW configuration. Figure 7.9 Example Reference Page Publication 1761-UM006E-EN-P - August 2005...
  • Page 90: Use The Eniw Utility To Configure The Eniw's Web Server Functionality

    7-14 1761-NET-ENIW Web Server Capabilities Use the ENIW Utility to The ENI/ENIW Utility includes two tabs for configuring the ENIW’s web pages: Web Config and Web Data Desc. These two tabs allow Configure the ENIW’s Web you to title the home page and Data View pages, to enter URL links, Server Functionality and to enter data descriptions for the Data View pages, as described below.
  • Page 91 1761-NET-ENIW Web Server Capabilities 7-15 Figure 7.11 Enter Data View Page Titles and Set Passwords The Web Data Desc tab allows you to enter data descriptions for the ten rows/lines of data on each of the four Data View pages. Descriptions can be 45 characters in length.
  • Page 92 7-16 1761-NET-ENIW Web Server Capabilities Publication 1761-UM006E-EN-P - August 2005...
  • Page 93 Chapter Connecting CompactLogix Controllers on Ethernet The chapter contains an example of using the ENI/ENIW on an Ethernet network. It is arranged as follows: • System Diagram • Purpose • Scope • General CompactLogix Messaging Guidelines • Configure ENI #1 •...
  • Page 94: Chapter 8 System Diagram

    Connecting CompactLogix Controllers on Ethernet System Diagram Figure 8.1 Example ENI/ENIW Network 1769-Lxx (CompactLogix) 1747-L55x (SLC 5/05) 1769-Lxx (CompactLogix) ENI #3 ETHERNET RS232 FAULT TX/RX TX/RX (Series B/C/D) CABLE EXTERNAL MicroLogix 1500 24V dc RS-232/DF1 ETHERNET RS232 FAULT Ethernet ENI #4 (Series A or B/C/D) ENI #2 (Series A) TX/RX TX/RX...
  • Page 95: Purpose

    Connecting CompactLogix Controllers on Ethernet Purpose Provide Ethernet connectivity for CompactLogix controllers via the RS-232 serial port and the ENI/ENIW module. Scope Connecting CompactLogix controllers on Ethernet requires one ENI/ENIW per CompactLogix controller. The ENI/ENIW converts RS-232 hardware connections and DF1 full-duplex protocol to Ethernet hardware connections and EtherNet/IP protocol.
  • Page 96: General Compactlogix Messaging Guidelines

    Connecting CompactLogix Controllers on Ethernet For this example, we will assign the following IP addresses to the devices on Ethernet: Table 8.1 Example IP Addresses for Ethernet Devices Device Node Address (for L20 MSG) IP Address SLC-5/05 131.200.50.92 1756-ENBT 131.200.50.93 1761-NET-ENI #2 131.200.50.94 1761-NET-ENI #1...
  • Page 97: Configure Eni #1

    Connecting CompactLogix Controllers on Ethernet Figure 8.2 Throttling Message Instructions Configure ENI #1 The ENI/ENIW Configuration Utility, free software designed for configuring the 1761-NET-ENI/1761-NET-ENIW, is available for download from www.ab.com/micrologix. If the CompactLogix controller is connected to a series B/C/D ENI/ENIW and your computer has an Ethernet network connection, you may skip directly to Configure ENI #2 on page 8-7.
  • Page 98 Connecting CompactLogix Controllers on Ethernet used to configure this ENI/ENIW. When you start the ENI/ENIW Configuration Utility, the following screen appears: Figure 8.3 ENI/ENIW Configuration Utility ENI IP Addr Screen For this example, we use 38400 baud on all serial connections. We also assign IP addresses to all Ethernet products rather than using BOOTP.
  • Page 99: Configure Eni #2

    Connecting CompactLogix Controllers on Ethernet Figure 8.5 ENI #1 Configuration - Message Routing Screen Before we download our configuration to ENI #1, we must configure the “Utility Settings” tab in the ENI/ENIW Configuration Utility. Choose the following settings. Figure 8.6 ENI #1 Configuration - Utility Settings Screen Then, connect the serial cable between your computer and ENI #1 and click on the ENI IP Addr tab.
  • Page 100: Configure Eni #2 Via The Eni/Eniw Configuration Utility

    Connecting CompactLogix Controllers on Ethernet be linked to DF1 destination node addresses, for the following purposes: Table 8.2 Message Routing Nodes Function 0 to 44 Use when sending messages to any Ethernet device, other than Logix controllers with integral Ethernet ports, that supports the same command set as the CompactLogix controller, i.e.
  • Page 101 Connecting CompactLogix Controllers on Ethernet The “ENI IP Addr” tab and the “Message Routing” tab in the ENI/ENIW Configuration Utility must be modified for the purposes of this example. We need to add the addresses of the SLC 5/05 and the 1756-ENBT to the ENI #2 Message Routing table.
  • Page 102: Configuration Via Ladder Logic

    8-10 Connecting CompactLogix Controllers on Ethernet Configuration Via Ladder Logic Rungs 2 through 8, on page 8-10, and the rungs 0 and 1 shown on page 8-5 in this application example, make up the ladder program for the CompactLogix controller. Details of each MSG instruction follow. Figure 8.11 ENI #2 Configuration - RSLogix 5000 Ladder Program In the above program, Rung 2 initiates the string of configuration messages with input instruction ‘Reconfig_ENI’.
  • Page 103 Connecting CompactLogix Controllers on Ethernet 8-11 The 7 rungs used to configure ENI #2 are defined as follows: Table 8.3 ENI #2 Configuration - Rung Descriptions Rung Function This rung initiates the process and configures the ENI/ENIW module’s Serial port for bridge mode at 38400 Baud.
  • Page 104 8-12 Connecting CompactLogix Controllers on Ethernet The Message Instructions for the CompactLogix controller, Rungs 2 through 8, used to configure the ENI/ENIW module, must be “PLC2 Unprotected Write” Message Type. The “Destination Element” can be any valid PLC2 command value. “010” is used in this example because it is the first available value that the software will allow.
  • Page 105 Connecting CompactLogix Controllers on Ethernet 8-13 Figure 8.13 ENI #2 Configuration - Message Communication Tab The MSG length is 8 bytes or 4 integer words. These 4 words contain the IP address for ENI #2 and are stored in tag ENI_IP_VALUE, which is a tag address containing 4 integer words.
  • Page 106 8-14 Connecting CompactLogix Controllers on Ethernet Figure 8.14 CompactLogix5320 Controller’s Tags As indicated in Table 8.4, the MSGs in Rungs 2, 3 and 8 are 2 bytes or 1 integer word in length. Their Paths are ‘2,253’, ‘2,252’ and ‘2,248’ respectively;...
  • Page 107 Connecting CompactLogix Controllers on Ethernet 8-15 The MSG in Rung 7, shown in Table 8.4, configures an email address into node 50 of the email table, using a path of 2, 150. For the ENI prior to series B FRN 2.20, the ASCII email address is encoded into an integer array tag of size 42 (INT[41]) as follows: 1.
  • Page 108 8-16 Connecting CompactLogix Controllers on Ethernet Controller Properties window by clicking on the Edit pull-down menu and select Controller Properties. Click on the System Protocol tab and change Error Detection from BCC to CRC and the Baud Rate from 19200 to 38400. Click APPLY, then OK. If you fix the baud rate in the ENI/ENIW, it assumes CRC error detection.
  • Page 109: A Enis

    Connecting CompactLogix Controllers on Ethernet 8-17 your Map PLC/SLC screen for the CompactLogix controller should look like the following: Figure 8.17 File Mapping for the CompactLogix Controller in RSLogix 5000 Save your program. Download To The The ladder program written for the CompactLogix controller can be downloaded to the controller via the two ENI modules.
  • Page 110 8-18 Connecting CompactLogix Controllers on Ethernet 4. Configure AB_DF1-1 driver to match the example below. 5. Click OK when the AB_DF1-1 driver is configured. 6. If you have set up the ENI Message Routing table with IP addresses in entries between 1 and 31, those devices should respond when you browse the AB_DF1 driver.
  • Page 111: Download To The Compactlogix Controller Through A Eni/Eniw Series B/C/D Via Ethernet

    Connecting CompactLogix Controllers on Ethernet 8-19 Download to the In order to download your programs to the CompactLogix controller directly through the ENI/ENIW series B/C/D to the SLC 5/05 controller CompactLogix Controller and to the ControlLogix controller via Ethernet, you must configure an Through a ENI/ENIW Ethernet driver in RSLinx.
  • Page 112 8-20 Connecting CompactLogix Controllers on Ethernet 3. Click “OK” to accept the default driver name. At that point the station mapping screen will appear as illustrated here. Double click on the row below “Host Name”, and enter the TCP/IP addresses that match the devices on your network that you will need access to.
  • Page 113: Create Msg Programs For The Slc 5/05 And The Controllogix Controllers

    Connecting CompactLogix Controllers on Ethernet 8-21 the 1756-ENET, and the SLC 5/05 controller. The DF1 port is displayed underneath the ENI/ENIW series B/C/D. Clicking on the + sign left of the DF1 port should display the CompactLogix controller. Close RSWho. Minimize, but do not close, RSLinx. Create MSG Programs for You must create MSG ladder programs for the other two controllers on Ethernet.
  • Page 114 8-22 Connecting CompactLogix Controllers on Ethernet Figure 8.18 SLC 5/05 Controller Ladder Program Figure 8.19 SLC 5/05 Rung 0 MSG to ControlLogix via 1756-ENBT Publication 1761-UM006E-EN-P - August 2005...
  • Page 115 Connecting CompactLogix Controllers on Ethernet 8-23 Figure 8.20 SLC 5/05 Rung 0 MSG ‘Multihop’ Tab Figure 8.21 SLC 5/05 Rung 1 MSG to CompactLogix via ENI Series A Publication 1761-UM006E-EN-P - August 2005...
  • Page 116 8-24 Connecting CompactLogix Controllers on Ethernet Figure 8.22 SLC 5/05 Rung 1 MSG ‘Multihop’ Tab Figure 8.23 on page 8-24 shows the MSG ladder program for the ControlLogix controller, developed with RSLogix 5000. Following the ladder program are six additional screens showing the two tabs for each MSG Instruction.
  • Page 117 Connecting CompactLogix Controllers on Ethernet 8-25 Figure 8.24 ControlLogix Controller Rung 0 Message Configuration Tab Figure 8.25 ControlLogix Controller Rung 0 Message Communication Tab Publication 1761-UM006E-EN-P - August 2005...
  • Page 118 8-26 Connecting CompactLogix Controllers on Ethernet Figure 8.26 ControlLogix Controller Rung 1 Message Configuration Tab Figure 8.27 ControlLogix Controller Rung 1 Message Communication Tab Publication 1761-UM006E-EN-P - August 2005...
  • Page 119 Connecting CompactLogix Controllers on Ethernet 8-27 Figure 8.28 ControlLogix Controller Rung 2 Message Configuration Tab Figure 8.29 ControlLogix Controller Rung 2 Message Communication Tab Where PLC_5 Typed Write commands are used, they require a PLC-5 type address to send the data to the receiving controller. Such addresses do not exist in Logix controllers, so they must be mapped to existing tags in these controllers, as described on page 8-28.
  • Page 120 8-28 Connecting CompactLogix Controllers on Ethernet 1. From the Logic pull down menu, select “Map PLC/SLC Messages”. Your mapped table for your Logix program should look like the following: Figure 8.30 File Mapping for the ControlLogix Controller in RSLogix 5000 2.
  • Page 121: Network Troubleshooting

    Chapter Troubleshooting This chapter covers the following Troubleshooting topics: • Network Troubleshooting • Using ENI/ENIW with Routers • LED Sequence at Power-Up • Troubleshooting Using the LED Indicators • Error Codes Generated by the ENI/ENIW Network Troubleshooting Maintain ENI/ENIW Cable Connections The UTP (unshielded twisted pair) patch cable on a switch should be labeled and treated as dedicated.
  • Page 122: Led Sequence At Power-Up

    Troubleshooting LED Sequence at Power-Up The following LED test is performed at power-up. Table 9.1 Series A/B LED Sequence at Power-Up (No Ethernet Connection) Power-Up Sequence Ethernet TX/RX, Link and FAULT 1. on solid for 2 seconds FAULT 2. flashes for 3 seconds Ethernet TX/RX and FAULT 3.
  • Page 123: Troubleshooting Using The Led Indicators

    Troubleshooting Troubleshooting Using the The ENI/ENIW status LEDs provide a mechanism to determine the current status of the ENI/ENIW if a programming device is not present LED Indicators or available. The LED behavior is described in the following table. Table 9.4 Series A/B LED Indicators Description Color State...
  • Page 124 Troubleshooting Table 9.5 Series C LED Indicators Description Color State Indicates POWER module power green The module is powered. The module does not have power. TX/RX RS-232 data green flashing Data is being transmitted or received over the RS-232 port. transmission No RS-232 traffic.
  • Page 125 Troubleshooting Table 9.6 Series D LED Indicators Description Color State Indicates POWER module power green The module is powered. The module does not have power. RS-232 RS-232 data green flashing Data is being transmitted or received over the RS-232 port. TX/RX transmission No RS-232 traffic.
  • Page 126: Error Codes Generated By The Eni/Eniw

    Troubleshooting Error Codes Generated by This table shows the MSG error codes that may be generated by the ENI/ENIW to the connected DF1 device. the ENI/ENIW Table 9.7 ENI/ENIW-Generated Error Codes Error Code Description of Error Condition Target node cannot respond because of incorrect command parameters or unsupported command. Possible causes: •...
  • Page 127: Physical Specifications

    Appendix Specifications Physical Specifications Description ENI/ENIW Specification 24V dc Power Source Requirement 20.4 to 26.4V dc 24V dc Current Draw 50 mA typical, 100 mA maximum Maximum Inrush Current 200 mA Internal Isolation 710V dc for one minute Vibration operating: 10 to 500 Hz, 5.0g, 0.030 in. peak-to-peak, 2 hour each axis Shock operating: 30g, ±3 times each axis non-operating: 35g (DIN Rail Mount) 50g (Panel Mount), ±3 times each axis...
  • Page 128: Dimensions

    Specifications Dimensions Product Dimensions 52.07 mm (2.05 in.) 118 mm 107 mm (4.64 in.) (4.20 in.) Mounting Dimensions 52.07 mm (2.05 in) 27.7 mm 64.8 mm (1.09 in.) (2.55 in.) Allow 15 mm (0.6 in.) clearance for DIN rail latch movement during installation and removal.
  • Page 129 If you do not have BOOTP/DHCP Server capabilities on your network, and you want to dynamically configure the ENI/ENIW, you can download the Rockwell Automation BOOTP/DHCP Utility from www.ab.com/networks/bootp/index.html. The BOOTP/DHCP Server Utility provides you with an interface from which you can select a module and interactively assign it an IP address.
  • Page 130: Eni/Eniw Bootp Operation

    BOOTP Configuration Method (default) Table B.1 TCP/IP Parameters Function Format Notes IP Address Integer This is a unique IP Address for the ENI/ENIW. Format is aaa.bbb.ccc.ddd. Default is 000.000.000.000. Subnet Mask If not sent, the default mask is derived from the class optional of the IP address.
  • Page 131: Using The Rockwell Bootp/Dhcp Utility

    BOOTP Configuration Method (default) Using the Rockwell The Rockwell BOOTP/DHCP utility is a standalone program that incorporates the functionality of standard BOOTP software with a BOOTP/DHCP Utility user-friendly graphical interface. It is located in the Utils directory on the RSLogix 5000 installation CD. It can also be downloaded from www.ab.com/networks/bootp/index.html web page.
  • Page 132 BOOTP Configuration Method (default) 3. Enter the IP Address, Subnet Mask, and Gateway you want to assign to the device, and click on OK. The device will be added to the Relation List, displaying the Ethernet Address (MAC) and corresponding IP Address, Subnet Mask, and Gateway (if applicable).
  • Page 133: Ethernet/Ip Connections

    Appendix 1761-NET-ENI/ENIW Performance Considerations Ethernet/IP Connections The ENI/ENIW supports 6 concurrent TCP/IP connections: 2 incoming, 2 outgoing and 2 that can be allocated as incoming or outgoing. Connection use can be viewed on the Diagnostics tab of the ENI/ENIW web page (series D only). Each TCP/IP connection simultaneously supports up to: •...
  • Page 134: Data Throughput

    1761-NET-ENI/ENIW Performance Considerations Data Throughput In tests performed using the RSLinx OPC Test Client, the ENI/ENIW (series D) was connected to a MicroLogix 1500 with channel 0 set to 38.4 kbaud. The Ethernet port was connected to the computer through a 10/100 Mbps switch. Number of Packets Packet Size (Words) Packet Rate (packet/s)
  • Page 135: Glossary

    Glossary Autobaud A feature that allows a communications port to automatically synchronize to the device or network that it is attached to. This feature typically minimizes the amount of configuration required, and also makes is easier to replace devices. Auto BCC/CRC Sends a test message during autobaud to detect which Error Detecting setting to use, BCC or CRC.
  • Page 136 Glossary IP (Internet Protocol) IP specifies the format of packets and the addressing scheme. Most networks combine IP with a higher-level protocol called Transport Control Protocol (TCP), which establishes a virtual connection between a destination and a source. IP by itself is something like the postal system. It allows you to address a package and drop it in the system, but there's no direct link between you and the recipient.
  • Page 137 Glossary Security Mask The Security Mask, when configured, allows you to restrict incoming TCP/IP and/or UDP messages to have source IP addresses that are within some prescribed range. For example, if you wanted to restrict all message sources to be from within a company’s allocated IP address range, a Security Mask could be configured that would block any IP address outside that range.
  • Page 138 Glossary Publication 1761-UM006E-EN-P - August 2005...
  • Page 139 Index DF1 Protocol default settings 1-5 Auto BCC/CRC definition Glossary-1 definition Glossary-1 DHCP B-1 Autobaud configuration 4-15, B-3 CRC with bridge function 4-14 definition Glossary-1 definition Glossary-1 diagnostic page restrictions 4-14 example 7-13 Auto-Refresh 7-9 diagnostics page 7-12 Dimensions A-2 Baud Rate configuring 4-14 EDS file download 3-7...
  • Page 140 Index Grounding 2-3 Operating Modes 1-7 Operation 3-1 Hardware Address 1-2, 4-13 Hardware Features 1-2 Password Protection Hazardous Location 2-2 disabling device update 7-10 Password-Protection removing 7-10 PCCC Installation and Wiring 2-1 definition Glossary-2 Integer Files 4-22 Peer Connections 3-1 Peer-to-Peer Messaging 5-1 definition Glossary-2 Posting Data 7-10...
  • Page 141 Index String Files 4-24 Subnet Mask 4-17 UCMM definition Glossary-3 URL links unused links 7-4 definition Glossary-3 definition Glossary-3 TCP/IP configuration 4-15 definition Glossary-3 Troubleshooting Web Browser Compatibility 7-1 maintain ENI connnections 2-6 Wiring 2-1 procedure 9-1 TX/RX LED (Ethernet) 1-2, 1-4 TX/RX LED (RS-232) 1-2, 1-3, 1-4 Publication 1761-UM006E-EN-P - August 2005...
  • Page 142 Index Publication 1761-UM006E-EN-P - August 2005...
  • Page 144 Microsoft is a registered trademark of Microsoft Corporation. Netscape is a registered trademark of Netscape Communications Corporation. Publication 1761-UM006E-EN-P - August 2005 PN XXXXXX-XX Supersedes Publication 1761-UM006D-EN-P - March 2004 Copyright © 2005 Rockwell Automation, Inc. All rights reserved. Printed in the U.S.A.

This manual is also suitable for:

Ab quality allen-bradley micrologix 1761-net-eniw

Table of Contents