background image

Publication 1761-UM006A-EN-P - February 2001

Peer-to-Peer Messaging        

5-3

Message to Configuration 
Nodes (Nodes 100 to 149)

When the ENI receives a message to Node Address 0 to 49, it looks up 
the TCP/IP address associated with the address at Nodes 100 to 149. 
The ENI preserves the original DF1 address when sending back a 
reply.

The following table illustrates the relationship between configuration 
addresses and their corresponding messaging address.

To configure the route address (nodes 100 to 149), write a 485CIF 
message with 4 integer data words. An example is shown in the next 
section of this chapter.

Table 5.2 Peer-to-Peer Message Routing

Node 
Number

(1)

(1) See IMPORTANT note below about assigning Nodes to various devices.

Function

Node 
Number

Routing Table

Data Type

0

DF1 Route 0 MSG

100

Route 0 Address

Integer (4 words)

1

DF1 Route 1 MSG

101

Route 1 Address

Integer (4 words)

2

DF1 Route 2 MSG

102

Route 2 Address

Integer (4 words)

3

DF1 Route 3 MSG

103

Route 3 Address

Integer (4 words)

49

DF1 Route 49 MSG 149

Route 149 Address

Integer (4 words)

IMPORTANT

In the ENI, node addresses 45 through 49 are 
dedicated for sending messages to 
1756-ENET/ControlLogix controllers. When sending 
messages to a 1756-ENET/ControlLogix controller, 
the controller 

MUST

 be in slot 0 of the ControlLogix 

chassis for the message to be delivered to it.

Node addresses 0 through 44 are to be used for all 
other Ethernet devices, such as other 1769-L20 
controllers connected to ENI modules and SLC 5/05 
controllers.

Summary of Contents for MicroLogix 1761-NET-ENI

Page 1: ...MicroLogix Ethernet Interface ENI Cat No 1761 NET ENI User Manual...

Page 2: ...dley publication SGI 1 1 Safety Guidelines for the Application Installation and Maintenance of Solid State Control available from your local Allen Bradley office describes some important differences b...

Page 3: ...ort Identification 2 5 External Power Supply Wiring 2 5 Ethernet Connections 2 6 RS 232 Port Connections 2 8 Chapter 3 Operation Operation Overview 3 1 Allocation of Ethernet Connections 3 1 ENI Funct...

Page 4: ...and Download the Program To the 1769 L20 7 13 Create MSG Programs for the SLC 5 05 and the 5550 Controllers 7 15 Configuring an Ethernet Driver in RSLINX 7 21 Chapter 8 Troubleshooting Network Trouble...

Page 5: ...trollers on Ethernet You should have a basic understanding of Allen Bradley programmable controllers and Ethernet networking You should understand programmable controllers and be able to interpret the...

Page 6: ...open protocol DF1 Protocol and Command Set Reference Manual 1770 6 5 16 In depth information on grounding and wiring Allen Bradley programmable controllers Allen Bradley Programmable Controller Groun...

Page 7: ...ical training warranty support support service agreements Technical Product Assistance If you need to contact Rockwell Automation for technical assistance please review the Troubleshooting information...

Page 8: ...Publication 1761 UM006A EN P January 2001 Preface P 4...

Page 9: ...ides inter device compatibility You can exchange information with other Allen Bradley Ethernet controllers SLC PLC and ControlLogix in a peer to peer relationship so you do not need any master type de...

Page 10: ...INSTRUCTIONS 24VDC CHS GND NEUT DC MADE IN U S A ETHERNET INTERFACE MODULE ETHERNET ADDRESS C R R LISTED IND CONT EQ FOR HAZ LOC A196 OPERATING TEMPERATURE CODET3C CLASS I GROUPS A B C AND D DIV 2 WIN...

Page 11: ...Bits 8 none Stop Bits 1 none Parity none none Table 1 2 DF1 Settings Setting Default Other Options Duplicate Message Detection Enable none Error Detection CRC BCC Auto detect when Autobaud is true ot...

Page 12: ...end e mail messages to any e mail address on the network The e mail can be used to initiate the transmission of data or status information Device Compatibility The ENI is compatible with the following...

Page 13: ...or which connects to standard Ethernet hubs and switches via an 8 wire twisted pair straight through cable To access other Ethernet mediums use 10Base T media converters or Ethernet switches that can...

