Home
ang.
Contents
1. 713 meas 7 15 Publication 1756 RMO084K EN P 2005 Structure the Tag Comments CSV Import Export File Format Structure the L5X Partial Import Export File Format Publication 1756 2005 Enter seeded s E re a edel ud f vaio Ode Busan 7 15 CONDITION x 2 755354 7 16 m do ap 7 17 Eater oubro gtine ded e edes 4517 7 18 Prem 7 18 Sq OP a ERA 7 19 Enter 6 25 5 8 7 19 7 20 BRANCGCILe iar ab eai UP Ee a aet e eios 7 20 Enter Directed Enk a ceno br 7 21 DIRECTED LINK 7821 DIRECTED LINE cXSAmple E Seeders T2 Eater Test ues seda a d du ee 7 22 TEXT BOX dotate 1522 TEXT BOX ad vox atte 1227 Entet 1523 ATIACHMEN euldelifiess 7 23 ATTACHMENT example teas 7 23 Chapter 8 ree 8 1 Place Information 6 1 Iateroal USES 6
2. May 2005 COMMENT OVNI GS ELEMENT This rung is just a placeholder for an OTE DoNathing Copy the configuration write data in CPS MC Reset Cty Write 0 8 send the multicast configuration data ta MC This rung provides a delay before resettir TOM ResetDly1 7 7 This message instruction reads the mult MSGiRead MC This rung capies the SINT array from the Cfg Read 0 MC Readlstr 1 Copy the configuration UDT write data in CPS MC Reset MC Cfg Write2 0 8 LOCATION TJ Structure the Tag Comments CSV Import Export File Format 8 5 CSV Files The following examples use this ladder file ff RSLogix 5000 _ 1756 163 18 x File Edit View Search Logic Communications Tools Window Help S 1 81 eel 0000 Offline 1 RUN k OK No Edits al m gt Redundancy 4 B Favorites TimeriCounter Input Output Compare ComputeMath File Controller csv examples MainProgram MainRoutine Controller Tags E Controller Fault Handler 0 5 Power Up H Up Handler First run the SFC routine gs MainTask Jump To Subroutine Po rogram Routine Name SFC Routine Program Tags MainRoutine FBD Routine Example of a
3. 3 12 Define a TAG declaration for a non alias tag 2 12 Define TAG declaration for an alias tag 3 13 Define an array specification within a TAG declaration 3 14 Speci dopo e eae eicit oa se dtd 3 14 Define initial 3 277 Define a comment for TAG 3 28 unas dicere mai bd dus dra Renae aded ft 3 28 PAG ERAP RR 3 29 Denac a EE id 3 29 Specify PROGRAM attributes 3 30 Specify PROGRAM attributes for EquipmentPhase Programs 3 31 PROGRAM au 23591 PROGRAM example ped du 3 32 EquipmentPhase PROGRAM 3 32 Denet AS sah thes ae 3 33 Specity TASK att ERI 3 33 aeiae ao 3 34 TASK PIC 3 35 fend 3 35 cos hai d ue ite modos 3 36 PEN ete be gee es 3 40 TREND ao FF 3 41 TREND 3 42 Define Controler OB ECs 3 43 Ve n 3 43 CONLEIG examples th
4. Dex END CONDITION Enter Sequential Function Chart Logic 17 17 TRANSITION example TRANSITION iD 14 X 420 490 Operand AlwaysTrzue 002 Yes DescriptionX 455 Description 205 DescriptionWidth 0 CONDITION LanguageType ST END CONDITION END TRANSITION Enter Subroutine Calls Item ID In Out The subroutine calls pass values into and out of the SFC routine Subroutine calls follow this format SBR_RET ungue rdentifrer Xp Santernal Location SInternoalc grrd y Location In So lt Last gt Out lt list gt END SBR RET Where Identifies the SBR_RET identifier This ID uniquely identifies this subroutine call from all other blocks Enter an unsigned 32 bit integer value Specify ID number x coordinate on internal grid Enter an unsigned 32 bit integer value Specify X number y coordinate on internal grid Enter an unsigned 32 bit integer value Specify Y number list of values to receive from the calling routine Enter list of tags or literal values and separate each entry by a comma Enter empty quotes if there are no values to receive Specify In list of values to pass to the calling routine Enter list of tags or literal values and separate each entry by a comma Enter empty quotes if there are no values to pass Out s Vlist
5. QU fad da 9 14 Ecco 9 15 Appendix A otto dO flue s ste uum qo a et dt Rr RR 1 Recommend ONS eod 1 RSLogix 5000 Data c5 sew 9 cv ed t A 2 Microsoft Excel Data A2 Appendix B 1 B ckward Compatibility is ot is Dos tea 2 Import Export Version 2 4 RSLogix 5000 Version 13 B 2 Import Export Version 2 3 RSLogix 5000 Version 12 B 3 Import Export Version 2 2 RSlogix 5000 Version 11 B 3 Import Export Version 2 1 RSLogix 5000 Version 10 B 4 Changes to support MESSAGE tag enhancements B 4 Import Export Version 2 0 RSLogix 5000 Version 9 B 6 Motion Changes to Support the SERCOS Protocol B 7 MOTION GROUP tag structure version 1 1 8 AXIS version TED P 8 Import Export Version 1 1 RSLogix 5000 Version 8 B 11 Publication 1756 RMO084K EN P 2005 Notes Publication 1756 2005 Introduction When working with projects tags rung comments ladder rungs trends import export files Chapter 1 Import and Export Files This document describes how to use version 2 6 major revision 2 minor revisio
6. Allen Bradley Logix5000 Controllers Import Export 1756 ControlLogix 2 1769 CompactLogix 1789 SoftLogix5800 1794 FlexLogix PowerFlex 7005 with DriveLogix Reference Manual aU Bn Automation Important User Information Because of the variety of uses for the products described in this publication those responsible for the application and use of this control equipment must satisfy themselves that all necessary steps have been taken to assure that each application and use meets all performance and safety requirements including any applicable laws regulations codes and standards The illustrations charts sample programs and layout examples shown in this guide are intended solely for purposes of example Since there are many vatiables and requirements associated with any particular installation Allen Bradley does not assume responsibility or liability to include intellectual property liability for actual use based upon the examples shown this publication Allen Bradley 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 between solid state equipment and electromechanical devices that should be taken into consideration when applying products such as those described in this publication Reproduction of the contents of
7. DIV 922 VisiblePins SourceA SourceB Dest 01 Visi bbePins t nb Ime Ind Progsedecotor SrPOogPPOOROG ProgOperReq ProgOverrideReq Out SelectedIn ProgOper Override Operand EQU 01 VisiblePins SourceA SourceB Operand EGEN Ul VriSIDLePrins lt in Out Xl array name pe array name X2 array X2 array Operand xe ERD 01 VisiblePins Source Dest Operand GEO 01 VisiblePins SourceA SourceB Operand 01 VisiblePins SourceA SourceB Ope rand 01 VisrblePins In Qut HighAiarm LowAlarm Publication 1756 2005 Instruction HPF INTG JKFF LEQ LES LIM LN LOG LPF MAVE MAXC MEQ MINC MOD MSTD MUL MUX MVMT Enter Function Block Diagram Logic 5 15 Default Operand and VisiblePins formats components within the Block structure Operand HPE 01 VisiblePins In Out Operand INTG 01L VisiblePins In Out Operand lt OL VistplePins Cl ar Crock ONCE Operand LEO 01 VisibbePins SourceA SourceB Operand qer LES 01 VisiblePins SourceA SourceB lt LIM Ol VisiblePins LowLlimit Test HighLimit Operand BN VisrblePins Source Dest Operand lt LOG 01
8. B Vds 1 9 Chapter 2 TO TU T ETE TERIS 2 1 dct tein reus aL ue 2 1 Internal y aan i Euer Zal Place Information in an Import Export 2 2 Display d ses senses 2 3 COMPONENT destiptoNi 2 3 Defined nure olin Se BBR edad 2 4 Specify CONTROLLER attributes 2 5 CON TROELER o quada 2 6 CONTROLER ESMP vous eau doy tied aeneae 2 6 Chapter 3 veu CREE EA 3 1 ues doeet pice bod 3 1 Speci DATATYPE 3 2 Sbeclb a DAY PE member sober ese adu rh ere 3 2 Specify DATATYPE member atttDutes s odes 3 4 PATATY PE p dee dut p 3 4 3 4 Denne 4 Modules EROS 3 5 Specily MODULE cise ao Dod arbo aan 3 5 Specify MODULE vs acero a oce 3 8 Specify MODULE connection 3 9 MODULE rosaa end pri ER ides 3 9 MODULE macte em eben 3 10 Publication 1756 RMO084K EN P 2005 Enter Ladder Diagram Logic Publication 1756 2005
9. IMP Edit View Search Logic Communicatic Open Close sae Cj Samples csv examples L5K design samples L5K email sample L5K enet_controller LSk example xc L5K Eg import_expark Lok File name jimport_export_example Cancel Help save type 2 M Click Save Any unsaved edits are automatically saved when you OK the export operation Import and Export Files 1 3 Import a lext File into You can import controller information from a saved text file that has a L5K Projec t extension This lets you use any text editor to create a project 1 Select File Open RSLogix 5000 import export Edit View Search Logic Communicatic E Mew Open S Close 2 Selectthe text file The text file must have a L5K extension Project Look in E Projects EX Eg Lj Samples csv examples ACD controller ACD csv examples L5K Select the file to Import E cnet_controller_BAKOOO acd csv examples BAKOO7 acd default the software points to the p cnet_controller_BAKOO1 acd csv examples BAKOD8 acd EN controllagix example ACD csv examples BAKOO9 acd contrallagix acd desgin_examples ACD RSLogix5000 Project folder You can change the default via Tools Options Speci
10. IMPORTANT To edit the CSV file it is recommended that you use a database program tool such as Microsoft Access or a raw text editor Many other desktop tools such as Microsoft Word or Excel might change the structure of the CSV file and cause an import of the file to fail If you use Microsoft Excel to edit your CSV tag file e Use single quotes instead of double quotes within descriptions and comments e Do not create descriptions or comments that consist only of numbers have leading zeros or have a leading symbol that Microsoft Excel treats specially For example do not create descriptions like 002 T2 52 0 e Do not create descriptions or comments that start with a or symbol Even if you add text after the symbol Excel displays in the cell Publication 1756 RMO084K EN P 2005 A 2 Considerations for Using Microsoft Excel to Edit a CSV File RSLogix 5000 Data When RSLogix5000 programming software exports tags it performs these conversions Transformations Original content Content in CSV file after export 0 newline SN L tab T Microsoft Excel Data When you open the exported CSV file in Excel these conversions occur Transformation Original Contentin CSV Content after Content after Details content file after opening in saving from export Excel Excel 0 2 0 0 RSLogix5000 addresses this as the specifier for tag If you enter this as an entire comment
11. OSFI 01 WVusrblePrns re OUtputBLEt Operand OSRI 01 e VIBDHLBIC QULUB e Erb VisiblePins In Out PIDE 01 VustDlLePrns SPProg SPCaSCadeo Ratiorrog oCVPrOg HandEkE ProgProgkeq ProgOperReq ProgCasRatRhReg ProgAutoReg ProgManuaReg ProgOverrideReq ProgHandReq CVEU SP PVHHAlarm PVHAlarm PVLAlarm PVLLAlarm PVROCPosAlarm PVROCNegAlarm DevHHAlarm DevHAlarm DevLAlarm DevLLAlarm ProgOper CasRat Auto Manual Override Hand Operand PMUL 01 WussblePins lt wing MuLbrpler Qut Operand 01 VisiblePins SP Position OpenedFB ClosedFB OpenOut Closeout Operand e RAD 01 VisiblePins Source Dest Operand RESD 01 VisiblePins Set Reset Out OutNot RLIM 01 Visit blePans IN By Pass Qut Operand RMPS O1 VisiblePins PV CurrentSegProg OutProg SoakTimeProg ProgProgReq ProgOperReq ProgAutoReq ProgManualReq ProgHoldReq Out CurrentSeg SoakTimeLeft GuarRampOn GuarSoakOn ProgOper Auto Manual Hold RampValue array name SoakValue array name SoaklIime array name Operand 01 VisiblePins TimerEnable PRE Reset Publication 1756 RMO084K EN P 2005 Instruction SCL SCRV SEL SETD SIN SNEG SOC SOR SRTP SSUM SUB
12. XICi B3ad 54ezB Sample BOOL Member OTE B3add64ezH Zample DINT Member 0 gt lt r Testi c Rungz lt RLLContent gt Routine where Controller Item Identifies Use the use of the routine or rung specify Context or Target Name the name of the routine Number the rung number Type the type of rung such as N for normal or for insert UID the routine or rung with a unique combination of numbers and letters For more information on Program attributes see the Program information on page 3 29 For more information on ladder logic see chapter 4 Publication 1756 May 2005 Structure the L5X Partial Import Export File Format 9 11 Program example Programs Use z Context Uld 3238c36d lt Program Use Context Name MainProgram UId d 6d4bel Tags Use z GContext 114 54 231 5 2 urId 2el5ff86 DataType Convevor gt lt Description gt Conveyor gt lt Description gt lt Data gt O0 00 00 AO 86 01 00 00 07 00 00 00 00 00 ag 88 13 00 00 88 13 00 00 00 00 OO Data gt lt gt lt gt lt Routines Usez Context Uld 4fcasa03 gt Routine Use Context Name MainRoutine UId B0080377 RLLContent Use Context gt lt Rung Use
13. e Tasks must be defined after programs and before controller objects e There can be at most 32 tasks e There can only be one continuous task e A program can be scheduled under only one task e Scheduled programs must be defined 1 must exist Create a Complete Import Export File 3 35 Define a Trend TASK example TASK joe Type Periodic Priority 8 Rate 10000 sue betty END TASK The task attributes Priority Rate and Watchdog can be defined in any order The list of programs scheduled for a task are listed in the task declarations block as shown above The programs are executed in the order they are specified A TREND component defines controller trend object and follows this structure TREND trend name Attributes Template PEN declaration END TREND Where Item Identifies trend name the trend Attributes attributes of the trend can also contain a description of the trend enclose in parenthesis separate each attribute with a comma Template the Trend template in a byte value list PEN declaration individual pens within the trend each trend can support as many as 8 pens Trend objects are optional You can have as many as 32 trends import export file Publication 1756 RMO084K EN P 2005 3 36 Create Complete Import Export File Attribute Description SamplePeriod NumberOfCaptures CaptureSizeType CaptureSize StartTriggerType
14. StartTriggerTagl StartTrigger Operationl StartTriggerTarget Typel StartTriggerTarget Valuel Publication 1756 May 2005 Specify TREND attributes Specify these attributes for a TREND Description Provide information about the trend specify Description text Specify how often trending tags are collected in msec 1 msec to 30 minutes specify SamplePeriod number Specifies the maximum number of captures allowed 1 100 specify NumberOfCaptures number Define how the capture size is specified Enter Samples TimePeriod or NoLimit specify CaptureSizeType text Specify the number of samples for each capture The maximum number of samples 2 hours worth of data samples or 1000 samples whichever is greater If the CaptureSizelype is Samples the range Is 1 to 2 hours SamplePeriod or 1000 samples whichever is greater If the CaptureSizeType is TimePeriod the range is SamplePeriod to 2 hours or SamplePeriod 1000 whichever is greater specify CaptureSize number specify the type of the start trigger Enter or EventTrigger specify StartTriggerType text specify the tag name of the first start trigger The name must be one of the pen names specify StartTriggerTagl text specify the operation that is applied on StartIriggerTag1 and StartIriggerTargetValue1 or otartIriggerTargetTag Enter For Exact Equal Tag EQU Target Trigger Level
15. Logic Comments Click Export Select the scope to export For tags and rung comments select which content to export Scope This option exports None no tags or rung comments all the tags controller scope and program scope or rung comments in the project Controller tags only the controller scoped tags of the project individual program and the program scoped tags or rung comments of a specific equipment phase names program or equipment phase Publication 1756 RMO084K EN P 2005 1 6 Import and Export Files Import a CSV File When you ate offline and have a project open you can import tags and rung comments from a saved CSV file This lets you use a database program like Microsoft Excel to create and edit tags 1 Select Tools Import File Edit View Search Logic Communications Biss 21 S Offline RUN Forces b Edits e Bn 2 Selectthe CSV file to import Import Look in Projects fs RSLogix 5000 import export example 1769 352 Window Help Options Securit k pM E n Export Translate PLCE SLC Samples csv examples Eesb Tags imporE expork Controaller Tags 5 4 csv examples Contraller Tagsz CSV csv examples Contraller Tags C5v csv examples Tags C5v csv CSV Specify the name for t
16. Publication 1756 RMO084K EN P 2005 1 18 Enter Sequential Function Chart Logic Enter Stops Item ID Operand HideDescription DescriptionX DescriptionY DescriptionWidth Publication 1756 2005 SBR RET example SBR RET ID 2 X 80 Y 40 liy Input 000 Inpuc 001 Input 0027 tpe ue HR END SBR RET Stops follow this format STOP ID xungue rdenutrrrer X X Joodtrons Y sco Santernial 10609020025 Operand I x tag reference HideDescription lt yes no gt Descrsptronx en merrical values Description qnumers Cal values DESCrIPELONWLOth lt numerical value gt END STOP Where Identifies the stop identifier This ID uniquely identifies this stop from all other blocks Enter an unsigned 32 bit integer value specify ID number x coordinate on internal grid Enter an unsigned 32 bit integer value opecify X number y coordinate on internal grid Enter an unsigned 32 bit integer value opecify Y number the stop tag Enter a tag of datatype SFC STOP The import process uses this tag name to name the stop specify Operand tag whether or not to hide the stop description Enter Yes or No Specify HideDescription text x coordinate on internal grid of the description box Enter an unsigned 32 bit integer value specify DescriptionX number y coordinate on internal gr
17. lt ORLE gt lt component WIRE component FEEDBACK WIRE component END SHEET Publication 1756 2005 Enter Function Block Diagram Logic 5 3 Where Item Identifies Name the name of the sheet specify Name text IREF Input references see page 5 ICON Input wire connectors see page 5 9 mnemonic BLOCK function block instructions and their locations see page 5 11 OREF output references see page 5 OCON output wire connectors see page 5 9 WIRE wires and what they are attached to see page 5 10 FEEDBACK WIRE feedback wires and what they are attached to see page 5 10 SHEET guidelines e The sheets in the routine appear in order in the export file Each sheet section contains all the drawing elements and wires for that sheet e The sheet number is stored in a comment at the beginning of the sheet for reference only On import sheet numbers are assigned based on order in the file not on the number in the comment e The sheet name is stored as an attribute because it 1s optional Input references blocks output references special drawing elements and wires are contained within the sheet On export the elements appear in the order shown On import elements can be interspersed in the file e WIRE and FEEDBACK WIRE statements must after all the other components Be careful when copying and pasting function block components wit
18. specify Slot number Specify the ControlNet node address 1 99 or the remote 1 0 rack address 0 63 of the module specify NodeAddress number If the module is a remote 1 0 module specify the starting group 0 7 For a block transfer module this is the module group number under the remote 1 0 adapter specify Group number specify the method of connecting to the module specify CommMethod number specify the method of configuring the module specify ConfigMethod number Select a specific mode by setting the appropriate bit Set For 0 do not inhibit the module and a fault in the module does not cause major fault in the controller 1 fault in the module causes a major fault in the controller 4 inhibit the module 5 both inhibit the module and a fault in the module causes major fault in the controller specify Mode number opecify whether to connect to a compatible module based on the minor revision value 1 or to an exact match of the module value 0 If you specify exact for KeyMask below set CompatibleModule to 240000 0000 0000 0000 0000 0000 0000 0000 If you specify compatible for KeyMask below set CompatibleModule to 240000 0000 0000 0000 0000 0000 1000 0000 specify CompatibleModule value Attribute KeyMask PrimCxnInputSize PrumcxnOUtDutSize SecCxnInputSize SecCxnOutputSize ChABaud ChBBaud DtlsFileName ConfigCode ControlNetSignature RSNetWorx
19. AXIS SERVO TAG 17 AXIS SERVO DRIVE TAG 17 AXIS VIRTUAL TAG 3 17 backward compatibility 2 BLOCK component 5 11 guidelines 5 12 block 7 13 BRANCH entering 7 19 example 7 20 LEG block 7 20 branches 4 3 7 19 Index C COMMENT record 8 4 comments 8 1 CSV format 8 1 internal file 2 1 rung logic 4 4 structured text logic 6 3 TAG 3 28 complete branches 4 3 comments 2 1 components 2 2 CONFIG 3 43 connection list 3 8 CONTROLLER 2 4 conventions 2 1 DATATYPE 3 1 display style 2 3 FBD ROUTINE 5 1 file format 3 1 function block logic 5 2 MODULE 3 5 PROGRAM 3 29 ROUTINE 4 1 rung logic 4 2 sequential function chart logic 7 1 SFC ROUTINE 7 1 oT ROUTINE 6 1 structure 2 2 structured text logic 6 2 TAG 3 12 TASK 3 33 TREND 3 35 complete import export 1 2 1 3 components basic format 2 2 BLOCK 5 11 CONFIG 3 43 CONTROLLER 2 4 DATATYPE 3 1 Datalype 9 5 descriptions 2 3 display style 2 3 FBD ROUTINE 5 1 ICON 5 9 IREF 5 7 MODULE 3 5 Publication 1756 May 2005 components continued Module 9 7 5 9 OREF 5 7 PROGRAM 3 29 Program 9 9 ROUTINE 4 1 ROUTINE 7 1 ROUTINE 6 1 TAG 3 12 9 8 TASK 3 33 TREND 3 35 Trend 9 13 WIRE 5 10 CONDITION block 7 16 CONFIG component 3 43 examples 3 48 connection list 3 8 CONTROLLER attributes 2 5 component 2 4 example 2 6 guidelines 2 6 controller objects 3 43 conventions 2 1
20. CoordinationUnits text The conversion ratio defines the relationship of axis position units to coordination units for each axis Enter the numerator as a float or an integer specify ConversionRatioNumerator value The conversion ratio defines the relationship of axis position units to coordination units for each axis Enter the denominator as an integer specify ConversionRatioDenominator value opecify whether or not the actual position values of the current coordinated system are automatically updated during operation To enable auto tag update enter 1 Otherwise enter 0 specify CoordinateSystemAutoTagUpdate text Specify the maximum speed to be used by the coordinated motion instructions in calculating vector speed when speed is expressed as a percent of maximum specify MaximumSpeed value opecify the value for maximum acceleration to be used by the coordinated motion Instructions to determine the acceleration rate to apply to the coordinate system vector when acceleration is expressed as a percent of maximum specify MaximumAccelaertion value Attribute MaximumDeceleration ActualPositionTolerance CommandPositionTolerance Create a Complete Import Export File 3 27 Description opecify the value for maximum deceleration to be used by the coordinated motion instructions to determine the deceleration rate to apply to the coordinate system vector when deceleration is expressed as a percent of maxim
21. Identifies the transition identifier This ID uniquely identifies this transition from all other blocks Enter an unsigned 32 bit integer value opecify ID number x coordinate on internal grid Enter an unsigned 32 bit integer value opecify X number y coordinate on internal grid Enter an unsigned 32 bit integer value opecify Y number the transition tag Enter a boolean tag The import process uses this tag name to name the transition specify Operand tag whether or not to hide the transition description Enter Yes or No Specify HideDescription text x coordinate on internal grid of the description box Enter an unsigned 32 bit integer value specify DescriptionX number y coordinate on internal grid of the description box Enter unsigned 32 bit integer value specify DescriptionY number this attribute is not currently used it is there for future use Enter 0 specify DescriptionWidth 0 the transition is forced Enter TRUE for forced true set or enter FALSE for forced false cleared If the transition is not forced do not enter this attribute opecify Force text the condition to evaluate for the transition see page 16 Enter a CONDITION block The condition block uses a structured text expression to specify a condition to evaluate for the transition Each line of structured text begins with a single quote CONDITION LanguageType ST
22. Only overwrite existing tags skip new tags Import and Export Files 1 7 If you delete tags from an import export file and then import the file tags are not deleted from the controller project You have to use the programming software to delete tags from the tag list When you import rung comments the possibility exists for comments in the import file to differ from comments in the open project when both are matched to the same rung Specity how to handle a collision If you want to Select replace comments in the project with comments from the import file in Import new comments and overwrite existing comments addition to adding any new comments from the import file this is the default selection keep comments that are in the project and discard comments in the import Import new comments but discard imported comments file in addition to adding any new comments from the import file replace comments in the project with comments from the import file but Only overwrite existing comments skip new comments do not add any new comments from the import file Also select whether to match comments to rungs based on rung numbers on owning element information If you want rung comments applied to Then in the Match all RLL comments to rung number only box the next rung that has the instruction as specified in the Owning leave the box unchecked Element as its last instruction on the rung this is the default and recommended o
23. am end posztrion output compensatron executzons mode execution schedule axis drm posztron cam atm posrtion rfeference MAPC Slave axis Master Gxrs motrom COHbrol gzrectron cam Drorrile Slave Scaling master scaling execution mode execucion schedule master LOCK positron Calm JOCK posS2tron master Master direction MAR axis motion control trigger condition windowed registration minimum position maximum position MAo GxXIS motrzom coDtrol 5top type change decel rate decer units MASD axris motzon controly Publication 1756 RMO084K EN P 2005 Instruction MASR MATC MAW MCCD MCCM MCCP MCLM MCD MCR MCS MCSD MCSR MCSV MDF MDO MDOC MDR MDW MEQ MGS MGSD MGSP MGSR MID MOD MOV MRAT MRHD MSF Enter Ladder Diagram Logic 4 7 Neutral text format MASR OGXISHOUIOm Control MATCIQGXIO Cam prorfrrle Uistance Scaling time Sealing execution moge execution Schedule control tr 2gger condiction position MCCD Coordinate syst m motion control type change Speed speed Speed unt ts Change accel accel rate acces units change decel decel rate decer Units scope MOCMIcoordindate system motion control move POST On Circle via center radius direction speed s5peed unito accel rdte accel units
24. enter lt NA gt rather than just NA e This revision of the manual includes a description and example of the STRING data type IMPORTANT Version 9 of RSLogix 5000 programming software only supports ControlLogix processors Import Export Revision History B 7 Motion Changes to Support Version 2 0 major revision 2 minor revision 0 of the import export feature that is included with RSLogix 5000 programming software version 9 0 made the SERCOS Protocol 5 significant changes to motion related tags to support the SERCOS protocol e CoarseUpdatePeriod and AutoTagUpdate parameters were added to the MOTION GROUP tag to support SERCOS For reference the previous structure is described below page B 8 e Earlier versions of the import export feature supported one AXIS tag To support SERCOS the import export feature replaced AXIS with four different axis tags AXIS CONSUMED AXIS SERVO AXIS SERVO DRIVE and AXIS VIRTUAL The previous AXIS tag is incorporated into these new tags but no longer exists as its own tag For reference the AXIS structure is described below page 8 If you have a version 8 0 import export file with AXIS tags that you import into version 9 0 software after changing the import export version line to 2 0 the AXIS tags convett to If the AXIS type is It converts to unused AXIS SERVO position only AXIS SERVO Servo AXIS SERVO consumed AXIS CONSUMED virtual AXIS VIRTUAL Publication
25. specify ConversionConstant value Enter Passive or Active specify HomeMode text Enter Immediate Home Home To Switch Home To Marker Only or Home To Switch With Marker specify HomeSequenceType text Specify the home position any positive number specify HomePosition value Specify the home speed any positive number specify HomeSpeed value Specify the home return speed any positive number specify HomeReturnSpeed value Specify the maximum speed any positive number specify MaximumSpeed value Specify the maximum acceleration any positive number specify MaximumAcceleration value Specify the maximum deceleration any positive number Specify MaximumDeceleration value Enter Fast Stop Fast Shutdown or Hard Shutdown specify ProgrammedStopMode text Specify the average velocity timebase any positive number specify AverageVelocityTimebase value specify the servo status update bits Enter a hexadecimal number specify ServoStatusUpdateBits 16 value specify the motion configuration bits Enter a hexadecimal number specify MotionConfigurationBits 16 value Enter Unused Position Only Servo Consumed or Virtual specify AxisType text Specify the unwind position 0 65 535 specify PositionUnwind value Specify the maximum positive travel any positive number specify MaximumPositiveTravel value Specify the maximum negative travel any posi
26. specify TorqueThreshold value opecify the fault action to be taken when a drive thermal fault is detected Enter shutdown Disable Drive Stop Motion or Status Only specify DriveThermalFaultAction text specify the fault action to be taken when a motor thermal fault is detected Enter shutdown Disable Drive Stop Motion or Status Only specify MotorThermalFaultAction text specify the fault action to be taken when a drive enable input fault is detected Enter shutdown Disable Drive Stop Motion or Status Only specify MotorThermalFaultAction text Specify the amount of torque available to stop the motor 0 1000 specify StoppingTorque value Attribute StoppingTimeLimit BrakeEngageDelayTime BrakeReleaseDelayTime PowerSupplyID BusRegulatorID PWMFrequencySelect AmplifierCatalogNumber MotorCatalogNumber AuxFeedbackRatio LoadlInertiaRatio ContinuousTorqueLimit ResistiveBrakeContactDelay rors RegistrationInputs Create a Complete Import Export File 3 25 Description opecify the maximum amount of time that the drive amplifier will remain enabled while trying to stop 0 6553 5 specify StoppingTimeLimit value Specify the amount of time that the drive maintains torque when the servo axis is disabled and the drive decelerates to a minimum speed 0 6 5535 specify BrakeEngageDelayTime value opecify amount of time that the drive ignores command value
27. 0000 0000 0000 1000 0000 KeyMask 240000 0000 0001 1111 ConfigData CONNECTION Diagnostic Rate 5000 EventID lt gt END CONNECTION END MODULE MODULE xnput 1 Parent Local CatalogNumber 1756 16 Major 2 Minor 1 PortLabel RxBACKPLANE Slot 1 CommMethod 536870913 ConfigMechod 8388610 Mode 240000 0000 0000 0000 CompatibleModule 2 0000 0000 0000 0000 0000 0000 1000 0000 KeyMask 240000 0000 0001 1111 ConfigData E dede bare DD DOS uod CONNECTION StandardInput Rate 5000 EventID 0 Inputbata i InputForceData Oy POs Ler UT END CONNECTION END MODULE Publication 1756 RMO084K EN P 2005 3 12 Create a Complete Import Export File Define a Tag Controller scope tags are defined in one TAG component within the CONTROLLER component program scope tags are defined in a TAG component within a PROGRAM component within a CONTROLLER component For example all the tags for one program are defined in one TAG component within that PROGRAM component TAG component follows this structure TAG Cag declarations END TAG Within a tag list message and motion tags must follow all non motion tags and axis tags must follow motion group tags For detailed information about atomic and structure tags IMPORTANT detailed b d 5 and their supported attrib
28. 1756 RM084K EN P May 2005 5 18 Enter Function Block Diagram Logic Instruction Default Operand and VisiblePins formats components within the Block structure UPDN Operand UPDN 01 VisiblePins InPlus InMinus Out XOR Operand XOR 01 VisiblePins SourceA SourceB Dest XPY Operand XPY 01 VisiblePins SourceA SourceB Dest Publication 1756 2005 Introduction Enter a Structured Text Routine Chapter 6 Enter Structured Text Logic This chapter explains the how to enter structured text logic in a complete import export file For information about See page Enter a structured text routine 6 1 Enter structured text logic 6 2 Enter comments 6 3 structured text ST ROUTINE follows this structure OI BOUTINE routine Attributes lt statements gt END ST ROUTINE Where Item Identifies lt routine name gt the name of the structured text routine Attributes attributes of the structured text routine lt statements gt structured text logic every line must begin with a single quote Specify ST ROUTINE attributes Specify these attributes for ROUTINE Attribute Description Description Provide information about the routine opecify Description text Publication 1756 RMO084K EN P 2005 6 2 Enter Structured Text Logic Enter Structured Text Logic Term assignment expression Instruction c
29. 1756 RMO084K EN P 2005 8 Import Export Revision History Attribute Description Comment GroupType CoarseUpdateMultiplier ServoUpdatePeriod PhaseShift GeneralFaultType Attribute Description Comment MotionGroup MotionModule AxisState PositionUnits TimeUnits Publication 1756 2005 MOTION_GROUP tag structure version 1 1 Description Provide information about the tag specify Description text Provide information about a tag component specify Comment specifier text Where the specifier 15 bitnumber for a bit in the tag element for an array element of the tag for a structure member of the tag opecify the type of motion group such as Independent specify GroupType text Specify the coarse update rate 5 320ms specify CoarseUpdateMultiplier value opecify the servo update period in milliseconds any positive number specify ServoUpdatePeriod value Specify the phase shift 0 65 535 specify PhaseShift value specify whether an error generates a major fault or a non major fault Enter Major Fault or Non Major Fault specify GeneralFaultType text AXIS tag structure version 1 1 Description Provide information about the tag specify Description text Provide information about a tag component specify Comment specifier text Where the specifier
30. 2005 CONFIG examples The following two examples show a DF1 controller object and a SerialPort controller object CONFIG DF1 DuplicateDetection 1 ErrorDetection BCC Error EmbeddedResponseEnable 1 DFlMode Pt to Pt ACKTimeout 50 NAKReceiveValue 3 DFIENQs 3 DFlRetries 3 StationAddress 0 ReplyMessageWait 50 PollingMode 0 MasterMessageTransmit 0 NormalPollNodeFile NA NormalPollGroupSize 0 PriorityPollNodeFile NA ActiveStationFile NA END CONFIG CONFIG SerialPort BaudRate 19200 Parity No Parity DataBits 8 Bits of Data LS top Bit ComDriverId RTSOffDelay 0 RTSSendDelay 0 ControlLine Handshake RemoteModeChangeFlag 0 ModeChangeAttentionChar 27 SystemModeCharacter 83 UserModeCharacter 85 END CONFIG Introduction Enter a Ladder Logic Routine Chapter 4 Enter Ladder Diagram Logic This chapter explains the how to enter ladder diagram logic in a complete import export file For information about See page Enter a ladder logic routine 4 Enter rung logic 4 2 Enter comments 4 4 Enter instructions in neutral text language 4 4 ladder logic ROUTINE follows this structure ROUTINE lt routine name gt Attributes lt ladder rungs gt END ROUTINE Where Item Identifies routine name the routine Attributes attributes of the routine can also contain a description of the
31. 20ms 0 32767 specify ACKTimeout value Specify the number of NAKS 0 127 the controller can receive in response to a message before stopping transmission specify NAKReceiveLimit value Specify the number of inquiries 0 127 the controller sends after an ACK timeout specify ENOTransmit value Specify the number of attempted retries 0 127 without getting an acknowledgement before the message is deemed undeliverable specify TransmitRetries value Specify the current station link address 0 254 specify StationAddress value specify the time the master waits after receiving an acknowledgment to a master initiated message before polling the slave for a response Enter an increment of 20ms 0 65535 specify ReplyMessageWait value specify the polling mode Enter on of these e 1 for Message Based slave can initiate messages e 2 for Message Based slave cannot initiate messages e 3 for Standard multiple message transfer for node scan e 4 for Standard single message transfer per node scan specify PollingMode value opecify when the master transmits Enter 0 to transmit between station polls enter 1 to transmit in poll sequence specify MasterMessageTransmit value opecify the tag name of the structure that contains the normal poll node list Or enter NA The tag must specify Class Standard specify NormalPollNodeFile value opecify the total number 0 255 of active stations polled fr
32. COORDINATE SYSTEM TAG 3 26 CSV format 1 5 A 1 examples 8 5 D DATATYPE attributes 3 2 component 3 1 example 3 4 guidelines 3 4 DataType component 9 5 descriptions 2 3 dimensions 3 14 directed links 7 21 DIRECTED_LINK entering 7 21 example 7 21 guidelines 7 21 display style 2 3 Publication 1756 RM084K EN P May 2005 entering attachments 7 23 branches 7 19 directed links 7 21 steps 7 11 stops 7 18 subroutine calls 7 17 text boxes 7 22 transitions 7 15 EquipmentPhase PROGRAM 2 21 examples ATTACHMENT 7 23 BRANCH 7 20 CONFIG 3 48 CONTROLLER 2 6 CSV files 8 5 DATATYPE 3 4 DIRECTED LINK 7 21 EquipmentPhase PROGRAM 3 32 function block logic 5 4 ICON 5 10 IREF 5 8 LOGIC 5 6 6 4 7 9 MODULE 3 10 OCON 5 10 online fsequential function chart logic 7 9 online function block logic 5 6 online structured text logic 6 4 OREF 5 8 PROGRAM 3 32 ROUTINE 4 3 rung logic 4 4 SBR_RET 7 18 sequential function chart logic 7 4 ROUTINE 7 4 SHEET 5 4 ROUTINE 6 3 STEP 7 15 STOP 7 19 TAG 3 29 TASK 3 35 TEXT BOX 7 22 TRANSITION 7 17 TREND 3 42 WIRE 5 11 Excel 1 exporting complete project 1 2 CSV format 1 5 file structure 2 2 9 4 5 format 1 2 L5X format 1 8 ladder rungs 1 8 partial project 1 5 1 8 proJect 1 2 tags 1 5 1 8 trends 1 8 3 41 types 1 1 FBD ROUTINE attributes 5 2 BLOCK logic 5 11 component 5 1 example 5 4 ICON logic 5 9 IRE
33. Ci 3 48 Chapter 4 MG OCC HO ent ELLE 4 1 Enter a Ladder Logic 4 1 Specify ROU ir eerte Pr 4 1 ater RUNG Loo d veinte Maced HUS tpe RH UC Eoi s 4 2 Rane OAC MCG iuo poem da da e EP eg 4 2 ladder ROW TIN Erexamiples 4 3 4 3 Example with a single 4 4 Example with two simultaneous 4 4 Enter Rune Comments 4 4 Enter Neutral Text for Ladder 4 4 Enter Function Block Diagram Logic Enter Structured Text Logic Enter Sequential Function Chart Logic Chapter 5 O 3 2 5 1 Enter a Function Block Diagram Routine 5 1 Specify PDD ROUTINE 5 2 Enter Function Block Diagram 001622252565 y 922 SHEE Guidelines 5 3 FBD ROU 5 4 Export Function Block Logic While Editing 5 6 btuer IRE Ms 4nd ORES 40544 adeb EU SPEC ve VPE 5 7 IREF aad OREP Guidelines RUP e 5 8 TREE add OREP examples p d Cte 5 8 Enter ICONS and OC t ett ead piatto teres 5 9 ICON
34. Distance Torque Command Torque Feedback Positive Dynamic Torque Limit Negative Dynamic Torque Limit Motor Capacity Drive Capacity Power Capacity Bus Regulator Capacity Motor Electrical Angle Torque Limit Source DC Bus Voltage Absolute Offset specify AxisInfoSelectl text Specify a second axis attribute to transmit along with the actual position data to the controller Enter lt none gt Position Command Position Feedback Aux Position Feedback Position Error Position Int Error Velocity Command Velocity Feedback Velocity Error Velocity Int Error Accel Command Accel Feedback Servo Output Level Marker Distance Torque Command Torque Feedback Positive Dynamic Torque Limit Negative Dynamic Torque Limit Motor Capacity Drive Capacity Power Capacity Bus Regulator Capacity Motor Electrical Angle Torque Limit Source DC Bus Voltage Absolute Offset specify AxisInfoSelect2 text specify the LDT device type Enter PWM Start Stop Rising or Start Stop Falling specify LDTType text Only use this field if you specified PWM for LDT Type Specify the number of recirculations that the transducer is configured for so the 1756 HYD02 module knows how the LDT is configured specify LDTRecirculations value opecify the calibration constant also called gradient on some LDTs This number is engraved on each LDT by the manufacturer It specifies the characteristics of that individual transducer specify LD
35. END LEG LEG ID 4 END LEG LEG ID 5 END LEG END BRANCH TRANSITION ID 6 X 420 Y 760 Operand Aliased Tran HideDescription No DescriptionX 520 DescriptionY 740 DescriptionWidth 0 CONDITION LanguageType ST gt 0 END CONDITION END TRANSITION STOP ID 8 X 400 Y 880 Operand ConsumedTag Stop HideDescription Yes DescriptionX 565 DescriptionY 865 DescriptionWidth 0 END STOP TRANSITION ID e 10 X 520 Y 1360 Operand Tran UsedIwrce HideDescription Yes DescriptionX 555 DescriptionY 1345 DescriptionWidth 0 CONDITION LanguageType ST gt 0 END CONDITION END TRANSITION TRANSITION ID 12 X 460 Y 1160 Operand lt gt Tran UsedTwrice HideDescription Yes DescriptionX 495 DescriptionY 1145 DescriptionWidth 0 CONDITION LanguageType ST gt 0 END CONDITION END TRANSITION Publication 1756 RMO084K EN P 2005 1 6 Enter Sequential Function Chart Logic BRANCH ID 14 Y 940 BranchType Selection BranchFlow Diverge Priority UserDefined LEG ID 15 END LEG LEG ID 16 END LEG END BRANCH BRANCH ID 17 Y 1320 BranchType Simultaneous BranchFlow Converge LEG ID 18 END LEG LEG ID 19 END LEG END BRANCH STOP ID 20 X 540 Y 1440 Operand Aliased Stop HideDescription Desc
36. Export Rung You can select multiple rungs Farces b ok To export trends right click on the Trends folder in the mm a sak FEE m ons Controller Organizer and select Export Trend 11 gt ABK Offline 0 RUN Re Path Controller import _export example i Controller Tags E3 Controller Fault Handler 221 Power Up Handler Start PB 5 2 tasks Cub Rung MainTask Copy Rung 28 MainProgram Program Tags MainRautine Delete Rung Del HM Programs Enc Add Rung 425 Motion Groups 29 Ungrouped Axes Edit Rung Enter E Trends Edit Rung Comment Ctrl D 281 Data Types Import Rung User Defined Strings Export Rung he gt Predefined 2 Define the export file Export Rung Save E39Fmiets 050020202004 EX C Samples opecify the name of the export file AA select the L5X file format Save as type RSLogis 5000 Import Export File 5x Cancel Help Click Export Publication 1756 2005 Import and Export Files 1 9 Import an L5X File 1 To import a rung right click where you want to insert the imported rungs and select Import Rung To import trends right click on the Trends folder in the Controller Organizer and select Import Trend 2 Select the
37. FAL FBC FFL FFU FIND FLL FOR BSh asray controlsource bit Length BID SOUERCOBOUFCE bit destination destination bit lenge CLR destination CMP expression CONCAT sourceA sourceB destination COP source destination length COS source destination CPS source destination length CPT destination expression CTD counter preset accum CTU counter preset accum DDE source contkrol length posTtrcoOoHresult control Ttength position DEG source destination DELETE source quantity start destination DIV Source A Source B destrinatrcon DTOS source destination DTR source mask reference BOT data HOU SOUT Ce SOUrCe EVENT task control length position mode destination expression FBC CoOurCe rererence resul onp length DOBICIOND result CONCPOl length position EFEN SOuUfTCO RIFO COntrol lcleongth posztron FF C REIFO destrnatrion control length pos ition FIND source search start result FLL source destination length FOR rOUcCING name index initial value terminal value step Publication 1756 May 2005 4 6 Enter Ladder Diagram Logic Instruction FRD FSC GEQ GRT GSV INSERT IOT JMP JSR JXR LBL LEQ LES LFL LFU LIM LN LOG LOWER MAAT MAFR MAG MAH MAHD MAJ MAM MAOC MAPC MAR MAS MASD Neutral text f
38. IMPORTANT There must be a space between the host member name and the colon and the colon and the bit position because type names can contain a colon for example I O structures and without the space we could not tell where type name actually ends Bit members cannot be defined before their host members Note that BitPosition zero is the least significant bit Publication 1756 RM084K EN P May 2005 3 4 Create a Complete Import Export File Specify DATATYPE member attributes Specify these attributes for a member of a DATATYPE Attribute Description Description Provide information about the data type member specify Description text Radix opecify decimal hex octal binary exponential float or ASCII opecify Radix value Hidden Make the member a hidden member of the structure specify Hidden 1 DATATYPE guidelines Keep these guidelines in mind when defining a data type e Data types must be defined first within the controller body Data types can be defined out of order For example if depends on Type2 2 be defined first Data types be unverified For example if Type1 depends on 2 and 2 15 never defined then 1 will be accessible as an unverified type Type2 will be typeless type Tags of 1 may be created but not of Type2 e Data type members be arrays but only one dimension is allowed e The following data types cannot be us
39. KeyMask attributes of the MODULE component e Addition of RSNetWorxFileName attribute to the MODULE component e Addition of SPC ACTION SEC STEP and STOP tag types e Addition of 38400 as a supported serial port baud rate e Addition of structured text instructions e Addition of EOT SFR and SFP instructions to relay ladder and structured text e Addition of sequential function chart components e Addition of an appendix that lists the valid CommMethod and ConfigMethod values for the supported I O modules Publication 1756 RMO084K EN P 2005 4 Import Export Revision History Import Export Version 2 1 RSLogix 5000 Version 10 Publication 1756 2005 Beginning with version 2 2 multi line rung comments with hard returns are no longer exported as one long string in double quotes Instead each line of a multi line rung comment is on a separate line in the L5K file with double quotes around each line When imported the multiple quoted strings are concatenated to form the rung comment This improves the readability of the L5K text file using the existing multiple string capability of the rung comment syntax Older formats still work on import Version 2 1 major revision 2 minor revision 1 of the import export feature that is included with RSLogix 5000 programming software version 10 0 included these major enhancements e Removal of the characters when specifying a co
40. Logic SFC ROUTINE example This SFC routine L First Action Watch Tag 3 PRE 5000 300 First Step SL C Action 3 Produced IndicaterArmawv 1 D UDT Elem Action Member 100 R zaj Action 000 2 1 Action 001 Aliased Indicator B DS Action 002 Consumed ag Action ConsumedT Indicator 0 0 Transition Description Tran gt gt O m m Array Step D 1 2 Step 001 Step Description Tran_Used Twice gt 0 gt 0 Description Step with a Text Box Step O00 eni Tran_Used Twice Simultaneous Branch Converge Text Box gt O dy E Aliased Stop tbhase Publication 1756 May 2005 Enter Sequential Function Chart Logic 7 5 exports to this SEC ROUTINE Sample SFC Routanel Ssheetsize Letter 8 5 111 SheetOrientation Landscape StepName Step TransitionName Tran ActionName Action StopName Stop TRANSITION ID 0 X 120 Y 1000 Array Tran 31 HideDescription Yes DescriptionX 155 DescriptionY 985 DescriptionWidth 0 CONDITION LanguageType ST gt 0 END CONDITION END TRANSITION BRANCH ID 2 Y 820 BranchType Simultaneous BranchFlow Diverge LEG ID 3
41. Logix5000 Controllers Process Control and Drives Instruction sSet Reference Manual publication 1756 RM006 Instruction Motion instruction Logix5000 Controllers Motion Instructions Set Reference Manual publication 1756 007 Instruction Neutral text format ABL ABL channel serial port control character count ABS ABS source destination ACB ACB channel serial port control character count ACL ACL channel clear serial port read clear serial port write ACS ACS source destination ADD ADD source A source B destination AFI AHL channel ANDMask ORMask serial port control channel status AND AND source A source B destination ARD ARD channel destination Serial COHtrol String length Characters ead Publication 1756 May 2005 Instruction ARL ASN ATN AVE AWA Enter Ladder Diagram Logic 4 5 Neutral text format AR channel destination Serial port CONCEIOIZSUCtI2HOg lengthy chatacters read ASN source destination source destination AVE array olim 50 vary cdestinatrion COontrol renogth posrtrzon AWACCHhannel sourceyserral port Control String length chardcters semt vy AWT BRK BSL AWITODSUDeNLgJSOULCOAJSernal pOr 20 Tengen Chatacvens sent BoL array ConLrol ource BSR BID CLR CMP CONCAT COP COS CPS CPT CTD CTU DDT DEG DELETE DIV DTOS DTR EOT EQU EVENT
42. Out Operand 3009 91 VisiblePins Source Dest Operand CTUD 01 VisiblePins CUEnable CDEnable PRE Reset LLAlarm ROCPosAlarm DestBit Target Dest ACC DN Publication 1756 2005 5 14 Enter Function Block Diagram Logic Instruction 0250 0350 DEG DERV DFF DIV ESEL EQU FGEN FRD GEQ GRT HLL Default Operand and VisiblePins formats components within the Block structure Operand D2SD 01 VisiblePins ProgCommand State0Perm StatelPerm FBO HandFB ProgProgReq ProgOperReq ProgOverrideReq ProgHandReq Out Device0State DevicelState CommandStatus FaultAlarm ModeAlarm ProgOper Override Hand Operand VisiblePins ProgiCommand Prog2Command State0Perm StatelPerm State2Perm FB1 FB2 HandFBO HandFBl HandFB2 ProgProgReq ProgOperReq ProgOverrideReq ProgHandReq Out0O Outi Out2 DeviceO0State DevicelState Device2State CommandOStatus CommandiStatus Command2Status FaultAlarm ModeAlarm ProgOper Override Hand Operand DEDT Dl t ms Que Storage array VisiblePins Source Dest Operand VrisSTblePins e in ByPass Operand lt DEF OL VisiblePins D Clear Clock QNot
43. ROUTINE END PROGRAM EquipmentPhase PROGRAM example PROGRAM Add Water Type EquipmentPhase Pr estare Prestace Routine FAULT Eault Boutine MODE 0 DisableFlag 0 InitialStepIndex 1 InitialState Idle CompleteStateIfNotImpl StateComplete LossOfCommCmd None ExternalRequestAction None TAG declaraions ROUTINE declaraions SFC ROUTINE declaraions END PROGRAM Publication 1756 2005 Create a Complete Import Export File 3 33 Define Task TASK component follows this structure TASK task name Attributes program name END TASK Where Item Identifies task name the task Attributes attributes of the task can also contain a description of the task enclose in parenthesis separate each attribute with a comma program name each program within the task all program names are followed by a semi colon The maximum number of tasks depends on the type of controller Controller Maximum Number of Tasks ControlLogix 32 SoftLogix5800 32 FlexLogix 8 CompactLogix e 1769 L35CR L35E e 8 e 1769 L32C L32E e 1769 131 4 DriveLogix 8 Specify TASK attributes Specify these attributes for a TASK Attribute Description Description Provide information about the task specify Description text Type opecify the type of task CONTINUOUS PERIODIC or EVENT There can be only one continuous task specify Type type Rate
44. Select AutomaticReset ProgrammaticReset or DontScan specify SFCLastScan name specify the serial number of the controller If a serial number is specified it is imported into the project regardless of the MatchProjectToController setting Enter a 32 bit hexadecimal number with the 16 prefix such as 16 0012_E2BC specify SerialNumber lo hex string specify whether to ensure that the project matches the controller or not Enter Yes or No specify MatchProjectToController text CONTROLLER guidelines Keep these guidelines in mind when defining a data type e All declarations must be explicitly ordered as shown in the syntax above e The maximum number of tasks depends on the controller type Controller Maximum Number of Tasks ControlLogix 32 SoftLogix5800 32 FlexLogix 8 CompactLogix 120 130 4 4 e There can only be one continuous task e Programs can only be scheduled under one task e Scheduled programs must be defined 1 must exist CONTROLLER example CONTROLLER TestImportExport TimeSlice 11 DeSorrptron i Prg2 Example MajorFaultProgram DATATYPE declarations MODULE declarations TAG declarations PROGRAM declarations TASK declarations CONFIG controller objects declarations END CONTROLLER Introduction Define a Data Type Chapter J Create a Complete Import Export File This chapter explains how to enter project and configuration infor
45. SheetOrientation LOGIC Online Edit Type 97 29 Sheets inserted here see format described above END LOGIC LOGIC Online Edit Type Pend Sheets inserted here see format described above END LOGIC END FBD ROUTINE Where Item Identifies Online Edit Type whether online edits exist when the logic 15 exported If online edits exist there will be a LOGIC block for Online_Edit_Type Orig and then the appropriate LOGIC block for the existing edits Online Edit Type Pend indicates pending edits Online Edit Test indicates test edits If there are no online edits when the logic is exported there are no LOGIC blocks and the main components in the routine are SHEET components Enter IREFs and OREFs Input and output references have similar formats and identical attributes They follow this format IREF ID ES X lInternad Grid x ic grid gt t fererence END OREF LD gS Kuni gue Identifier X grid x location Ln rerna gE Operang END OREF Publication 1756 RMO084K EN P 2005 5 8 Enter Function Block Diagram Logic Publication 1756 2005 Where Item Identifies Dp the IREF or OREF identifier uniqueness is important for wiring enter unsigned 32 b
46. Tag Comments CSV Import Export File Format This chapter explains the overall structure of the CSV file that can store exported tags and rung comments For information about See page Place information in a CSV file 0 1 opecify a tag record 0 2 opecify a rung comment record 0 4 Example CSV files 0 5 The CSV import export file contains these components of information Item Identifies remark comment within the CSV file TAG tag RCOMMENT rung comment Internal file comments You can enter comments to document import files The import process ignores these comments You can place comments anywhere in an import export file except in names and descriptions Enter comments by starting the line record with REMARK and a comma Publication 1756 May 2005 8 2 Structure the Tag Comments CSV Import Export File Format Specify a Tag Record Item Type Description Datatype opecifier Attributes Each tag record defines a tag within a controller project TAG record includes this information Identifies the type of tag valid types are TAG tag ALIAS alias tag COMMENT tag operand component what part of the project owns the tag if no scope Is specified the scope 15 controller if a scope 15 specified it identifies the program or equipment phase name of the tag description of the tag optional datatype of the tag use any valid datatype name optiona
47. Target Number 8 Type N Uld 24cc867b gt lt Text gt lt CDATA XIO BaQ07e31edB XIC Bzei5ffG5B Motor Run XIO BzeisffG6B Motor Fault Ze15ff868 Jam Fault Entry PE XIO B2ei5ffB6B8 Jam Fault Exit PEJ OTE Bi1Off31dcB gt zrRLLContentz lt Routine gt lt Routines gt lt Program gt lt Programs gt Publication 1756 RM084K EN P May 2005 9 12 X Structure the L5X Partial Import Export File Format Example Ladder Rung This example shows all the ladder rung components in one L5X file L5X File lt xml versionz 1 0 encadingz UTF 8 standalone yes 7 gt lt RSLogixSo00Content SchemaRevisianz 1 0 SaoftwareRevisionz 13 00 TargetType Rung ContainsContext true Qwner Rockwell Automation Rockwell Automation ExportDate Fri Jan 23 09 05 31 2004 ExportoOptions References Context ReferencesByllId RoutineLabels Ulds IOTags NoStringData gt lt Controller Use Context Name Test13 Uld f90ef395 gt lt DataTypes Use Context Uid d0cOad05 gt lt DataType Name Convevor Type Family NoFamily Class User Uld 23e0ab2b gt zDescriptianz lt CDATA Parameters associated with conveyor operation l lt Description lt Members gt lt Member Mamez zzZzzzzz7z7zGonvevor DataType SINT Dimensian 0 Radix Decimal Hidden true gt lt Member Mamez Motoar Run DataType BIT Dimensionz D Radixz Decimal Hidden false Target z zz
48. VisiblePins Source Dest Operand 01 VisiblePins In Out Operand MAVE 01 VisiblePins In Out gt lt array name Weight array name Operand 01 VisiblePins In Reset ResetValue Out 015 VisiblePins Source Mask Compare Operand MINC 01 VisiblePins In Reset ResetValue Out Operand VisiblePins SourceA SourceB Dest Operand T 01 VisiblePins In Sampleknable Out Storage array name Operand 01 VisiblePins SourceA SourceB Dest Operand lt 01 VisiblePins Inl 152 In3 114 In7 120 Selector Out MVMT 01 VrsrTblePins Source Mask Target Dest Publication 1756 RMO084K EN P 2005 5 16 Enter Function Block Diagram Logic Instruction NEG NTCH OR OSFI OSRI PIDE PMUL POSP RAD RESD RMPS RTOR Default Operand and VisiblePins formats components within the Block structure Operand NEG 01 VisiblePins Source Dest Operand t 02 VisiblePins SourceA SourceB Operand 39 NOT 01 VisiblePins Source Dest Operand NICHOL VisiblePins In Out OR 01 VisiblePins SourceA SourceB Dest
49. a Complete L5K Import Export File Format Place Information in an Import Export File Publication 1756 2005 Enter comments using either of these methods e Start the comment with two percent characters and stop at the end of the line e Start the comment with and end with a corresponding Comments can extend multiple lines The import export file contains different components of information These components are Component CONTROLLER DATATYPE MODULE TAG PROGRAM ROUTINE FBD ROUTINE SFC ROUTINE ST ROUTINE TASK TREND CONFIG Identifies name of the controller user defined and 1 0 data structures modules in the controller organizer controller scope tags program files ladder logic routines function block diagram routines sequential function chart routine structured text routine controller tasks any trend configured for the controller project configuration information All components in an import export file follow this structure Component Type component name Attributes body END Component Type Where Item Component Type component name Attributes body END Component Type Identifies the component as defined in above table a specific instance of the component any attributes of the component can also contain a description of the component separate each attribute with a comma any sub components ch
50. contains the configuration information and logic that you download to one controller Preceding the CONTROLLER component you have the header remarks optional and the version statement Import Export Version Owner Exported IE VER RSLogix 5000 15 00 User Name Fri May 20 105585 5 30 2005 Rockwell Automation Following the header and version statement the CONTROLLER component follows this structure CONTROLLER controller name Attributes END CONTROLLER Where Item Controller Attributes DATATYPE MODULE 5 CONFIG Publication 1756 2005 lt DATATYPE declaration lt MODULE declaration gt lt declaration lt PROGRAM declaration gt lt declaration gt lt CONFIG controller objects declaration Identifies the controller name for the project attributes of the controller can also contain a description of the controller separate each attribute with a comma 1 0 and user defined data structures See page 3 1 devices in the controller organizer See page 3 5 controller scope tags page 3 13 organization of routines See page 3 33 organization of programs see page 3 37 characteristics of controller objects status information page 3 48 Attribute Description ProcessorTiype Major TimeSlice PowerLossProgram MajorFaultProgram
51. content to import Select the L5X file When you offline and have a project open you can import rungs tags from a saved L5X file fs RSLogix 5000 import export example 1769 L35E MainProgram MainRoutine File Edit view Search Logic Communications Tools Window Help lo 835 Al Forces b No Edits H esl e o o 9 one fl 4 k Favorites A Bit Timer fCounter Input output Compe i j 2 Controller import export example 5 Controller Tags E3 Controller Fault Handler 221 Power Up Handler 2 Tasks Sa MainTask MainProgram Program Tags MainRoutine E3 Unscheduled Programs x Motion Groups Ungrouped Axes E Trends 2 Data Types User Defined Strings E Predefined Add Rung Module Defined Edit Rung ERE I O Configuration 1 1768 L35E Ethernet Port LocalENB dau CompactBus Local Import Rung Import Rung Look in Projects 000202000004 EX samples Select the file to import g lrenme Select the L5X file format Files of type RSLogis 5000 Import Export Files LE Cancel Help Click Import For more information about the structure of the L5X format for the partial import export of rungs or trends see For information on how to S
52. initial step and removes the initial step indicators from any other steps Specify InitialStep text whether the preset for the step timer is a structured text expression Enter Yes if you plan to enter an expression in a PRESET block otherwise enter No Specify PresetUsesExpression text whether the preset for the limit high alarm is a structured text expression Enter Yes if you plan to enter an expression in a LIMIT HIGH block otherwise enter No Specify LimitHighUsesExpression text whether the preset for the limit low alarm is a structured text expression Enter Yes if you plan to enter an expression in a LIMIT LOW block otherwise enter Specify LimitLowUsesExpression text whether to show or hide the step s actions Enter Yes or No Specify ShowActions text a structured text expression that specifies the preset time in milliseconds for the step timer If the PresetUsesExpression attribute above is Yes enter PRESET block see page 12 a structured text expression that specifies the preset time in milliseconds for a limit high alarm If the LimitHighUsesExpression attribute above is Yes enter a LIMIT HIGH block see page 13 a structured text expression that specifies the preset time in milliseconds for a limit low alarm If the LimitLowUsesExpression attribute above is Yes enter a LIMIT LOW block see page 13 the actions in the step see page 13 Enter a PRESET block The pre
53. is bitnumber for a bit in the tag element for an array element of the tag membername for a structure member of the tag Enter the name of the associated motion group or enter NA specify MotionGroup text Enter the name of the associated motion module or enter NA specify MotionModule text Enter Axis Ready Direct Drive Control Servo Control Axis Faulted or Axis Shutdown specify AxisState text Specify the type of units specify PositionUnits text Enter Seconds or Minutes specify TimeUnits text Attribute Instru uctronspeedUntts InstructionAccelDecelUnits InstructionMoveProfile InstructionJogProfile ConversqonCconstart HomeMode HomeSequenceType HomePosition HomeSpeed HomeReturnSpeed MaximumSpeed MaximumAcceleration MaximumDeceleration ProgrammedStopMode AverageVelocityTimebase ServoStatusUpdateBits MotionConfigurationBits AxisType PositionUnwind MaximumPositiveTravel MaximumNegativeTravel PositionErrorTolerance Import Export Revision History B 9 Description Enter Percentage or Engineering Units specify InstructionSpeedUnits text Enter Percentage or Engineering Units specify InstructionAccelDecelUnits text Enter Trapezoidal or S Curve specify InstructionMoveProfile text specify Trapezoidal or S Curve specify InstructionJogProfile text specify the conversion constant Enter a real number from 1 0 to 1 0
54. is exported If online edits exist there will be a LOGIC block for Online_Edit_Type Orig and then the appropriate LOGIC block for the existing edits Online Edit Type Pend indicates pending edits Online Edit Type Test indicates test edits If there are no online edits when the logic is exported there are no LOGIC blocks and the main components in the routine are structured text statements Publication 1756 2005 Enter Structured Text Logic 6 5 Enter Structured Text The following tables lists each structured text instruction and function For Instruction Type General sequential Instruction Process control or drives Instruction Motion instruction Instruction ABL ABS ACB ACL ACOS ADD AHL ALM AND ARD ARL ASIN ATAN AWA AWT BAND BNOT BOR BIDT BXOR more details see one of these manuals Documents Logix5000 Controllers General Instructions Set Reference Manual publication 1756 Logix5000 Controllers Process Control and Drives Instructions Set Reference Manual publication 1756 RMO006 Logix5000 Controllers Motion Instructions Set Reference Manual publication 1756 RM007 Neutral text format ABL Channel SerialPortControl dest ABS source ACB Channel SerazalPortConttroi ACL Channel ClearSerialPortRead ClearSerialPortWrite dest ACOS source dest sourceA sourceB AHL Channel ANDMask ORMask SerialPortControl A
55. routine separate each attribute with a comma ladder rungs ladder logic Specify ROUTINE attributes Specify these attributes for ROUTINE Attribute Description Description Provide information about the routine specify Description text Publication 1756 RMO084K EN P 2005 4 2 Enter Ladder Diagram Logic Enter Rung Logic Publication 1756 2005 Enter rung logic within a ROUTINE component in an import export file Each rung follows this structure RungType lt RungNeutralText gt Where Item Identifies RungType the rung RungNeutralText the logic The following rung types are available Rung type Description N normal insert D delete IR insert with a replace rR pending replace IR replace rl pending replace rN pending replace N e pending insert rung er pending replace rung Rung guidelines e Rungs are specified using neutral language See the rest of this chapter for the neutral text language format for the supported instructions e Each rung ends with semicolon Enter Ladder Diagram Logic 4 3 Ladder ROUTINE example This ladder routine exports as shown below This comment Far the First rung input output output e oO To This rung comment for the second rung inputa outputs ROUTINE Ladder example RCS THS a rung comment cor the Ne XIC rmnputl XTC inpurtZ
56. stuck in place due to static friction specify FrictionCompensation value Publication 1756 RM084K EN P May 2005 3 22 Create a Complete Import Export File Attribute FrictionCompensationWindow BacklashStabilizationWindow BacklashReversalOffset HardOvertravelFaultAction SoftOvertravelFaultAction PositionErrorFaultAction FeedbackFaultAction FeedbackNoiseFaultAction DriveFaultAction Testincrement TuningTravelLimit TuningSpeed TuningTorque DampingFactor DriveModelTimeConstant PositionServoBandwidth Publication 1756 2005 Description This window is defined as command position window attribute to command position window attribute While the command velocity is zero and the actual position is within this window the friction compensation or deadband compensation for hydraulics is applied proportionally to the position error While the command velocity is non zero the full friction compensation is applied specify FrictionCompensationWindow value The window controls the backlash stabilization feature the servo control loop Mechanical backlash is a common problem in applications that utilize mechanical gearboxes specify BacklashStabilizationWindow value specify the backlash reversal error to compensate for positional inaccuracy introduced by mechanical backlash specify BacklashReversalOffset value specify the fault action taken wh
57. this copyrighted publication in whole or part without written permission of Rockwell Automation is prohibited Throughout this manual we use notes to make you awate of safety considerations ATTENTION Or ATTENTION Identifies information about practices ot circumstances that can lead to personal injury or death property damage or economic loss Attention and warning statements help you to e identify a hazard e avoid a hazard recognize the consequences IMPORTANT Identifies information that is critical for successful application and understanding of the product Allen Bradley SLC 5 05 Compact and ControlLogix are trademarks of Rockwell Automation RSLogix 5000 RSLogix 500 RSNetworx and RSLinx are trademarks of Rockwell Software DeviceNet is a trademark of Open DeviceNet Vendor Association ODVA Summary of Changes Summary of Changes This document describes how to use version 2 6 major revision 2 minor revision 6 of the import export feature that is included with RSLogix 5000 programming software version 15 Changes made to this version of the manual include e nformation about when an imported file modifies a project such that you cannot go online and access a previously downloaded controller see page 1 10 e Equipment Phase program type see page 3 35 and its relay ladder and structured text instructions see chapter 4 and 5 e 1769 L32C CompactLogix 1768 L43 Compact
58. to abort outstanding external requests Otherwise enter None default opecify ExternalRequestAction text The RSBizware Batch equipment identifier for the Equipment Phase This value is set by the RSBizware Batch software when you synchronize with an RSLogix 5000 project file Do not modify this value The RSBizware Batch recipe phases for the Equipment Phase This value is set by the RSBizware Batch software when you synchronize with an RSLogix 5000 project file Do not modify this value PROGRAM guidelines Keep in mind these guidelines when defining a program e MAIN and FAULT attributes can be defined in any order e The TAG declaration block must occur before the routine block e All tag collection declaration blocks that occur in a program definition block imported as tags of a given program and can only be seen by routines under that program Controller tags on the other hand can be seen by routines in any program Publication 1756 RMO084K EN P 2005 3 32 Create Complete Import Export File PROGRAM example PROGRAM Prgl Main RoutineB Description I 5 0034 5 5 TAG stll DINT RADIX Decimal ProduceCount 0 2 Stl2 BOOL RADIX Binary ProduceCount lt 0 7s 23100000000 END TAG ROUTINE RoutineA JSR 2 LADDER 0 END ROUTINE ROUTINE RoutineB RC SE MORE 6 do not include xlc stlly ote st12 END
59. 1 Se Cia AG RECON 8 2 T XO D DO 8 2 Ay pe d 8 3 CONMENT Ey pee CO 8 3 Specify Rune Comment 8 4 Miles eee EE E 9 5 Export all tags and 8 6 Chapter 9 CL 0 UAR E 9 1 Identify components in L5X files 9 3 Place Information in a Ladder Rung L5X File 9 4 Detine Datadype pP pore eie aret 9 5 085 9 5 Member 25 9 6 Data a edt 9 7 Define a Module 9 7 Denner Tas Component ioci aet aco 9 8 9 9 Considerations for Using Microsoft Excel to Edit a CSV File Import Export Revision History De nea Proerd C ompoODEe Sec s 9 9 4 OOM ed d i ecard ia a ee 9 9 ROULNC hard ae ee oes 9 10 Prosram examples aad eds 9 11 Example Ladder Runes ESX Miles c ue En act 9 12 Place Information in a Trend L5X 9 13 a Lend Puoi
60. 4K EN P 2005 3 30 Create a Complete Import Export File Attribute Description lype Main Fault Mode DisableFlag Publication 1756 May 2005 Item Identifies FBD ROUTINE function block diagram routine for this program see chapter 5 ST ROUTINE structured text routine for this program see chapter 6 SFC ROUTINE sequential function chart routine for this program see chapter 7 You can intermix ROUTINE FBD ROUTINE ST ROUTINE and SFC ROUTINE declarations The maximum number of programs depends on the type of controller Controller Maximum Number of Programs ControlLogix 100 32 in firmware revisions prior to 15 SoftLogix5800 100 32 in firmware revisions prior to 15 FlexLogix 32 CompactLogix 32 DriveLogix 32 Specify PROGRAM attributes Specify these attributes for PROGRAM Description Provide information about the program specify Description text specify the type of program If this program is a Equipment Phase program enter EquipmentPhase Otherwise enter Normal specify Type text Name of the main routine of the program 40 characters maximum specify Main name Name of the program fault routine if any 40 characters maximum Specify Fault name Enter 0 for not testing edits enter 1 for testing edits specify Mode value Enter 1 to disable the program enter 0 to enable the program specify DisableFlag value Attrib
61. 6_00 1 0 12 Local 2 0 AB 1 55 DO OU 13 SCOPE ROUTINE OWNING ELEMENT LOCATION 14 RCOMMENT MainProgram MainRoutine First run the SFC routine JSRiMy SFC Routine 16 RCOMMENT MainProgram MainRoutine Example of a simple rung OTLiLacsl 1 l Data 7 18 RCOMMENT MainProgram MainRoutine Example of a rung with a branch OTEfLocal 2 0 Data 12 2 54 E 0 4 4 examples Tags 71 Edit Publication 1756 2005 Chapter 9 Structure the L5X Partial Import Export File Format Introduction This chapter explains the overall structure of the L5X Logix5000 XML file that can store a portion of an RSLogix 5000 project With RSLogix 5000 version 13 this includes ladder diagram logic fragments and the configuration for graphical trends For information about See page Place information in a ladder rung L5X file 9 4 Define a Datalype component 9 5 Define a Module component 9 7 Define a component 9 8 Define a Program component 9 9 Example ladder rung L5X file 9 12 Place information in a trend L5X file 9 13 Publication 1756 RMO084K EN P 2005 9 2 Structure the L5X Partial Import Export File Format The L5X file is an ASCII file that is based on
62. 84K EN P 2005 4 8 Enter Ladder Diagram Logic Instruction MSG MSO MUL MVM NEG NEQ NOP NOT ONS OR OSF OSR OTE OTU PATT PCLF PCMD PDET PFL PID POVR PPD PRNP PSC PXRO RAD RES RET RTOS SBR SFP SFR SIN SIZE Neutral text format MSG message control MSO axis motion control MUL Source A Source B destination MVM source mask destination source destination NEQ source A source B NOT source destination ONS storage bit OR SOUrPCe A Source B destlin0nqrtrom s storage bit output Dit OSR storage Drity OoUutput data Dit OTs DIC PATT phase Name result PCLE phase Mame gt PCMD phase result PDET phase name PFL source PID PID process varrzable treback control Variableypid master Joop inhold bit inhold value POVR phase name command result PPDY PRNP PSC 7 PXRO phase instruct2ion external request value RAD source destination RES structure RTO timer preset accum RTOS source destination routine name targer State SFR SFC routine name step name SIN source destination SIZE souce dimension LO vary orsze Publication 1756 2005 Instru
63. ACS ADD ALM AND ASN ATN BAND BNOT BOR BIDT BXOR COS CTUD instruction see one of these manuals Documents The following tables lists each function block instruction and its format in the Block component of an import export file For details about a specific Logix5000 Controllers General Instructions Set Reference Manual publication 1756 Logix5000 Controllers Process Control and Drives Instructions Set Reference Manual publication 1756 RMO006 Logix5000 Controllers Motion Instructions Set Reference Manual publication 1756 RM007 Default Operand and VisiblePins formats components within the Block structure Operand t ABS 01 VisiblePins Source Destination 2 4605 01 VisiblePins Source Destination ADD 01 VisiblePins SourceA SourceB Destination Operand ALM 01 VisiblePins HHAlarm HAlarm ROCNegAlarm AND 01 VisiblePins SourceA SourceB Destination Operand ASN 01 VisiblePans Source Destination Operand 01 VisiblePins Source Destination Operand BAND 01 VisiblePins lt Ini In2 In Ind Out Operand BNOT 02 VisiblePins In Out Operand BOR 01 VisiblePins Inl In3 Ind Qut 01 VisiblePins Source SourceBit Length Operand BXOR 01 VisiblePins Inl In2
64. AccelRate AccelUnits DecelRate DecelUnits Profile Merge MergeSpeed MAOCC AxIS Execut ironTarget MotronControl O0utput rnput OutputCam CamStartPosition CamEndPosition OutputCompensation ExecutionMode ExecutionSchedule AxisArmPosition CamArmPosition Reference MAPC SlaveAxis MasterAxis MotionControl Direction CamProfile SlaveScaling MasterScaling ExecutionMode ExecutionSchedule MasterLockPosition CamLockPosition MasterReference MasterDirection MAR Axis MotionControl TriggerCondition WindowedRegistration MinimumPosition MaximumPosition MAS Axis MotionControl StopType ChangeDecel DecelRate DecelUnits Publication 1756 RM084K EN P May 2005 6 8 X Enter Structured Text Logic Instruction MASD MASR MATC MAVE MAW MAXC MCCD MCCM MCCP MCD MCLM MCS MCSD MCSR MCSV MDF MDO MDOC MDR MDW MEQ MGS MGSD MGSP MGSR MID MINC MOD MRAT Neutral text format MASD Axis MotionControl MASR Axis MotionControl MATC Axis MotionControl Direction CamProfile DistanceScaling TimeScaling ExecutionMode ExecutionSchedule MAVE tag storage weight MAW Axis MotionControl TriggerCondition Position tag MCCD Coordinate system MotionControl MotionType ChangeSpeed Speed SpeedUnits ChangeAccel AccelRate AccelUnits ChangeDecel DecelRate DecelUnits Scope MCCM CoordinateSystem MotionControl MoveType Position CircleType Via Center Radius Direction Sp
65. Alias or Datalype Radix the data type of the tag such as SINT INT DINT REAL BOOL specify decimal hex octal binary exponential float AliasFor or ASCII the base tag for an alias tag Within the L5X file Tag declarations before the Program component are for controller scope tags Tag declarations within a Program component are program scope tags for that program For more information on Tag attributes see the Tag information on page 3 12 otructure the L5X Partial Import Export File Format 9 9 Tag example Tags Usez Gontext Uld d5al8dfb Tag Disabled urd a 7e31ed TagType Alias DataType BOOL Radis Decimal AliasFor Local 1 1 Data O gt lt Descriptian gt No Estop pressed gt z Descriptianz lt Data gt O0 lt Data gt lt gt Tag 1 M ulrd 1 0ffa3l1dc TagType Alias DataType BOOL Radix Decimal AliasFarz Lacal 2 O0 Data 0 zDescriptianz Conveyor Motor Starter Output gt Description lt Data gt O0 lt Data gt lt Tag gt Tag Name Local 2 0 1 2 0 DataType 4B 1756_D0 0 0 10 true gt lt Data gt O0 00 00 OO lt Data gt lt ForceData gt 00 00 00 00 00 00 00 O c FarceData Tags Tag 11 419 547 3 8 DataType AB 1756 DI I 0 Io true zD
66. CommPath CommDriver RedundancyEnabled KeepTestEditsOnSwitchOver DataTablePadPercentage SecurityCode SFCExecutionControl SFCRestartPosition Structure a Complete L5K Import Export File Format 2 5 Specify CONTROLLER attributes Specify these attributes for a CONTROLLER Description Provide information about the controller specify Description text Specify the type of controller 1756 L55 1756 L60MO3SE 1756 L61 1756 162 1756 63 1768 L43 1769 L31 1769 L32C 1769 L32E 1769 L35CR 1769 L35E 1789 L60 1794 34 Emulator PowerFlex 7005 2 specify ProcessorType name opecify the major revision number 1 127 of the controller specify Major number Percentage of available CPU time 10 90 that is assigned to communications specify TimeSlice value Name of the program to be executed on reboot after a power loss specify PowerLossProgram name Name of the program to be executed when a major fault occurs specify MajorFaultProgram name specify the devices in the communication path The communication path ends with the controller Backplane 1 This is only exported if you select manual configuration of the communications path in RSLinx software specify CommPath device device device Backplane 1l specify the type of communication driver This is the name of the selected driver in RSLinx software This 15 only exported if you select manual configuration of the communication
67. D HERE NO POSTAGE NECESSARY IF MAILED IN THE UNITED STATES BUSINESS REPLY MAIL FIRST CLASS MAIL PERMIT NO 18235 CLEVELAND OH POSTAGE WILL BE PAID BY THE ADDRESSEE Allen Bradley 3 Rockwell 1 ALLEN BRADLEY DR MAYFIELD HEIGHTS OH 44124 9705 PLEASE REMOVE Rockwell Automation Support Rockwell Automation provides technical information on the web to assist you in using our products At http support rockwellautomation com you can find technical manuals a knowledge base of FAQs technical and application notes sample code and links to software service packs and a MySupport feature that you can customize to make the best use of these tools For an additional level of technical phone support for installation configuration and troubleshooting we offer TechConnect Support programs For mote information contact your local distributor or Rockwell Automation representative visit http support rockwellautomation com Installation Assistance If you experience a problem with a hardware module within the first 24 hours of installation please review the information that s contained in this manual You can also contact a special Customer Support number for initial help in getting your module up and running United States 1 440 646 3223 Monday Friday 8am 5pm EST Outside United Please contact your local Rockwell Automation representative for any States technical support issues N
68. Elztal Dallau Germany Tel 49 6261 9410 Fax 49 6261 17741 Asia Pacific Rockwell Automation 55 Newton Road 11 01 02 Revenue House Singapore 307987 Tel 65 351 6723 Fax 65 355 1733 Publication 1756 May 2005 PN 957955 63 Supersedes Publication 1756 RMO84l EN P August 2004 Copyright 2005 Rockwell Automation Inc All rights reserved Printed in the U S A Allen Bradl Logix5000 Controllers Import Export Reference Manual
69. Equal Tag Target Not Equal Tag Target Less Than Tag Target Greater Than Tag Target Less Than or Equal To Tag lt Target Greater Than or Equal To Tag Target Positive Slope slope of Tag is positive Negative Slope slope of Tag is negtive Bitwise OR Tag OR Target 0 10 Bitwise OR Tag OR Target 0 11 Bitwise AND Tag AND Target 0 12 Bitwise AND Tag AND Target 0 13 Bitwise Tag Target 0 14 Bitwise Tag Target 0 specify StartTriggerOperationl number specify the type of the first start trigger target Enter TargetValue or If you enter TargetValue StartTriggerTargetValue1 is expected Otherwise otartIriggerTargetTag1 is expected specify StartTriggerTargetTypel text Specify a target value if the StartIriggerTargetType1 is TargetValue Enter a binary octal decimal or hexadecimal integer number or enter a floating point number specify StartTriggerTargetValuel text Attribute StartTriggerTarget Tagl StartTriggerLogical Operation StartTriggerTag2 StartTrigger Operation2 StartTriggerTarget Type2 StartTriggerTarget Value2 StartTriggerTarget Tag2 PreSampleType PreSamples StopTriggerType StopTriggerTagl Create a Complete Import Export File 3 37 Description specify a target tag if the StartIriggerTargetType is The tag must b
70. F logic 5 7 LOGIC block 5 6 logic 5 9 OREF logic 5 7 SHEET logic 5 3 WIRE logic 5 10 format CSV 8 1 5 2 1 3 1 5X 3 41 9 1 function block logic 5 2 online edits 5 6 G guidelines ATTACHMENT 7 23 BLOCK logic 5 12 CONTROLLER 2 6 DATATYPE 3 4 DIRECTED LINK 7 21 ICON logic 5 9 IREF logic 5 8 MODULE 3 9 5 9 OREF logic 5 8 PROGRAM 3 31 rung logic 4 2 SHEET logic 5 3 guidelines continued TAG 3 28 TASK 3 34 TEXT BOX 7 22 TREND 3 41 WIRE logic 5 11 H history import export feature 1 ICON component 5 9 example 5 10 guidelines 5 9 Importing complete project 1 3 CSV format 1 6 file structure 2 2 9 4 L5K format 1 3 L5X format 1 9 ladder rungs 1 9 partial project 1 6 1 9 1 3 tags 1 6 1 9 trends 1 9 types 1 1 initial values 3 27 instructions 4 4 5 13 6 5 internal file comments 2 1 8 1 IREF component 5 7 example 5 8 guidelines 5 8 L5K format 2 1 3 1 L5X format 1 8 3 41 9 1 LEG block 7 20 LIMIT HIGH block 7 13 LIMIT LOW block 7 13 logic 4 2 5 2 6 2 7 1 LOGIC block 5 6 6 4 7 9 Publication 1756 May 2005 MESSAGE TAG 2 16 Microsoft Excel A 1 MODULE attributes 3 5 component 3 5 connection list 3 8 example 3 10 guidelines 3 9 Moduler component 9 7 MOTION GROUP TAG 2 15 neutral text 4 4 5 12 nuetral text 6 5 0 objects 3 43 OCON component 5 9 example 5 10 guidelines 5 9 online function block 5 6 online seq
71. FileName Create a Complete Import Export File 3 7 Description opecify whether to connect to the exact module that matches the electronic keying information vendor product code product type major revision minor revision No keying will connect to any module Specify To 240000 0000 0000 0000 disable keying 240000 0000 0001 1111 require a replacement module to be compatible 240000 0000 0001 1111 require a replacement module to be exact match The values for compatible module and for exact match are the same because this attribute is used in conjunction with CompatibleModule above to distinguish between compatible module or exact match opecify KeyMask binary String opecify the size of the data associated with the primary input connection 0 500 bytes specify PrimCxnInputSize number Specify the size of the data associated with the primary output connection 0 496 bytes specify PrimCxnOutputSize number Specify the size of the data associated with the secondary input connection 0 500 bytes Typically there is one 1 0 connection on a module primary connection If there are two the second connection is the secondary connection opecify SecCxnInputSize number opecify the size of the data associated with the secondary input connection 0 496 bytes Typically there is 1 0 connection on a module primary connection If there are two the second connection is the secondary connection sp
72. ID 39 Y 1220 BranchType Selection BranchFlow Converge LEG ID 40 END LEG LEG ID 41 END LEG END BRANCH Publication 1756 2005 1 8 Enter Sequential Function Chart Logic STEP ID 42 X 280 Y 1260 Step 000 HideDescription No DescriptionX 360 DescriptionY 1240 DescriptionWidth 0 InitialStep No PresetUsesExpression No LimitHighUsesExpression No LimitLowUsesExpression No ShowActions Yes END STEP STEP ID 44 X 460 Y 2080 Operand ConsumedTag Step HideDescription Yes DescriptionX 514 DescriptionY 1065 DescriptionWidth 0 InitialStep No PresetUsesExpression No LimitHighUsesExpression No LimitLowUsesExpression No ShowActions Yes END STEP TRANSITION ID 46 X 120 Y 1160 Operand UDT Elem Tran Member HideDescription Yes DescriptionX 155 DescriptionY 1145 DescriptionWidth 0 CONDITION LanguageType ST TempTag gt 0 END CONDITION END TRANSITION DIRECTED LINK FromElementID 46 ToElementID 41 ShowLink True END DIRECTED LINK DIRECTED LINK FromElementID 15 ToElementID 33 ShowLink True END DIRECTED LINK DIRECTED LINK FromElementID 35 TToElementID 46 ShowLink True END DIRECTED LINK DIRECTED LINK FromElementID 3 ToElementID 37 ShowLink True END DIRECTED LINK DIRECTED LINK Er
73. INK TEXT BOX ID 48 X 260 Y 1380 Width 0 Text Simultaneous Branch Converge Text Box END TEXT BOX ATTACHMENT FromElementID 48 ToElementID 17 END ATTACHMENT END SFC ROUTINE Export Sequentical If you export sequential function chart logic that contains online edits the Function Chart Logic While export file exports LOGIC blocks to indicate the original test edits and pending edits states If there are no online edits you will not see these LOGIC Editing Online blocks The LOGIC blocks follow this format Example 1 Both lest edits and Pending edits exist ROUTINE MySECRBOUtine SheeteLize Letter SheetOrientation Landscape StepName Step TransitionName Tran ActionName Action StopName Stop LOGIC Online Edit SEC logic END LOGIC LOGIC Online Edit Type lt Test ORC Logic Here END LOGIC LOGIC Online Edit Fend SEC here END LOGIC END SFC ROUTINE Publication 1756 RMO084K EN P 2005 1 10 Enter Sequential Function Chart Logic Example 2 Only Pending edits exist OEC ROUTINE MySPCROUTING oneetolze netter 9 9xll18 SheetOrientation Landscape StepName Step TransitionName Tran ActionName Action StopName Stop LOGIC Online 0528 SEC Here END LOGIC LOGIC Onl
74. If the task is a periodic task specify how often to run the task 1 000 2 000 000 000 us specify Rate number Priority Specify the priority of a periodic task 1 15 specify Priority number Publication 1756 RM084K EN P May 2005 3 34 Create a Complete Import Export File Attribute Watchdog EventTrigger EventTag EnableTimeout DisableUpdateOutputs InihibitTask Publication 1756 2005 Description Enter the watchdog timeout for the task 1 000 2 000 000 000 us Specify Watchdog number Only used for event tasks Specify the trigger for the event task Enter Axis Home Axis Watch Axis Registration 1 Axis Registration 2 Motion Group Execution EVENT Instruction Only Module Input Data State Change Consumed Tag or Windows Event Specify EventTrigger text Only used for event tasks with a Consumed Tag trigger or a Module Input Data State Change trigger Specify the tag to consume Specify EventTag tag name Enter Yes to enable timeouts for the task Otherwise enter No opecify EnableTimeout text Enter Yes to disable updates to outputs while the task executes Otherwise enter No The default for a periodic or continuous task is No The default for an event task is yes specify DisableUpdateOutputs text Enter Yes to inhibit the task Otherwise enter No specify InhibitTask text TASK guidelines Keep these guidelines in mind when defining a task
75. LM ALM tag dest sourceA 4 sourceB dest sourceA AND sourceB ARD Channet DesStination SerialPortControl ARL Channel DestQination SerralPortControl dest ASIN source dest ATAN source AWA Channel Source SerialPortControl AWT Channel Ssource SerialPortGonLttol s IF operandA AND operandB THEN statement ENDIF IF NOT operand THEN statements ENDIF IF operandA OR operandB THEN lt statements gt ENDIF BTDUBTDT Lag IF operandA XOR operandB THEN lt statements gt ENDIF Publication 1756 2005 6 6 Enter Structured Text Logic Instruction Neutral text format CASE OF CASE numeric expression OF CLR CONCAT COP COS CPS CTUD 0250 0350 DEG DELETE DERV DFF DIV DTOS EOT EQU ESEL EVENT FGEN FIND FOR DO GEQ GRT GSV selectori statement selectorN statement ELSE statement END CASE dest 0 CONCAT SourceA SourceB Dest COP Source Dest Length dest CPS Source Dest Length CTUD 25 tag D3SD D3SD tag DEDT DEDT tag storage dest DEG source DELETE Source Qty Start Dest DERV DERV tag DFF DFF tag dest sourceA sourceB DIOSCoourceDest s EOT DataBit IF sourceA sources THEN lt statements gt ENDIF ESEL ESEL tag BVENT CASK FGEN FGEN tagoX1 Yl1 X2 Y2 7 EIND SouUrce 5earch start hResut FOR count initial valu
76. Logix controllers This release also removes support for the 1756 L1 ControlLogix 1794 L33 FlexLogix 1769 L20 CompactLogix 1769 L30 CompactLogix and PowerFlex 700 5 controllers e Additional values for the Mode attribute of a MODULE component see page see page 3 6 e New SERCOS IDN Read and SERCOS IDN Write message types see page 3 19 e New motion AXIS GENERIC DRIVE type see page 3 20 e ControlLogix and SoftLogix controllers now support 100 programs pet task see page 3 30 e Removal of the DescriptionWidth parameter from the STEP TRANSITION and STOP components in SFC logic see chapter 7 e Addition of an Attributes column to the CSV format for exported tags see chapter 8 Publication 1756 RMO084K EN P 2005 summary of Changes 2 Notes Publication 1756 May 2005 Import and Export Files Structure a Complete L5K Import Export File Format Create a Complete Import Export File Table of Contents Chapter 1 OUUCHOMN 45 44 utd o dedi 1 1 Exporta Project 10 3 Text Des au aa been qe rine as 1 2 Importa Text pvo SE 1 3 I xporttod GOV DIO icis one neri ote io te Rene 1 5 Delect Ne SCOPE dace ede 1 5 Import 2 o cid ode qutd 1 6 Ppor toam Cie sse odes d o dt bete 1 8 Import an 393 OR e Pd
77. MT OCON ares coe tete pr o Ser a 5 9 ICON and 5 10 Enter Wires and Feedback Wires 5 10 5 11 steer 9 rade aaa eee 5 11 222 gt 5 11 DLOCK ouldelines 5 12 Enter Parameters for Function Block Instructions 5 13 Chapter 6 TPO cede 6 1 Entert a Structured Text 6 1 Specify ST ROUTINE atA DUS dane me totns 6 1 inter Structured Text 24 62259595 6 2 Structured text 5T ROW VINE 6 3 Enter d ute etie 6 3 Export Structured Text Logic While Editing Online 6 4 Enter dio See Ro SOS ute odo prs abe 6 5 Chapter 7 OTI sd diete ERU do aa E 7 1 Enter a Sequential Function Chart Routine 7 1 Specify SPEC ROUTINE attributes 7 3 on e 7 4 Export Sequentical Function Chart Logic While Editing Online 7 9 PMC Ole edenda La eu 7 11 Emera PRESE T obe dI eiut 7 12 Enter LIMIT HIGH 7 13 Enter a LIMIT_LOW 7 13 Enter an ACTION LIST
78. Module component defines any modules associated with the section of Co mponen 4 rungs you export For example the Module component can contain I O modules referenced by I O tags modules accessed by GSV SSV instructions ot controllers referenced in consumed tags The Module component uses this structure zMadules Use Context Uld cbh15434a gt lt Module Use Contert Name Local Uld 42741be5 gt lt Module Use Conterxt uUrdz 28b50c934 gt lt Module Use Contert Urd z fcfdb37a gt where Controller Item Identifies Use the use of the module specify Context or Target Name the name of the module UID the controller project with a unique combination of numbers and letters Publication 1756 RMO084K EN P 2005 9 8 Structure the L5X Partial Import Export File Format Define a Tag Component The Tag component defines the tags either associated with the section of rungs you selected or within the program you selected The Tag component uses this structure Tags Use Context UId d5a18dfb Tag Mame Sample Tag Uld Sad464e2 DataType SampleDT gt lt Tags gt Publication 1756 May 2005 where Controller Item Use Identifies the use of the tags specify Context or Target Tag Name UID the name the tag the tag with a unique combination of numbers and letters specify
79. OTE OoUtpurtl OTE Oourput2 RC This is a rung comment for the second rung NecXTCOounnput3o O0TE Ooutput2 END ROUTINE Enter Branches Enter a single branch or simultaneous branches on a rung A branch follows this structure BranchNeutralText Where Item Identifies the branch the beginning of each branch within the branch to account for simultaneous branches Space the end of each branch within the branch to account for simultaneous branches BranchNeutral Text the logic Publication 1756 RM084K EN P May 2005 4 4 Enter Ladder Diagram Logic Example with a single branch Nz SIC Conve yore 1 XI0O OTE laght 1 7 Example with two simultaneous branches Nev XIC convevor XI input 1 2 input IO rnput D OTE Light 27 Enter Rung Comments The comments for rungs similar to those for components except that the syntax is a bit different The rung comment syntax is RC comment more etc A rung comment must be followed by a rung Enter Neutral Text for The following tables lists each ladder instruction and its neutral text format Ladder Instructions For details about a specific instruction see one of these manuals Instruction Type Documents Basic sequential Logix5000 Controllers General Instructions Set Reference Manual publication 1756 Instruction Process control or drives
80. S IsBoolean Yes PresetUsesExpression No IndicatorTag END ACTION ACTION ID 30 ConsumedTag Action Qualifier PO IsBoolean No PresetUsesExpression No IndicatorTag ConsumedTag Indicator BODY LanguageType ST END BODY END ACTION END STEP STEP ID v 31 X 120 X 2 8905 2e C Array 5 0 1 21 HideDescription Yes DescriptionX 179 DescriptionY 865 DescriptionWidth 0 InitialStep No PresetUsesExpression No LimitHighUsesExpression No LimitLowUsesExpression No ShowActions Yes END STEP TRANSITION ID 33 X 460 Y 1000 Nolag Tran HideDescription Yes DescriptionX 495 DescriptionY 985 DescriptionWidth 0 CONDITION LanguageType ST gt 0 END CONDITION END TRANSITION STEP ID 35 X 120 Y 1080 UDT Elem Step Member HideDescription Yes DescriptionX 199 DescriptionY 1065 DescriptionWidth 0 InitialStep No PresetUsesExpression No LimitHighUsesExpression No LimitLowUsesExpression No ShowActions Yes END STEP STEP ID 37 X 720 Y 880 Step 001 HideDescorrption No DescriptionX 760 DescriptionY 940 DescriptionWidth 0 InitialStep No PresetUsesExpression No LimitHighUsesExpression No LimitLowUsesExpression No ShowActions Yes END STEP BRANCH
81. TAN TOD TOFR TONR TOT TRN Enter Function Block Diagram Logic 5 17 Default Operand and VisiblePins formats components within the Block structure Operand t 205 01 VisiblePins In Out Operand SERV VisiblePins In Out Operand SEL 01 VisiblePins Ini In2 SelectorIn Out Operand ETD Ol VisiblePins Set Reset Out OutNot Operand esepN 1 VisiblePins SIN source destination Operand SNEG 01 VisiblePins In NegateEnable Out 500 VisiblePins In Out Operand ee SOR 01 VisiblePins Source Dest Operand lt 5RTP 01 VisiblePins In HeatOut CoolOut HeatTimePercent CoolTimePercent Operand SSUM 01 VisiblePins Ini Selecti In2 Select2 In3 Select3 In4 Select4 Out Operand r SUB Ul VisiblePins SourceA SourceB Dest Operand TAN 01 VisiblePins Source Dest Operand 2 700301 VisiblePins Source Dest Operand TOER VisiblePins TimerEnable PRE Reset DN Operand TONR 01 VisiblePins TimerEnable PRE Reset DN Operand 01 VisiblePins t In ProgProgReg ProgOperReg ProgStartReq ProgStopReg ProgResetReq Total OldTotal ProgOper RunStop ProgResetDone TargetFlag TargetDeviFlag TargetDev2Flag Operand 01 VisiblePins Source Dest Publication
82. TCalibrationConstant value Publication 1756 RM084K EN P May 2005 3 20 Create Complete Import Export File Attribute LDTCalzbratronconstantUnlts LDTScaling LDTScalingUnits LDTLength LDTLengthUnits SSICodeType SolDataLength SolClockFrequency AbsoluteFeedbackEnable AbsoluteFeedbackOffset servoFeedbackType ServoPolarityBits VelocityFeedforwardGain AccelerationFeedforwardGain PositionProportionalGain PositionIntegralGain VelocityProportionalGain VelocityIntegralGain VelocityScaling Publication 1756 2005 Description opecify the units of the calibration constant Enter us in or m s specify LDTCalibrationConstantUnits text Define the relationship between the unit of measurement of the transducer and the system This is necessary for calculating the conversion constant The LDT length 15 used with the number of recirculations to calculate the minimum servo update period Specify LDTScaling value specify the units of scaling Enter us in or m s specify LDTScalingUnits text specify the length of the LDT specify LDTLength value specify the units of length Enter us in or m s specify LDTLengthUnits text Specify the encoding on the data sent from an SSI transducer Enter Binary or Grey specify SSICodeType text Specify the data length 8 32 bits of the SSI transducer The default value is 13 specify SSIDataLength t
83. TD tag SFP SFP SFCRoutineName TargetState SFR SFR SFCRoutineName StepName SIN dest SIN source SIZE SIZE Souce Dimensiontovary Size SNEG SNEG SNEG tag SOC SOC SOC tag SORT dest SORT source SRT SRT Array Dimtovary Control SRTP SRTP SRTP tag SSUM SSUM SSUM tag SSV SSV ClassName InstanceName AttributeName Source STOD STOD Source Dest STOR STOR Source Dest SUB dest sourceA sourceB SWPB SWPB Source OrderMode Dest TAN dest source TOFR TOFR TOFR tag TONR TONR TONR tag TOT TOP TOE TRUNC dest TRUNC source UID UID UIE UPDN UPDN tag Publication 1756 RMO084K EN P 2005 Instruction UPPER WHILE DO XIC 0 XOR Neutral text format UPPER Source Destination WHILE bool expression DO statement END WHILE LE DiC THEN lt statement gt END IF LE NOT data bit THEN statement END IF dest sourceA XOR sourceB dest sourceX XPY sourceyY Enter Structured Text Logic 6 11 Publication 1756 RMO084K EN P 2005 6 12 Enter Structured Text Logic Notes Publication 1756 2005 Introduction Enter a Sequential Function Chart Routine Chapter Enter Sequential Function Chart Logic This chapter explains how to enter sequential function chart logic in a complete import expott file For information abo
84. al legs of the branch Enter one leg block for each leg of the branch see page 20 Publication 1756 RM084K EN P May 2005 1 20 Enter Sequential Function Chart Logic Entering the LEG block The leg block identifies a leg of a branch Legs follow this format LEG ID ie gue rdentrrtrer Force FALSE END LEG Where Item Identifies ID the leg identifier This ID uniquely identifies this leg from all other blocks Enter an unsigned 32 bit integer value specify ID number Force whether the leg is forced or not You can only force a leg in a simultaneous branch Either omit this attribute for no forces or enter FALSE to force the leg false specify Force text BRANCH example BRANCH ID 4 Y 200 BranchType Simultaneous BranchFlow Diverge LEG ID 5 END LEG LEG ID 6 END LEG LEG ID 7 END LEG END BRANCH Publication 1756 2005 Enter Sequential Function Chart 1096 17 21 Enter Directed Links The directed link blocks in an SFC routine identify the links between SFC components Directed links follow this format DIRECTED LINK 1 gt TOR LenenGlD rdencrifrer ShowLink lt TRUE FALSE gt END DIRECTED LINK Where Item Identifies FromElementID the source element of the link Enter an unsigned 32 bit integer value specify FromElemen
85. alues 0 255 specify PositionDataScaling value Specify the scaling factor for all position data in a drive 1 65535 specify PositionDataScalingFactor value Specify the scaling exponent for all position data in a drive 32768 to 32767 specify PositionDataScalingExp value Specify the scaling method to use for all velocity values 0 127 specify VelocityDataScaling value Specify the scaling factor for all velocity data 1 65535 specify VelocityDataScalingFactor value Specify the scaling exponent for all velocity data 32768 to 32767 specify VelocityDataScalingExp value Specify the scaling method for all acceleration values 0 127 specify AccelerationDataScaling value Specify the scaling factor for all acceleration data 1 65535 specify AccelerationDataScalingFactor value Specify the scaling exponent for all acceleration data 32768 to 32767 specify AccelerationDataScalingExp value Specify the scaling method for all torque values 0 127 specify TorqueDataScaling value opecify the scaling factor for all torque values 1 65535 specify TorqueDataScalingFactor value Specify the scaling exponent for all torque values 32768 to 32767 specify TorqueDataScalingExp value opecify the polarity of the servo loop of the drive Enter Custom Positive or Negative specify DrivePolarity text opecify the type of motor associated with the selected motor MotorCatalogN
86. ataz 00 00 00 00 00 00 OOc Dataz lt ForceData gt 00 00 00 00 00 00 00 00 00 OUc ForceData lt gt lt Tags gt Define a Program The Program component defines the programs used in the section of rungs Compon ent you export The Program component uses this structure lt Programs Use Context Urd 2 3238c36d Program Use Context Name MainPragram Uld d 6ddbel lt Programs gt Specify a Program Each program declaration within this component defines a program and the routines within that program Repeat this structure for each program Program Use Context Name MainPragram Uld d 6ddbel Tags Usez Gontext Uld 54231b5 gt lt Routines Use Context Uld 4fca5a09 gt lt Program gt Publication 1756 RM084K EN P May 2005 9 10 Structure the L5X Partial Import Export File Format where Controller Item Identifies Use the use of the program specify Context or Target Name the name of the program UID the program with a unique combination of numbers and letters Specify a Routine Each routine declaration within a program declaration defines the routines of that program Repeat this structure for each routine zRautine Lse z Gontext 19 800803 7 7 gt zRLLCantent Use Context gt lt Rung Use Target 0 Tvpe N Uld cc69634c gt lt
87. ate a Complete Import Export File Attribute Description Comment MotionGroupInstance oystemType Dimension Axes CoordinationMode CoordinationUnits ConversionRatioNumerator ConversionRatioDenominator CoordinateSystemAutoTag Update MaximumSpeed MaximumAcceleration Publication 1756 2005 Specify attributes for COORDINATE_SYSTEM tag The COORDINATE SYSTEM tag has these attributes Description Provide information about the tag opecify Description text Provide information about a tag component specify Comment specifier text Where the specifier 15 bitnumber for a bit in the tag element for an array element of the tag structure member of the tag Enter the name of the associated motion group or enter NA specify MotionGroupInstance text opecify the coordinate system type Currently only Cartesian is available specify SystemType Cartesian specify the number of axes that this coordinated system supports Enter 1 2 or 3 specify Dimension value Specify the name of the axes in this coordinated system specify Axes value specify coordination mode Currently only Primary is available specify CoordinationMode Primary Specify units to be used for measuring and calculating motion related values such as position velocity etc Enter units that are relevant to your application specify
88. attributes Specify these attributes for a standard TAG Description Provide information about the tag SDBclly Description e text Provide information about a tag component specify Comment specifier text Where the specifier 15 bitnumber for a bit in the tag element for an array element of the tag for a structure member of the tag opecify the display style as decimal hex octal binary exponential float or ASCII specify Radix value Specify the number of consumers allowed any positive number specify ProduceCount value If this tag is mapped to a PLC controller specify the file number any positive number specify PLCMappingFile number If this tag is mapped to a PLC 2 file set this attribute to 1 If this tag is not mapped to a PLC 2 file set this attribute to 0 specify PLC2Mapping value If the project programmatically sends an event trigger set this attribute to 1 Otherwise set this attribute to 0 specify ProgrammaticallySendEventTrigger value If the controller consumes this tag specify the name of the remote controller that produces this tag You must also specify Remote lag and RPI attributes specify Producer name If the controller consumes this tag from a controller that supports tag names specify the name of the tag on the remote controller You must also specify Producer and RPI attributes specify RemoteTag name Attribute RemoteFi
89. cify VelocityDroop value Specify the velocity limit symmetrically in both directions any positive number specify VelocityLimitBipolar value Specify the acceleration and deceleration limits for the drive any positive number specify AccelerationLimitBipolar value Specify the torque limit symmetrically in both directions 0 1000 0 specify TorqueLimitBipolar value Specify the maximum allowable velocity in the positive direction any positive number specify VelocityLimitPositive value Specify the maximum allowable velocity in the negative direction any positive number specify VelocityLimitNegative value Specify the velocity threshold limit any positive number specify VelocityThreshold value Specify the limits of the velocity window any positive number specify VelocityWindow value specify the velocity limit for the standstill window any positive number specify VelocityStandstillWindow value Specify the maximum acceleration ability of the drive any positive number specify AccelerationLimitPositive value Specify the maximum acceleration ability of the drive any negative number specify AccelerationLimitNegative value Specify the maximum torque in the positive direction 0 1000 0 specify TorqueLimitPositive value opecify the maximum torque in the negative direction 1000 0 0 specify TorqueLimitNegative value opecify the torque threshold 0 1000 0
90. ckwell Automation Rockwell Automation ExportDate Wed Jul 16 14 36 33 2003 ExportOptions Context gt Cantraller Usez Context Name Conveyor Trends Use Context gt lt Trend Use Target Name Conveyor Operation SamplePeriod 10 NumberOtCaptures 1 CaptureSizeTvpe Samples Capturesize 60000 StartTriggerT ype No Trigger StopTriggerType No Trigger TrendxVversionz 5 2 Color 16 00ff 0000 Width 1 Style 0 Markerz D 0 0 Max 100 0 gt TL 16 0000_ true Width 1 Style 0 Marker 0 0 0 Max 100 0 gt Namez z PE 16 0000_001 Vvisiblez true Width 1 Style 0 Markerz Min 0 0 Max 100 0 gt Color 1624 00ff_OOff isible true Width 1 Type Analog Style 0 Markerz D 0 0 Max 100 0 gt lt f Trend Trends zcantrallerz lt RSLogixSO000Content gt Publication 1756 RM084K EN P May 2005 9 16 Structure the L5X Partial Import Export File Format Notes Publication 1756 2005 Introduction Recommendations Appendix A Considerations for Using Microsoft Excel to Edit a CSV File This appendix describes how using Microsoft Excel can affect a CSV file
91. ct by right clicking on the trend in the Controller Organizer and selecting Export This saves the trend as a L5X file XML format which follows the same format as described above for the complete project L5K file For more information see chapter 9 e To import a trend L5X file into a controller project right click on the Trends in the Controll Organizer and select Import Publication 1756 RM084K EN P May 2005 3 42 Create a Complete Import Export File TREND example TREND trendl SamplePeriod 10 NumberOfCaptures 1 CaptureSizeType Samples Capturesrze 60000 StartTriggerType No Trigger StopTriggerType No Trigger TrendxVersion 5 2 Template 208 20 Vol yay fy eo Oy gU Ugly 0 00 DOG OT PEN Status Color END PEN PEN cus Color END PEN END TREND Publication 1756 2005 9540 07070 0407 0 707 1 Visible Width lype Style Marker Min Max Visible Width Type Style Marker Min Max DU 070707 0737 04 2045 25905 1 65 Dru 0 07294 20959209 299 l6 00ff 0000 1 1 Analog 0 0 00 100 0 1640000 ff00 1 1 Analog 0 0 n 100 0 9 0 0 0 6 0 40 0 0700 Create a Complete Import Export File 3 43 Define Co
92. ction SQI SOL 500 SOR SRT SSV STD STOD STOR SUB SWPB TAN TND TOD TOF TON TRN UID UIE UPPER XIC 0 XOR XPY Neutral text format OOIT Qrrayumnosk ooufceo CcoOontrol lengthy posdqtron s ooOL array source control length posstrion Enter Ladder Diagram Logic 4 9 500 array mask destination control length position SOR source destination DR aL ray LOVVarycontroilencgshposrtron name instance name attribute name Source Vary destination Control Tengen position STOD source destination STOR source destination A Source By Cestination gt SWPB source order mode destination source destination TND TOD source destination TOF timer preset accum timer preset accum source destination UEDC ULENI UPPER source destination ALG data bit XOR source A source B destination XPY source A source B destination Publication 1756 RMO084K EN P 2005 4 10 Enter Ladder Diagram Logic Notes Publication 1756 2005 Introduction Enter a Function Block Diagram Routine Chapter 5 Enter Function Block Diagram Logic This chapter explains the how to enter function block diagram logic in a complete import export file For information about See page Enter a function block diagra
93. d4bel gt Tags Use Context Uld 54231b5 gt Name CN1 UId 2e 1586 TagType Base DataType Conveyor_Type gt Descriptianz zI CDATA Conveyor CNi gt lt Description gt lt Data gt O0 00 00 00 00 00 AO 86 01 00 00 00 00 00 00 00 00 00 DO 077 00 00 00 00 00 88 13 00 88 13 00 00 00 OD 00 D c Data lt gt lt Tags gt lt Routines Use Context 4 3 gt Routine Use Context Name MainRoutine LId 80080377 lt RLLContent Use Context gt lt Rung Use Target Number 8 Uldz 24cc887b zTest lt I CDATA XIO Ba07e31edB XIC BzeisffaG6l Motor Run XIOijBZzelsffa86HM Motor Fault B2zel5ff8S58 Jam Fault Entry PE XIO BZel5ffB6B Jam Fault Exit PE OTE Bi1O0ff31dcB 1 lt RLLContent gt Routines zRautinesz lt Program lt Programs gt lt fRSLogixS000Content gt Place Information ina The L5X file for trends contains these components Trend L5X File Component Identifies CONTROLLER name of the controller TREND the selected trends The trend file uses this structure lt xml versionz 1 0 encoding UTF 8 standalone yes gt lt RSLogixS000Content SchemaRevision 1 0 SoftwareRevisionz 13 00 TargetType Tren ContainsContext true Owner Rockwell Automation Rockwell Automation Exportl Jul 16 14 36 33 2003 Expo
94. dentifies this step from all other blocks Enter an unsigned 32 bit integer value specify ID number x coordinate on internal grid Enter an unsigned 32 bit integer value opecify X number y coordinate on internal grid Enter an unsigned 32 bit integer value opecify Y number the step tag Enter a tag of datatype 5 STEP The import process uses this tag name to name the step specify Operand tag whether or not to hide the step description Enter Yes or No Specify HideDescription text x coordinate on internal grid of the description box Enter an unsigned 32 bit integer value specify DescriptionX number y coordinate on internal grid of the description box Enter unsigned 32 bit integer value specify DescriptionY number this attribute is not currently used it is there for future use Enter 0 specify DescriptionWidth 0 Publication 1756 RMO084K EN P 2005 1 12 Enter Sequential Function Chart Logic Item Initialstep PresetUsesExpression LimitHighUsesExpression LimitLowUsesExpression ShowActions PRESET block LIMIT HIGH block LIMIT LOW block ACTION LIST Publication 1756 2005 Identifies whether this step Is the initial step of the routine Enter Yes or No If you have multiple steps identified as the initial step this is incorrect syntax the import process designates the last initial step it encounters as the
95. dimension without 18 dimension 24 dimension without a 284 dimension e The initial values must comply with the tag type and dimensions e Whitespace can not occur within the initial values ot within the type dimension specifier Publication 1756 May 2005 Create a Complete Import Export File 3 29 Define a Program TAG examples TAG press X My X B dest INT RADIX Decimal 0 overflow OF bits MyBitO RADIX Binary source REAL RADIX Exponential 0 05 tiner 27 TIMER 2S O05 DO 40 507 15 END TAG This example shows forced tag data TAG drnt m DINT RADIX Decimal e 9 nnt uc INT XBADIX reubeocimel 2 02 tag a UDT A ProduceCount 2 0 0 PagroreeData 0 00 14051 4 405 END TAG A PROGRAM component follows this structure PROGRAM program name Attributes TAG declaration ROUTINE declaration HDEBD ROUTINE deolaratron ST ROUTINE declaration SFC ROUTINE declaration END PROGRAM Where Item Identifies program name the program Attributes attributes of the program such as MAIN or FAULT can also contain a description of the program enclose in parenthesis separate each attribute with a comma TAG program scoped tags follows same format as controller scoped tags see page 3 12 ROUTINE ladder logic routine for this program see chapter 4 Publication 1756 RMO08
96. e Owner Rockwell Automation Rockwell Automation ExportDate Tue 30 09 59 21 2004 ExportOptions References Context ReferencesByllId RoutineLabels Ulds AliasExtras IOTags lt Controller Use Context Name testi3 Uld 90ef335 gt DataTvpes Use Context Uld d0cOad05 gt Tags Use Context Uid d5ailedfb Programs Use Context Uld 3238c36d gt lt Controller gt lt RSLogixS000Content gt In the Internet browser you can only view the file Use the plus and minus signs to expand and collapse the viewable content To edit the file you must open the file in a text editor The examples this chapter use Internet Explorer to display content Publication 1756 2005 L5X File ladder rungs trends otructure the L5X Partial Import Export File Format 9 3 You can create L5X files for Description To create the L5X file for ladder rungs 1 Select one or more rungs in a ladder routine 2 Right click on the selected rungs and select Export Rungs The resulting L5X files contains the rung logic tag definitions user defined structures and all associated descriptions To bring the contents of an L5X file back into a project 1 Navigate to where you want to Import the rungs in a ladder routine 2 Right click and select Import Rungs When you import an L5X file RSLogix 5000 software provides a list of the tags and user d
97. e Specify the drive model time constant 1 to 1 specify DriveModelTimeConstant value opecify the maximum allowable value for position bandwidth 0 001F to 1000 given the damping factor This parameter is disabled if the loop configuration is set to velocity specify PositionServoBandwidth value Attribute VelocityServoBandwidth TuningConfigurationBits TorqueLimitSource DriveUnit PositionDataScaling PositionDataScalingFactor PositionDataScalingExp VelocityDataScaling VelocityDataScalingFactor VelocityDataScalingExp AccelerationDataScaling AccelerationData Scaling actor AccelerationDataScalingExp TorqueDataScaling TorqueDataScalingFactor TorqueDataScalingExp DrivePolarity MotorFeedbackType MotorFeedbackResolution AuxFeedbackType AuxFeedbackResolution Create a Complete Import Export File 3 23 Description opecify the unity gain bandwidth that is to be used to calculate the subsequent gains for a motion apply axis tuning MAAT instruction 0 001F to 1000 specify VelocityServoBandwidth value opecify the tuning configuration bits Enter a hexadecimal number specify TuningConfigurationBits 16 value Enter Not Limited Negative Limit Positive Limit Bridge Limit I t Limit or Motor Limit specify TorqueLimitSource text specify the units of the drive Enter us in or m s specify DriveUnit text Specify the scaling method used on position v
98. e overtravel checking in position units specify MaximumNegativeTravel value opecify the how position error the servo module will tolerate any positive number before Issuing a position error fault specify PositionErrorTolerance value opecify the maximum position error the servo module will accept any positive number in order to indicate that the position lock status bit 15 set specify PositionLockTolerance value Specify the maximum servo output voltage of a physical axis any positive number specify OutputLimit value Specify the rate at which the analog output changes from the current value to the requested value when an MDO command is given if ramp control is enabled The ramp rate is specified in Volts per second Specify DirectDriveRampRate value opecify a fixed voltage value 10 to 10V to add to the servo output value to correct axis drift specify OutputOffset value opecify a dynamic velocity correction to the output of the position servo loop in position units second any positive number specify VelocityOffset value specify a dynamic torque command correction to the output of the velocity servo loop as a percentage of the velocity servo loop output 100 to 100 specify TorqueOffset value Specify the percentage 0 100 of output level added to a positive current servo output value or subtracted from a negative current servo output value for the purpose of moving an axis that is
99. e TO final value BY increment DO statement END FOR IF sourceA gt sourceB THEN statements ENDIF sourceA gt sourceB THEN statements ENDIF GSV ClassName InstanceName AttributeName Dest Publication 1756 2005 Instruction HLL HPF IF THEN INSERT INTG IOT JKFF JSR 1012 LDLG LEQ LES LN LOG LOWER LPF MAAT MAFR MAG MAH MAHD MAJ MAM MAOC MAPC MAR MAS Enter Structured Text Logic 6 7 Neutral text format HLL HLL tag HPF HPF tag IF bool expression THEN statement END IF INSERT SourceA SourceB Start Dest INTG INTG tag TOL tag 7 UKE COKE Cag JSR RoutineName InputCount InputPar ReturnPar LDL2 LDL2 tag LDLG LDLG tag sourceA lt sourceB THEN statements ENDIF IF sourceA lt sourceB THEN lt statements gt ENDIF dest LN source dest LOG source LOWER Source Dest LPF LPF tag MAAT Axis MotionControl MAFR Axis MotionControl MAG SlaveAxis MasterAxis MotionControl Direction Ratio SlaveCounts MasterCounts MasterReference RatioFormat Clutch AccelRate AccelUnits MAH Axis MotionControl MAHD Axis MotionControl DiagnosticTest ObservedDirection MAJ Axis MotionControl Direction Speed SpeedUnits AccelRate AccelUnits DecelRate DecelUnits Profile Merge MergeSpeed MAM Axis MotionControl MoveType Position Speed SpeedUnits
100. e an action It can contain multiple structured text statements Each line of structured text begins with a single quote BODY LanguageType ST TESLrUCCUFred END BODY Enter Sequential Function Chart Logic 1 15 STEP example STEP ID 16 X 420 Y 360 Operand LastStep HideDescription Yes DescriptionX 474 DescriptionY 345 DescriptionWidth 0 InitialStep No PresetUsesExpression No LimitHighUsesExpression No LimitLowUsesExpression No ShowActions Yes ACTION LD 190 Operand LastAction Qualifier lt IsBoolean PresetUsesExpression No IndicatorTag BODY LanguageType ST LastExecuted 1 END BODY END ACTION END STEP Enter Tra nsitions Transitions follow this format TRANSITION 4 Ip re xu que rdentrrqyere Sintered grid x Locations Y ie lt grid y Location Operand tag references HideDescription lt yes no gt DescriptionX numerical value DescriptronyY numerical value numersoal value Force lt TRUEJ FALSE gt CONDITION block END TRANSITION Publication 1756 RMO084K EN P 2005 1 16 Publication 1756 2005 Enter Sequential Function Chart Logic Item ID Operand HideDescription DescriptionX DescriptionY DescriptionWidth Force CONDITION block Where
101. e one of the pen names Specify StartrIriggerTargetTagl text Specify a logical operation AND OR that is performed on StartTriggerxxx1 and StartTriggerxxx2 StartTriggerxxx1 consists of StartIriggerTag1 StartTriggerOperationl otartIriggerTargetType1 and StartTriggerTargetValue1 or StartIriggerTargetTag otartIriggerxxx2 consists of StartTriggerTag2 StartIriggerOperation2 otartIriggerTargetType2 and StartTriggerTargetValue2 or StartIriggerTargetTag2 specify StartTriggerLogicalOperation text Specify the tag name of the second start trigger The name must be one of the pen names specify StartTriggerTag2 text specify the operation that is applied on StartTriggerTag2 and StartIriggerTargetValue2 or otartIriggerTargetTag2 Enter For Exact Equal Tag EQU Target Trigger Level Equal Target Not Equal Tag Target Less Than Tag Target Greater Than Tag Target Less Than or Equal To Tag lt Target Greater Than or Equal To Tag gt Target Positive Slope slope of Tag is positive Negative Slope slope of Tag is negtive Bitwise OR Tag OR Target 0 10 Bitwise OR Tag OR Target 0 11 Bitwise AND Tag AND Target 0 12 Bitwise AND Tag AND Target 0 13 Bitwise XOR Tag Target 0 14 Bitwise Tag Target 0 gt CO specify StartTriggerOperation2 number opecify the type of the second start trigg
102. e rungs UIDs are not optional They are required for each component in an L5X file See the rest of this chapter for descriptions of the supported component types Publication 1756 RM084K EN P May 2005 9 4 Structure the L5X Partial Import Export File Format The L5X file for ladder rungs contains these components Place Information in Ladder Rung L5X File Component Identifies CONTROLLER name of the controller DATATYPE user defined and 1 0 data structures MODULE modules in the controller organizer TAG controller scope tags PROGRAM program files and program scope tags The ladder rung file uses this structure lt xml versian 1 0 encoding UTF 8 standalane yes 7 gt lt RSLogizSd00Content SchemaRevision 1 0 SoftwareRevisionz 13 00 TargetTvpe Rung ContainsCantext true Owner Rockwell Automation Rockwell Automation ExportDate Fri Jan 23 09 05 31 2004 ExportOptioans References Context ReferencesByUlId RoutineLabels AliasExtras IOTags NaStringData lt Controller Use z Gontext Name Testi3 Urd f anef335 lt DataTypes Use z Gontext 05 gt lt Modules LUse Context Uld chbi15434a Tags Usez Context UId d5al amp dfh Programs Use Context Uld 3238c36d a Controller RSLagis5a dcontentz whete Controller Item Identifies Use the use of the controller project specify Context or Target Name the name of the controller project UID the controll
103. ecify SecCxnOutputSize number For a 1756 DHRIO module specify the baud rate for channel A Enter 57 6 115 2 or 230 4 specify ChABaud baud For a 1756 DHRIO module specify the baud rate for channel B Enter 57 6 115 2 or 230 4 specify ChBBaud baud opecify the file name associated with a DriveExecutive project DriveExecutive configures drives on ControlNet and EtherNet IP networks specify DtlsFileName text opecify the value that represents the drive rating of the drive Select this rating on the Power tab in a DriveExecutive project for drives on ControlNet and EtherNet IP networks specify ConfigCode text This value hexadecimal is exported only for the purpose of doing a file compare This value is ignored on import The export file contains ControlNetSignature 16 value opecify the file name of an associated RSNetWorx project file opecify RSNetWorxFileName filename Publication 1756 RMO084K EN P 2005 3 8 Create a Complete Import Export File Publication 1756 2005 Specify a MODULE connection Specify these attributes for a connection CONNECTION connection name Attributes Linputrorcebata lt value 2266241 OutputData lt lt value fOUTPUDPOrCeData lt lt value 1156 71 END CONNECTION Where Item Identifies connection name the connection InputData input chan
104. ecify the mode in which the serial driver operates Enter No Handshake Full Duplex Half Duplex without Continuous Carrier or Half Duplex with Continuous Carrier specify PendingControlLine text specify whether there is a remote change Enter 0 or 1 specify RemoteModeChangeFlag value specify whether there is a remote change Enter 0 or 1 specify PendingRemoteModeChangeFlag value specify the mode change attention character specify ModeChangeAttentionChar value Specify the mode change attention character specify PendingModeChangeAttentionChar value Object continued UserMemory WallClockTime Attribute SystemModeCharacter PendingSystemMode Character UserModeCharacter PendingSystemMode Character none LocalTimeAdjustment TimeZone Create a Complete Import Export File 3 47 Description opecify the system mode character specify SystemModeCharacter value opecify the system mode character specify PendingSystemModeCharacter value specify the user mode character specify SystemModeCharacter value specify the user mode character specify PendingSystemModeCharacter value none opecify any local time adjustment specify LocalTimeAdjustment value Specify the time zone specify TimeZone value Publication 1756 RM084K EN P May 2005 3 48 Create a Complete Import Export File Publication 1756
105. ed in a user defined data type AXIS types MOTION_GROUP and MESSAGE DATATYPE example DATATYPE MyStructure FamilyType NoFamily DINT x TIMER y 3 Radix Decimal SINT MyFlags Hidden 1 BIT MyElags 0 Radix 2 Binary BIT aBrtl MyEIags 1 Radix Binary END DATATYPE Publication 1756 2005 Create a Complete Import Export File 3 5 Define a Module Attribute Description Parent ParentModPortID CatalogNumber Vendor ProductType A MODULE component follows this structure MODULE device name Attributes ConfigData 2e S nrtral valiue ExtendedProp lt text gt COMDOeCCtron list END MODULE Where Item Identifies device name the module Attributes attributes of the module can also contain a description of the module enclose in parenthesis separate each attribute with a comma ConfigData operating characteristics of the module ExtendedProp additional profile data stored in the controller the format is XML currently used by the CompactBus MODULE Connection connection characteristics for the module see page 3 8 Specify MODULE attributes Specify these attributes for a MODULE Description Provide information about the module specify Description text If this module is a child to another module specify the name of the parent module The parent module must be defined before any child module specify Pa
106. ee chapter structure a partial import export L5X file 9 When you import L5X file the project changes such that you cannot go online and access a previously downloaded controller You will have to first upload from ot download to the controller See page 1 10 Publication 1756 2005 1 10 Import and Export Files Maintaining Controller Access Information Creation Stamp Download Stamp Change Log Publication 1756 2005 The controller manages project status to provide RSLogix 5000 software with the information to decide whether you can go online with a controller Description The controller creates a creation stamp when you create a project includes importing a project and download the project to the controller The creation stamp in the controller and the project file must match for RSLogix 5000 software to be able to go online with a controller If a project is exported to a L5K file and then imported the resulting project ACD file gets a new creation stamp This means that the RSLogix 5000 software views the imported project as different from the file that was exported The result is that you cannot use the new imported project file to access a controller that was downloaded with the original file before it was exported At this point your only options are to re download from the imported project file or to upload the controller contents to a
107. eed SpeedUnits AccelRate AccelUnits DecelRate DecelUnits Profile TerminationType Merge MergeSpeed MOCPiMotzronControl Cam length StartSlope Endsdope CamProfi re MCD Axis MotionControl MotionType ChangeSpeed Speed ChangeAccel AccelRate ChangeDecel DecelRate SpeedUnits AccelUnits DecelUnits MCLM CoordinateSystem MotionControl MoveType Position Speed SpeedUnits AccelRate AccelUnits DecelRate DecelUnits Profile TerminationType Merge MergeSpeed MCS CoordinateSystem MotionControl StopType ChangeDecel DecelRate DecelUnits MCSD CoordinateSystem MotionControl MCSR CoordinateSystem MotionControl MCSV MotionControl CamProfile MasterValue SlaveValue SlopeValue SlopeDerivative MDF Axis MotionControl MDO Axis MotionControl DriveOutput DriveUnits MDOC Axis ExecutionTarget MotionControl DisarmType MDR Axis MotionControl MDW Axis MotionControl IF Source AND Mask Compare AND Mask THEN statements END IF MGS Group MotionControl StopMode MGSD Group MOLELOnNCOnEro l MGSP Group MotionControl MGSR Group MotionControl MID Source Qty Start Dest MINC MINC tag dest sourceA MOD sourceB Axis MotionControl Publication 1756 May 2005 Instruction MRHD MSF MSG MSO MUL MVMT NEG NEQ NOT OR OSFI OSRI OTE OTL OTU PATT PCLF PCMD PDET PFL PID PIDE PMUL POSP POVR PPD PRNP PSC PXRO Neutral
108. efined structures in the L5X file and lets rename them and their associated descriptions prior to the import process You can also select a trend to export to an L5X file 1 Select the trend icon in the Controller Organizer of the project 2 Right click on the trend and select Export Trend The trend L5X file just contains the configuration for the trend and its associated pens It does not contain any tag definitions If you import a trend it will not operate correctly if its tags are not defined in the project To import a trend 1 Select the trend icon in the Controller Organizer of the project 2 Right click on the trend and select Import Trend Identify components in L5X files Each component in an L5X file has an associated UID unique identifier This identifier is a combination of letters and numbers and it links the associated component of the file with some object that is defined earlier For example a tag definition uses a UID to link to a user defined structure that is defined earlier in the project A single UID can be defined only once in an L5X file You cannot reuse the same UID to define two components in the same file RSLogix 5000 software creates UIDs to provide an abstraction layer between definitions and their respective names For example the instructions refer to a UID for the tags that they use By doing this the tag can be renamed without having to search and replace all of the logic references within th
109. embersz where Controller Item Identifies Name the name of the member Datalype the data type of the member such as SINT INT DINT REAL BOOL Dimension specify 0 not an array or 1 2 3 if an array Radix specify decimal hex octal binary exponential float or ASCII Hidden whether the member is a hidden member of the structure UID the controller project with a unique combination of numbers and letters For more information on Data attributes see the DataType information on page 3 1 Publication 1756 2005 otructure the L5X Partial Import Export File Format 9 7 DataType example lt DataTypes Uld d0c0Oad05 gt lt DataType Name SampleDT Family z NaFamily Class User Uld 23e0ab2b gt lt Members gt lt Member Name Sample_DINT_Member DataType DINT Dimension 0 Radix Decimal Hidden false gt Description zIl CDATA This is a DINT member of the ULT gt lt Description gt lt Member gt lt Member Name zZZzzzrzzzz7z8ampleDT1 DataType SIMT Cimensian 0 Radix Decimal Hidden true lt Member Name Sample_BOOL_Member DataType BIT Dimension 0 Radisz Decimal Hidden false Target zzzzzzzzzzS5ampleDT1 BitNumberz D Description zl CDATA This is BOOL Member of the gt lt Descriptian gt gt gt lt DataType gt lt DataTypes gt Define a Module The
110. en a hardware overtravel error occurs Enter Shutdown Disable Drive Stop Motion or Status Only specify HardOvertravelFaultAction text specify the fault action taken when a software overtravel error occurs Enter Shutdown Disable Drive Stop Motion or Status Only specify SoftOvertravelFaultAction text Enter Shutdown Disable Drive Stop Motion or Status Only specify PositionErrorFaultAction text specify the fault action to be taken when a feedback loss condition is detected Enter shutdown Disable Drive Stop Motion or Status Only specify FeedbackFaultAction text specify the fault action to be taken when excessive feedback noise is detected Enter shutdown Disable Drive Stop Motion or Status Only specify FeedbackNoiseFaultAction text specify the fault action to be taken when a drive fault condition is detected Enter shutdown Disable Drive Stop Motion or Status Only specify DriveFaultAction text Specify the amount of distance traversed by the axis when executing the output and feedback test any positive number specify TestIncrement value Specify the tuning travel limit in revolutions any positive number opec Tuning Traveliimit s value Specify the tuning speed in revolutions per second any positive number specify TuningSpeed value Specify the tuning torque rated 0 300 specify TuningTorque value Specify the damping factor 0 5 to 2 specify DampingFactor valu
111. equence text Specify the home configuration bits Enter a hexadecimal number specify HomeConfigurationBits 16 value specify the desired absolute position in positioning units for the axis after the homing sequence is complete any positive number specify HomePosition value Specify the desired offset any positive number in position units the axis is to move upon completion of the homing sequence to reach the home position In most cases this value will be zero specify HomeOffset value Specify the speed of the jog profile used in the first leg of the homing sequence any positive number The homing speed should be less than the maximum speed and greater than zero specify HomeSpeed value Specify speed of the jog profile used in the return leg s of an active homing sequence any positive number The return speed should be less than the maximum speed and greater than zero specify HomeReturnSpeed value Specify the maximum speed any positive number specify MaximumSpeed value Attribute MaximumAcceleration MaximumDeceleration ProgrammedStopMode MasterInputConfigurationBits MasterPositionkrilter Bandwidth AxisType ServoLoopConfiguration FaultcContrguratrionBrus AxisInfoSelectl AxisInfoSelect2 LDTTYpe LDTRecirculations LDTCalibrationConstant Create a Complete Import Export File 3 19 Description Specify the maximum acceleration rate of the axis in posit
112. er Dest ToElementID 6 ToParameter END WIRE Enter Function Block Diagram Logic 5 5 Publication 1756 RM084K EN P May 2005 5 6 Enter Function Block Diagram Logic WIRE FromElementID 1 FromParameter Out ToElementID 0 ToParameter SourceA END WIRE WIRE FromElementID 2 FromParameter Out ToElementID 5 ToParameter END WIRE END SHEET END FBD ROUTINE Export Function Block If you export function block logic that contains online edits the export file exports LOGIC blocks to indicate the original test edits and pending edits Logic While Editing Online states If there are no online edits you will not see these LOGIC blocks The LOGIC blocks follow this format Example 1 Both lest edits and Pending edits exist EBD ROUTINE MyvEDOROutine 5heet5n126 Letter 3 t landscape LOGIC Online Orig Sheets inserted here see format described above END LOGIC BOGIC Type q Test Sheets inserted here see format described above END LOGIC LOGIC Onlzne Type t Sheets inserted here see format described above END LOGIC END FBD ROUTINE Publication 1756 2005 Enter Function Block Diagram Logic 5 7 Example 2 Only Pending edits exist EBD ROUTINE MyFbdBoutine Sheetsize Letter 8
113. er project with a unique combination of numbers and letters Component Item Contains Datalypes data type definitions Modules I O module definitions Tags tag definitions Programs program and routine s containing the rung logic The first part of the L5X file is the header that defines the version of the import export feature Following the header is the Controller component which is the overall structure for an L5X file Publication 1756 May 2005 otructure the L5X Partial Import Export File Format 9 5 Define a DataType The DataType component defines the data types used in the section of rungs Compon ent you export The DataType component uses this structure lt DataTypes Use z Gontext UId d0c0ad05 gt lt DataType Mame SampleDT Family NoFamily Class User UId 23e0ab2b gt lt Members gt lt DataType lt DataTypes gt Specify a DataType Each data type declaration within this component defines a data type and the members of that data type Repeat this structure for each data type lt DataType 0 Family MoFamily Class User Uld 23e0ab2b gt zMembersz lt Member Name Sample DINT Member DataType DINT Dimension 0 Radi z Decimal Hidden false gt lt Description gt lt CDATA This is DINT member of the UDT lt Descriptian gt Members lt Member Name ZZZZZzzrzzz8ampleDT1 Dimension 0 Radix Decimal Hidde
114. er target Enter TargetValue or If you enter TargetValue StartIriggerTargetValue2 is expected Otherwise otartIriggerTargetTag2 is expected specify StartTriggerTargetType2 text specify a target value if the StartIriggerTargetType2 is TragetValue Enter a binary octal decimal or hexadecimal integer number or enter a floating point number specify StartTriggerTargetValue2 text Specify a target tag if the StartIriggerTargetType is TargetTag The tag must be one of the pen names specify StartTriggerTargetTag2 text Define how pre samples are specified Enter Samples or TimePeriod specify PreSampleType text Specify the number of pre samples 0 1000 if the PreSamplelype is Samples Specify time period 0 to SamplePeriod 1000 that covers pre samples if the PreSampleType TimePeriod specify PreSamples number specify the type of the stop trigger Enter NoTrigger or Event Trigger specify StopTriggerType text specify the tag name of the first trigger The name must be one of the pen names Specify StopTriggerTagl text Publication 1756 RM084K EN P May 2005 3 38 Create a Complete Import Export File Attribute StopTrigger Operationl StopTriggerTarget Typel StoprruiggerTarget Valuel StopTriggerTarget Tagl StopTriggerLogical Operation StopTriggerTag2 Publication 1756 May 2005 Description specify the operation that is applied
115. ew Product Satisfaction Return Rockwell tests all of our products to ensure that they are fully operational when shipped from the manufacturing facility However if your product 15 not functioning and needs to be returned United States Contact your distributor You must provide a Customer Support case number see phone number above to obtain one to your distributor in order to complete the return process Outside United Please contact your local Rockwell Automation representative for States return procedure www rockwellautomation com Corporate Headquarters Rockwell Automation 777 East Wisconsin Avenue Suite 1400 Milwaukee WI 53202 5302 USA Tel 1 414 212 5200 Fax 1 414 212 5201 Headquarters for Allen Bradley Products Rockwell Software Products and Global Manufacturing Solutions Americas Rockwell Automation 1201 South Second Street Milwaukee WI 53204 2496 USA Tel 1 414 382 2000 Fax 1 414 382 4444 Europe Rockwell Automation SA NV Vorstlaan Boulevard du Souverain 36 BP 3A B 1170 Brussels Belgium Tel 32 2 663 0600 Fax 32 2 663 0640 Asia Pacific Rockwell Automation 27 F Citicorp Centre 18 Whitfield Road Causeway Bay Hong Kong Tel 852 2887 4788 Fax 852 2508 1846 Headquarters for Dodge and Reliance Electric Products Americas Rockwell Automation 6040 Ponders Court Greenville SC 29615 4617 USA Tel 1 864 297 4800 Fax 1 864 281 2433 Europe Rockwell Automation Br hlstra Se 22 D 74834
116. ext Specify the SSI clock frequency in kHz Valid values are 208 default or 650 specify SSIClockFrequency value specify whether to enable absolute feedback Enter 1 to enable absolute feedback Otherwise enter 0 Absolute feedback is always enabled for LDT specify AbsoluteFeedbackEnable value specify the absolute offset that is used to place the machine zero point at the desired location relative to the zero point of the LDT specify AbsoluteFeedbackOffset value Specify the type of feedback device Enter LDT linear displacement transducer AQB A quadrature or SSI synchronous serial interface specify ServoFeedbackType text Specify the servo polarity bits Enter a hexadecimal number specify ServoPolarityBits 16 value opecify the velocity feedforward gain any positive number specify VelocityFeedforwardGain value Specify the acceleration feedforward gain any positive number specify AccelerationFeedforwardGain value Specify the position proportional gain any positive number specify ProportionalPositionGain value Specify the position integral gain any positive number specify PositionIntegralGain value Specify the velocity proportional gain any positive number specify VelocityProportionalGain value Specify the velocity integral gain any positive number specify VelocityIntegralGain value specify the velocity scaling attribute that is used to convert the ou
117. ext Specify the coarse update period in milliseconds 500 3200ms specify CourseUpdatePeriod value opecify the phase shift 0 65 535 specify PhaseShift value specify whether an error generates a major fault or a non major fault Enter Major Fault or Non Major Fault specify GeneralFaultType text Enter Disabled or Enabled specify AutoTagUpdate text Publication 1756 RM084K EN P May 2005 3 16 Create a Complete Import Export File Attribute Description Comment MessageType RemoteElement RequestedLength ConnectedFlag ConnectionPath CommT ypeCode ServiceCode ObjectType TargetObject AttributeNumber Publication 1756 2005 Specify attributes for a MESSAGE tag A MESSAGE tag has these attributes Description Provide information about the tag specify Description text Provide information about a tag component specify Comment specifier text Where the specifier 15 bitnumber for a bit in the tag element for an array element of the tag membername structure member of the tag Enter Block Transfer Read Block Transfer Write CIP Data Table Read CIP Data Table Write CIP Generic PLC2 Unprotected Read PLC2 Unprotected Write PLC3 Typed Read PLC3 Typed Write PLC3 Word Range Read PLC3 Word Range Write PLC5 Typed Read PLC5 Typed Write PLC5 Word Range Read PLC5 Word Range Write SERCOS IDN Read SERCOS IDN Write SLC T
118. follows this structure lt TypeName gt lt MemberName gt Attributes All data types are allocated in 8 bit boundaries A single bit of storage is not allowed so a member cannot be a BOOL data type To access a single bit use the BIT declaration BIT allows access to a single bit within a host member a non bit member A bit member uses the following syntax BIT BitName HostMemberName lt BitPosition gt Attributes Create a Complete Import Export File 3 3 For example create a user defined datatype called MyBits and a tag called of type MyBits User defined datatype MyBits Data Type MyBits gt lt M ame M Size 2 byte s Description Members Name ______ __ E Bey ____ 1 Tag of type MyBits MES 7 E yTag MyBitl E 7 ZZZZZZZZZZMyBits0 is the host member of MyBitO MyBit1 The datatype syntax for this example ts DATATYPE MyBits FamilyType NoFamily SINT 227277227727277 1 50 Hidden 1 MyBitO ZAZZAAAZZAZMyBitsO0 0 Radix Binary BIT MyBitl ZZ2Z2Z2Z2Z2Z2Z2Z2Z2MyBitsO 1 Radix Binary END DATATYPE The host member 15 normally a hidden member because only the bit references are visible when you define a tag of the datatype
119. fy the name for the file to import Files of type Click Open 3 Specify the name and location of the project me Enter the location and revision of the project File to create Look in Projects i ey Samples csv examples ACD 8 controller ACD csv examples 0 Specify the project location controller BAKDDD acd csv examples acd cnet controller acd 5 _ _ 09 acd EN contrallagix example ACD desain_examples ACD EN contrallagix example acd design_samples ACD lt opecify the project name File name import export example ACD Files of type 5000 Project Files ACD Cancel Help Revision From 13 0 To 13 Click Import Publication 1756 2005 1 4 Import and Export Files Publication 1756 2005 If you import project that has forces the project defaults to Forces Disabled even if the project was exported with Forces Enabled For more information about the structure of the complete import export file see For information on how to See chapter structure a complete import export file 2 create a complete import export file enter relay ladder logic enter function block diagram lo
120. g Microsoft Excel to Edita CSV File 3 Original Content in CSV Content after Content after Details content file after opening in saving from export Excel Excel text ZNAME ZNAME Do not start a description or comment with a plus sign text text NAME NAME Do not start a description or comment with a minus sign text text NAME ZNAME Do not start a description or comment with an equal sign Publication 1756 RMO084K EN P 2005 A 4 Considerations for Using Microsoft Excel to Edit a CSV File Notes Publication 1756 2005 Introduction Appendix B Import Export Revision History This appendix contains a history of enhancements made to the import export feature since version 1 1 major revision 1 minor revision 1 that was included RSLogix 5000 software with RSLogix 5000 programming software version 8 0 These releases of the import export feature correspond to these releases of RSLogix 5000 version Import Export version 13 2 4 12 2 9 11 22 10 xx 2 1 9 00 2 0 5 02 1 2 0 XX 7 XX 6 Xx 2 XX 1 1 123 12 1 0 1 11 1 10 0 4 For information about backward compatibility import export version 2 4 RSLogix 5000 software version 13 import export version 2 3 RSLogix 5000 software version 12 import export version 2 2 RSLogix 5000 software version 11 import export version 2 1 RSLogix 5000 software
121. ggerOperation Stop Triggerlargetlype1 and StopTriggerlargetValue1 or StopTriggerlargetlag1 Stop Triggerxxx2 consists of StopTriggerlag2 StopTriggerOperation2 Stop and StopTriggerlargetValue2 or StopTriggerTargetTag2 specify StopTriggerLogicalOperation text Specify the tag name of the second trigger The name must be one of the pen names specify StopTriggerTag2 text Attribute StopTrigger Operation2 StopTriggerTarget Type2 StopTriggerTarget Value2 StopTriggerTarget 2 PostSampleType PostSamples TrendxVersion Create a Complete Import Export File 3 39 Description specify the operation that is applied on StopTriggerTag2 and StopTriggerlargetValue2 otoplriggerTargetTag2 Enter For 0 Exact Equal Tag EQU Target 1 Trigger Level Equal Target 2 Not Equal Tag Target 3 Less Than Tag lt Target 4 Greater Than Tag gt Target 5 Less Than or Equal To Tag lt Target 6 Greater Than or Equal To Tag gt Target 7 Positive Slope slope of Tag is positive 8 Negative Slope slope of Tag is negtive 9 Bitwise OR OR Target 0 10 Bitwise OR Tag OR Target 0 11 Bitwise AND Tag AND Target 0 12 Bitwise AND Tag AND Target 0 13 Bitwise XOR Tag Target 0 14 Bitwise Tag Target 0 specify StopTriggerOperation2 number specify the type of the second stop trigger target E
122. gic enter structured text logic enter sequential function chart logic When you import a L5K file the project changes such that you cannot go online and access a previously downloaded controller You will have to first upload from ot download to the controller See page 1 10 Import and Export Files 1 5 Export to a CSV File When you have a ptoject open you can export tags and rung comments to a CSV file You can then use a database program like Microsoft Excel to edit the tags and comments Make sure the project you want to export tags and comments from 15 already open 1 Select Tools Export fo RSLogix 5000 import export example 1769 L35E File Edit View Search Logic Communications BEEN window Help 2 e Options E Security k Offline J RUM For No Forces p_ E o Translate PLCS SLC Edits Bn Import NN 2 Define the export file and select which tags and or rung comments to export Eg 5 export Contraller Tags Coy csv examples besk Tags 5 csv examples Contraller Tagsz 5 6 csv examples Contraller Tags C5v csv examples Tags C5v 4 csv LesbE Tags C opecify the name of the export file File name limport export example T ags Select the CSV file format Save as type 5000 Import Export File C 5v Cancel Help Select the scope to export Tags All
123. he file to import File name Select the CSV file format Tag Collisions Select how to handle collisions Files of type RSLogix 5000 Impart E port Files Y Cancel Help Create new tags and overwrite existing tags Create new tags but discard imported tags Only overwrite existing tags skip new tags Logic Comment Collisions Import new comments and overwrite existing comments f Import new comments but discard imported comments Only overwrite existing comments skip new comments select how to match comments to rungs Match all ALL rung comments by rung number only Click Import When you import tags the possibility exists for tags in the import file to have the same name as tags already in the open project This condition is a collision Specify how to handle a collision If you want to replace tags in the project with tags from the import file in addition to adding any new tags from the import file keep tags that are in the project and discard tags in the import file in addition to adding any new tags from the import file replace tags in the project with tags from the import file but do not add any new tags from the import file Publication 1756 2005 Select Create new tags and overwrite existing tags this is the default selection Create new tags but discard imported tags
124. hin an import export file Each component within a sheet must have a unique ID number within that sheet Publication 1756 RM084K EN P May 2005 5 4 Enter Function Block Diagram Logic FBD ROUTINE example InitialValue Dest Out MaxAlarm EBD ROUTINE EBD Routine oheetoize Tabloid SHEET Name Input Scaling MUL BLOCK ID 0 X 440 Y 60 Operand 01 VisiblePins SourceA SourceB END MUL BLOCK BLOC pee ds X 240 Y 60 Operand e 505 or VisiblePins In InEUMax END SCL BLOCK ET BLOCK ID 2 X 260 Y 260 Operand 01 VisiblePins In Initialize LowAlarm END PI BLOCK IREF CED 3 X 120 Y 120 Operand 2 Input Tag END IREF ICON ID 4 X 160 X Name ConnectorName END ICON Publication 1756 2005 SheetOrientation Out Landscape HighAlarm OREF ID D X 520 Y 320 Operandg Output Tag END OREF OCON ID 6 X 680 Y 100 Name ConnectorName END OCON FEEDBACK WIRE FromElementID 0 FromParameter Dest ToElementID 0 ToParameter SourceB END FEEDBACK WIRE WIRE FromElementID W FromParameter ToElementID 1 ToParameter H D END WIRE WIRE FromElementID 4 FromParameter ToElementID 2 ToParameter In END WIRE WIRE FromElementID 0 FromParamet
125. ic specify the attribute number 0 65 535 hexadecimal specify AttributeNumber 16 value Attribute Channel Sourcelink DestinationLink DestinationNode Rack Group Slot Locallndex RemoteIndex LocalElement DestinationTag CacheConnections Attribute Description Comment MotionGroup MotionModule Create a Complete Import Export File 3 17 Description For a or block transfer message specify the channel Enter either A or B specify Channel value If the communication method uses DH specify the source link 0 199 specify DHPlusSourceLink value If the communication method uses DH specify the destination link 0 199 specify DHPlusDestinationLink value If the communication method uses DH specify the destination node number 0 77 octal specify DHPlusDestinationNode value For a DH or block transfer message enter the rack number 0 77 octal of the target device specify Rack value For a DH or block transfer message enter the group number 0 7 of the target device specify Group value For a DH or block transfer message enter the slot number 0 15 of the target device specify Slot value specify the index into the local element typically 0 specify LocalIndex value specify the index into the remote element typically 0 specify RemoteIndex value specify the tag name of the element in the local controller This is the desti
126. id enter unsigned 32 bit integer value specify X number Y y coordinates on internal grid enter unsigned 32 bit integer value specify X Dumber Name the name of the wire connector optional specify Name number ICON and OCON guidelines e OCON connector names must be unique within a function block routine e Multiple ICON connector names can reference the same OCON connector name and OCONS with unmatched or blank connector names will not be verified e The X and Y grid locations are a relative position from the upper left corner of the sheet X is the horizontal position Y is the vertical position Publication 1756 RM084K EN P May 2005 5 10 Enter Function Block Diagram Logic Enter Wires and Feedback Wires Publication 1756 2005 ICON and OCON examples ICON ID Se dh X 140 300 Name MyConnector END ICON OCON ID 4 X 460 Y 140 Name MyConnector END OCON The wire and feedback wire formats describe a wire by specifying what it is attached to at each end which is always a pin on another drawing element Wires and feedback wires follow this format WIRE EromblementlD re lt indentirier of from element FromParameter name of output pin ToblementlD lt indentifier of To elemento ToParameter name of input pln EN D W IRE Where Item Identifies FromElementID the source drawing ele
127. id of the description box Enter unsigned 32 bit integer value specify DescriptionY number this attribute is not currently used it is there for future use Enter 0 specify DescriptionWidth 0 Enter Sequential Function Chart Logic 1 19 DescriptionX END STOP Enter Branches Item ID BranchType BranchFlow Priority LEG block STOP example Y 520 Operand NeverGetsHere HideDescription Yes 505 Desorrptronr lt 505 Descoriptronwrsdth 720 The branch blocks in an SFC routine identify simultaneous or selection branches in the routine Branches follow this format BRANCH LD unique Santernad grid y location BranchType text BranchFlow text Priority lt text gt LEG block END BRANCH Where Identifies the branch identifier This ID uniquely identifies this branch from all other blocks Enter an unsigned 32 bit integer value specify ID number y coordinate on internal grid Enter an unsigned 32 bit integer value opecify Y number the type of branch Enter Simultaneous or Selection specify BranchType text the direction of the branch Enter Converge or Diverge Specify BranchFlow text whether the priority of a divergent selection branch 15 defined by the user This attribute only applies to divergent selection branches Enter Default or UserDefined specify Priority text the individu
128. ify Width 0 the descriptive text specify Text text TEXT_BOX guidelines e All TEXT BOX blocks must come after all DIRECTED LINK blocks e Text boxes can be free standing or they can be attached to SFC elements TEXT_BOX example PEAT BOX CED S Tp Width 0 Text Action Body makes recursive call END TEXT BOX Enter Sequential Function Chart Logic 1 23 Enter Attachments Item FromElementID ToElementID The attachment blocks in SFC routine identify the attachments from text boxes to other SFC elements Attachments follow this format ATTACHMENT EXonBLemenmtlD Ueunreue ToblementclD unsrgue END ATTACHMENT Where Identifies the ID of the attached object Enter an unsigned 32 bit integer value Specify FromElementID number the ID of the object that the object is attached to Enter an unsigned 32 bit integer value specify ToElementID number ATTACHMENT guidelines e Use an attachment to link a text box to an SFC element e All ATTACHMENT blocks must come after all TEXT BOX blocks ATTACHMENT example ATTACHMENT FromElementID 7 ToElementID 2 END ATTACHMENT Publication 1756 RMO084K EN P 2005 1 24 Enter Sequential Function Chart Logic Notes Publication 1756 2005 Introduction Place Information in a CSV File Chapter 8 Structure the
129. ildren of this component end of the component information otructure Complete L5K Import Export File Format 2 3 Display style Tags and data types support a radix attribute that specifies how to display the associated numerical information The options ate Display Option Example based on 15 decimal Binary uses a 27 prefix 240000 0000 0000 1111 Octal uses 8 prefix 87000 017 Decimal 15 Hex uses a 167 prefix 16 000 Ascii 00 0F Exponential 1 5000000e 01 Float 15 0 Component descriptions Descriptions of components are optional Unlike internal comments descriptions are imported Place the description within double quotes For example TASK Bask Description Hello World Rate 1000 ung 5 END TASK To enter control characters in the description precede the character with a dollar sign The following table shows how to enter the supported control characters in a description For this character Enter 9 0 10 line feed L or I 13 10 carriage return line feed N or n 12 form feed P or p 13 carriage return or r 9 tab T or t xxxx 4 digit character code that xxxx represents a hexadecimal value Publication 1756 RMO084K EN P 2005 2 4 X Structure a Complete L5K Import Export File Format Define a Controller The CONTROLLER component 15 the overall structure of a project to be executed on one controller It
130. imal Multicast Configure MC TTL over 1 BOOL RAO Decimal Multicast Configure Read Mcast DINT Decimal ALIAS type record Each ALIAS record defines an alias within a controller project An ALIAS record follows this format ALIAS Scope Name Description Datatype Specifier Attributes The following examples show ALIAS records SCOPE DESCRIPTION DATATYPE aPFECIFIER ATTRIBUTES 8 ALIAS input 1 Local 1 1 Data 20 RADIX Decimal 9 ALIAS output light Local 4 0 Data 12 RADIX Decimal COMMENT type record Each COMMENT record defines a comment about a component of a tag such as a bit member structure member an array element A COMMENT recotd follows this format COMMENT Scope Name Description Datatype Specifier Attributes The following examples show COMMENT records SCOPE DESCRIPTION DATATYPE SPECIFIER ATTRIBUTES 1 DINT TI RADIX Decimal 11 COMMENT array 1 first element in 1 array 10 12 timer 1 13 timer 1 timer 1 enable timer 1 Publication 1756 2005 8 4 otructure the Tag Comments CSV Import Export File Format Specify a Rung Comment Record 41 41 42 Item Type Routine Comment Owning Element Location Each rung comment record defines rung comment within a con
131. ine Edit Type Pend SEC END LOGIC END SFC ROUTINE Where Item Identifies Online Edit Type whether online edits exist when the logic is exported If online edits exist there will be a LOGIC block for Online_Edit_Type Orig and then the appropriate LOGIC block for the existing edits Online_Edit_Type Pend indicates pending edits Online Edit Type Test indicates test edits If there are no online edits when the logic is exported there are no LOGIC blocks and the main components in the routine are SFC logic components Publication 1756 2005 Enter Steps Item ID Operand HideDescription DescriptionX DescriptionY DescriptionWidth Enter Sequential Function Chart Logic 7 11 Steps follow this format STEP ID Sinteral grid x Jocqtron In erhal Grid Location Operand Lag reference HideDescription yes no Descriptions se Snumericql value gt DescrrptrionY mumerical voalues bescriptronWrdth lt numerical value InitialStep lt yes no gt PresetUsesExpression lt yes no gt LimitHighUsesExpression lt yes no gt LimitLowUsesExpression lt yes no gt ShowActions lt yes no gt lt PRESET block gt lt LIMIT HIGH block LIMIT LOW block SACTION LIST DIock END STEP Where Identifies the step identifier This ID uniquely i
132. information about a tag component specify Comment specifier text Where the specifier 15 bitnumber for a bit in the tag element for an array element of the tag for a structure member of the tag Enter Block Transfer Read Block Transfer Write CIP Data Table Read CIP Data Table Write CIP Generic PLC2 Unprotected Read PLC2 Unprotected Write PLC3 Typed Read PLC3 Typed Write PLC3 Word Range Read PLC3 Word Range Write PLC5 Typed Read PLC5 Typed Write PLC5 Word Range Read PLC5 Word Range Write SLC Typed Read or SLC Typed Write specify MessageType text Specify the number of elements in the message instruction 0 32 767 specify RequestedLength value opecify the connection path to the other device opecify ConnectionPath string If the communication method uses DH enter 1 If the communication method does use DH enter 0 specify DFIDHFlag value opecify the tag name of the element in the local device specify LocalTag text specify the tag name of the element in the remote device specify RemoteElement value If the communication method uses DH specify the source link 0 65 535 specify DHPlusSourceLink value If the communication method uses DH specify the destination link 0 65 535 specify DHPlusDestinationLink value If the communication method uses DH specify the destination node number 0 63 octal specify DHPlusDestinationNode va
133. ion 1756 2005 Where Identifies the action identifier This ID uniquely identifies this action from all other blocks Enter an unsigned 32 bit integer value specify ID number the action tag Enter a tag of datatype 5 ACTION The import process uses this tag name to name the action opecify Operand tag the action qualifier Enter one of these character s Character s Description N non stored R reset S stored L time limited D time delayed P pulse P1 pulse rising edge PO pulse falling edge SL stored and time limited SD stored and time delayed DS time delayed and stored specify Qualifier character s whether or not the action 15 boolean Enter Yes or No specify IsBoolean text whether the preset for the action timer is a structured text expression Enter Yes if you plan to enter an expression in a PRESET block otherwise enter No Specify PresetUsesExpression text the indicator tag Enter tag Speciiy Indicatorfag tag the preset value of the action If the PresetUsesExpression attribute above is Yes enter a PRESET block The preset block contains a structured text expression that specifies the preset time in milliseconds for the action Each line of structured text begins with a single quote PRESET LanguageType ST Texte END PRESET the structured text of the action The body block uses structured text to defin
134. ion units second any positive number Specify MaximumAcceleration value Specify the maximum deceleration rate of the axis in position units second any positive number Specify MaximumDeceleration value Specify how a specific axis will stop when the controller changes mode or a motion group stop MGS instruction is executed Enter Fast Disable Fast Stop Fast Shutdown Hard Disable or Hard Shutdown Specify ProgrammedStopMode text Specify the master input configuration bits Enter a hexadecimal number specify MasterInputConfiguration 16 value Specify the bandwidth in Hertz of the master position filter Specify MasterPositionFilterBandwidth value Specify the intended use of the axis Enter Servo or Feedback Only Specify AxisType text Specify the configuration of the loop Enter Custom Position Servo Aux Position Servo Dual Position Servo Aux Command Servo Dual Command Servo Velocity Servo or Torque Servo specify ServoLoopConfiguration text specify the fault configuration bits Enter a hexadecimal number specify FaultConfigurationBits 16 value specify an axis attribute to transmit along with the actual position data to the controller Enter lt none gt Position Command Position Feedback Aux Position Feedback Position Error Position Int Error Velocity Command Velocity Feedback Velocity Error Velocity Int Error Accel Command Accel Feedback Servo Output Level Marker
135. it integer value specify ID number X x coordinates on internal grid enter unsigned 32 bit integer value specify X number Y y coordinates on internal grid enter unsigned 32 bit integer value specify Y number Operand the reference optional enter tag or literal value for IREF enter tag for OREF Specify Operand IREF and OREF guidelines e If the Operand is not a qualified tag or literal value the IREF OREF will not be verified e The X and Y grid locations are a relative position from the upper left corner of the sheet X is the horizontal position Y is the vertical position IREF and OREF examples IREF ID 8 X 200 Y 380 Operand PMUL InitVal END IREF OREF ID 9 X 480 Y 340 Operand END OREF Enter Function Block Diagram Logic 5 9 Enter ICONs and OCONs Input and output wire connectors have similar formats and identical attributes They follow this format ID ana que zdentirrer lt internal grid v LOCACION Name connector END ICON OCON CLD 1gdentifier Ao UI ton Y Qinternal grid y locations Name connector name gt END OCON Where Item Identifies ID the ICON or OCON identifier uniqueness is important for wiring enter unsigned 32 bit integer value specify ID number X X coordinates on internal gr
136. k 6 4 STEP ACTION LIST 7 13 entering 7 11 example 7 15 LIMIT HIGH block 7 13 LIMIT LOW block 7 13 PRESET block 7 12 STOP entering 7 18 example 7 19 structure 2 2 9 4 structured text logic 6 2 entering 6 5 online edits 6 4 routine 6 3 subroutine calls 7 17 T TAG aliases 3 13 array specifications 3 14 attributes 3 14 AXIS CONSUMED 3 17 AXIS SERVO 3 17 AXIS SERVO DRIVE 3 17 AXIS VIRTUAL 3 17 component 3 12 component comments 3 28 COORDINATE SYSTEM 3 26 example 3 29 guidelines 3 28 TAG continued initial values 3 27 MESSAGE 3 16 GROUP 3 15 partial 8 1 record 8 2 Tag component 9 8 tags 1 5 1 6 1 8 1 9 TASK attributes 3 33 3 43 component 3 33 example 3 35 guidelines 3 34 text boxes 7 22 text file 1 2 TEXT BOX entering 7 22 example 7 22 guidelines 7 22 TRANSITION CONDITION block 7 16 entering 7 15 example 7 17 TREND attributes 3 36 component 3 35 example 3 42 guidelines 3 41 partial 3 41 PEN declaration 3 40 Trend component 9 13 W WIRE component 5 10 example 5 11 guidelines 5 11 Publication 1756 May 2005 Notes Publication 1756 RM084K EN P 2005 How Are We Doing Your comments on our technical publications will help us serve you better in the future Thank you for taking the time to provide us feedback wy You can complete this form and mail it back to us visit us online at www ab com manuals or email us at RADocumentCo
137. l e for an alias specifies base tag e tag comment specifies the tag name and member or bit the attributes of the tag as exported in the L5K format define how the tag can be used and how it appears attributes do not include tag values TAG type record Each TAG record defines a tag within a controller project TAG record follows this format TAG S60pe Name Descriptron Datatype Specrirtrer Attrrbutes Publication 1756 2005 Specify tag dimensions on the Datatype as To specify Enter 1 dimension a 2 dimensions a b 3 dimensions a b c Structure the Tag Comments CSV Import Export File Format 8 3 The following examples show TAG records SCOPE DESCRIPTION DATATYPE SPECIFIER ATTRIBUTES Local 1 C AB 1 55 DEC Lacal1 l AB 17 55 DELE Lacal d C AB 1 55 DOC Local 4 AB 156 DO EU Local 4 0 AB 1756 DO Or input 1 Lacal 1 l Data 20 Decimal Reset MIC Config output light 4 0 Data 12 RADI Decimal Reset4 MESSAGE Messagelype CIP Generic RequestedLenc Write MESSAGE Messagelype CIP Generic RequestedLenc SCOPE DESCRIPTION DATATYPE SPECIFIER ATTRIBUTES MainProgram Heartbeat TIMER 2 MainProgram Heartbeat ord DINT Decimal SCOPE DESCRIPTION DATATYPE SPECIFIER ATTRIBUTES Multicast Configure Configure Multicast BOOL RAO Decimal Multicast Configure DaMathing RAO Dec
138. le RPI Usage Attribute Description Comment GroupType CourseUpdatePeriod PhaseShift GeneralFaultType AutoTagUpdate Create a Complete Import Export File 3 15 Description If the controller consumes this tag from a PLC 5 controller specify the PLC 5 file number any positive number on the PLC 5 controller You must also specify Producer and RPI attributes Specify RemoteFile number If the controller consumes this tag specify the RPI value in milliseconds any positive number You must also specify Producer and RemoteTag attributes Specify RPI milliseconds Specify how an Equipment Phase program uses a tag This attribute only applies to tags that are program scoped to an Equipment Phase program Enter Input Output or Normal Specify Usage text IMPORTANT If consume information is provided on an alias tag the alias tag is converted to a base tag before it can consume data Specify attributes for a MOTION_GROUP tag MOTION_GROUP tag has these attributes Description Provide information about the tag specify Description text Provide information about a tag component specify Comment lt specifier gt text Where the specifier is bitnumber for a bit in the tag element for an array element of the tag for a structure member of the tag opecify the type of motion group Enter Warning Enabled or Warning Disabled specify GroupType t
139. link see page 7 21 SFC text box see page 7 22 SFC attachment see page 7 23 Enter Sequential Function Chart Logic 1 3 Specify SFC ROUTINE attributes Where Item Identifies Description Provide information about the routine Description text SheetSize the size of the SFC Select one of these options e Letter 8 5x11in e Legal 8 5x14in e Tabloid 11x17in e 210x297mm e 297 420 specify SheetSize option SheetOrientation the orientation of the SFC sheet Select Portrait or Landscape specify SheetOrientation option StepName the prefix for the name of the step blocks within this SFC routine RSLogix 5000 software uses this prefix when it automatically generates an SFC_STEP tag specify StepName name TransitionName the prefix for the name of the transition blocks with this SFC routine RSLogix 5000 software uses this prefix when it automatically generates a transition tag opecify TransitionName name ActionName the prefix for the name of the action blocks in this SFC routine RSLogix 5000 software uses this prefix when it automatically generates an 5 ACTION tag specify ActionName name StopName the prefix for the name of the stop blocks in this SFC routine RSLogix 5000 software uses this prefix when it automatically generates an SFC_STOP tag specify StopName name Publication 1756 RM084K EN P May 2005 1 4 Enter Sequential Function Chart
140. lue If the communication method uses DH specify the DH channel Enter either or B specify DHPlusChannel letter If the message is to cache connections enter TRUE If the message is not to cache connections enter FALSE specify CacheConnections text If the message type is CIP Generic specify the service code 0 255 hexadecimal specify ServiceCode 16value If the message type is CIP Generic specify the object type 0 65 535 hexadecimal specify ObjectType 16 value Publication 1756 RMO084K EN P 2005 6 Import Export Revision History Attribute TargetObject AttributeNumber DestinationTag Import Export Version 2 0 RSLogix 5000 Version 9 Publication 1756 2005 Description If the message type is CIP Generic specify the target object 0 65 535 decimal specify TargetObject value If the message type is Generic specify the attribute number 0 65 535 hexadecimal specify AttributeNumber 16 value specify the tag name of the destination element specify DestinationTag text Version 2 0 major revision 2 minor revision 0 of the import export feature that is included with RSLogix 5000 programming software version 9 0 included these major enhancements e The AXIS tag was replaced with AXIS_CONSUMED AXIS_SERVO AXIS_SERVO_DRIVE and AXIS_VIRTUAL tags e For any attribute that you can specify a not applicable state you must
141. m routine 5 1 EnterIREFsandOREFS 00000057 00 EnterICONsandOCONS BG Enterblocks Enerwies BQ A function block FBD ROUTINE follows this structure ROUTINE routine name gt HAUUCPIDUESS lt function block sheets gt END FBD ROUTINE Where Item Identifies routine name the routine Attributes attributes of the function block routine such as sheet size or sheet orientation can also contain a description of the routine separate each attribute with a comma function block sheets enter function block logic in sheets Publication 1756 RMO084K EN P 2005 5 2 Enter Function Block Diagram Logic Specify FBD ROUTINE attributes Specify these attributes for a ROUTINE Attribute Description Description Provide information about the routine specify Description text SheetSize Select one of these sizes e letter 8 5x11in e Legal 8 5x14in e Tabloid 11x17 in e 210x297mm e 297 420 specify SheetSize size SheetOrientation select the orientation of the sheet as Portrait or Landscape specify SheetOrientation type Enter Function Block Enter function block diagram logic in sheets within a ROUTINE component in an import export file Each sheet follows this structure Diagram Logic SHEET name gt component ICON component lt mnemonic BLOCK componment gt
142. mation in a complete import export file For information about Define a data type Define a module Define a tag Define a program Define a task Define a trend Define a controller See page 3 1 3 5 3 12 3 29 3 33 3 35 3 43 For information on entering logic see the next chapter A DATATYPE component follows this structure DATATYPE DataType name Attributes member definition END DATATYPE Where Item DataType name Attributes Identifies the data structure attributes of the data structure member definition can also contain a description of the component enclose in parenthesis separate each attribute with a comma each member of the data structure Publication 1756 RMO084K EN P 2005 3 2 Create a Complete Import Export File Publication 1756 May 2005 specify DATATYPE attributes Specify these attributes for DATATYPE Attribute Description Description Provide information about the data type specify Description text FamilyType specify StringFamily for a string datatype Specify NoFamily for all other datatypes specify FamilyType text Specify a DATATYPE member There are two kinds of data type members A bit member is a member in which only a single bit of information is to be accessed A non bit member is a member that is defined as another data type such as SINT INT DINT COUNTER etc A non bit member definition
143. ment enter unsigned 32 bit integer Specify FromElementID number FromParameter the pin on the source drawing element For Enter blocks parameter name IREFs In ICONS In specify FromParameter pin ToElementID the destination drawing element enter unsigned 32 bit integer specify ToElementID number ToParameter the pin on the destination drawing element For Enter blocks parameter name OREFs Qut OCONs Out specify ToParameter pin Enter Function Block Diagram Logic 5 11 Enter Blocks WIRE guidelines e Wires that are not specified will not be imported e A feedback wire follows the same format as a wire Just connect the source and destination elements to form a feedback WIRE example WIRE FromElementID 11 FromParameter ToElementID 1 ToParameter Initialize END WIRE All function blocks follow this format mnemonic BLOCK Srnternal grid x location X op sin ernal graid y Cag references Lag reference Sepa rameter Mame ga END mnemonic BLOCK Publication 1756 RM084K EN P May 2005 5 12 Enter Function Block Diagram Logic Where Item Identifies TD the block identifier uniqueness 1 important for wiring enter unsigned 32 bit integer value specify ID numbe
144. mments ra rockwell com Pub Title Type Logix5000 Controllers Import Export Reference Manual Cat No Logix based controllers Pub No 1756 084 Pub Date May 2005 Part 957955 63 Please complete the sections below Where applicable rank the feature 1 needs improvement 2 satisfactory and 3 outstanding Overall Usefulness _ 1 2 3 How can we make this publication more useful for you C 2 3 Can we add more information to help you ompleteness all necessary information procedure step illustration feature Is provided P example guideline other explanation definition Technical Accuracy 1 2 3 Can we be more accurate all provided information 15 correct L text L Illustration Clarity 1 2 S How can we make things clearer all provided information is easy to understand Other Comments You can add additional comments on the back of this form Your Name Location Phone Your Title Function Would you like us to contact you regarding your comments ___ there is no need to contact me A Yes please call me Yes please email me at A Yes please contact me via Return this form to Allen Bradley Marketing Communications 1 Allen Bradley Dr Mayfield Hts OH 44124 9705 Phone 440 646 3176 Fax 440 646 3525 Email RADocumentComments ra rockwell com Publication ICCG 5 21 January 2001 PN 955107 82 PLEASE FASTEN HERE DO NOT STAPLE Other Comments PLEASE FOL
145. n true gt lt Member Name Sample_BOOL_Member DataType BIT Dimensian 0 Radix Decimal Hidden false Target zzzzzzzz7zz58ampleDT1 BitNumberz D Descriptianz zI CDATA This is BOOL Member of the ULT gt lt Descriptian gt Members a gt lt DataType gt where Controller Item Identifies Name the name of the data type Family specify StringFamily for a string data type specify NoFamily for all other data types Class type of data type specify User for user defined UID the controller project with a unique combination of numbers and letters Publication 1756 RMO084K EN P 2005 9 6 Structure the L5X Partial Import Export File Format Specify a Member Each member declaration within a data type declaration defines the members of that data type Repeat this structure for each member lt Members gt lt Member Name Sample DINT PMember DataType z DINT Dimension 0 Radixz Decimal 5 gt lt Description gt lt CDATA This DINT member of the lt Descriptian gt lt Members lt Member Name zZzzzrzzrzrz7z78ampleDT1 DataType SIMT Cimension 0 Radix Decimal Hidden true gt Name Sample BOOL Member DataType BIT Dimensian 0 Radixz Decimal Hidden false Target zzzzzzzzzzS8ampleDT1 BitNumber 0 gt lt Description gt zl CDATA This is a BOOL Member of the gt Description z Members z M
146. n 6 of the import export feature that is included with RSLogix 5000 programming software version 15 With a Logix controller you do a complete import export of an entire project ot you can do a partial import export of parts of a project The structure of the import export file depends on whether you perform a complete partial import export operation There are also different considerations for complete and partial import export operations This chapter shows how to perform the import export operations and describes any considerations You can See Page export a project into a text L5K file 1 2 import a text file to create a project 1 3 export to a CSV file 1 5 Import into a project 1 6 export to an L5X file 1 8 Import into a project 1 9 have situations where imported information 1 10 modifies the project such that you cannot go online and access a previously downloaded controller Publication 1756 RMO084K EN P 2005 1 2 Import and Export Files Export a Project to a Text File Make sure the project you want to export is already open 1 Select File Save As 2 Define the export file opecify the name of the text file gt Select the L5K file format Publication 1756 2005 You can export a project to a text file You can then use text editor to modify the project RSLogix 5000 import export exa
147. n of the pen enclose in parenthesis separate each attribute with a comma Specify attributes for a PEN declaration Specify these attributes for a PEN declaration Description Provide information about the pen specify Description text opecify the color of the line in RGB format Enter the hex number for the color 1620000 0000 16200FF FFFF opecify Color hex number opecify whether or not the line should be visible Enter TRUE or FALSE specify Visible text Specify the width of the line in pixels 1 10 specify Width number specify the line type Enter Analog Digital or Full Width specify Type text specify the style of line Enter For eects he ae eens 1 3 4 opecify Style number opecify the line marker 0 83 opecify Marker number Attribute Min Max Create a Complete Import Export File 3 41 Description opecify the minimum value for the pen The minimum cannot be greater than or equal to the maximum specify Min number specify the maximum value for the pen The maximum cannot be less than or equal to the minimum specify Max gt number specify engineering units For example rpm gallon fps degrees etc specify EngUnits text TREND guidelines Keep these guidelines in mind when defining a trend e A trend can support as many as 8 PEN declarations e Export just the trend of a controller proje
148. nation element of a read instruction or the source element of a write instruction specify LocalElement text specify the tag name of the destination element specify DestinationTag text If the message is to cache connections enter TRUE If the message is not to cache connections enter FALSE specify CacheConnections text Specify attributes for an AXIS CONSUMED AXIS GENERIC DRIVE AXIS SERVO AXIS SERVO DRIVE and AXIS VIRTUAL tag The axis tags have these attributes Description Provide information about the tag specify Description text Provide information about a tag component specify Comment specifier text Where the specifier 15 bitnumber for a bit in the tag element for an array element of the tag structure member of the tag Enter the name of the associated motion group or enter NA specify MotionGroup text Enter the name of the associated motion module or enter NA specify MotionModule text Publication 1756 RM084K EN P 2005 3 18 Attribute RotationalPosResolution ConversionConstant OutputCamExecutionTargets AxisState PositionUnits AverageVelocityTimebase RotaryAxis PositionUnwind HomeMode HomeDirection HomeSequence HomeConfigurationBits HomePosition HomeOffset HomeSpeed HomeReturnSpeed MaximumSpeed Publication 1756 RMO084K EN P 2005 Create a Complete Import Expo
149. ndingControlLine RemoteModeChangeFlag PendingRemoteModeChange Flag ModeChangeAttentionChar PendingModeChange AttentionChar Publication 1756 2005 Description opecify the communication rate for the serial port Enter 110 300 600 1200 2400 4800 9600 19200 or 38400 specify BaudRate value specify the parity setting for the serial port Parity provides additional message packet error detection Enter None Parity Even Parity or Odd Parity specify Parity text specify the number of bits per message packet Enter 0 7 Data Bits or 8 Data Bits specify DataBits text Specify the number of stop bits to the device with which the controller is communicating Enter 1 Stop Bit or 2 Stop Bit specify StopBits text specify the type of serial driver Enter DF1 specify ComDriverId text Specify type of serial driver Enter DF1 specify PendingComDriverId text specify a time delay to make sure the modem successfully transmits the entire message Enter an increment of 20ms 0 32767 Normally leave at zero specify RTSOffDelay value specify a time delay to let the modem prepare to transmit a message Enter an increment of 20ms 0 32767 specify RTSSendDelay value Specify the mode in which the serial driver operates Enter No Handshake Full Duplex Half Duplex without Continuous Carrier or Half Duplex with Continuous Carrier specify ControlLine text Sp
150. nel data InputForceData forcing information for the input channel OutputData output channel data OutputForceData forcing information for the output channel Attributes attributes of the connection can also contain a description of the module enclose in parenthesis separate each attribute with a comma Fot details on the data in the connection list see the user manual for the I O module The connection list data depends on the I O module and the configuration for that module Forces appear as arrays of bytes under the InputForceData and OutputForceData attributes of the connection list Do not modify forces in the import export file Use the programming software to enter and enable forces Attribute Hate lnpu tcxnPornt Create a Complete Import Export File 3 9 Specify MODULE connection attributes Specify these attributes for a MODULE connection Description Specify the requested packet interval RPI rate in microseconds specify Rate microseconds Specify the input connection point for the primary connection 0 255 OntpurtcxnPonrnt specify InputCxnPoint number opecify the output connection point for the primary connection 0 255 EventID specify OutputCxnPoint number specify the event ID if used in conjunction with an event task ControlNetScheduled specify EventID number This value is set by the RSNetWorx for ControlNet software when you schedule ControlNet network Do n
151. nother project ACD file and merge with the documentation from one of the older project ACD files The controller creates a download stamp on each download and stores this stamp in both the project and the controller When the creation stamp and the download stamp in the controller match those in the project file RSLogix 5000 software can use the project to let you access the controller online If you make changes to a project file offline the download stamp 15 cleared This occur when you import from a L5X file or if you import a CSV file that creates a new tag or modifies a tag datatype When the download stamp is reset you can either download the project to the controller or upload the contents from the controller If you choose to upload any changes made via import are lost Note that description and rung comment changes in a CSV file do not reset the download stamp so you can perform some CSV imports and still maintain access to the controller Fach time you make a change on the controller online the controllers stores details about the changes in a change log If there are more than 1000 changes made to the project file you must either download the project to the controller or upload the contents from the controller If you choose to upload any changes made via import are lost Import and Export Files 1 11 Given this status information these situations cause you to not be able to go online with a controller Situa
152. ntegral gain any positive number specify VelocityIntegralGain value Specify output filter bandwidth any positive number specify OutputFilterBandwidth value Specify the output scaling any positive number specify OutputScaling value Specify the output limit any positive number specify OutputLimit value Specify output offset any positive number specify OutputOffset value Specify friction compensation any positive number specify FrictionCompensation value Enter Shutdown Disable Drive Stop Motion or Status Only specify SoftOvertravelFaultAction text Enter Shutdown Disable Drive Stop Motion or Status Only specify PositionErrorFaultAction text Enter Shutdown Disable Drive Stop Motion or Status Only specify EncoderLossFaultAction text Enter Shutdown Disable Drive Stop Motion or Status Only specify EncoderNoiseFaultAction text Enter Shutdown Disable Drive Stop Motion or Status Only specify DriveFaultAction text Specify the servo configuration bits Enter a hexadecimal number specify ServoConfigurationBits 16 value Specify the motor encoder test increment any positive number specify MotorEncoderTestIncrement value Specify the tuning travel limit any positive number opec value Specify the tuning speed any positive number specify TuningSpeed value Import Export Revision History B 11 Attribute DampingFac
153. nter TargetValue or If you specify TargetValue StopTriggerlargetValue2 is expected Otherwise otoplriggerTargetTag2 is expected specify StopTriggerTargetType2 text Specify a target value if the StopIriggerTargetType2 is TargetValue Enter a binary octal decimal or hexadecimal integer number or enter a floating point number specify StopTriggerTargetValue2 number Specify a target tag if the StopIriggerTargetType is The name must be one of the pen names Specify StopTriggerTargetTag2 text Define how post samples are specified Enter Samples or TimePeriod specify PostSampleType text opecify the number of post samples 0 1000 if the PostSampleType is Samples Specify a time period 0 to SamplePeriod 1000 that covers post samples if the PostSampleType is TimePeriod specify PostSamples number specify the version of the Trend feature specify TrendxVersion number Publication 1756 RM084K EN P May 2005 3 40 Create a Complete Import Export File Item pen name Attributes Attribute Description Color Visible Width Type Style Marker Publication 1756 2005 Specify a PEN declaration A TREND object can have as many as 8 PEN declarations A PEN declaration follows this structure PEN pen name Attributes END PEN Where Identifies the pen attributes of the pen can also contain a descriptio
154. ntroller Objects Specify CONFIG Attributes A CONFIG component defines controller objects and follows this structure CONFIG object name gt Attributes body END CONFIG Where Item Identifies object name the controller object see the list of attributes below for a list of valid controller objects Attributes attributes of the controller object can also contain a description of the controller object enclose in parenthesis separate each attribute with a comma Controller objects are optional There can be only one of each controller object in an import export file Controller objects appear at the end of the import export file The attributes depend on the type on CONFIG object Some objects do not have any attributes The following table lists those objects that have attributes and descriptions of each Object Attribute Description ASCII XONXOFFEnable Specify whether to regulate the flow of incoming data Enter 0 to disable XON XOFF enter 1 to enable XON XOFF opecify XONXOFFEnable value DeleteMode opecify the delete mode Enter 0 for Ignore enter 1 for CRT or enter 2 for Printer specify DeleteMode value EchoMode opecify whether to echo data back to the device from which it was sent Enter 0 to disable enter 1 to enable specify EchoMode value TerminationChars opecify the characters that designate the end of a line specify TerminationChars value AppendChars opecify the characters to append
155. ntroller type e Addition of the SecurityCode atttribute to the Controller object e Enhancments to the Message tag structure see page B 4 e The Program object now includes a Mode attribute e Correction to valid values for Watchdog and Rate attributes of the Task object e Addition of MaxStation Address and TokenHoldFactor attributes to the Config DF1 object e Addition of new instructions SIZE SWPB LOWER and UPPER e The NumberOfAppendChars of the Config ASCII object is no longer exported If you have an import export file with any of these attributes the file will correctly import into the software This attributes will be removed when you later export the file Changes to support MESSAGE tag enhancements Version 2 1 major revision 2 minor revision 1 of the import export feature that is included with RSLogix 5000 programming software version 10 0 made sionificant changes to the MESSAGE tag For reference the following table shows the MESSAGE tag structure of the previous import export release Attribute Description Comment MessageType RequestedLength ConnectionPath DFIDHFlag LocalTag RemoteElement DHPlusSourceLink DHPlusDestinationLink DHPlusDestinationNode DHPlusChannel CacheConnectrions ServiceCode ObjectType Import Export Revision History B 5 MESSAGE tag structure version 2 0 Description Provide information about the tag specify Description text Provide
156. om the poll list specify NormalPollGroupSize value opecify the tag name of the structure that contains the priority poll node list Or enter NA The tag must specify Class Standard specify PriorityPollNodeFile value Object DF1 continued ExtendedDevice FaultLog ICP 50646 Redundancy Attribute ActiveStationFile SlavePollTimeout EOTSuppression MaxStationAddress TokenHoldFactor none none none none none Create a Complete Import Export File 3 45 Description specify the tag name of the structure that contains the status active or non active of each node Or enter lt NA gt The tag must specify Class Standard specify ActiveStationFile value Specify the amount of time the master waits for an acknowledgement to a message sent to a slave Enter an increment of 20ms 0 65535 specify SlavePollTimeout value Specify whether to enable suppression Enter 0 to disable enter 1 to enable specify EOTSuppression value Specify the maximum station address 0 31 specify MaxStationAddress value Specify the token hold factor 1 4 specify TokenHoldFactor value none none none none none Publication 1756 RMO084K EN P 2005 3 46 Create Complete Import Export File Object SerialPort Attribute BaudRate Parity DataBits StopBits ComDriverId PendingComDriverId RTSOffDelay RTSSendDelay ControlLine Pe
157. omblementlD 5 ToblementlD 31 ShowLink True END DIRECTED LINK DIRECTED LINK FromElementID 6 ToElementID 2 ShowLink True END DIRECTED LINK DIRECTED LINK FromElementID 22 ToElementID 6 ShowLink True END DIRECTED LINK DIRECTED LINK FromElementID l6 ToElementID 0 ShowLink True END DIRECTED LINK DIRECTED LINK FromElementID 44 ToElementID 12 ShowLink True END DIRECTED LINK DIRECTED LINK FromElementID 33 ToElementID 44 ShowLink True END DIRECTED LINK DIRECTED LINK FromElementID 17 ToElementID 10 ShowLink True END DIRECTED LINK DIRECTED LINK FromElementID 42 ToElementID 19 ShowLink True END DIRECTED LINK DIRECTED LINK FromElementID 37 ToElementID 18 ShowLink True END DIRECTED LINK DIRECTED LINK FromElementID 4 ToElementID 8 ShowLink True END DIRECTED LINK Publication 1756 2005 Enter Sequential Function Chart Logic 7 9 DIRECTED LINK FromElementID 39 ToElementID 42 ShowLink True END DIRECTED LINK DIRECTED LINK FromElementID 10 ToElementID 20 ShowLink True END DIRECTED LINK DIRECTED LINK XEromblementlD 0 ToblementlD 35 ShowLink True END DIRECTED LINK DIRECTED LINK FromElementID 3l ToElementID 14 ShowLink True END DIRECTED LINK DIRECTED LINK FromElementID 12 ToElementID 40 ShowLink True END DIRECTED L
158. on 7 Text that explains or clarifies what a section of structured text does e Use comments to make it easier to interpret the structured text e Comments do not affect the execution of the structured text e Comments can appear anywhere in structured text Examples tag expression valuel 4 tagl d tagli gt valuel function tagl amp instruction operand irnstruction operandt operand2 operand3 CASE FOR DO WHILE s REPEAT UNTIL EXIT comment start of comment end of comment F start of comment of comment For details on these components see the structured text appendix that 1s in both the Logix5000 Controllers General Instructions Reference Manual publication 1756 003 and in LLogzx5000 Controllers Process Control and Drives Instructions Reference Manual publication 1756 006 Publication 1756 May 2005 Enter Structured Text Logic 6 3 Structured text ST ROUTINE example This 1 an example of an exported structured text routine ST ROUTINE routine name a M P C campe QOL Ug COUE Se eius deae cin aN ea a ie myInteger 12 THEN myInteger 5 myInp
159. on StopTriggerTag1 and StopTriggerlargetValue1 or Stop Triggerlargetlag1 Enter For 0 Exact Equal Tag EQU Target 1 Trigger Level Equal Tag Target 2 Not Equal Tag Target 3 Less Than Tag lt Target 4 Greater Than Tag gt Target 5 Less Than or Equal To Tag lt Target 6 Greater Than or Equal To Tag gt Target 7 Positive Slope slope of Tag is positive 8 Negative Slope slope of Tag is negtive 9 Bitwise Tag OR Target 0 10 Bitwise OR Tag OR Target 0 11 Bitwise AND Tag AND Target 0 12 Bitwise AND Tag AND Target 0 13 Bitwise Tag Target 0 14 Bitwise Tag Target 0 specify StopTriggerOperationl number specify the type of the first stop trigger target Enter TargetValue or TargetTag If you specify TargetValue StopTriggerTargetValue1 is expected Otherwise otoplIriggerTargetIag1 is expected specify StopTriggerTargetTypel text Specify a target value if the StopTriggerTargetType1 is TargetValue Enter a binary octal decimal or hexadecimal integer number or enter a floating point number specify StopTriggerTargetValuel number Specify a target tag if the StopIriggerTargetType is The name must be one of the pen names specify StopTriggerTargetTagl text Specify a logical operation AND or OR that is performed on StopTriggerxxx1 and Stop TriggerxxxZ StoplIriggerxxx1 consists of StopIriggerTag1 StopTri
160. onstruct comment Enter structured text logic within an ST ROUTINE component in an import export file Each line of structured text must begin with a single quote 9 Structured text is not case sensitive Structured text can contain Definition Use an assignment statement to assign values to tags The operator is the assignment operator Terminate the assignment with a semi colon An expression 15 part of a complete assignment or construct statement An expression evaluates to a number numerical expression or to a true or false state BOOL expression An expression contains tags A named area of the memory where data Is stored BOOL SINT INT DINT REAL string immediates A constant value operators A symbol or mnemonic that specifies an operation within an expression functions When executed a function yields one value Use parentheses to contain the operand of a function Functions can only be used in expressions An instruction is a standalone statement An instruction uses parenthesis to contain its operands Depending on the instruction there can be zero one or multiple operands When executed an instruction yields one or more values that are part of a data structure Terminate the instruction with a semi colon Instructions cannot be used in expressions A conditional statement used to trigger structured text code i e other statements Terminate the construct with a semi col
161. ormat FRD source destination ESC cOontrot lenoth posrtron mode exbpressSTOon GEO source A sQUEICe B GRIT source Aj SOUDOO GSV class name instance name attrribute name destination INSERT sourceA sourceB start destination TOT COULDUG JMP Label JoR UPOUCING name Dy relurn etura ny JXR external routine name external routine control parameter return LBL label name source A source B LES source A SOUECO hEL Ssource LIFO control length posTtron hFU LIFO desciDation control length posTtron low Limit test nigh LN source destination source destination LOWER source destination MAAT axis motion control MAFR axis motrzoH control MAG slave axrs master CODUtIrQL 02recbtron fatroyws ldve CODUDtSqas ter COUNTS Master reference pardo units MAH axis motion control MAHD axris motzon control did0nost2c test observed qirectiom CODtrol drrectron 5ppeed speedo unaztsyaccel rate accel units pdeCcel rate decel unrcts pDrorile mergemerge speed MAM axis motion Control move position speed spesad units accel rate accel units units prorrle merge merge Speed MAOC taxis execution target motion CcOntrolpooutput rnput oUtput cam Cam Start position
162. ot modify this value MODULE guidelines Keep these guidelines in mind when defining a module e Attributes can be in any order They export in the order defined e A parent module must be defined before any definitions of its child modules Publication 1756 RMO084K EN P 2005 3 10 Create a Complete Import Export File MODULE example MODULE Local Parent Local CatalogNumber 1756 L1 Major xe dx PortLabel RxBACKPLANE ChassisSize 10 Slot 3 Mode 210000 0000 0000 0000 CompatibleModule 2 0000 0000 0000 0000 0000 0000 1000 0000 KeyMask 240000 0000 0001 1111 END MODULE MODULE DARIO Module Parent Local CatalogNumber 1756 DHRIO Major 2 PortLabel RxBACKPLANE Slot 8 CommMethod Standard ConfigMethod 1 RIO ChannelB DH Mode 2 0000 0000 0000 0000 CompatibleModule 2 0000 0000 0000 0000 0000 0000 1000 0000 KeyMask 210000 0000 0001 1111 ChABaud 115 2 ChBBaud 57 6 CONNECTION Standard Rate 500000 EventID 0 END CONNECTION END MODULE Publication 1756 May 2005 Create Complete Import Export File 3 11 MODULE Diagnostic Module 1 Parent Local CatalogNumber 1756 OB16D Major dy PortLabel RxBACKPLANE Slot 5 CommMethod Full Diagnostics Output Data ConfigMethod Diagnostic Mode 240000 0000 0000 0000 CompatibleModule 2 0000 0000 0000
163. programming software version 12 01 RSLogix 5000 12 included these major enhancements e The structured text component changed from 5 ROUTINE to ST ROUTINE The LanguageType attribute in SFC routines for embedded structured text also changed from STX to ST Support fot new controllers e Addition of the ControlNetSignature attribute to the MODULE component e Addition of the ProgrammaticallySendEventTrigger attribute to the TAG component New COORDINATE_SYSTEM tag Addition of several new attributes to the axis tag types Addition of DisableFlag attribute to the PROGRAM component Addition of EventTrigger and EventTag attributes to the TASK component to support Event tasks New EVENT IOT MCCD MCCM MCLM MCS MCSD and MCSR instructions in ladder logic and structured text Addition of information regarding the LOGIC block when exporting online function block logic e Addition of new modules and their valid CommMethod and ConfigMethod values Import Export Version 2 2 4 2 2 2 minor revision 2 of import export feature is included with RSLogix 5000 programming software version 11 10 RSlogix 5000 Version 11 2 5 included these major enhancements e Support for the 1756 L63 controller e New controller attributes to support sequential function charts e Corrected the DATATYPE attributes and added the Family Type attribute e Additional information for the CompatibleModule and
164. ption the Location element is ignored the rung number specified in the Location element check the box this overrides the default and recommended option the Owning Element is ignored For more information about the structure of the partial import export file for tags and rung comments see For information on how to See chapter structure a partial import export CSV file 8 IMPORTANT If a CSV file contains changes to tags including aliases when you import the file the project changes such that you cannot go online and access a previously downloaded controller You will have to first upload from or download to the controller See page 1 10 If you only modify comments or descriptions before you import a CSV file you can go online with the controller Publication 1756 RM084K EN P May 2005 1 8 Import and Export Files Export to an L5X File If you want to re use ladder logic from another project export only that portion of logic to a L5X file and import it into the required project You can export these L5X files e ladder rungs including the referenced tags and data types e trends Make sure the project you want to export from is already open 1 Select the content to export fs RSLogix 5000 import export example 1769 L35E MainProgram MainRoutine File Edit view Search Logic Communications Tools Window Help To export a rung right click on the rung and select eB mel 6
165. r x x coordinates on internal grid enter unsigned 32 bit integer value specify X number Y y coordinates on internal grid enter unsigned 32 bit integer value specify Y number Operand tag name for the block optional Specify Operand tag name ArrayName tag name for array optional Specify ArrayName array name VisiblePins Comma separated list of the names of all the parameters with pins visible for wiring The names match the member names of the data type of the block tag specify VisiblePins parameter BLOCK guidelines e f the Operand 15 not a qualified tag of the correct data type the block will not be verified e Some function block instructions require specific arrays This table lists the valid Array Name for each of these instructions Instruction Array Name DEDT otorage required FGEN X1 required Y1 required X2 optional 2 optional MAVE Storage required Weight optional RMPS RampValue required SoakValue required SoakTime required e The X and Y grid locations are a relative position from the upper left corner of the sheet X is the horizontal position Y is the vertical position Publication 1756 May 2005 Enter Function Block Diagram Logic 5 13 Enter Parameters for Function Block Instructions Instruction Type General sequential Instruction Process control or drives Instruction Motion instruction Instruction ABS
166. rent name If this module is a child to another module specify the number of the port on the parent module that connects to this child module The parent module must be defined before any child module specify ParentModPortID number Specify the catalog number of the module specify CatalogNumber number specify the vendor of the module A number 1 indicates Allen Bradley specify Vendor number specify the product type of the module specify ProductType number Publication 1756 RM084K EN P May 2005 Create a Complete Import Export File Attribute ProductCode Major Minor PortLabel ChassisSize Slot NodeAddress Group CommMethod ConfigMethod Mode CompatibleModule Publication 1756 2005 Description Specify the product code of the module Specify ProductCode number Specify the major revision number 1 127 of the module Specify Major number Specify the minor revision number 1 255 of the module Specify Minor number Specify the port used to reach this module The port label is either RxBACKPLANE for modules in a chassis or a text string for modules on a network specify PortLabel label opecify the number of slots in the chassis 1 32 This only applies to the MODULE statement that defines the controller selected for the project specify ChassisSize number Specify the slot number 0 31 where the module is in the chassis
167. riptionX 400 DescriptionY 1480 DescriptionWidth 0 END STOP STEP ID 22 X 420 Y 360 Operam First Step HideDescription lt DescriptionX 478 DescriptionY 345 DescriptionWidth 0 InitialStep Yes PresetUsesExpression No LimitHighUsesExpression LimitLowUsesExpression No ShowActions Yes ACTION ID t 24 O0perand First Action Qualifier L IsBoolean PresetUsesExpression No IndicatorTag Watch 3 PRE BODY LanguageType ST END BODY END ACTION ACTION ID 25 Operand Array ACUCIOB S Qualifier SL IsBoolean No PresetUsesExpression No IndrcatorTag C Produced 11 BODY LanguageType ST END BODY END ACTION ACTION ID 26 UDT Elem Action Member Qualifier D IsBoolean No PresetUsesExpression No IndicatorTag BODY LanguageType ST Y END BODY END ACTION ACTION ID 27 Operand Action 000 Qualifier IsBoolean PresetUsesExpression No IndicatorTag BODY LanguageType ST END BODY END ACTION Publication 1756 2005 Enter Sequential Function Chart Logic 17 7 ACTION ID 2 28 Operand Action 001 Qualifier N IsBoolean No PresetUsesExpression No Indicatorlag Alvased Indicator BODY LanguageType ST END BODY END ACTION ACTION ID 29 Action 002 Qualifier D
168. rt File Description opecify the number of counts per motor revolution 1 to 0341 specify RotationalPosResolution text opecify the number of feedback counts per position unit Enter a real number from 1 0 to 1 0e specify ConversionConstant value Specify the number of output cam execution targets any positive number specify OutputCamExecutionTargets text Enter Axis Ready Direct Drive Control Servo Control Axis Faulted or Axis Shutdown specify AxisState text Specify user defined engineering units rather than feedback units specify PositionUnits text Specify the time in seconds for calculating the average velocity of the axis any positive number specify AverageVelocityTimebase value specify the positioning mode for an axis Enter Rotary or Linear specify RotaryAxis text For rotary axis specify the distance in feedback counts used to perform electronic unwind any positive number specify PositionUnwind value specify the homing mode Enter Passive Active or Absolute specify HomeMode text For active homing sequences except for the immediate sequence type specify the desired homing direction Enter Uni directional Forward Bi directional Forward Uni directional Reverse or Bi directional Reverse specify HomeDirection text Specify the event that will cause the home position to be set Enter Immediate Switch Marker or Switch Marker specify HomeS
169. rtOptions Context gt lt Controller Use z Context Name Conveyor gt Trends Use Context gt lt Trend Use Target Mame Conveyvor Operation SamplePeriad 10 NumberofCaptures z 1 CaptureSizeType Samples CaptureSize 60000 StartTriqgerType Mo Trigger StopTriggerTvpe Mo Trigger TrendsVersion 5 2 lt Trends gt Controller z RSLagi 5anncententz Publication 1756 RMO084K EN P 2005 9 4 Structure the L5X Partial Import Export File Format Specify a Trend Each trend declaration within this component defines a trend and the pens within that trend Repeat this structure for each trend Trends Usez Gontext Trend Use Target Mame Convevor Operation SamplePeriad 10 MumberOfCapturesz 1 CaptureSizeType z samples CaptureSize 60000 StartTriqgerType z Mo Trigger StopTriggerType z No Trigger TrendxsVversianz 5 27 lt Pens gt lt Trend a Trends where Controller Item Identifies Use the use of the trend specify Context or Target Name the name of the trend For more information on Trend and Pen attributes see the Trend section on page 3 35 Publication 1756 May 2005 Structure the L5X Partial Import Export File Format 9 15 Trend example lt eml versianz 1 0 encoding UTF 8 standalone yes 7 gt lt 5000 SchemaRevisian 1 0 SoftwareRevision 13 00 TargetTvpe Trend ContainsContext true Owner Ro
170. s driver in RSLinx software specify CommDriver text specify whether redundancy is used or not Enter 0 to disable redundancy enter 1 to enable redundancy specify RedundancyEnabled number Specify whether to keep test edits on when a switchover occurs only in a redundant system Enter a 0 not to keep test edits on enter 1 to keep test edits on opecify KeepTestEditsOnSwitchOver number opecify the percentage 0 100 of the data table to reserve If redundancy is not enabled enter 0 If redundancy is enabled enter 50 specify DataTablePadPercentage name specify whether the RSI Security Server is enabled for the controller Enter 0 if the controller is unsecured enter 1 if the controller is secured Specify Security Code text specify whether the SFC executes the current active steps before returning control CurrentActive or whether the SFC executes all threads until reaching a false transition UntilFalse specify SFCExecutionControl name Specify whether the SFC restarts at the most recently executed step MostRecent or at the initial step InitialStep specify SFCRestartPosition name Publication 1756 RM084K EN P May 2005 2 6 Structure a Complete L5K Import Export File Format Attribute SFCLastScan SerialNumber MatchProgectroConbtroller Publication 1756 2005 Description Specify how the SFC manages its state on last scan
171. s from the controller when the servo axis is enabled and the drive activates the torque 0 6 5535 specify BrakeReleaseDelayTime value Specify the power supply ID any positive number specify PowerSupplyID value Specify the bus regulator any positive number specify BusRegulatorID value specify Enter High Frequency or Low Frequency specify PWMFrequencySelect text specify the catalog number of the amplifier to which this axis is connected specify AmplifierCatalogNumber text Specify the catalog number of the motor to which this axis is connected or enter lt NONE gt specify MotorCatalogNumber text Specify the auxiliary feedback ratio any positive number specify AuxFeedbackRatio value Specify the load inertia ratio any positive number specify LoadInertiaRatio value Specify the maximum torque limit 0 200 specify ContinuousTorqueLimit value Specify amount of time to delay resistive brake contact specify ResistiveBrakeContactDelay value specify the minimum set of attributes the drive can support Specify 0 Rockwell classic identifies past systems for backward compatibility 1 packaging identifies packaging applications specify ConfigurationProfile value Specify the number of drive resident probe inputs You can havs as many as two registration inputs per axis specify RegistrationInputs value Publication 1756 RM084K EN P May 2005 3 26 Cre
172. set block contains a structured text expression that specifies the preset time in milliseconds for the step timer Each line of structured text begins with single quote 9 PRESET LanguageType ST Texte END PRESET Enter Sequential Function Chart Logic 1 13 Enter a LIMIT HIGH block The limit high block contains a structured text expression that specifies the preset time in milliseconds for a limit high alarm Each line of structured text begins with a single quote 9 LIMITHIGH LanguageType ST Structured Text END Enter a LIMIT_LOW block The limit low block contains a structured text expression that specifies the preset time in milliseconds for a limit low alarm Each line of structured text begins with a single quote 9 LIMITLOW LanguageType ST Dex END LIMITLOW Enter an ACTION LIST block Bach step can contain multiple actions Each action follows this format ACTION ID is xungue zdentrfiero Operand t rererences Qualifier lt character s gt IsBoolean lt yes no gt PresetUsesExpression lt yes no gt IndrogtOPTdg lt tag r6rerence PRESET block lt BODY block END ACTION Publication 1756 RMO084K EN P 2005 1 14 Enter Sequential Function Chart Logic Item ID Operand Qualifier IsBoolean PresetUsesExpression IndicatorTag PREGET block BODY block Publicat
173. simple rung 3 Unscheduled Programs Phases 1 1 3 Motion Groups 3d Ungrouped Axes E Trends 1 3 Data Types Example of a rung with a branch Local 1 l Data Ug User Defined Local1 Fautt 11 Local 1 l Data 18 Local 2 O Data 12 H E Strings 9 00 Predefined Module Defined 25 Configuration 1756 Backplane 1756 410 fa 0 1756 L63 csv examples BJ 1 1756 1416 input module End 4 4 MainRoutine Ready Rung End of3 eR Publication 1756 RMO84K EN P May 2005 8 6 Structure the Tag Comments CSV Import Export File Format Export all tags and comments An expott of all tags and comments results in this CSV file E Microsoft Excel csv examples Tags C5Vv File Edit View Insert Format Tools Data Window Help Type a question For help X Dae PSB 2187 o0 r i Ties 10 F B 7 U H 29 D 7 Al X wv f remark 7 E CSv Import Export remar ate d D Oct 04 13 07 37 2004 remar ersion al Versi RoLogix 5000 14 00 remar Rockwell Automation Rockwell A remar amparnwy Rockwell Automation 5 k C Rockwell i 0 3 7 TYPE SCOPE MAME DESCRIPTION DATATYPE SPECIFIER ATTRIBUTES 8 Local 1 C AB 1 55 DEC 9 Local 1 1 AB 156 DEL 10 Local 2 C AB 1 55 DO C 11 Local 2 1 175
174. t File Format This chapter explains the overall structure of a complete import export file The file extension for a complete import export file is L5K For information about the specifics of each component in an import export file see the chapter Creating an Import Export File For information on entering logic see the chapter Entering Logic The import export feature is based on the formats specified by the IEC 1131 3 specification The examples follow these conventions Convention Meaning S 2 items shown in angle brackets are required b lg Items shown in square brackets are optional user value Items in italics indicate user supplied information LITERAL Items in all uppercase indicate a required keyword or symbol that must be entered as shown TES Items in double quotes are required characters White space characters include spaces tabs carriage return newline and form feed These characters can occur anywhere in an import export file except in keywords or names If white space characters occur outside of descriptions they are ignored Internal file comments You can enter comments to document your import files The import process ignores these comments You can place comments anywhere in an import export file except in keywords names component descriptions and the value portion of attributes before the delimiting comma or the end parenthesis Publication 1756 RMO084K EN P 2005 2 2 Structure
175. tID number ToElementID the destination element of the link Enter an unsigned 32 bit integer value specify ToElementID number ShowLink whether or not to show the link Enter TRUE or FALSE specify ShowLink text DIRECTED LINK guidelines e All DIRECTED LINK blocks must come after all STEP TRANSITION STOP and BRANCH blocks e directed link links only one element to one other element DIRECTED LINK example DIRECTED LINK FromElementiD 16 ToElementlID 12 ShowLink True END DIRECTED LINK Publication 1756 RM084K EN P May 2005 1 22 Enter Sequential Function Chart Logic Enter Text Boxes Item ID Width Text Publication 1756 2005 The text box blocks in an SFC routine hold descriptions about SFC components Text boxes follow this format TEXT BOX ID de X Santeria grid x LOCACION grid y Location Width lt numeri Cal vadue Text lt text gt END TEXT BOX Where Identifies the text box identifier This ID uniquely identifies this text box from all other blocks Enter an unsigned 32 bit integer value specify ID number x coordinate on internal grid Enter an unsigned 32 bit integer value specify X number y coordinate on internal grid Enter an unsigned 32 bit integer value specify Y number this attribute is not currently used it is there for future use Enter 0 spec
176. tespace between the type and array definition There must be a space between the tag name and the colon and another space between that same colon and the type name This 1s because type names can contain a colon and without the space it would be impossible to detect where the type name actually starts Define a TAG declaration for an alias tag tag declaration for an alias tag follows this structure stag name gt OE 217889 Where Item tag name alias Attributes Attributes Identifies name of the alias tag name of the base tag the alias tag references specify alias lt specifier gt Where the specifier is a bit bitnumber array element e ement or structure member membername of the tag attributes of the tag can also contain a description of the tag enclose in parenthesis separate each attribute with a comma Publication 1756 RMO084K EN P 2005 3 14 Create a Complete Import Export File Attribute Description Comment Radix ProduceCount PLCMappingFile PLC2Mapping ProgrammaticallySend EventTrigger Producer RemoteTag Publication 1756 2005 Define an array specification within a TAG declaration An array specification follows this structure element element element Where Item Identifies element the number of elements within the array dimension for example 5 10 2 Specify TAG
177. text format MRHD Ax is MotionControl DiagnosticTest Enter Structured Text Logic 6 9 MRP AxTS MOtrIODnOOntrol Tvpo PosrtionSelect PoSrtuzon MSF Axis MotionControl MSG MessageControl MSO Axis MotionControl dest sourceA sourceB MVMT MVMT tag dest source IF sourceA lt gt sourceB THEN statements END IF IF NOT source THEN statements END IF dest sourceA sourceB OSRTCOSFT tag OSRI OSRI tag data bzt vf BOOL expression IF BOOL expression THEN data 1 END IF IF BOOL expression THEN dace END IF PhaseName Result PhaseName PCMD PhaseName Command Result PDET PhaseName PFL Source ELCPI PID PID ProcessVariable Tieback ControlVariable PIDMasterLoop InholdBit InholdValue PIDE PIDE tag PMUL tag POSP POSP tag POVR PhaseName Command Result PED y PRNP PXRO Phaselnstruction ExternalRequest DataValue Publication 1756 RMO084K EN P 2005 6 10 Enter Structured Text Logic Instruction Neutral text format RAD dest RAD source REPEAT UNTIL REPEAT lt statement gt UNTIL bool expression END REPEAT RESD RESD RESD tag RET RET ReturnPar RLIM RLIM RLIM tag RMPS RMPS RMPS tag RampValue SoakValue SoakTime RTOR RTOR RTOR tag 8105 RTOS Source Dest SBR SBR InputPar SCRV SCRV SCRV tag SEID SETD SE
178. the format of the L5K file but is structured using Extensible Markup Language XML tags In addition to being able to open and modify the file 15 file in a text editor such as Notepad you can also view the contents of the file in Microsoft Internet Explorer and other tools that work with XML files If you use You see a text editor suchas a text file such as Notepad lt xml yversion 1 0 encading LITF 8 standalone yes gt zRSLagixS Dn Content SchemaRevision 1 0 SoftwareRevision 13 00 ContainsContext true Owner Rockwell Automation Rockwell Automation ExpartDate Tue Mar 30 09 59 21 2004 Export ptians References Context ReferencesByUld RoutineLabels Ulds AliasExtras NoStringData gt zCantraller Use Context Name test13 90 35 gt lt Datalypes Use Cantext 9 90 0 05 gt lt DataType Mame SampleDT Family NoFamily Class User Uld 23enabzb zMembers zMember Name Sample DINT Member DataType z DIMT Dimensianz D Radix Decimal Hidden false lt Description gt is a DINT member af the gt Description You can edit this file in the text editor an Internet browser an XML file such as such as Internet Explorer lt xml versianz 1 0 encoding UTF 8 standalone yes 7 RSLagix5 n content SchemaRevision 1 0 SoftwareRevision 13 00 TargetType Rung ContainsContext tru
179. tions When You Cannot Go Online with a Controller More than 1000 controller edits were made A download occured using a different project copy but with identical stamps Changes were made to the offline project excluding documentation and tag value changes A controller nonvolatile storage load occurred and the image was downloaded from a different project copy but with identical stamps A controller nonvolatile storage load occurred and the image was from an identical download but the change log was dated earlier than the project file The project was exported and then re imported In this case the software considers it a different project and it has its own unique stamps A completely different project one with different stamps was downloaded A controller nonvolatile storage load occurred and the image was generated from a completely different project file one with different stamps Possible Recovery e full download to the controller e upload from the controller to a new project e upload from the controller and merge with an existing project e full download to the controller e upload from the controller to a new project An upload merge of documentation is NOT possible in these cases Publication 1756 RMO084K EN P 2005 1 12 Import and Export Files Notes Publication 1756 2005 Introduction Conventions Chapter 2 Structure a Complete L5K Import Expor
180. tire text string including the 00 characters is enclosed in single quotation marks Publication 1756 RMO084K EN P 2005 3 28 Create Complete Import Export File For example sourced SErING SOXRING 5 110500500500500500500500500500500500500500500500500500500500500500500500500500500500500 500500500500500500500500500500500500500500500500500500500500500500500500500500500500500500500 900500500500500500500500500500500500500500500500500500 1 sourceb String i SIRLNO 14227 now are 01500500500500500500500500500500500500500500500500500500500500500500500500500500500500500500 500500500500500500500500500500500500500500500500500500500500500500500500500500500500500500500 500500500500500500500500500500 END TAG Define a comment for a TAG component The comment attribute of a tag declaration lets you provide information about a component of the tag such as a specific bit array element or structure membet For example To add a comment to this operand Enter bit 3 of a tag COMMENT 3 description element 8 of an array tag COMMENTIS description preset value of a tag COMMENT PRE description TAG guidelines Keep these guidelines in mind when defining a tag e Tags must be defined after devices if there are no devices then after the data types within the controller body e Base tags and aliases can be defined out of order within a tag block e You cannot define 214
181. tive number specify MaximumNegativeTravel value Specify the position error tolerance any positive number specify PositionErrorTolerance value Publication 1756 RM084K EN P May 2005 10 Import Export Revision History Attribute PositionbockTolerance PositionProportionalGain PositionIntegralGain VelocityFeedforwardGain AcclerationFeedforwardGain VelocityProportionalGain VelocityIntegralGain OutputFilterBandwidth Qutputscalring Outputnhrimxt OutputOffset FrictionCompensation SoftOvertravelFaultAction PositionErrorFaultAction EncoderLossFaultAction EncoderNoiseFaultAction DriveFaultAction ServoConfigurationBits MotorEncoderTestIncrement TuningTravelLimit TuningSpeed Publication 1756 2005 Description opecify the position local tolerance any positive number specify PositionLockTolerance value Specify position proportional gain any positive number specify PositionProportionalGain value Specify the position integral gain any positive number specify PositionIntegralGain value Specify the velocity feedforward gain any positive number specify VelocityFeedforwardGain value Specify the acceleration feedforward gain any positive number specify AccelerationFeedforwardGain value Specify the velocity proportional gain any positive number specify VelocityProportionalGain value Specify velocity i
182. to the end of a line specify AppendChars value BufferSize opecify the maximum size of the data array 1 65535 bytes to send and receive specify Bu ferSize value ControllerDevice none none CST SystemTimeMasterID opecify whether the controller is the coordinated system time master Enter 1620000 if the controller is not the CST master enter 1620001 if the controller is the CST master specify CST 16 value Publication 1756 RMO084K EN P 2005 3 44 Create Complete Import Export File Object DF1 Attribute DuplicateDetection ErrorDetection EnbeddedResponseEnable DF1Mode ACKTimeout NAKReceiveLimit ENOTransmit TransmitRetries StationAddress ReplyMessageWait PollingMode MasterMessage Transmit NormalPollNodeFile NormalPollGroupSize PriorityPollNodeFile Publication 1756 2005 Description opecify whether to enable duplicate message detection which ignores duplicate messages Enter 0 to disable enter 1 to enable specify DuplicateDetection value opecify the error detection method Enter BCC Error or CRC Error specify ErrorDetection text specify the response method Enter 0 to autodetect enter 1 to enable specify EnbeddedResponseEnable value specify the DF1 mode Enter Pt to Pt Master or Slave specify DF1Mode value specify the time to wait for an acknowledgment to a message transmission Enter an increment of
183. tor PositionServoBandwidth TuningCcontrgursbtlopnBrits Import Export Version 1 1 RSLogix 5000 Version 8 Description opecify the damping factor any positive number specify DampingFactor value Specify position servo bandwidth any positive number specify PositionServoBandwidth value Specify the tuning configuration bits Enter a hexadecimal number specify TuningConfigurationBits 16 value Version 1 1 major revision 1 minor revision 1 of the import export feature that is included with RSLogix 5000 programming software version 8 0 included these major enhancements e Addition of function block instructions and routines e Addition of ASCII instructions e Verification of all instruction attributes and parameters Publication 1756 RM084K EN P May 2005 12 Import Export Revision History Notes Publication 1756 2005 ACTION LIST block 7 12 aliases 3 13 array specifications 3 14 ATTACHMENT entering 7 23 example 7 23 guidelines 7 23 attachments 7 22 attributes AXIS CONSUMED TAG 3 17 AXIS SERVO TAG 3 17 AXIS SERVO DRIVE TAG 3 17 AXIS VIRTUAL TAG 3 17 CONTROLLER 2 5 COORDINATE SYSTEM TAG 3 26 DATATYPE 3 2 EquipmentPhase PROGRAM 3 31 FBD ROUTINE 5 2 MESSAGE TAG 3 16 MODULE 3 5 GROUP TAG 3 15 PEN declaration 3 40 PROGRAM 3 30 ROUTINE 4 1 ROUTINE 7 3 ROUTINE 6 1 TAG 3 14 TASK 3 33 3 43 TREND 3 36 AXIS CONSUMED TAG 2 17
184. tput of the servo loop into equivalent voltage to an external velocity servo drive specify VelocityScaling value Attribute TorqueScaling OutputLPFilterBandwidth IntegratorHoldEnable PositionDifferentialGain DirectionalScalingRatio MaximumPositiveTravel MaximumNegativeTravel PositionErrorTolerance PositionLockTolerance OutputLimit DirectDriveRampRate OutputOffset VelocityOffset TorqueOffset FrictionCompensation Create a Complete Import Export File 3 21 Description opecify the torque scaling attribute that is used to convert the acceleration of the servo loop into equivalent rated torque to the motor specify TorqueScaling value opecify the bandwidth in Hertz of the servo s low pass digital output filter specify OutputLPFilterBandwidth value Enter Disabled or Enabled opecify IntegratorHoldEnable value opecify a position differential gain PosD to help predict a large overshoot ahead of time and make an attempt to correct before the overshoot actually occurs specify PositionDifferentialGain value opecify the ratio between the extend direction gain and the retract direction gain specify DirectionalScalingRatio value opecify the maximum positive position any positive number to be used for software overtravel checking in position units specify MaximumPositiveTravel value opecify the maximum negative position any positive number to be used for softwar
185. troller project This is different than the COMMENT type that defines a comment about a tag component rung comment recotd includes this information Identifies the type of comment valid types are RCOMMENT ladder rung comment what part of the project owns the comment a program or equipment phase must be specified name of the routine text of the comment neutral text for the last instruction on the rung that owns the comment if there is no element on the rung the Owning Element is a semi colon by default the Owning Element is used to match the comment to a rung on import see page 1 6 rung number of comment the rung number in the Location column is used to match the comment to a rung if either the Owning Element is blank for that comment or if you override the import default by selecting the Match all rung comments by rung number only see page 1 6 An RCOMMENT record follows this format RCOMMENT Scope Routine Comment Owning Element Location SCOPE RCOMME Multicast Configure RCOMME Multicast Configure RCOMMEI Multicast Configure Multicast Configure Multicast Configure ROMME Multicast Configure RCOMME Multicast Configure The following examples show RCOMMENT records ROUTINE Configure Multicast Configure Multicast Configure Multicast Configure Multicast Configure Multicast Configure Multicast Configure Multicast Publication 1756
186. uential function chart 7 9 online structured text 6 4 OREF component 5 7 example 5 8 guidelines 5 8 overview 2 2 9 4 P partial COMMENT record 8 4 comments 8 1 CSV format 8 1 Datalype 9 5 5X format 9 1 Module 9 7 Program 9 9 RCOMMENT 8 1 remark 8 1 structure 9 4 TAG 8 1 9 8 TAG record 8 2 Publication 1756 RM084K EN P 2005 partial continued TREND 3 41 Trend 9 13 using Excel A 1 partial import export 1 5 1 6 1 8 1 9 PEN declaration 2 10 phase manager program 3 31 PRESET block 7 12 PROGRAM attributes 3 30 component 3 29 EquipmentPhase attributes 3 31 EquipmentPhase example 3 32 example 3 32 guidelines 3 31 Program component 9 9 projects 1 2 1 3 RCOMMENT partial 8 1 remark 8 1 ROUTINE attributes 4 1 component 4 1 example 4 3 rung logic 4 2 rungs 1 5 1 9 S SBR RET entering 7 17 example 7 18 sequential function chart logic 7 1 ACTION LIST block 7 13 CONDITION block 7 16 entering attachments 7 23 entering branches 7 19 entering directed links 7 21 entering steps 7 11 entering stops 7 18 entering subroutine calls 7 17 entering text boxes 7 22 entering transitions 7 15 example 7 4 sequential function chart logic continued LEG block 7 20 LIMIT HIGH block 7 13 LIMIT LOW block 7 13 online edits 7 9 PRESET block 7 12 SFC ROUTINE attributes 7 3 component 7 1 example 7 4 LOGIC block 7 9 SHEET example 5 4 ST ROUTINE attributes 6 1 component 6 1 example 6 3 LOGIC bloc
187. um specify MaximumAccelaertion value opecify the value in coordination units for actual position to be used by coordinated motion instructions when they have a termination type of actual tolerance specify ActualPositionTolerance value opecify the value in coordination units for command position to be used by coordinated motion instructions when they have a termination type of command tolerance opecify CommandPositionTolerance value Define TAG initial values The initial value format follows the C language initialization syntax except that you use square brackets instead of curly brackets The following table shows some examples of entering initial values If the tag is Enter single atomic value Value structure with three members Value1 Value2 Value3 structure with a nested structure 1 Value2 Value3 Value4 structure with a nested array Value1 ArrayValue ArrayValueZ Value3 The initial value for a string value identifies the number of characters in the string and the text string The format for a string TAG 16 name gt y SIRING number string Ltexc900 950071 Where Item Identifies tag name name of the string tag STRING the STRING data type number number of characters in the string string text text of the string 00 the string is padded with 00 to fill its maximum of 02 characters Each 00 equals one character not used in the string The en
188. umber If you specify NONE for the motor you must specify a feedback type specify MotorFeedbackType value opecify the resolution of the motor 1 2147483647 specify MotorFeedbackResolution value opecify the type of auxiliary feedback device specify AuxFeedbackType value opecify the resolution of the auxiliary feedback device 1 2147483647 specify AuxFeedbackResolution value Publication 1756 RMO084K EN P 2005 3 24 Create a Complete Import Export File Attribute MotorFeedbackUnit AuxFeedbackUnit OutputNotchFilterFrequency VelocityDroop VelocityLimitBipolar AccelerationLimitBipolar TorqueLimitBipolar VelocityLimitPositive VelocityLimitNegative VelocityThreshold VelocityWindow VelocityStandstillWindow AccelerationLimitPositive AccelerationLimitNegative TorqueLimitPositive TorqueLimitNegative TorqueThreshold DriveThermalFaultAction MotorThermalFaultAction DriveEnableInputFaultAction StopprugTorque Publication 1756 2005 Description opecify the units for motor feedback Enter Rev Inch or Millimeter specify MotorFeedbackUnit text opecify the units for auxiliary feedback Enter Rev Inch or Millimeter specify AuxFeedbackUnit text Specify the frequency of the drive s digital notch filer 0 10 000 0 specify OutputNotchFilterFrequency value Specify the velocity droop any positive number spe
189. unzts profrlile te rmsnatrion type merge merge speed MCOPimotzom control ucam length start slope end Slope cam profile MChM coordinate system motzron COHtrol move type position speed Speed unito qoceh termination type merge merge speed MCD axis motion control motion type change speed speed change accel accel cate Change cece Tate speed Units decer MCS Coordinate System motion control type rate decel Unitel MCSD ooordinate system umotron Control MCSR coordinate motion Control MO5VimotromControl cam profrleumaster Value Slave value slope value slope derivative MDE axis motrzon control MDO axis motronm controldrive output drive Unice MDOO GXIS executron target Control Lype MDR axe motronm coOntrody MDW axis motion control source mask compare MGS group motzon control stop mode MGSD group motion control MGSP igroup motrion control MG5R group motrzon control MID source quantity start destination MOD source A source destination MOV source destination MRAT MRED axle motion MRE dxIS Hotriom control type position Select position MSF axrS cOntrzod Publication 1756 RMO0
190. ut See page Enter a sequential function chart routine 1 1 Enter steps 1 11 Enter transitions 1 15 Enter subroutine calls 1 17 Enter stops 1 18 Enter branches 1 19 Enter directed links 7 21 Enter text boxes 1 22 Enter attachments 7 23 For more information on creating SFCs and correct syntax see the 2000 Controller Common Procedures Programming Manual publication 1756 001 Enter sequential function chart logic in an ROUTINE component in an import expott file Each routine follows this structure SFC ROUTINE routine name gt Attributes STEP component lt TRANSITION componment gt lt 5 RET component lt 3 componernt BRANCH component lt DIRECTED LINK componente TEXT BOX component ATTACHMENT component END SFC ROUTINE Publication 1756 RMO084K EN P 2005 1 2 Enter Sequential Function Chart Logic Where Item routine Attributes STEP Component TRANSITION component SBR RET component STOP component BRANCH component DIRECTED LINK component TEXT BOX component Component Publication 1756 2005 Identifies the name of the SFC routine attributes of the SFC routine see page 7 3 SFC step block contains actions see page 7 11 SFC transition block see page 7 15 subroutine call see page 7 17 SFC stop block see page 7 18 SFC branch see page 7 19 SFC directed
191. utIntegerl1 7 myInteger2 71 2 WHILE myTmpVar gt 0 DO Y myInteger myInteger 3 3 myTmpVar myTmpVar 1 x END WHILE END IF END ST ROUTINE Enter Comments Enclose comments between and characters Comments can include carriage returns You can place comments anywhere in structured text logic For example Publication 1756 RMO084K EN P 2005 6 4 Enter Structured Text Logic Export Structured Text If you export structured text logic that contains online edits the export file exports LOGIC blocks to indicate the original test edits and pending edits Logic While Editing Online states If there are no online edits you will not see these LOGIC blocks The LOGIC blocks follow this format Example 1 Both lest edits and Pending edits exist ST ROUTINE MySTRoutine LOGIC Online Edit 05218 structured text logro here END LOGIC LOGIC Online Edit Type Test structured text logic here END LOGIC LOGIC Online Edit Type lt pend Struotured text Logix here 2 END LOGIC END ST ROUTINE Example 2 Only Pending edits exist ST ROUTINE MySTRoutine LOGIC Online Edit 02286 Struetured text logic nere END LOGIC LOGIC Edit Pend structured text logro here END LOGIC END ST ROUTINE Where Item Identifies Online Edit Type whether online edits exist when the logic
192. ute Prestate InitialStepIndex InitialSsState CompleteStateIfNot Impl LossOfCommCmd ExternalRequest Action EquipmentId RecipePhaseNames Create a Complete Import Export File 3 31 Specify PROGRAM attributes for EquipmentPhase Programs In addition to the PROGRAM connection attributes previously described specify these attributes for an Equipment Phase program PROGRAM Type EquipmentPhase Description Name of the prestate routine 40 characters maximum opecify Prestate name opecify an integer value for the initial step index of the phase specify InitialStepIndex number Specify state of the phase Enter Idle default Aborted Stopped or Complete specify InitialState text If the phase does not implement all the expected states enter StateComplete default so the program can continue to execute when it expects a state that was omitted The program ignores the omitted state and continues to the next state Otherwise enter NoAction specify CompleteStateIfNotImpl text If the phase uses an external sequencer such as RSBizWare Batch software specify that appropriate action to take if communication fails between the controller and the external sequencer Enter Abort Hold Stop or None default specify LossOfCommCmd text Specify how to handle an external request instruction that is in process when the phase receives the command to go to a Holding state Enter Clear
193. utes and ranges see the Logix5000 Controllers Common Procedures Programming Manual publication 1756 001 Define a TAG declaration for a non alias tag tag declaration for non alias tag follows this structure Name gt lt Cypelarray specizication 11 le tag force data Item tag type array Publication 1756 2005 Where Identifies name of the tag type of tag atomic types BOOL SINT INT DINT REAL string types STRING predefined types AXIS_CONSUMED AXIS_GENERIC_DRIVE AXIS_SERVO AXIS_SERVO_DRIVE AXIS_VIRTUAL CAM CAM_PROFILE CONTROL COORDINATE SYSTEM COUNTER MESSAGE GROUP MOTION INSTRUCTION OUTPUT CAM OUTPUT COMPENSATION PID SERIAL PORT CONTROL TIMER equipment phase types PHASE PHASE INSTRUCTION function block types unique type for each function block sequential function chart SFC_ACTION 5 STEP SFC STOP dimensional boundaries for array tags see page 3 14 Item Attributes initial value tag forced Gata Identifies attributes of the tag Create a Complete Import Export File 3 13 can also contain a description of the tag enclose in parenthesis separate each attribute with a comma see page 3 14 initial value of the tag see page 3 27 list of forced tag data for an example see page 3 29 There cannot be any whi
194. version 10 import export version 2 0 RSLogix 5000 software version 9 motion changes to support the SERCOS protocol import export version 1 1 RSLogix programming software version 8 See page B 2 B 2 B 3 B 3 4 B 6 7 11 Publication 1756 RMO084K EN P 2005 2 Import Export Revision History Backward Compatibility Import Export Version 2 4 RSLogix 5000 Version 13 Publication 1756 2005 The import export feature supports backward compatibility for import operations This means that the RSLogix 5000 programming software can import L5K files that were generated by a previous version of the programming software In some cases an older L5K file might not correctly import into newer version of the programming software The revision history in this appendix will list any conditions when backward compatibility for an import operation does not work as expected The import export feature does not support backward compatibility for export operations This means that older version of the RSLogix 5000 programming software cannot read L5K files that were created with newer versions of the programming software Each version of the RSLogix 5000 programming software exports L5K files with a specific import export version number The RSLogix 5000 programming software imports any L5K file with the same major revision number and the same or lower minor revision number The major re
195. vision number increments when there are conditions such that the programming software cannot support backward compatibility for import operations The minor revision number increments whenever there is a change in the file a new module an attribute is added the set of options for an attribute is changed etc that does not affect backward compatibility for import operations IMPORTANT Be careful when copying and pasting between different versions of L5K files Do not paste objects from an older L5K file into a newer version Version 2 4 major revision 2 minor revision 4 of the import export feature that is included with RSLogix 5000 programming software version 13 included these major enhancements e Support for new controllers e ExtendedProp section to MODULE data e Support for new TAG attributes Attributes can be in any order in an import export file The order shown in this document 15 the order the attributes export e Support for a TREND object in the import export L5K file e New MCSV instruction in ladder logic chapter 4 and structured text e Online editing support for structured text and sequential function chart logic e Updated CSV format now includes rung comments e New L5X format for partial import export of ladder rungs tags and trends Import Export Revision History B 3 Import Export Version 2 3 bine 2 9 2 2 minor revision 3 of import export feature is included with RSLogix 5000
196. you lose any preceding period If you enter any text before or after this Excel maintains the content z eA 2 2 If you enter this as an entire comment you lose any preceding equal sign If you enter any text before or after this Excel maintains the content 2 4 2 2 2 If you enter this as an entire comment you lose any preceding plus sign If you enter any text before or after this Excel maintains the content 002 002 2 2 If you enter this as entire comment you lose any preceding zeros If you enter any text before or after this Excel maintains the content test string test string test string test string Excel puts quotes around cell contents only if there is an embedded comma RSLogix5000 always places double quotes around text But RSLogix5000 can still handle the description without quotes test string S teststring S teststring Both Excel and RSLogix5000 alter content when it sting includes a dollar sign has quoted text has quoted has quoted has quoted text Both Excel and RSLogix5000 alter content when it within string text within text within within includes a dollar sign string string string this has this has this has this has Single quotes work fine in both software packages embedded text embedded embedded embedded text text text Publication 1756 2005 Considerations for Usin
197. yped Read SLC Typed Write Unconfigured or Module Reconfigure specify MessageType text opecify the address or tag name of the element in the remote device This is the source element of a read instruction or the destination element of a write instruction specify RemoteElement text opecify the number of elements to be transferred 0 32 767 opecify RequestedLength value opecify whether the CIP generic message requires a connection or not Enter 1 for connected enter 0 for not connected specify ConnectedFlag value specify the connection path to the other device specify ConnectionPath string specify the type of communication method Enter For this communication method 0 CIP most messages use CIP communications 1 DH 2 CIP with source ID 3 block transfer via universal remote 1 0 4 block transfer via ControlNet Specify CommTypeCode value If the message type is Generic specify the service code 0 32 767 hexadecimal specify ServiceCode 16 value If the message type is CIP Generic specify the object type 0 32 767 hexadecimal The ObjectType attribute is the same as the Class field on the MSG configuration dialog specify ObjectType 16 value If the message type is CIP Generic specify the target object 0 32 767 decimal The TargetObject attribute is the same as the Instance field on the MSG configuration dialog specify TargetObject value If the message type is CIP Gener
198. zzzzz7z zConveyor BitNumber 0 gt zDescriptianz zI CDATA Run The Motor gt lt Descriptions gi Member lt Members gt lt DataType gt lt DataTypes gt lt Modules Use Context Uld cbi15434a lt Module Use Context Name Local Uid 42 741be5 gt lt Module Usez Gontext 119 2960 934 gt lt Module Use Contexrt urd z fefdb37a gt zMadulesz zTags Use Context Urd dS5alBdfb Tag Namez GM1 M urd inffaidc TagTypez Alias DataTvpe BOOL Radix Decimal AllasFor Local 2 0 Data 0 gt lt Description zI CDATA Conveyor Motor Starter Output gt lt Description gt lt Data gt OO0 lt Data gt lt gt lt Tags gt zPragrams Use Context Uld 3238c36d gt Program Use Context Nams z MainProgram Uld d 6d4dbel Tags Use z Gontext Uld f54231b5 Tag Name CN1 Uld 2e1586 TagType Base DataType Conveyor_Type gt lt Descriptions lt CDATA Conveyor CHi gt lt Description gt lt Data gt 00 00 86 01 00 07 00 DD 88 13 00 00 00 00 00 00 00 00 88 13 00 00 00 D c Data lt gt lt Tags gt Publication 1756 May 2005 Structure the L5X Partial Import Export File Format 9 13 lt Programs Use Context Uld 3238c36d gt lt Program Use Context Name MainProgram Uld d06
Download Pdf Manuals
Related Search
ang. ang lee ang mutya ng section e ang careers ang lee movies ang agr jobs ang dalubhasa 2000 ang probinsyano ang mutya ng section e episode 1 ang mo kio ang tanging alay ko lyrics ang mutya ng section e episode 16 ang mutya ng section e episode 5 ang mutya ng section e episode 12 ang mutya ng section e book 1 ang mutya ng section e where to watch ang mutya ng section e season 2 release date ang mutya ng section e episode 6 ang mutya ng section e ep 16 ang mutya ng section e episode 10 ang mutya ng section e ep 14 ang mutya ng section e episode 13 ang mutya ng section e cast ang mutya ng section e ep 6 ang.af.mil ang mutya ng section e season 2
Related Contents
TR3-G003 通信プロトコル説明書 Pixsys Suite Logiclab Overview 2SA1213 design makes objects timeless, fashion corrupts them, fools copy Sony NP-F330 User's Manual Cosmic Rider Temporary User`s Manual (GB) Télecharger le manuel d`utilisation Training Manual Copyright © All rights reserved.
Failed to retrieve file