0 evaluări0% au considerat acest document util (0 voturi)
162 vizualizări16 pagini
This document will describe in detail how to configure and program the MicroLogix 1100 for Modus communications to a PowerFlex 4 / 40 drive. It will also illustrate communications $ia %ther&et to a PanelView Plus for control. -oc.well / utomation assumes no patent liabilit with respect to use of information+ circuits+ e0uipment+ or software described in this text.
Descriere originală:
Titlu original
Controlador de Mensajeria Entre Plc Micrologix y Variador Power Flex 4
This document will describe in detail how to configure and program the MicroLogix 1100 for Modus communications to a PowerFlex 4 / 40 drive. It will also illustrate communications $ia %ther&et to a PanelView Plus for control. -oc.well / utomation assumes no patent liabilit with respect to use of information+ circuits+ e0uipment+ or software described in this text.
This document will describe in detail how to configure and program the MicroLogix 1100 for Modus communications to a PowerFlex 4 / 40 drive. It will also illustrate communications $ia %ther&et to a PanelView Plus for control. -oc.well / utomation assumes no patent liabilit with respect to use of information+ circuits+ e0uipment+ or software described in this text.
to PowerFlex 4/40 drive and EtherNet to Paneliew Plus V1.2 This document will describe in detail how to configure and program the MicroLogix 1100 for Modus communications to a Power!lex "#"0 dri$e. This document will also illustrate communications $ia %ther&et to a PanelView Plus for control. 'reation (ate) 11/30/2005 ecause of the $ariet* of uses for this information+ the user of and those responsible for appl*ing this information must satisf* themsel$es as to the acceptabilit* of each application and use of the program. ,n no e$ent will -oc.well /utomation be responsible or liable for indirect or conse0uential damages resulting from the use or application of this information. The illustrations+ charts and examples shown in this application note are intended solel* to illustrate the principles of programmable controllers and some of the methods used to appl* them. Particularl* because of the man* $ariables and re0uirements associated with an* particular installation+ -oc.well /utomation cannot assume responsibilit* or liabilit* for actual use based upon the illustrations used and applications. -oc.well /utomation assumes no patent liabilit* with respect to use of information+ circuits+ e0uipment+ or software described in this text. -eproductions of the contents of this application note+ in whole or in part+ without the express written consent of -oc.well /utomation are prohibited. !oftware and Firmware "sed #ll exam$les shown were develo$ed using %!Logix &00 v'(0 and %!iew !tudio v4(0 )ocument Pur$ose *his document is not a manual or training material+ ,ut an #$$lication Note+ which could ,e useful in hel$ing a %oc-well #utomation customer with configuring and $rogramming communications via ModBus to a PowerFlex 4/40 drive and via Ethernet to a Paneliew Plus( .ntended #udience *his document is to ,e used ,/ %oc-well #utomation em$lo/ees and customers su$$orting and selling the MicroLogix 1100+ PowerFlex 4/40 and/or Paneliew Plus( "sers are ex$ected to have a through understanding and $rogramming ex$erience with %!Logix &00 and %!iew !tudio( *his document is not intended for ,eginning $rogrammers+ man/ assum$tions of -nowledge and how to $rogram are made within this document( Page 0of 16 MicroLogix 1100 communications via ModBus to PowerFlex 4/40 drive and EtherNet to Paneliew Plus V1.2 !/stem La/out 9300-RADES %thernet ModBus -1"23 1763-NC01 %thernet 'onnect pin " 4 3 of -5"3 to Pin " 4 3 of 16678&'01 Locator Pin 1 Pin " Pin 3 !-9&T N1*E2 Multi8(rop or (ais* 'haining of de$ices is permitted. Proper installation and termination of multi8drop networ. is re0uired. 1ee specific product documentation for proper installation. Page 3of 16 MicroLogix 1100 communications via ModBus to PowerFlex 4/40 drive and EtherNet to Paneliew Plus V1.2 Programming the MicroLogix 1100 N1*E2 The -1Logix 300 $6.0 pro:ect can be downloaded from the -oc.well /utomation ;nowledge database and used as is or edited to fit *our exact application needs. 1. 'reate a new -1Logix 300 application for a MicroLogix 1100. 2. 'onfigure 'hannel 0 communications for Modus as shown below. .MP1%*#N* N1*E4s52 o The aud rate and parit* of the MicroLogix 1100 must match the Modbus de$ice. o <se of the 16678'L8&'01 de$ice on 'hannel 0 of the MicroLogix 1100 automaticall* con$erts from -1272 to -1"23. o =hen ma.ing *our Protocol 'ontrol selection under 'ontrol line *ou must be sure to properl* select > &9 ?andsha.ing @"23 &etwor.AB when using the 16618'L8&'01 otherwise *ou ma* encounter issues such as M1C instructions generating error codes of 76?. Page 4of 16 MicroLogix 1100 communications via ModBus to PowerFlex 4/40 drive and EtherNet to Paneliew Plus V1.2 Page &of 16 MicroLogix 1100 communications via ModBus to PowerFlex 4/40 drive and EtherNet to Paneliew Plus V1.2 7. 'onfigure 'hannel 1 @%ther&etA communications as shown below. &9T%) ,f using a MicroLogix 1100 out of the box *ou must download the program $ia the -1272 cable @16618'L8PM02A or using the 99TP utilit* first configure the MicroLogix 1100 for the abo$e ,P address in order to download $ia %ther&et. Page 6of 16 MicroLogix 1100 communications via ModBus to PowerFlex 4/40 drive and EtherNet to Paneliew Plus V1.2 ". %nter the following rungs for Program !ile ) L/( 2 8 MainDProg 3. 'reate the following subroutine L/( files a. L/( 7 E L'( b. L/( " E M9(<1 c. L/( 3 E P!"D'&T-L 6. %nter the following ladder logic for L/( 7 E L'(. This subroutine will place onto the L'( displa* of the MicroLogix 1100 the actual output fre0uenc* of the Power!lex dri$e. Page 'of 16 MicroLogix 1100 communications via ModBus to PowerFlex 4/40 drive and EtherNet to Paneliew Plus V1.2 6. %nter the following ladder logic for L/( " E M9(<1. This subroutine will perform the Modus messaging to and from the Power!lex dri$e. Page 7of 16 MicroLogix 1100 communications via ModBus to PowerFlex 4/40 drive and EtherNet to Paneliew Plus V1.2 2. 'onfigure each of the M1C instructions as shown below. -emember for Power!lex "#"0 dri$es *ou must add a $alue of > 1 > to the Modus register @M (ata /ddressA that is listed in the Power!lex manual. M!8 9ommand :ord M!8 !$eed %eference Page ;of 16 MicroLogix 1100 communications via ModBus to PowerFlex 4/40 drive and EtherNet to Paneliew Plus V1.2 M!8 Logic !tatus M!8 Feed,ac- 41ut$ut Fre<uenc/5 Page 10of 16 MicroLogix 1100 communications via ModBus to PowerFlex 4/40 drive and EtherNet to Paneliew Plus V1.2 M!8 )rive Faults F. %nter the following ladder logic for L/( 3 E P!"D'&T-L. This ladder lin.s ob:ects on the PanelView Plus to the ladder logic for control of the Power!lex dri$e. Page 11of 16 MicroLogix 1100 communications via ModBus to PowerFlex 4/40 drive and EtherNet to Paneliew Plus V1.2 That completes the MicroLogix programming. 9onfiguring the Paneliew Plus EtherNet address( 1. <sing the PanelView Terminal configure *our PanelView Plus for the following ,P /ddress and sub8net mas.. ,P /((-%11) 1F2.162.1.3 1<8&%T M/1;) 233.233.233.0 Page 10of 16 MicroLogix 1100 communications via ModBus to PowerFlex 4/40 drive and EtherNet to Paneliew Plus V1.2 2. Programming the Paneliew Plus N1*E2 The following is a good example of a t*pical control screen for a dri$e. There are man* ob:ects contained in this screen. =e will highlight the creation of :ust a few. The -1View 1tudio application bac.8up file can be downloaded from the -oc.well /utomation ;nowledge database and used as is or edited to fit *our exact application needs. 1. 'reate a new PanelView Plus application !or this example a PanelView Plus 600 will be used. 2. 'onfigure -1Linx %nterprise for communications to the MicroLogix 1100. ,f *ou ha$e the MicroLogix 1100 connect it to the %thernet switch along with *our computer+ this will allow *ou to browse directl* to the controller. ,f *ou do not ha$e the controller connected to *our computer then *ou will need to manuall* add the MicroLogix 1100. 7. Locate the -1Linx %nterprise branch on *our pro:ect tree and double8clic. on the >'ommunications 1etupB. ". <nder shortcuts clic. >/ddB and enter the shortcut name >Micro1B Page 13of 16 MicroLogix 1100 communications via ModBus to PowerFlex 4/40 drive and EtherNet to Paneliew Plus V1.2 3. 'lic. on >%thernet+%thernetB under the local tab. ,f connected and properl* configured the MicroLogix 1100 will appear. /gain if *ou do not ha$e the controller *ou will need to manuall* add the de$ice. This can be done b* -ight8'lic.ing on >%thernet+%thernetB. 6. &ow clic. >'op*B to cop* this configuration to the >TargetB tab. The >TargetB configuration is what the PanelView Plus will use for communications when the pro:ect is downloaded to the de$ice. 6. 'lic. >9;B and accept the -1Linx %nterprise configuration changes. 2. &ow create a new displa* screen F. /dd a >'lose 1creenB button. This will close the running application and allow *ou to return to the terminal configuration screen. &ormall* this button ma* be hidden behind a graphic or placed on a maintenance screen so onl* authoriGed users can actuall* close the running application. Page 14of 16 MicroLogix 1100 communications via ModBus to PowerFlex 4/40 drive and EtherNet to Paneliew Plus V1.2 10. &ow add a momentar* >1tartB button to allow for starting the Power!lex (ri$e. 11. 'onfigure this button 1tate 0 caption to read >1tartB and change the bac. color to green. 12. 'lic. on the connections tab and enter the following path to the MicroLogix 1100. @&ote) ,n the 'P-F release of -1View+ browsing directl* to the MicroLogix 1100 for addresses will be a$ailableA The Value+Tag#%xpression H I))Jmicro1Kb27)0#0L 17. /dd additional Momentar* Push uttons for 1T9P+ 59C+ !9-=/-(+ -%V%-1% using the 'onnections paths shown below. a. 1T9P H I))Jmicro1Kb27)0#1L b. !9-=/-( H I))Jmicro1Kb27)0#7L c. -%V%-1% H I))Jmicro1Kb27)0#2L d. 59C H I))Jmicro1Kb27)0#"L Page 1&of 16 MicroLogix 1100 communications via ModBus to PowerFlex 4/40 drive and EtherNet to Paneliew Plus V1.2 1". /dd a Trend ob:ect to trend the output fre0uenc* of the Power!lex dri$e as shown below. 13. (ouble8'lic. on the ob:ect and open the connections tab. %nter the following path for the Power!lex output fre0uenc*. I))Jmicro1L&12)7L 16. There are se$eral wa*s to show dri$e faults. ?ere is :ust one possible wa*. 'reate a Text 9b:ect and enter the text >'ommunications LossB. 16. &ow right8clic. on the Text 9b:ect and select $isibilit* as shown below. Page 16of 16 MicroLogix 1100 communications via ModBus to PowerFlex 4/40 drive and EtherNet to Paneliew Plus V1.2 12. %nter the path to the MicroLogix 1100 and the (ata Table address of the MicroLogix that contains the (ri$es !ault code. ,nclude the fault code number for a >'ommunications LossB fault in the Power!lex (ri$e as shown below. /dditional Text 9b:ects can be added and placed directl* one on top of the other for each Power!lex fault *ou wish to displa*. 9nl* when a fault is present in the dri$e will the Text 9b:ect actuall* be displa*ed. ,n the -1View 1tudio application include on the -oc.well /utomation ;nowledge (atabase other areas of the screen also show some techni0ues used to build ad$anced screens. %xamine how the 'ommanded 1peed is being displa*ed and how the ,ncrease and (ecrease buttons are connected bac. to the speed control of the Power!lex dri$e. %xamine the L%(s and (ispla* of the Power!lex dri$e. %ach L%( as well as the (ispla* of the Power!lex has been o$er8laid with ob:ects to exactl* imitate how the real Power!lex displa* will loo. when $iewed in the mounting enclosure#panel.