Page 14: ...Publication 1761 UM006A EN P February 2001 1 6 Product Overview...

Page 15: ...regions It has been designed and tested to meet the following directives EMC Directive This product is tested to meet the Council Directive 89 336 EC Electromagnetic Compatibility EMC by applying the...

Page 16: ...ous locations Use only the following communication cables and replacement connectors in Class I Division 2 Hazardous Locations WARNING Explosion Hazard Substitution of components may impair suitabilit...

Page 17: ...llation ATTENTION Do not remove the protective debris strip until after all the equipment in the panel is mounted and wiring is complete Once wiring is complete remove protective debris strip Failure...

Page 18: ...equipment could cause damage Do not drill holes above mounted equipment if the protective debris strip has been removed 1 Place a screwdriver in the DIN rail latch at the bottom of the unit 2 Holding...

Page 19: ...Power Source selector switch on the ENI must be set to EXTERNAL before connecting the power supply to the ENI IMPORTANT In non hazardous locations external power is not required Some devices such as...

Page 20: ...aight through and cross over cable ENI Ethernet port to 10Base T Ethernet switch cables utilize a straight through pin out 1 1 2 2 3 3 6 6 Direct point to point 10Base T cables connecting the ENI Ethe...

Page 21: ...and thick wire coaxial cable 10Base 5 thin wire coaxial cable 10Base 2 Maintain ENI Connections The unshielded twisted pair UTP patch cable on a switch should be labeled and treated as dedicated Be ca...

Page 22: ...ous environment Table 2 1 RS 232 Connector Pin Assignments Pin Port 2 1 24V dc 2 ground GND 3 no connection 4 ENI input data RxD 5 no connection 6 no connection 7 ENI output data TxD 8 ground GND ENI...

Page 23: ...ad download and edit logic programs over Ethernet To communicate between devices Ethernet IP uses a connection model Connections are dedicated paths across Ethernet between devices Allocation of Ether...

Page 24: ...rocedure can be used when the computer has a connection directly onto Ethernet PCI card PCMCIA interface built in TCP IP port etc and the ENI is plugged into the computer s RS 232 COMM port RSLinx on...

Page 25: ...3 2 The Configure Dialog will open select Ethernet devices from the available drivers and then click OK to load the driver into RSLinx Once the Ethernet driver is loaded either highlight and select C...

Page 26: ...ation 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 When you...

Page 27: ...2001 Operation 3 5 3 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 RSLogix 500...

Page 28: ...February 2001 3 6 Operation 2 Select AB_ETH 1 Ethernet 3 Either expand the tree select the in the box or select the device from the table to the right From this point you can then either go online or...

Page 29: ...iguration Methods The ENI s IP information can be entered using either the ENI Configuration Utility a write message from the Allen Bradley controller to node address 250 the BOOTP Utility over Ethern...

Page 30: ...oose Autobaud See page 4 15 for more information Parameter Upload Behavior and Parameter Download Behavior This setting controls which parameters will be saved or loaded when you use the Load From or...

Page 31: ...your settings If you do not save the settings they will revert to out of box on the next power up E Mail Settings Use the Email screen to fill in the information for e mail messages E mail servers ar...

Page 32: ...ing Use the Message Routing screen to fill in the destination addresses for DF1 messaging Message routing is described in chapter 5 Reset Use the Reset screen to issue reset commands and to set the ty...

Page 33: ...that have an RS 232 port The first item to configure is the ENI s IP address on your network See the following section Configuring ENI Data Parameters for that configuration procedure The configuratio...

Page 34: ...he file arrange your TCP IP data in groups of 4 words as illustrated in file N50 below 2 Create your message logic using whatever conditional instructions you may need In this example bit B3 0 8 is us...

Page 35: ...roLogix and SLC an unprotected write command for CompactLogix and PLC 5 Data Table Address In this example we are using integer file 50 element 5 instruction starts at N50 5 Size in Elements For all E...

Page 36: ...g file element as illustrated below This example has data file 25 configured for string elements In File ST25 element 0 has a valid e mail from string Station_0 My_Company com EXAMPLE Node 249 E Mail...

Page 37: ...Variable Setting This Controller Parameters Communication Command For the ENI configuration this must be set to 485CIF for MicroLogix and SLC an unprotected write command for CompactLogix and PLC 5 Da...

