Home
An-ea-004 - AutomationDirect Technical Support
Contents
1. E ata os inthe Import File Device ame Column A Potoct fd TAG DATATYPE ASCISTRING ASCILSTRING Append Text tst s sSY BUD MT 16 BCD INT 16 BCD INT 32 BCDINT 32 DSCREATE DISCRETE 25 Your I O and Alias Tags are now available in the C more Tag Database for use with graphic display objects Page 27 of 33 THIS INFORMATION PROVIDED BY AUTOMATIONDIRECT COM TECHNICAL SUPPORT IS PROVIDED AS IS WITHOUT A GUARANTEE OF ANY KIND These documents are provided by our technical support department to assist others We do not guarantee l Direc oOo that the data is suitable for your particular application nor do we assume any responsibility for them in your application Tag Name Database _ Display System Tags Tag Name LOCAL 1 DATA LOCAL 1 1 04T4 0 LOCAL 1 1 04T4 1 LOCAL 1 04TA2 LOCAL 1 04TA 3 LOCAL 1 1 04TA 4 LOCAL 1 1 FAULT MOTOR STATUS 1 MOTOR_STATUS_2 MOTOR STATUS 3 MOTOR STATUS 4 2 a 4 5 6 T E 4 Display Internal Tags _ Highlight Data Type Signed int 32 Discrete Discrete Discrete Discrete Discrete Signed int 32 Discrete Discrete Discrete Discrete Highlight Unused T ags PLC Address DIN T Local 1 1 Data BOOLLocal 1 1 D ata 0 BOOLLocal 1 1 Data 1 BOOLLocal 1 1 D ata 2 BOOLLocal1 Data 3 BOOLLocal 1 1 D ata 4 DINT Locak1 1 F ault BOOLMOTOR_ STATUS 1 BOOLMOTOR_STATUS_2 BOOLMOTOR_ STATUS 3 BOOULMOTOR_ STATUS 4 Device Name DEO EWOO EWO
2. DF1 DF1 EtherNet IP Tag Based Tag Based C more Full Half DHSS a ere at Tac Based DF1 DF1 Allen Bradley Support Duplex Duplex Vo tenes sent Client FullDuplex Half Duplex SLC 5 01 5 02 SLC 5 03 SLC 5 04 SLC 5 05 Series AOS501 FRN5 amp Higher MicroLogix 1000 1200 1500 MicroLogix 1100 PLC 5 ControlLogix CompactLogix FlexLogix 1 Ethernet available on full featured C more panels only R units do not support Ethernet 2 AlC module from Allen Bradley required for this connection 3 NET ENI module from Allen Bradley required for this connection Listed below are explanations as to when each protocol should be used DF 1 Full Duplex Used for point to point serial connections If you are only using 1 C more panel and PLC this is the most economical method of connecting C more to an AB PLC DF 1 Half Duplex This is an economical method for connecting 1 C more panel to multiple PLCs Note that none of the Allen Bradley PLCs have RS 422 or RS 485 for their serial connection so a RS 232 to RS 422 485 converter such as the FA ISOCON is required for each PLC Generic EtherNet IP Server This driver is atypical in that the messaging is initiated by the PLC instead of C more The C more panel is treated basically like a Remote I O drop It contains a block of Input Words and Output Words and the PLC either reads or writes this data back and f
3. To keep this Format which leaves out any incompatible Features click Yes To preserve the Features click Wo Then save a copy in the latest Excel Format To see what might be lost click Help 22 Open the C more Programming Software and load your project or a new project e Note Project must use the Allen Bradley EtherNet IP Tag Based driver 23 File gt Import gt Tag Name Database Page 26 of 33 THIS INFORMATION PROVIDED BY AUTOMATIONDIRECT COM TECHNICAL SUPPORT IS PROVIDED AS IS WITHOUT A GUARANTEE OF ANY KIND These documents are provided by our technical support department to assist others We do not guarantee that the data is suitable for your particular application nor do we assume any responsibility for them in your application C more Programming Software NewProject3 eap 1 Scre Edit View Tool Object Screen Database Setup Panel Start Project TH o Open Project Chril 0 Close Project Save Project Chri 5 Save Project As Save Project As Protected G Export j Message Database Address Book Language Edit Simulation 24 Standard Import Settings Import Tag name Database from Excel CS File File Path G I0 Import Utility csv cal Import Option Overwrite Existing Tags CS 6L5 Import Option From DirectS OFT My file contains a Header Row Device BEENS Default Tags will be imported to the Device specified Tet Aow is rot i ted
4. B 7 6 5 4 3 2 1 PEGDA eTDRARaG SiR GGG 4 25 donot use 24 donot use 23 donot use 22 donot use 21 do not use 20 do not use 19 donot use 18 do not use 1f donot use 16 do not use 15 donot use 14 donot use B do not use T do not use 6 do not use Logic GND 4 do not use 3 RAD 232C 2 TXD 232C 4 1 Frame GND 15 do not use 14 do not use 13 do not use 12 do not use 11 do not use 10 do not use 9 do not use Note Use the above wiring diagram if you need to make your own cable We recommend using 22 AWG shielded cable Page 9 of 33 THIS INFORMATION PROVIDED BY AUTOMATIONDIRECT COM TECHNICAL SUPPORT IS PROVIDED AS IS WITHOUT A GUARANTEE OF ANY KIND j These documents are provided by our technical support department to assist others We do not guarantee g that the data is suitable for your particular application nor do we assume any responsibility for them in your application EA DH485 CBL Allen Bradley SLC500 5 01 02 03 DH 485 To Gore Touch To AB SLC500 Point to Point DH 485 Port RS 485A p n EA DH485 CBL Wiring Diagram RJ45 amp pin a Phone Plug 1 TXD RXD SPBC i 7 2 TXD RXD TXD RXD Le 8 do not use 3 do not use a r T do not use 4 Signal GND MORA i D 6 LE eS 13 Termination 5 LE 4 gt sp 5 Logic GND L 12 SD RS485 6 donot use 4 donotuse 11 SD RS485 7 Signal GND 3 do not use 10 RD R54
5. BOOL LS BOOL OV BOOL ER DINT PRE DINT ACC END_DATATYPE DATATYPE COUNTER BOOL CD BOOL DN BOOL OV BOOL UN DINT PRE DINT ACC END_DATATYPE So by default the C more programming software will import the TIMER and COUNTER Pre Defined data types Page 20 of 33 THIS INFORMATION PROVIDED BY AUTOMATIONDIRECT COM TECHNICAL SUPPORT IS PROVIDED AS IS WITHOUT A GUARANTEE OF ANY KIND These documents are provided by our technical support department to assist others We do not guarantee that the data is suitable for your particular application nor do we assume any responsibility for them in your application To add more Pre Defined data types you can type them in using the format shown above or you can open up a master template file called LS5KPreDefine_template txt This file can be downloaded from Automationdirect com on the Free Software Upgrades section of the tech support page It will be listed under the Tools and Utilities section This file can also be found in the Help folder from the downloaded Install zip file or on the C more Programming Software CD Here is an example of how to add the SELECT data type to the list of the Pre Defines that will be imported Open up the L5KPreDefine_template txt file and scroll down to the DATATYPE SELECT heading as shown below i L5KPreDefine_template txt Notepad Fie Edit Format View Help WLEADINV ZETALEADINV HIGHLOWLIMSINV TIMINGMODEINV RTSMISSED RTSTIMEINV
6. PLC will not be necessary Only in applications where very fast performance is desired or larger C more projects on the bigger panels 12 inch or 15 inch may necessitate more careful planning when designing the system In order to understand how to optimize the communications between C more and the PLC some fundamental knowledge of how and when communications are initiated is necessary Writing Data to the PLC C more writes data to the PLC infrequently in most applications 1 Screen objects only write to the PLC when triggered by the user such as when a Pushbutton object is pressed or released the enter key is pressed in a Numeric Entry object the Slider object is moved etc 2 The second way that C more will issue a write to the PLC is through the Event manager Tag Copy function This can be triggered by a value change of a tag a screen change or time scheduled See the Event manager functions for more details 3 The third way that C more will write to the PLC is through the Panel To PLC tags These typically only occur on a value change and happen infrequently most of the time All in all writes occur rarely enough in most cases that they typically do not need to be considered when trying to optimize communications Reading Data from the PLC There are several different functions that will cause C more to issue read requests from the PLC 1 The most common are the objects on the current screen that is being displayed Th
7. RTSTIMESTAMPINV DELTATINV DATATYPE SELECT BOOL ENABLEIN REAL IN1 REAL IN2 BOOL SELECTORIN BOOL ENABLEOUT REAL OUT END_DATATYPE DATATYPE SELECTABLE_NEGATE BOOL ENABLEIN REAL IN BOOL NEGATEENABLE BOOL ENABLEOUT OUT Use the cursor and highlight the entire section for the SELECT data type beginning at DATATYPE and ending at END_DATATYPE P L5KPreDefine_template txt Notepad Fie Edit Format View Help BOOL WLEADINV BOOL ZETALEADINV BOOL HIGHLOWLIMSINV BOOL TIMINGMODEINV BOOL RTSMISSED BOOL RTSTIMEINV BOOL RTSTIMESTAMPINV BOOL DELTATINV END_DATATYPE DATATYPE SELEC 310 06 i ENABLEIN REAL REAL BOOL SELECTORIN BOOL ENABLEOUT REAL END_DATATYPE DATATYPE SELECTABLE_NEGATE BOOL ENABLEIN REAL IN BOOL BOOL REAL END_DATATYPE NEGATEENABLE ENABLEOUT OUT Click on Edit and Copy to copy the highlighted area Then click over in the L5KPreDefine txt file and go to the bottom and click on Edit and Paste to make the L5KPreDefine file look like below Page 21 of 33 THIS INFORMATION PROVIDED BY AUTOMATIONDIRECT COM TECHNICAL SUPPORT IS PROVIDED AS IS WITHOUT A GUARANTEE OF ANY KIND These documents are provided by our technical support department to assist others We do not guarantee that the data is suitable for your particular application nor do we assume any responsibility for them in your application BOOL BOOL BOOL BOOL DINT DINT END_DATATYPE DATATY
8. nor do we assume any responsibility for them in your application Edit View Tool Object Screen Database Setup Panel Start Project Open Project Crrl 0 Close Project Save Project Cbrl 5 Save Project 4s Save Project As Protected Export Message Database Address Book Simulation Language Edit Project Transfer CErl T Project Data Print Ctrl P Print Preview Library Print Setup j Recipe Sheet Project Information Project Option 1 Of126 eap 2 Ekun eap 3 Howmet eap 4 ScreenCapturecrash ap Exit Page 18 of 33 THIS INFORMATION PROVIDED BY AUTOMATIONDIRECT COM TECHNICAL SUPPORT IS PROVIDED AS IS WITHOUT A GUARANTEE OF ANY KIND These documents are provided by our technical support department to assist others We do not guarantee that the data is suitable for your particular application nor do we assume any responsibility for them in your application 4 Import Tag Database into C more Programming Import gt Tag Database gt Select LSK File Import Tag name Database from Excel CSV File E E x File Fath CAMy Documents Smart_BeltL5k a Import Option LEE Import Option Device Devon Add Protocol Allen Bradley DF1 Full Duplex Tag Based Control Compa Append Text i kiyfile contains a Header Row Import Array Element Count Limit 1 30000 lst Row is not imparted fanon Alias Option Overwrite Existing Tags
9. 1756_D1 1 0 DINT DINT BOOL BOOL BOOL BOOL BOOL BOO Style Description Decimal Decimal Decimal Decimal Binary Binary Decimal Decimal Decimal Decimal Decimal Decima 8 Select the last I O tag desired Page Down or Mouse Down as needed Controller Tags 10_Testing controller Scope 10_Testing contralle l Show Show All amp Alias For P Tag Name 9 Release the shift key those tags should remain selected 10 Edit gt Copy MOTOR_STATUS_ MOTOR_STATUS_2 MOTOR_STATUS_3 MOTOR_STATUS_4 Local 1 Local 1 Fault Local 1 Data Local 1 Data 0 Local1 I Data 1 Local 1 Data 2 Local 1 Data 3 Local 1 Data 4 Local 1 Data 0 Local 1 1 Data 1 Local 1 I Data 2 Local 1 I Data 3 Sott Tag Name x Base Tag Local 1 Data 0 Local 1 Data 1 Local 1 1 Data 2 Local1 Data 3 BOOL BOOL BOOL BOOL AB 1756_DI 1 0 DINT DINT BOOL BOOL BOOL BOOL BOOL Decimal Decima Decimal Decimal Binary Binary Decimal Decimal Decimal Decimal Decimal e Note If you only select I O tags the Edit gt Copy feature will not be available you must include a standard tag within your selected block to be copied Page 24 of 33 THIS INFORMATION PROVIDED BY AUTOMATIONDIRECT COM TECHNICAL SUPPORT IS PROVIDED AS IS WITHOUT A GUARANTEE OF ANY KIND These documents are provided by our technical support department to assist others We do not guarantee that the data
10. 2 9 i fl E RUN pn A Path lt none gt amp almo a T aM 2 6i_ _TimerCounter__ inputOufput_X Compare Controller 10_Testing Controller Tags 1O_Testing controller Faf Controller Tags al Controller Fault Handler Scope 0_Testing controlle v Show how All Sort Tag Name G Power Up Handler BEE ag Name Alias For E ase Tag Bi a Style Description F oy es ntek EE MOTOR_STATUS_1 Local1 Data 0 Local1 Data 0 Decimal aie al Local 1 l Data 1 Locat1 l Data 1 BOOL Decimal 3 MainProgram Unscheduled Programs E Local 1 Data 2 Local 1 Data 2 BOOL Decimal Motion Groups A MOTOR_STATUS_4 Local 1 Data 3 Local 1 Data 3 BOOL Decimal Ungrouped Axes Locat AB 1756_DI 1 0 Trends Locakt c AB 1756_DI C 0 Sip i ip r optional Sort the tags by right clicking thie Tag Name field then Sort Find your I O Tags starting with Local 5 Expand the tree to display all the tags that you require only visible tags will be copied you must expand any User Define Data Types to their basic elements M Page 23 of 33 THIS INFORMATION PROVIDED BY AUTOMATIONDIRECT COM TECHNICAL SUPPORT IS PROVIDED AS IS WITHOUT A GUARANTEE OF ANY KIND These documents are provided by our technical support department to assist others We do not guarantee that the data is suitable for your particular application nor do we assume any responsibility for them in your application Controller Ta
11. C more programming SOftWaPre ccceseeseeeeeees 17 a Importing RSLogix L5K file Standard method cccsseeeeseeeeeeeeeeees 17 b Importing through C more CSV file used for bringing in I O Tags with Aliases Bianca te eee ee i eee E E E cera 23 Coa AI UU es FICE cantetataeategens eet E anit neta tetota emai ER 28 6 Importing SLC MicroLogix and PLC5 Symbols ccccecceseeeeseeeeseeeenees 28 Step by Step Exporting Symbols from RSLogix500 and Importing into C more 30 7 Optimizing communications between C more and Allen Bradley PLCs 32 a Optimization for non Tag based PLCs SLC and MicroLogix 32 b Optimization for Tag based PLCs Control Compact FlexLogix PLCs 33 Os WV CESIOMMAISTON aa 33 THIS INFORMATION PROVIDED BY AUTOMATIONDIRECT COM TECHNICAL SUPPORT IS PROVIDED AS IS WITHOUT A GUARANTEE OF ANY KIND These documents are provided by our technical support department to assist others We do not guarantee that the data is suitable for your particular application nor do we assume any responsibility for them in your application 1 Compatible Allen Bradley PLCs C more supports 5 Allen Bradley PLC drivers DF1 Full Duplex DF1 Half Duplex DH485 EtherNet IP Client driver and EtherNet IP Server driver generic A compatibility matrix is shown below that illustrates which Allen Bradley PLCs are supported by C more with the appropriate communications protocol Generic
12. Tags with Aliases The information below is obtained from Application Note AN EA 002 It also requires a spreadsheet called IO Import Utility xls that can be found by clicking on the filename These documents can be found in the Tech support application note section of our website http support automationdirect com technotes html Starting with C more Programming Software Version 2 1 it will import Alias Tags and Boolean I O Tags These can be imported directly using the L5K file generated by Save As from within RSLogix Only none Boolean I O Tags will need any special handling by the user This document describes a method to generate those tags for C more quickly and easily without having to retype them This process will require licensed installs of the following software RSLogix5000 Microsoft Excel and the C more Programming Software It is desirable to assign Alias Tag Names to any I O that is accessed by the Operator Panel This can reduce the total number of tags residing in the Panel and also prevent the need to make changes in the panel if the I O is remapped at a later time ex card slot number change Within the RSLogix Tag Viewer 1 Open the Controller Tags window by double clicking in the Controller Organizer 2 Select the Edit Tags tab along the lower edge of the window fe RSLogix 5000 IO_Testing 1756 L61 File Edit Yiew Search Logic Communications Tools Window Help alsa S 4 le lo BRIS le VIB
13. and 5 02 NOTE As of version 2 10 Long and String data types were not yet supported They should be available by Q3 2008 Refer to the release notes of the C more software on our website to see when these data types are supported n h gt lt X lt i b Syntax for entering SLC MicroLogix and PLC5 addressing into C more programming software Tag Name Add x No m aj pm Dp Tag Information Device Name Devon Tag Name N7 0 Tag Data Type Signed int 16 Characters 140 P Retentive PLC Address Memory Type Address IN z o Add Close Help Syntax for Integer data type file 7 word O N7 0 Page 3 of 33 THIS INFORMATION PROVIDED BY AUTOMATIONDIRECT COM TECHNICAL SUPPORT IS PROVIDED AS IS WITHOUT A GUARANTEE OF ANY KIND These documents are provided by our technical support department to assist others We do not guarantee that the data is suitable for your particular application nor do we assume any responsibility for them in your application i Tag Name Edit NFO PHaracters a P Retentive D Signed int 16 Pharacters a Retentive B3 0 0 Discrete H Ej Retentie Syntax for Binary data type file 3 word 0 bit O B3 0 0 Page 4 of 33 A 4 THIS INFORMATION PROVIDED BY AUTOMATIONDIRECT COM TECHNICAL SUPPORT _ IS PROVIDED AS IS WITHOUT A GUARANTEE OF ANY KIND toma id n These
14. the C more programming software Page 6 of 33 THIS INFORMATION PROVIDED BY AUTOMATIONDIRECT COM TECHNICAL SUPPORT IS PROVIDED AS IS WITHOUT A GUARANTEE OF ANY KIND These documents are provided by our technical support department to assist others We do not guarantee that the data is suitable for your particular application nor do we assume any responsibility for them in your application Tag Name add O O O O O O XT No m 68 gt gt Tag Information Device Name Devon tt ti sts s sCCC Tag Name T40PRE s SCS Tag Data Type Signedint6 Characters jo y Retentive PLC Address Memory Type Address Flag T v 4 0 PRE v cone ee _ Syntax for Timer data type file 4 word 0 preset member T4 0 PRE The ACC member is also supported No M afi gt Pp Tag Informatio Device Name DEVOOT Tag Name T4 0 1T Tag Data Type Discrete Characters fio em Retentive PLC Addres Memory Type Address Flag IT 40 TT coe e Syntax for Timer data type file 4 word 0 timer timing flag T4 0 TT The EN and DN members are also supported No M lt fi gt gt Tag Informatio Device Name DEVOOT Tag Name C5 0 ACC Tag Data Type Signed int 16 7 Characters fio a P Retentive PLC Addres Memory Type Address Flag 5 0 acc v Close Help Syntax for Counter data type file 5 word 0 accumulated m
15. them in your application Allen Bradley SLC500 5 03 DH 485 AIC to Multiple C more Touch Panels using C more cables p n EA MLOGIX CBL EA SLC 232 CBL Allen Bradley p DH 485 Link Y SLC 5 03 Modular See manufacturer s litature for details PLC Controller e c AB 1761 NET AIC AB 1761 NET AIC AIC Advanced AIC Advanced Interface Converter Interface Converter Cmore EA MLOGIX CBL Cable a g T L N L gt N 2 a i To additional vi Cmore IE o Touch Panel SA C more ji t c AB 1747 CP3 RS 232 Cable Touch Panel Cmore C more ia ata EA SLC 232 CBL able Cable Note The above diagram shows connecting multiple C 4mare touch panels to an Allen Bradley DH485 AIC network using the AB AIC Advanced Interface Converter p n 1761 NET AIC Select the Allen Bradly DH485 AIC SLC500 MircroLogix driver in the C more Programming Software when starting the project Also set the AB channel configuration for DH485 Page 11 of 33 your application i THIS INFORMATION PROVIDED BY AUTOMATIONDIRECT COM TECHNICAL SUPPORT IS PROVIDED AS IS WITHOUT A GUARANTEE OF ANY KIND These documents are provided by our technical support department to assist others We do not guarantee that the data is suitable for your particular application nor do we assume any responsibility for them in Multiple Allen Bradley PLCs connected to multiple C more Touch Panels using AB Ethernet Network Interface p n 761 NET ENI wit
16. very thing but Aliasing creates another abstraction layer from tags such as I O tags that can and will change very often Aliasing is very useful for HMIs where the data point is needed but the constant hassle of changing the name can become tedious An example of an Alias in the RS Logix 5000 software is shown below Controller Tags Alias_Example controller E X Scope Alias_Example cont Show Show All Sot Alias For H P Tag Name Alias For A Type Style Local 1 ABT 756 D110 Local1 Fault DINT Binary 4Local 1 1 D ata DINT Binary Local 1 C AB 1 756 _D1 0 0 Photoeye Status Local 1 l Data DINT Binary Monitor Tags Edit Tags In the example above Photoeye Status is an Alias to the I O tag Local 1 I Data There are several Alias import options available in C more shown below Here is an explanation of these options Do not import Aliases This means simply that the C more programming software will not import any Alias tag names Import all Aliases amp Tags This means that the C more programming software will import everything that it can If there are many Alias tags in the project this method will result in Page 15 of 33 THIS INFORMATION PROVIDED BY AUTOMATIONDIRECT COM TECHNICAL SUPPORT IS PROVIDED AS IS WITHOUT A GUARANTEE OF ANY KIND These documents are provided by our technical support department to assist others We do not guarante
17. 85 2 donotuse 9 RD RS485 1 Frame GND Not The LE signal is wired in he cable as shown but not required for point to pant communications Note Use the above wiring diagram if you need to make your own cable We recommend Belden 9642 shielded cable or equivalent Allen Bradley SLCS00 5 01 02 O3 DH 465 AIC to Multiple C more Touch Panels RS 165A using C more cable p n EA DH485 CBL Allen Bradley yer T F DH 485 Link SLC 500 Modular See manufacturer s litature for details PLC Controller re ee ee A e a Channe 1 musi be H t io DHAAS o AB 1747 AIC AB 1747 AIC DH485 Link Coupler DH485 Link Coupler AB 1747 011 A Cable Cmore el ee C more Touch Panel hh ee Touch Panel C more C more EA DH485 CBL EA DH485 CBL Cable Cable Note The above diagram shows connecting multiple C meore touch panels to an Allen Bradley DH485 AIC network using the AB DH485 Link Coupler pin 1747 AlC Select the Allen Bradly DH485 AIC SLC500 MircroLogi driver in the C more Programming Software when starting the project Also set the AB channel configuration for DH485 Page 10 of 33 THIS INFORMATION PROVIDED BY AUTOMATIONDIRECT COM TECHNICAL SUPPORT IS PROVIDED AS IS WITHOUT A GUARANTEE OF ANY KIND These documents are provided by our technical support department to assist others We do not guarantee that the data is suitable for your particular application nor do we assume any responsibility for
18. APPLICATION NOTE THIS INFORMATION PROVIDED BY AUTOMATIONDIRECT COM TECHNICAL SUPPORT IS PROVIDED AS IS WITHOUT A GUARANTEE OF ANY KIND These documents are provided by our technical support department to assist others We do not guarantee that the data is suitable for your particular application nor do we assume any responsibility for them in your application Product Family Cmore Number AN EA 004 Subject Using Cmore HMI with Allen Bradley Date Issued 1020 2011 PLCS Revision A 1 Compatible Allen Bradley PLCS cccccceccccceeeeeeeeeeseeeeeseeeeeseeeeesaaeeeseeeeeas 2 2 Supported Data Types for SLC MicroLogix and PLCS ccceeeeeeeeeeeees 3 a COmpatible Data Type CMA eects tect a tact tie tanh tenet aa ttlemen hes 3 b Syntax for entering SLC MicroLogix and PLC5 addressing into C more programnmhg SONWANE T OET 3 Oe Gape DIIM S eaan a AA N 9 4 Control Compact FlexLogix Tag SuUpport ssssssesessesenneesnrnerrrrernrrenrnren enne 13 a Terminology Data types and memory tyPeS cccseceseeeeeeeeeeseeeseeeees 13 D a DSS a A A 13 k AMC ass a AA AT 13 We Preden de a femesen a CCM MPC ON ET mNTCEA Te Beat Brena erent ac eecns femeece 13 LIT PRU AY S E EAEE EN senate ale ace E A aces aetdal 14 IVs USCI OCIINGCst 22 ance ced cue aad aoe yaoi eee ae aie 14 Ve TIO TAGS erreen A AEE eee ees 15 Nie ANASINO essere ernieren er staat 15 Mils Program SCODE AGS erene a 16 5 Getting Logix Tags into
19. D 3 do not use n E 4 RXD E 1 5 do not use l 1 RxD amm 45 1x0 03S oho 1 11 12 A 6 do not use F2TxD DA Nonstandard keying 8 do not use Wiring Diagram 8 donot use T do not use 6 do not use 5 Logic GND 4 donot use 3 RAD 2320 2 TAD 2320 1 Fame GND Note Use the above wiring diagram if you need to make your own cable We recommend using 22 AWG shielded cable 15 donot use 14 donot use 15 13 donot use 12 do not use 11 do not use 10 do not use 9 do not use b E eo ae Allen Bradley SLC 5 03 04 05 ControlLogix CompactLogix FlexLogix DF1 RS 232C p n EA SLC 232 CBL To more Touch Panel PLO Poort D sub female D sub male 15 do not use 14 do not use effS 13 do not use a 12 do not use 11 do not use a Wiring Diagram 8 do not use T do mot use 6 do not use 5 Logic GND 4 do mot use 3 RXD 2320 SS a a i ee iiM do not use do not use do not use do not use RXD TAD enpe a E et i 2 TXD 232C shield A 4 Frame GND Note Use the above wining diagram if you need to make your own cable We recommend using 22 AWG shielded cable ka ooo G CEELI moo oH 10 do not use 9 do not use om a a el a a E E 5 Signal GND EA PLC5 232 CBL To more Touch Panel PLO Port To PLC 25 Pin Port Allen Bradley PLC5 DF1 RS 232C p n EA PLC5 232 CBL Wiring Diagram 3 2 1 0 g
20. D These documents are provided by our technical support department to assist others We do not guarantee that the data is suitable for your particular application nor do we assume any responsibility for them in your application b Optimization for Tag based PLCs Control Compact FlexLogix PLCs The Control Compact and FlexLogix PLCs are tag based PLCs The method of communications both serial and Ethernet involves sending the actual symbolic tag name in the request sent over the wire This means that the tag names themselves affect the speed of the communications by creating larger and or multiple requests to the PLC Program space tag names are not efficient Each tag name needs the PROGRAM header as well as the name of the program in front of the tag name This makes the size of the request much much larger hence requiring more requests to get multiple tags Therefore Controller scope tags should be used as much as possible Another method to reduce the size of the tag name requested without necessarily compromising the descriptive nature of a tag name is to use an Alias name in the C more software The alias name could be much shorter than the original tag name in the PLC The most effective method to reduce the number of requests from C more to the PLC is to use arrays in the PLC and then assign the C more tags to consecutive elements in the array of the PLC C more can then request multiple PLC tags with request This method will
21. Delete Unused Addr Add In Manager o Edit Device Codes Adjust Rung Offset Convert Rung Attachment Rebuild DB Page 30 of 33 THIS INFORMATION PROVIDED BY AUTOMATIONDIRECT COM TECHNICAL SUPPORT IS PROVIDED AS IS WITHOUT A GUARANTEE OF ANY KIND These documents are provided by our technical support department to assist others We do not guarantee that the data is suitable for your particular application nor do we assume any responsibility for them in your application V File 2 Import Tag Database into C more Programming Import gt Tag Database gt Select CS Import Tag name Database from Excel CSY File File Path C SLC500 EXPORTED CSV IE Import Option C Overwrite Existing Tags CSV XLS Import Option From DirectSOFT 4 B SLC and MicroLogix Device D EVOO E Add 7 b an a lt m ka A p Mu tie Cortains a Meader now Protocol Append Text Page 31 of 33 THIS INFORMATION PROVIDED BY AUTOMATIONDIRECT COM TECHNICAL SUPPORT IS PROVIDED AS IS WITHOUT A GUARANTEE OF ANY KIND These documents are provided by our technical support department to assist others We do not guarantee that the data is suitable for your particular application nor do we assume any responsibility for them in your application 7 Optimizing communications between C more and Allen Bradley PLCs In most situations specific steps to optimize the communications between C more and the
22. Do notimport Aliases C Importall Aliases amp Tags C Import only Aliases C ImportAliases amp Tags that do not have Aliases Note If many errors are reported these are probably from tags which are Aliases or Physical I O See the application notes mentioned below for information on how to import these separately through another process Importing Pre defined data types There are very many Pre Defined data types in the Allen Bradley ControlLogix and CompactLogix PLCs A Pre Defined data type is a data type that is already created in the RS Logix 5000 software when starting a new project Some common Pre Defined data types are TIMER and COUNTER The complication of importing Pre Defined data type is that there are very very many Pre Defined data types in the RS Logix 5000 software and within many of these data types there are many different data type members Many most of these members of these Pre Defined data types while useful in the PLC application will not be needed in the C more project So the complication is to decide which Pre Defined data types should be imported and which members of these data types should or shouldn t be imported Page 19 of 33 THIS INFORMATION PROVIDED BY AUTOMATIONDIRECT COM TECHNICAL SUPPORT IS PROVIDED AS IS WITHOUT A GUARANTEE OF ANY KIND These documents are provided by our technical support department to assist others We do not guarantee that the data is suitable for your particular applicatio
23. O DEVO DE OO DEVOUT DEVOUT DEO EWOO DEVOUT DEVOUT Attribute Not Supported Only the PreDefined STRING type of 82 characters in length is supported Custom Strings lengths are not supported SINT Arrays can be used and they will be zero filled the LEN field won t automatically be updated by C more as is the case when using the standard STRING data type c Manual Entry Any tag that is in the Control Compact FlegLogix PLC can be manually entered into the C more programming software The easiest way to get tags into the C more programming software is to use the import methods described above but if there are only a few tags added after the import has already been done it may be easier and quicker to manually enter those tags 6 Importing SLC MicroLogix and PLCS Symbols These series of processors use Symbols instead of Tag Names These symbols operate much like our Nicknames in DirectSoft The Symbol is just a name associated with a memory address Page 28 of 33 THIS INFORMATION PROVIDED BY AUTOMATIONDIRECT COM TECHNICAL SUPPORT IS PROVIDED AS IS WITHOUT A GUARANTEE OF ANY KIND These documents are provided by our technical support department to assist others We do not guarantee that the data is suitable for your particular application nor do we assume any responsibility for them in your application Within RSLogix500 the user is allowed to assign Symbols to Addresses and Symbols can also b
24. PE COUNTER BOOL CU BOOL CD BOOL DN BOOL OV BOOL UN DINT PRE DINT ACC END_DATATYPE DATATYPE SELECT BOOL ENABLEIN REAL IN1 REAL IN2 BOOL SELECTORIN BOOL ENABLEOUT REAL OUT END_DATATYPE If you wish to import all the members of the SELECT data type shown above then all that needs to be done is to save and close the L5KPreDefine txt file and re start the Cmore programming software You can also remove the members of the data type that are needed in the C more project as shown below ff L5KPreDefine txt Notepad PRE ACC END_DATATYPE DATATYPE COUNTER BOOL CU BOOL CD BOOL DN BOOL OV BOOL UN DINT PRE DINT ACC END_DATATYPE DATATYPE SELECT REAL IN1 REAL REAL END_DATATYPE It is important to remember the format required in the L5KPreDefine txt file DATATYPE Desired data type name as shown in RS Logix 5000 Memory type IE BOOL DINT etc member name as shown in RS Logix END_DATATYPE The semi colon is necessary after each member name of the data type Page 22 of 33 THIS INFORMATION PROVIDED BY AUTOMATIONDIRECT COM TECHNICAL SUPPORT IS PROVIDED AS IS WITHOUT A GUARANTEE OF ANY KIND These documents are provided by our technical support department to assist others We do not guarantee that the data is suitable for your particular application nor do we assume any responsibility for them in your application b Importing through C more CSV file used for bringing in I O
25. Tags depending upon what data type array can be imported via L5K file You may choose to limit the number of imported elements by adjusting the Import Array Element Count Limit field in the C more programming software import window shown below Import Tag name Database from Excel CSV File Ea File Path CAtempiexample L5k FILESADC_RSLogix5000_Example L5K ot Import Option Overwrite Existing Tags m L5K Import Option Device DEVon1 Add Bradle ased Con Comp Protocol Append Text M Myfile contains a Header Raw Import Array Element Count Limit 1 30000 lst Row is not imported 3000 Alias Option DonotimportAliases C Importall Aliases amp Tags C Import only Aliases C ImportAliases amp Tags that do not have Aliases Import Cancel Help IV User defined User defined data types are complex data types that are created by the user They are very much like the Pre defined structures but the user may choose which data type members the User defined data type is comprised of Itis a very efficient way to organize data in the PLC Here is an example of a User defined data type DataType_A DintMember which is a DINT member of this User defined data type Page 14 of 33 THIS INFORMATION PROVIDED BY AUTOMATIONDIRECT COM TECHNICAL SUPPORT IS PROVIDED AS IS WITHOUT A GUARANTEE OF ANY KIND These documents are provided by our technical support department t
26. by far have the most impact in enhanced communication performance between C more and the PLC 8 Version History Version 1 0 Release version Technical Assistance If you have questions regarding this Application Note please contact us at 710 844 4200 for further assistance Page 33 of 33
27. cept Controller Scope then you ll need to generate separate files for each PLC program C more will allow you to import multiple CSV files or you can combine them into one file before importing 18 Click the Continue button to create tags for C more 19 File gt Save As gt then change file type to CSV and Save Page 25 of 33 THIS INFORMATION PROVIDED BY AUTOMATIONDIRECT COM TECHNICAL SUPPORT IS PROVIDED AS IS WITHOUT A GUARANTEE OF ANY KIND These documents are provided by our technical support department to assist others We do not guarantee that the data is suitable for your particular application nor do we assume any responsibility for them in your application Save As Gold T BO Import Utility xls My Recent Documents My Documents My Computer a My Network Places Template xlt Text Tab delimited tt Unicode Text txt Microsoft Excel 5 0 95 Workbook xls CS Comma delimited csv 20 Select OK Microsoft Excel The selected file type does not support workbooks that contain multiple sheets A To save only the active sheet click OF To save all sheets save them individually using a different File name for each or choose a file type that supports multiple sheets Cancel 21 Select Yes Microsoft Excel TO Import Ukiliky cs may contain Features that are nok compatible with CSY Comma delimited Do you want to keep the workbook in this Format
28. documents are provided by our technical support department to assist others We do not guarantee a a that the data is suitable for your particular application nor do we assume any responsibility for them in your application CT xi No m afs gt Tag Information Device Name Devon Tag Name F8 0 Tag Data Type Floating PT 32 v Characters 140 P Retentive PLC Address Memory Type Address LM x No m ajs gt w Tag Information Device Name DEVo01 Tag Name hoo Tag Data Type Signed int16 Characters 140 H P Retentive PLC Address Memory Type Address f fo oee ee Syntax for Input data type slot O 1 0 File number is fixed at 1 Entering the file number 1 x in the address field is also accepted by the C more programming software At the present time Version 2 10 and earlier using the expanded slot word format is not supported Please refer to the release notes for the C more programming software on our website as new versions are released to look for this feature Li x No fe gt my Tag Information Device Name Devon o SY Tag Name QO Tag Data Type Discrete Characters 140 H P Retentive PLC Address Memory Type Address Bit oOo wolf p aH ose ree Syntax for Input data type slot 0 bit O 1 0 0 File number is fixed at 1 Entering the file number 1 x in the address
29. e globally accessible anywhere or Program Scope only available within that Program Program Scope tags can be accessed via C more or other HMIs but they require additional syntax in front of the tag name To access a Program Scope tag you must enter PROGRAM program name tag name where PROGRAM is static text to identify that a Program Scope tag is following Page 16 of 33 THIS INFORMATION PROVIDED BY AUTOMATIONDIRECT COM TECHNICAL SUPPORT IS PROVIDED AS IS WITHOUT A GUARANTEE OF ANY KIND These documents are provided by our technical support department to assist others We do not guarantee that the data is suitable for your particular application nor do we assume any responsibility for them in your application 5 Getting Logix Tags into C more programming software a Importing RSLogix L5K file Standard method 1 Within RSLogix 5000 and with your project file open Select File gt SaveAs amp RSLogix 5000 SmartBelt in Smart_Bel aG Edit View Search Logic Communications Tools File name Save as type RSLogix 5000 Import Export File L5K 3 Open the C more Programming Software and select Import gt Tag Name Database Page 17 of 33 THIS INFORMATION PROVIDED BY AUTOMATIONDIRECT COM TECHNICAL SUPPORT IS PROVIDED AS IS WITHOUT A GUARANTEE OF ANY KIND These documents are provided by our technical support department to assist others We do not guarantee that the data is suitable for your particular application
30. e organized into Symbol Groups Additionally there is a Description field associated with each Symbol Note The CSV exported from RSLogix will only contain elements which have either a Symbol Name or a Description field If an address is used but is unassigned then it will not be listed in the CSV export Upon Importing the C more Tag Name will become the Symbol Name if there is not a Symbol Name the Description Fields will be used as the C more Tag Name Name conflicts can t occur with Symbols but are possible with Descriptions the user should resolve these before importing Another caveat of the exported symbols from RS Logix500 is that a symbol name can be assigned to an entire Timer Control or Counter The user can then use the symbol name member in the instructions of their ladder code without having to explicitly defining a symbol name for each member But in this situation the symbol name exported from RS Logix500 will be assigned to the entire Timer Control or Counter address T4 0 R6 0 or C5 0 and the C more programming software cannot derive the data type of this symbol name To help with this situation there is a file called SLCandMicroLogixPreDefine txt in the main C more programming software directory that can allow the user to choose which member of the data type the symbol name will be assigned to To select which member the C more programming software will import the symbol name to simply add Default to
31. e that the data is suitable for your particular application nor do we assume any responsibility for them in your application duplicate tag references since you will have imported the base tag itself as well as the Alias of that tag Import only Aliases This option will only import those Tags that have Aliases Import Aliases amp Tags that do not have Aliases This option will import Alias tags but not the base tag that the Alias refers to and it will import tags that do not have Aliases Unfortunately only importation of Aliases to BOOL I O tags can be done with the method shown below because the memory size for all other I O data types cannot be derived from the LSK file To import Aliases of all non BOOL I O tags use the method outlined in section 5 b x FilePath C temp example LSkFILES ADC_RSLogiS000_ExampleL5K E Import Option Overwrite Existing Tags L5K Import Option Device bevon ts Add Protocol Allen Bradley EtherNetviP Client Tag Based Control Comp Append Text PO lv Myfile contains a Header Row Import Array Element Count Limit 1 30000 ist Row 1s notimpoered 3000 Alias Option Donotimport Aliases C Importall Aliases amp Tags C Import only Aliases C ImportAliases amp Tags that do not have Aliases Import Cancel Help VII Program scope Tags Tags can be in 2 locations in the PLC They can be either Controller Scop
32. e only screen objects that will issue read requests on screens other than the current screen being displayed are the trend objects Most of the time optimizing the PLC addresses assigned to objects on the same screen will provide the most impact to increased performance 2 Another function that will issue reads from the panel are alarm events and tag events Any event created with a tag object addressed to the PLC will constantly read from the PLC no matter which screen is currently being displayed Careful planning of the addresses used in events will greatly increase communications performance as well 3 The PLC to Panel tags will also be read constantly with no regard to which screen is currently being displayed PLC addressing of these tags should also be considered a Optimization for non Tag based PLCs SLC and MicroLogix The SLC and MicroLogix PLCs are fixed addressed PLCs Grouping together consecutive addresses of the same data type in the same file without significant gaps between the addresses 1s the only way to optimize communications for these PLCs Putting together tags of consecutive addresses on the same screen in the event manager or in the PLC to Panel screen will greatly reduce the number of requested packets and will therefore greatly increase the amount of updates to the objects visible Page 32 of 33 THIS INFORMATION PROVIDED BY AUTOMATIONDIRECT COM TECHNICAL SUPPORT IS PROVIDED AS IS WITHOUT A GUARANTEE OF ANY KIN
33. ember C5 0 ACC The PRE member is also supported Page 7 of 33 THIS INFORMATION PROVIDED BY AUTOMATIONDIRECT COM TECHNICAL SUPPORT IS PROVIDED AS IS WITHOUT A GUARANTEE OF ANY KIND These documents are provided by our technical support department to assist others We do not guarantee that the data is suitable for your particular application nor do we assume any responsibility for them in your application Tag Name Add C5 0 DN De gt Discrete D LHaracters ber P Retentive Syntax for Counter data type file 5 word O done flag C5 0 DN The CU CD OV and UN members are also supported Tag Name Add evon ooo d Signed int 16 A 7 Tag Name Add Syntax for Status data type word 0 bit 0 S 0 0 File number is fixed at 2 Page 8 of 33 THIS INFORMATION PROVIDED BY AUTOMATIONDIRECT COM TECHNICAL SUPPORT IS PROVIDED AS IS WITHOUT A GUARANTEE OF ANY KIND These documents are provided by our technical support department to assist others We do not guarantee that the data is suitable for your particular application nor do we assume any responsibility for them in your application 3 Cable Diagrams sar EA MLOGIX CBL Allen Bradley MicroLogix 1000 1100 1200 1500 RS 232C p n EA MLOGIX CBL To more Touch Panel PLC Port To AB MicroLogi RS 232 communication channel Mini Din 1 do not use 8 pin Male 2 5ig GN
34. field is also accepted by the C more programming software Page 5 of 33 THIS INFORMATION PROVIDED BY AUTOMATIONDIRECT COM TECHNICAL SUPPORT IS PROVIDED AS IS WITHOUT A GUARANTEE OF ANY KIND These documents are provided by our technical support department to assist others We do not guarantee that the data is suitable for your particular application nor do we assume any responsibility for them in your application Ci xi No lt fes gt gt Tag Information Device Name DEVon1 Tag Name o0 Tag Data Type Signed int 16 y Characters 140 Retentive PLC Address Memory Type Address lo fo oe e Syntax for Output data type slot O 0 0 File number is fixed at 0 Entering the file number O x in the address field is also accepted by the C more programming software At the present time Version 2 10 and earlier using the expanded slot word format is not supported Please refer to the release notes for the C more programming software on our website as new versions are released to look for this feature LI x No M lt f gt pi Tag Information Device Name DEVO01 v Tag Name 0 0 0 Tag Data Type Discrete Characters 40 a Retentive FPLC Address Memory Type Address Bit cone toe Syntax for Output data type word O bit O O 0 0 File number is fixed at 0 Entering the file number 0 x in the address field is also accepted by
35. gs 1O_Testing controller Scope 10_Testing controlle Show Show All T Tag Name amp Alias For Base Tag Type MOTOR_STATUS_1 MOTOR_STATUS_2 MOTOR_STATUS_3 MOTOR_STATUS_4 Local 1 1 Fault Local1 Data BE Ei E Ei A Local 1 Ei E i E zi Local 1 1 Data 0 Local 1 1 Data 1 Local 1 1 Data 2 Local 1 1 Data 3 Local 1 1 Data 4 Local 1 1 Data 5 Local 1 1 Data 0 Local 1 1 Data 1 Local 1 1 Data 2 Local 1 Data 3 Sort Tag Name Local 1 1 Data 0 Local 1 1 Data 1 Local 1 1 Data 2 Local 1 1 Data 3 BOOL BOOL BOOL BOOL AB 1756_DI 1 0 DINT DINT BOOL BOOL BOOL BOOL BOOL BOOL Style Description Decimal Decimal Decimal Decimal Binary Binary Decimal Decimal Decimal Decimal Decimal Decimal 6 Select the first I O tag you want by clicking the blank square on the left Controller Tags 1O_Testing controller Scope 10_Testing controlle l Show Show All Sort Tag Name l amp Alias For P Tag Name Li tit it ti tt Be MOTOR_STATUS_1 MOTOR_STATUS_2 MOTOR_STATUS_3 MOTOR_STATUS_4 Local 1 Local 1 Fault Local 1 Data Local 1 1 Data 0 Local 1 1 Data 1 Local 1 1 Data 2 Local 1 Data 3 Local 1 Data 4 7 Hold the shift key down Local 1 Data 0 Local 1 Data 1 Local 1 Data 2 Local 1 Data 3 Base Tag Local 1 1 Data 0 Local 1 1 Data 1 Local 1 Data 2 Local 1 Data 3 Type BOOL BOOL BOOL BOOL 4B
36. h EtherNet IP protocol Allen Bradley SLC 5 03 Modular PLC Controller AB mini DIN to D shell Ps pin 1761 CBL APOO AB 1761 NET ENI Ethernet IP Allen Bradey MicroLogix 1500 PLC Controller Allen Bradley MicroLogix 1000 PLC Controller AB mini DIN to mini DIN 4 cable pin 1761 CBL AMOO i Ethernet Hub or Switch 10 100 Base T For more information on wiring diagrams refer to the C more Hardware User manual EA USER M Page 12 of 33 THIS INFORMATION PROVIDED BY AUTOMATIONDIRECT COM TECHNICAL SUPPORT IS PROVIDED AS IS WITHOUT A GUARANTEE OF ANY KIND These documents are provided by our technical support department to assist others We do not guarantee that the data is suitable for your particular application nor do we assume any responsibility for them in your application 4 Control Compact FlexLogix Tag support a Terminology Data types and memory types There are different terms used to describe the different data types in the Allen Bradley Logix PLCs Below is a table showing the data type syntax in the AB PLC the data type syntax used for tags in the C more programming software and the meaning of each Logix Memory C more Tag Type Data Type Description DINT Signed int 32 Memory area with a value of 32 bit 2s compliment integer 2 147 483 648 to 2 147 483 647 INT Signed int 16 Memory area with a value of 16 bit 2s compliment integer 32 68 to 32 767 SINT Ascii String Memory area wit
37. h a value of 8 bit used primarily as a character byte location up to 128 characters BOOL Discrete spe J with a value of 1 bit representing 0 as False and REAL Floating PT 32 Memory area with a value of 32 bit floating point 1 1754944e 38 to 3 4028237 e38 STRING Ascii String Memory area with a character array up to 82 characters b Tag types I Atomic The Atomic data types are the base data type unit of which all other complex data types are comprised of The Atomic data types are BOOL SINT INT DINT and REAL The syntax for the Atomic data types is simply the tag name itself no pre cursors or delimiters An example would be Tank1_ Level All Atomic data types are addressable in the C more programming software and are importable via the L5K file II Pre defined Pre defined data types are complex data types that are made up of or more Atomic data types Arrays or other Pre defined data types They are commonly called Structures in other programming languages such as C The Pre defined data types already exist in RS Logix 5000 with every new project that is created One of the most common Pre defined data types is the TIMER data type A TIMER data type is comprised of these members TIMER PRE preset member that is a DINT atomic data type Page 13 of 33 THIS INFORMATION PROVIDED BY AUTOMATIONDIRECT COM TECHNICAL SUPPORT IS PROVIDED AS IS WITHOUT A GUARANTEE OF ANY KIND These documents are provided by
38. is suitable for your particular application nor do we assume any responsibility for them in your application fa RSLogix 5000 10_Testing 1756 View Search Logic Communical o No ax f 11 Open Excel and the file JO hier UET 12 Select the Paste Version XX Tags Here worksheet for either RSLogix V13 or V15 V 16 e Note For other versions you may have to move columns around to align the correct fields E o o i y 8 OU O OF S T BD E E TET H 1 RSLogix Version 13 Select Cell A3 then zod Click here when complete Clear All Tag Name Alias For Base Tag Style Description E ECS H RSLogix Version 13 Select Cell A3 then Pase Click here when complete 2 JE Tag Name Alias For Base Tag Description z MOTOR_STATUS_1 Local 1 Data Q Local 1 l Data 0 ate n MOTOR STATUS 2 Local 1 Data 1 Local 1 l Data 1 BOOL Decimal MOTOR_STATUS_3 Local 1 l Data 2 Local 1 Data2 BOOL Decimal MOTOR_STATUS_4 Local 1 Data 3 Local 1 Datas BOOL Decimal Local 1 1 AB 1756_Di 1 0 Local 1 Fault DINT Binary Local 1 Data DINT Binary Local 1 Data 0 BOOL Decimal Local 1 Data 1 BOOL Decimal Local 1 Data 2 BOOL Decimal Local 1 Data 3 BOOL Decimal Local 1 Data 4 BOOL Decimal 14 Delete any unnecessary tags 15 Repeat Steps 3 through 14 for any Alias Tags you require using Sort by Alias 16 After you have Copy Pasted all your I O and Alias tags Click on Click here when complete 17 If your tags are anything ex
39. n nor do we assume any responsibility for them in your application Defining which data types to import There is a file located inside of the root directory of the C more programming software that can be modified to determine which data types and their members should be imported into the C more project The image below shows where the C more programming software is installed by default The location of your C more programming software may be different depending upon how the software was mee SON ox File Edit View Favorites Tools Help Q sack search lie Fouer Fy X O C Address lo C Program Files AutomationDirect C more Go Folders x Name Keypad_Hex scr A 56 pml ElKkeypad_Oct scr E Keypad_Password scr Driver E Keypad_Txt scr gt Firmware 8 KoyoUsbIf dil Font E Help 8 MessageDB dll Image 3 OBILIB dll baleen 3 OBIPPG dl ObjectList S OBJPPG_EAActiveScreenSaver dl Sound 8 OBJPPG_EAAdjustContrast dll Symbols S OBJPPG_EAAlarmHistory dl USB Driver 3 OBJPPG_EAAlarmMessage dll User Graphic S OBJPPG_EAAnalogClock dll user Object 8 OBJPPG_EAAnalogMeter dll 3 OBJPPG_EAAnimationBitmap di G User Sound 3 OBJPPG EABarMeter dl ze gt 4 gt ype Text Document Date Modified 7 18 2007 3 58 PM Size 244 by 244 bytes pr My Computer a DATATYPE TIMER BOOL EN BOOL TT BOOL DN BOOL FS
40. o assist others We do not guarantee that the data is suitable for your particular application nor do we assume any responsibility for them in your application IntArray 10 which is a INT array of this User defined data type BoolArray 32 which is a BOOL array of this User defined data type If a Tag called Examplel was added using the DataType_ A data type the RS Logix5000 software would create these tags Example DintMember Example1 IntArray O Example1 IntArray 9 Example1 BoolArray 0 Example1 BoolArray 3 1 All User defined data types are addressable in the C more programming software User defined data types are also importable via L5K file depending upon the members of the user defined data type See section 5 a for details on this Vv T O Tags I O Tags that are created automatically when an I O module is added to the configuration They are typically members of a complex data type The complex data types differ based upon the module being configured and the various configuration options that the user has selected These data types are not directly importable into C more via the L5K file but must be imported using the standard C more Tag importation There is a macro function available to help make I O tags importation easier see Section 5 b VI Aliasing Aliasing is a method to de reference that user tag from the memory location in the PLC It could be said that Tag names themselves do this
41. orth The PLC tags are not directly referenced as in the EtherNet IP Client driver This method is sometimes preferred by some customers for different applications EtherNet IP Client This driver is the more typical method of reading and writing data back and forth from the PLC The C more panel directly references the PLC tags and initiates the messages going back and forth If your application involves using multiple C more panels and or multiple PLCs this is the best method for accomplishing this DH485 This driver is mostly for legacy systems where it is desired to add a C more panel to an existing network Itis possible with DH485 to have multiple C more panels and multiple PLCs Page 2 of 33 THIS INFORMATION PROVIDED BY AUTOMATIONDIRECT COM TECHNICAL SUPPORT IS PROVIDED AS IS WITHOUT A GUARANTEE OF ANY KIND These documents are provided by our technical support department to assist others We do not guarantee that the data is suitable for your particular application nor do we assume any responsibility for them in your application on the same network but the performance is much less than EtherNet IP DH485 is not as robust as DF1 or EtherNet IP 2 Supported Data Types for SLC MicroLogix and PLCS a Compatible Data Type Chart aet Ples dept x x ATTE Output Ea ee B Binary X XxX x an gt lt c Counter X aaa a Foroa x x lx L Long a ST Sting x XxX T O access not supported for SLC5 01
42. our technical support department to assist others We do not guarantee that the data is suitable for your particular application nor do we assume any responsibility for them in your application ACC accumulated member that is a DINT atomic data type EN enabled member that is a BOOL atomic data type TT timer timing member that is a BOOL atomic data type DN done member that is a BOOL atomic data type FS first scan member that is a BOOL atomic data type LS last scan member that is a BOOL atomic data type OV over member that is a BOOL atomic data type ER error member that is a BOOL atomic data type So if you create a TIMER called Cycle in the PLC you will have these tags Cycle PRE Cycle ACC Cycle EN Cycle TT Cycle DN Cycle FS Cycle LS Cycle OV and Cycle ER There are hundreds of Pre defined data types available in the RS Logix 5000 software All Pre defined data types are addressable in the C more programming software The Pre defined data types can be imported via the L5K file but there is an LSKPreDefine txt document that must be modified for this purpose Refer to section 5 a for details on how to do this IHI Arrays An array is basically a data structure of a sequential set of the same data type Each element is accessed by an index number Arrays can be created from Atomic data types or complex data types Pre defined or User defined All Array Tags are addressable in the C more programming software Array
43. the end of the member As you can see below the Control data type Symbol names will not be added by default A SLCandMicroLogixPreDefine txt Notepad lazen ojx Fle Edit Format View Help DATATYPE COUNTER BOOL DN BOOL BOOL BOOL BOOL SINT SINT END_DATATYPE DATATYPE CONTROL BOOL BOOL BOOL BOOL BOOL BOOL BOOL BOOL DATATYPE TIMER BOOL BOOL BOOL DN SINT ACC Default PRE SINT END_DATATYPE Note This feature is not complete at this time Unsupported file types like Strings amp Longs at present should produce valid graceful warnings during import The user will have to mirror any values stored in unsupported data files to other files which C more does support like Integers Page 29 of 33 THIS INFORMATION PROVIDED BY AUTOMATIONDIRECT COM TECHNICAL SUPPORT IS PROVIDED AS IS WITHOUT A GUARANTEE OF ANY KIND These documents are provided by our technical support department to assist others We do not guarantee that the data is suitable for your particular application nor do we assume any responsibility for them in your application Step by Step Exporting Symbols from RSLogix500 and Importing into C more 1 Within RSLogix 500 and with your project file open Select Tools gt Database gt ASCH Export KJE Window Help Options Delete Unused Memory Database ASCH Export Security ASCII Import Native Import Visual Basic Compare Delete DB FactoryTalk Diagnostics
Download Pdf Manuals
Related Search
Related Contents
611 MORTIER DE SCELLEMENT CHIMIQUE Especificaciones del producto イ呆言正とア フタ一 サ一 ビス (必ずお訪 売みくださ い) T。SHーBA Instructions - Summit Racing www.philips.com/welcome PROFIBUS USER MANUAL with Profibus-DP MODE D`EMPLOI - Country Cousins Abroad Garmin SL40 GPS Receiver User Manual T。SHーBA 東芝白熱灯器具取扱説明書 TurboDrag Pump Betriebsanleitung • Operating Instructions Copyright © All rights reserved.
Failed to retrieve file