Home
Configuring EtherMeter™–MicroLogix (1100/1400
Contents
1. SCADAMETRICS S APPLICATION NOTE Application Note 002 Version 004 17 Dec 2015 Configuring EtherMeter MicroLogix 1100 1400 Communications Using EtherNet IP Note This document also applies to EtherMeter SLC 505 Communications The purpose of this document is to provide assistance to the Allen Bradley MicroLogix PLC 1100 or 1400 user who wishes to connect to an EtherMeter using the EtherNet IP protocol This document assumes that the user is well versed in MicroLogix PLC s and the RsLogix Programming Environment When creating an EtherNet IP client server connection between an Allen Bradley MicroLogix 1100 or 1400 PLC client and an EtherMeter server no special setup is generally required within the EtherMeter s Setup Menu The EtherMeter features an always on EtherNet IP server on TCP logical port 44818 and it is configured to auto detect and service incoming client requests from MicroLogix 1100 and 1400 PLC s To simplify integration into an EtherNet IP network the EtherMeter emulates a SLC 500 series PLC 1 Wiring Configuration In this example the Ethernet ports of the MicroLogix and EtherMeter are wired directly to each other without an Ethernet switch using a single Ethernet crossover cable Alternatively the Ethernet ports of both the MicroLogix and EtherMeter could be connected to a common Ethernet switch if expanded network connectivity is desired For reference the wiring and hardw
2. INPUT 2 STATUS 83 BINARY T4 TIMER c5 COUNTER E RE CONTROL N7 INTEGER Fe FLOAT 4 meg E Rio Ei 12 j Data Logging G configuration E Status RCP Configuration Files 9 Force Files c0 OUTPUT 1 r INPUT Custom Data Monitors eq Custom Graphical Monitors i Controller Properties Recipe Monitors eq Trends _ Database Address Symbal Ea Instruction Comments fa Rung Comments Page Title F Address Symbol Picker E Symbol Groups APP Figure 2 RsLogix Programming Environment To begin the setup a new programming project should be initialized In RsLogix using the appropriate selections for processor type version serial port setup etc For brevity the details of these steps have been omitted Page 3 of 6 In order to configure the MicroLogix s Ethernet port double left click the Channel Configuration icon in the Project leftmost Frame The Channel Configuration window will appear Select the Channel 1 tab and enter the setup parameters as shown in Figure 3 It is important to note that the default static IP Address of the EtherMeter is 192 168 1 140 Therefore in this example 192 168 1 191 is entered as the static IP Address of the MicroLogix although any non conflicting IP Address on the same 192 168 1 xxx subnet could be used Channel Configuration General ChannelO Channel 1 Channel 2 Driver Hardware Address MEME Network Link ID 0 I
3. 3 so this value is only rendered correctly in the context of a single 32 bit register in L12 1 Page 5 of 6 Data File N7 dec INTEGER 7944 1525 i Columns 4 F Dese Properties Saige Help Figure 6 Register Display Windows Realtime Notes When setting up EtherNet IP communications between the MicroLogix PLC and EtherMeter it is important that only one message instruction to the EtherMeter be programmed per ladder rung Use of more than one message instruction per ladder rung to the EtherMeter may result in inconsistent communications Page 6 of 6
4. File is required Next the MultiHop tab should be selected and the To Address should be entered as 192 168 1 140 which is the IP Address of the EtherMeter in this example The MultiHop tab is shown in Figure 5 4 MSG MG9 0 1 Elements Ins Add Hop Del Remove Hop To Address Type To Address This MicroLogix Channel 1 EtherNet IP Device str 192 168 1 140 Figure 5 Message Configuration Window MultiHop Tab In Rung 2 the eight 16 bit words contained in the N7 registers are copied into the L12 registers which are used for holding long 32 bit integers Results After the Ethernet port is configured and the ladder logic is written the program should be downloaded into the MicroLogix and the PLC should be placed into Run Mode In this example the EtherMeter is reading two encoded meter registers As documented in the EtherMeter User Manual the totalization register contents are never scaled by the EXPn multiplier so as to eliminate the possibility of 32 bit overflow conditions The following meter data is applicable to this example Meter 1 Total 1 9 GAL Register Contents 19 Meter 2 Total 9999999 2 GAL Register Contents 99999992 Meter 1 Flow Rate 0 GPM Register Contents 0 Meter 2 Flow Rate 0 GPM Register Contents 0 Figure 6 displays screen snapshots of the N7 and L12 register contents Note that the large value for Meter 2 99999992 spans two 16 bit registers N7 2
5. P Address 192 168 1 191 Subnet Mask 255 255 255 0 Gateway Address 192 168 1 1 User Provided Web Pages Default Domain Name tarti ta File N F Primary NameServer 0 0 0 0 ganone Number of Pages Secondary NameServer O 0 0 0 Protocol Control BOOTP Enable J DHCP Enable Msg Connection Timeout x 1mS 15000 V SNMP Server Enable SMTP Client Enable Msg Reply Timeout x 1m5 3000 V HTTP Server Enable a MV Auto Negotiate Port Setting 10 100 Mbps Full Duplex Half Duplex X Inactivity Timeout x Min Contact Location Figure 3 Channel 1 Ethernet Configuration Window Ladder Logic In Rung 0 a self resetting one second timer is created to set up the polling interval although a shorter or longer polling interval could be selected depending upon the application In Rung 1 the one second timer is used to trigger the message instruction to the EtherMeter A double left click on the Setup Screen button of the MSG Block causes a popup window to appear as shown in Figure 4 The setup parameters should be entered as shown in the figure Within the popup window first the General tab should be selected and the parameters on its page should be entered as instructed below The General tab is shown in Figure 4 4 MSG MG9 0 1 Elements This Controller Control Bits Channel Ignore if timed sa TO o Communication Command 500CPU Read B
6. are configuration is illustrated in Figure 1 Page 1 of 6 rrr rar CEEE Ds Mi a s vs ye rer oe p SOLAR OR AC Ye k a TOUCH READ nedi sensus COMPATIBILITY Figure 1 EtherNet IP Communication Demonstration Panel MicroLogix 1400 EtherMeter Hardware and Wiring Configuration 5 h EtherNet IP is a trademark of ControlNet International Page 2 of 6 MicroLogix Ethernet Port Port 1 Configuration Within a MicroLogix PLC communication setup is performed within the RsLogix Programming Environment Figure 2 displays a screen snapshot of a simple ladder logic program that is designed to poll the two 2 totalization and two 2 flow rate registers of an EtherMeter deposit the data into the N7 xx integer 16 bit registers and then copy the data into the L12 xx long integer 32 bit registers RSLogix Micro Starter EMETERO RSS File Edit View Search Comms Tools Window Help ar ed St a a amp RIV R AQollsl lle OFFLINE m e CFT ADD SUE MUL OW O0R HEG TOD FRO GCO gt Mo Edits i Node 1d 4l k Compute Math 4 Movelogcal 4 File Shift gt EMETERO2 RSS Seles fs LAD 2 Project TOM Timer On Delay Timer T40 Time Base 1 0 T Frocessor Status Preset l TA Function Files Acom ALE 10 Configuration Bi Channel Configuration J Program Files Bi syvsa Read Write Message H syvsi MSG File MG 0 amp LAD 2 sehip Screen Data Files Ba Cross Reference c0 OUTPUT 1 4
7. resk Connection K 0 Data Table Address Awaiting Execution EW o Size in Elements B Error ER 0 Target Device Message done DN Message Timeout Message Transmitting ST o Data Table Address Message Enabled EN 0 Local Remote MultiHop Routing Information File Rl R110 0 Eror Error Code Hex 0 Error Description No errors Figure 4 Message Configuration Window General Tab Page 4 of 6 Under the This Controller heading note that the selected Channel is Channel 1 Integral which corresponds to the MicroLogix s Ethernet port The selected Communication Command is SOOCPU Read as the EtherMeter emulates a SLC 500 The selected target data table address within the MicroLogix is N7 0 although a different memory location could be chosen The Size in Elements is entered as 8 8 x 16 bit words because in this example four 32 bit words are requested from the EtherMeter Total1 Total2 Flow1 Flow2 Under the Target Device heading note that the Data Table Address is entered as N7 0 as this is the desired beginning memory location within the EtherMeter For the complete memory map of the EtherMeter please refer to the User Manual or Setup Menu For Local Remote Local should be selected For Routing File RI10 0 is entered although an alternate Routing Information File could be chosen No manual editing of the Routing Information
Download Pdf Manuals
Related Search
Related Contents
Sony MHC-GSX75 User's Manual チャートレス記録計 (形式:73VR3100) 取扱説明書 - M Ressources Webmaster Wireless Magnetic Switch Sensor Manual User Manual Manual del usuario Manual do Usuário Bosch TDS3761GB steam ironing station Termo de Referência User guide for TF7700HCCI MESA MFL3020EECSD Installation Guide : Free Download, Borrow, and Streaming : Internet Archive Copyright © All rights reserved.
Failed to retrieve file