Page 38: ...8 12 16 or 20 TCP IP Parameters 000 000 000 000 251 E Mail Server Integers 4 E Mail Server Address 000 000 000 000 252 BOOTP Configuration Integer 1 0 BOOTP configuration 1 soft configuration 0 253 B...

Page 39: ...itional characters are ignored The From String is sent from a String Table consisting of 84 characters To configure the From String initiate a message with a string element as the data The message ins...

Page 40: ...table describe the functions in more detail IMPORTANT Only PLC2 type or 485CIF read write messages can be used to configure the ENI Table 4 3 TCP IP Configuration Parameters Function 1 1 The IP addre...

Page 41: ...e previous mask or The first octet is 255 but the remaining mask is not proper the ENI returns status 0x10 and reverts to the previous mask The definition of proper is that the mask must be a contiguo...

Page 42: ...havior If a security mask is set to 192 168 15 255 and an IP address 203 129 75 23 attempts to message into the controller The packet is rejected because 203 129 75 does not equal 192 168 15 the 4th o...

Page 43: ...ycle See Appendix B for information on using BOOTP Node 253 Baud Rate The first time the ENI is powered up out of the box it is set to Autobaud so that it can synchronize to the attached controller Th...

Page 44: ...The ENI cannot Autobaud to 57 6K to synchronize to the attached controller You must manually set the baud rate to 57 6K If the controller s baud rate is from 1200 to 38 4K and the ENI is configured fo...

Page 45: ...F1 Devices The ENI can route a DF1 message received from the attached controller to a compatible destination TCP IP device This is accomplished by using DF1 node addresses 0 through 49 ENI Node addres...

Page 46: ...e request to the TCP IP address at Node 100 111 222 233 200 Table 5 1 Message Routing ENI receives read or write PCCC message to ENI TCP IP route configuration Message forwarded to destination node TC...

Page 47: ...e Number 1 1 See IMPORTANT note below about assigning Nodes to various devices Function Node Number Routing Table Data Type 0 DF1 Route 0 MSG 100 Route 0 Address Integer 4 words 1 DF1 Route 1 MSG 101...

Page 48: ...te below about assigning Nodes to various devices Function ENI Node Function 0 Route DF1 MSG to IP address 100 100 Route 0 Address 1 Route DF1 MSG to IP address 101 101 Route 1 Address 2 Route DF1 MSG...

Page 49: ...his Controller Parameters Communication Command Use any command supported by your controller Data Table Address Use any valid file Size in Elements For all ENI data configuration always set this to 4...

Page 50: ...Publication 1761 UM006A EN P February 2001 5 6 Peer to Peer Messaging...

Page 51: ...an extremely versatile mechanism to report alarms status and other data related functions To send an e mail message the controller generates a write message with a string element as the data to a nod...

Page 52: ...a write message to node 251 e mail server See page 4 15 for more information A From String configure by sending a write message to node 249 from string The string element text can be stored in a Strin...

Page 53: ...rates a write message with a string element as the data see ST15 7 to ST15 9 in the example above to a node number 50 to 99 that correlates to the e mail address 150 to 199 The following table shows t...

Page 54: ...ode 50 Node 150 The data within the message is sent to Node 50 and forwarded to the e mail address stored at Node 150 Node 51 Node 151 The data within the message is sent to Node 51 and forwarded to t...

Page 55: ...s are used as illustrated in the table below Node numbers 150 to 199 are used to define or store the actual e mail address and nodes 50 to 99 are used to send the string element to the e mail recipien...

Page 56: ...ntroller Parameters Communication Command Use any command supported by your controller Data Table Address Any valid string such as ST25 21 as shown below Size in Elements 1 Channel The RS 232 communic...

Page 57: ...rogram To The 1769 L20 Create MSG Programs for the SLC 5 05 and the 5550 Controllers Configuring an Ethernet Driver in RSLINX System Diagram Figure 7 1 Example Network ETHERNET FAULT RS232 NET TX RX T...

Page 58: ...thernet requires one 1761 NET ENI per L20 controller The ENI converts RS 232 hardware connections and DF1 full duplex protocol to Ethernet TCP IP The ENI must be configured with IP addresses assigned...

Page 59: ...0 controller and so on The two MSG Instructions will toggle with only one outstanding MSG at a time This is recommended for the 1769 L20 controller to keep the amount of user memory needed for incomin...

Page 60: ...The first task is to configure the ENI module that will be connected to the computer This is ENI 1 per Figure 7 1 A 1761 CBL PMO2 serial cable is used to connect a computer serial communication port t...

Page 61: ...IP address for the ENI connected to the 1769 L20 controller ENI 2 is the only address we need to add to the ENI 1 Message Routing table The other two Ethernet devices are accessed by the computer via...

Page 62: ...es for the following purposes At this point we could merely configure ENI 2 as we did ENI 1 Or we could use the method outlined in Chapter 5 to configure ENI 2 This method sends configuration Messages...

Page 63: ...ough 7 and the rungs 0 and 1 shown earlier in this application example make up the ladder program for the L20 controller Details of each MSG Instruction will follow In the above program Rung 2 initiat...

Page 64: ...troller with a DF1 destination address of 1 will be sent to the SLC 5 05 controller on Ethernet Rung 6 This rung adds the IP address of the 1756 ENET module to the ENI module s Message Routing table a...

Page 65: ...value for RSLOGIX5000 to accept it An example of the MSG Configuration tab and the Communication tab for the MSG Instruction used to configure the IP address for the ENI Rung 4 are as follows Table 7...

Page 66: ...e 7 8 ENI 2 Configuration Message ConfigurationTab Figure 7 9 ENI 2 Configuration Message CommunicationTab Note that the MSG length is 8 bytes or 4 integer words These 4 words contain the IP address f...

Page 67: ...ble and 248 represents the Save function The single integer data value for these messages is shown in Table 7 4 0 is the value for the Save MSG data tag ENI_SAVE_TO_FLASH_VALUE which instructs the ENI...

Page 68: ...r L20 controller it will not be able to communicate with the ENI The Baud Rate of 38400 is being used to increase the upload download speed Finally since Logix controllers do not use the structured da...

Page 69: ...n RSLogix 5000 Save your program Configure RSLINX and Download The Program To The 1769 L20 The ladder program written for the L20 controller is downloaded to the controller via the two ENI modules A f...

Page 70: ...roperly connected you should be able to click on the sign left of the AB_DF1 1 driver you created and the CompactLogix controller should appear beneath the driver Minimize but do not close RSLINX Star...

Page 71: ...ur other two controllers on Ethernet The following is the MSG ladder program for the SLC 5 05 controller developed with RSLOGIX500 Following the ladder program are four additional screens showing the...

Page 72: ...Publication 1761 UM006A EN P February 2001 7 16 Connecting 1769 L20 CompactLogix Controllers on Ethernet Figure 7 15 SLC 5 05 Rung 0 MSG General Tab Figure 7 16 SLC 5 05 Rung 0 MSG Multihop Tab...

Page 73: ...Publication 1761 UM006A EN P February 2001 Connecting 1769 L20 CompactLogix Controllers on Ethernet 7 17 Figure 7 17 SLC 5 05 Rung 1 MSG General Tab Figure 7 18 SLC 5 05 Rung 1 MSG Multihop Tab...

Page 74: ...he MSG ladder program for the 5550 controller developed with RSLOGIX5000 Following the ladder program are four additional screens showing the two tabs for each MSG Instruction As part of your program...

Page 75: ...1 UM006A EN P February 2001 Connecting 1769 L20 CompactLogix Controllers on Ethernet 7 19 Figure 7 20 ControlLogix 5550 Rung 0 Message Configuration Tab Figure 7 21 ControlLogix 5550 Rung 0 Message Co...

Page 76: ...Message Configuration Tab Figure 7 23 ControlLogix 5550 Rung 1 Message Communication Tab The 1761 NET ENI modules do not support CIP commands Therefore all commands between controllers used in this ap...

Page 77: ...Mapping for the ControlLogix 5550 Controller in RSLogix 5000 Save your program Configuring an Ethernet Driver in RSLINX In order to download your programs to the SLC 5 05 controller and to the 5550 co...

Page 78: ...oaded to their respective controllers place each controller into the RUN mode and a MSG from each controller will be sent to each of the other controllers Each controller will only send one MSG at any...

Page 79: ...a new port for any reason power cycle the ENI The power cycle forces a new ARP address resolution protocol request to be sent which should immediately associate the ENI s IP address with the port it...

Page 80: ...is off the Ethernet port is transmitting or receiving NetLinx packets For example if you use Ping or Telnet the Ethernet TX RX LED will not flash flash sequence When the Fault LED is on steady the Et...

Page 81: ...ers BOOTP DF1 parameter is invalid 30H PCCC Description Remote station host is not there disconnected or shutdown D0H One of the following No IP address configured for the network or ENI not configure...

Page 82: ...B0H PCCC Description Remote station problem due to download C0H PCCC Description Cannot execute command due to active IPBs D0H One of the following No IP address configured for the network or ENI not...

Page 83: ...Description Command execution failure for unknown reason PLC 3 histogram overflow F5H PCCC Description Data conversion error F6H PCCC Description The scanner is not able to communicate with a 1771 ra...

Page 84: ...Publication 1761 UM006A EN P February 2001 8 6 Troubleshooting...

Page 85: ...h axis Operating Ambient Temperature 0 C to 55 C 32 F to 131 F Storage Temperature 40 C to 85 C 40 F to 175 F Humidity 5 to 95 relative humidity non condensing Agency Certification UL 1604 C UL C22 2...

Page 86: ...4 in 107 mm 4 20 in 64 8 mm 2 55 in Allow 15 mm 0 6 in clearance for DIN rail latch movement during installation and removal 52 07 mm 2 05 in 27 7 mm 1 09 in 107 mm 4 20 in 118 mm 4 64 in Allow 15 mm...

Page 87: ...your network and you want to dynamically configure the ENI you can obtain the BOOTP software by contacting your local Rockwell Automation representative Table 2 1 TCP IP Parameters Function Format Not...

Page 88: ...he BOOTP request to be disabled by clearing the BOOTP Enable parameter See Node 252 BOOTP Configuration on page 4 15 Using BOOTP The optional BOOTP Server file contains DOS based and Windows based BOO...

Page 89: ...3 ha 0000BC1D9012 This file contains the information needed to boot the ENI You must edit the BOOTPTAB file to include the name IP address and hardware address for each ENI you want the server to boo...

Page 90: ...dress Use only hexadecimal digits 0 9 A F do not use the hyphens that separate the numbers 4 Save close and make a backup copy of this file Example BOOTPTAB File In this example there are three SLC 5...

Page 91: ...based utility or the Windows based BOOTP utility but not both If you have BOOTP enabled and the message BOOTP response not received appears check the cabling connections and the BOOTP server system B...

Page 92: ...y DTLBOOTW EXE follow these steps 1 Start Microsoft Windows if it is not already running 2 Start the utility It will run until you terminate it by closing the DTLBOOTW EXE window and exiting from Wind...

Page 93: ...he DH 485 network devices default to 19 200 baud CIP Control and Information Protocol DNI DeviceNet Network Interface Allen Bradley catalog number 1761 NET DNI The DNI allows you to connect DF1 device...

Page 94: ...od of time IP Address A 32 bit address assigned to hosts that want to participate in a TCP IP internet IP addresses are the abstraction of physical hardware addresses with a network and host partition...

Page 95: ...to reach its destination For the ENI a single hop message is one whose source and destination nodes are both TCP IP end points TCP Transmission Control Protocol TCP is one of the main protocols in TC...

Page 96: ...Publication 1761 UM006A EN P February 2001 Glossary 4 UTP Unshielded Twisted Pair The type of cable used in 10BaseT systems...

Page 97: ...ion of Ethernet connections 3 1 Ethernet switch 2 7 Contacting Allen Bradley for Assistance P 3 D DF1 Full Duplex definition G 1 messaging 5 1 DF1 Protocol default settings 1 3 definition G 1 Dimensio...

Page 98: ...2 Low Voltage Directive 2 1 M Manuals Related P 2 Memory Map 3 2 Messaging 4 5 5 1 Mounting 2 3 dimensions A 2 MTA definition G 2 N Netlinx Services definition G 2 Network definition G 2 Node definit...

Page 99: ...efinition G 3 SMTP E Mail Address 6 2 Specifications A 1 String Files 4 8 Subnet Mask 4 13 T TCP definition G 3 TCP IP configuration 4 12 definition G 3 Troubleshooting contacting Allen Bradley for as...

Page 100: ...Publication 1761 UM006A EN P February 2001 4 Index...

Page 101: ......

Page 102: ...Publication 1761 UM006A EN P February 2001 2 PN XXXXXX XX Supersedes Publication XXXX X X X Month Year 2001 Rockwell International Corporation Printed in the U S A...

Reviews: