Home

MX2/RX Series Inverter DriveProgramming User`s Manual

image

Contents

1. Between while and wend write the command set that is executed while lt condition gt is met DriveProgramming User s Manual I580 E1 6 3 6 DriveProgramming Commands 6 3 Command List i Program Control Commands Command Argument 3 Argument 4 Argument 5_ on trip goto wt fF J d il lt command set 1 gt i PF of ff lt command set 2 gt endif Description Indicates the begin pi ning of the task Indicates the end of the task Jumps to lt subrou pC tN gt Indicates the begin ning of the subroutine Indicates the end of the subroutine Jumps to lt label gt unconditionally Jumps to lt label gt when a trip occurs Jumps to lt label gt when the condition is met Starts the if structure If lt condition gt is met it executes lt command set 1 gt right after this command until the else command and goes to the next step after the endif If lt condition gt is not met it executes lt com mand set 2 gt right after the else command until the endif com mand and goes to the next step after the endif The command set that is executed when lt condition gt is met Starts the commands when lt condition gt is not met The command set that is executed when lt condition gt is not met Ends the if structure DriveProgramming User s Manual 1580 E1 6 DriveProgramming Commands Command Argume
2. UB 2 goto Tao end 3 LIB 1 01 4 LIB 2 02 z UMon 0 UBs G 00 UB 7 Hest Block Go to loop_ In the above example the status of X 00 to X 02 is monitored with the parameter UMon 0 d025 and X 02 is output to Y 00 Block number Operation 1 Assigns 0 to UBw 2 to 4 Assigns the variables X 00 to X 02 to the variables UB 0 to UB 2 5 Assigns UBw to UMon 0 6 Assigns UB 2 to Y 00 7 Jumps to block 1 loop_ unconditionally 6 42 DriveProgramming User s Manual 1580 E1 6 DriveProgramming Commands var UBw Command Description Argument Assigns the value of the internal user contact to Variable any variable lt variable gt in units of words var LB w Format Flowchart method Text language method vane eae 4 Note When the data is assigned in units of words zero is read out for the unused upper byte If there is any setting the setting is ignored UB 0 to UBw 1 bit 0 UB 1 to UBw 2 bit 1 UB 2 to UBw 4 bit 2 UB 3 to UBw 8 bit 3 UB 4 to UBw 16 bit 4 UB 5 to UBw 32 bit 5 UB 6 to UBw 64 bit 6 UB 7 to UBw 128 bit 7 Example Flowchart Text 0 y entry loop _ ubw i 8 UB X 8 UB 1 X 1 UB 2 x 2 UMon ubw 8 UB 2 end 3 LIB 1 01 4 LIB 2 02 a Ubon 0 UB G Y0 UBT 7 Hest Block Go to loop In the above example the
3. e On the upper left of each block in the flowchart program the block number will appear after the compilation is finished Block numbers are the consecutive numbers starting with 0 A block number is given to each block of the whole program Block numbers do not match the line numbers of the program converted to text i Converting Text to Flowchart There are two ways to convert text programs to flowchart programs Command Icon Description Convert Text to Flowchart Converts current text task or subroutine to flowchart is i Convert Whole Program i Converts whole program to flowchart to Flowchart ule l Precautions for Correct Use e When a text program is converted to a flowchart program the program is once compiled If a compilation error occurs the conversion fails e On the upper left of each block in the flowchart program the block number will appear after the compilation is finished Block numbers are the consecutive numbers starting with 0 A block number is given to each block of the whole program Block numbers do not match the line numbers of the program converted to text e Comments alias definition region definition etc created in the text program are deleted when a compilation is performed for conversion The operation does not change however the forms and contents of the program are partially changed DriveProgramming User s Manual 1580 E1 4 DriveProgramming Editor i Find and Replace Func
4. 2 Assigns 500 to U 01 3 Assigns the difference between U 01 and U 00 to U 02 DriveProgramming User s Manual 1580 E1 6 25 6 DriveProgramming Commands Multiplication Command Description Argument Multiplies lt value 1 gt by lt value 2 gt Result any variable Value 1 any variable or constant range 128 to 127 Value 2 any variable or constant range 2 147 483 648 to 2 147 483 647 Format Flowchart method Text language method lt result gt lt value 1 gt lt value 2 gt lt result gt lt value 1 gt lt value 2 gt 4 Note If an overflow or underflow occurs the DriveProgramming detects it as an error Take necessary mea sures in the application so that they do not occur Example Flowchart Text i entry entry Ufee 2 u l 500 u 2 U e Ufel end Z 3 4 Block number Operation 1 Assigns 2 to U 00 2 Assigns 500 to U 01 3 Assigns the product of U 00 and U 01 to U 02 6 26 DriveProgramming User s Manual 1580 E1 6 DriveProgramming Commands Division Command Description Argument Divides lt value 1 gt by lt value 2 gt Result any variable i Value 1 any variable or constant range 128 to 127 Value 2 any variable or constant range 2 147 483 648 to 2 147 483 647 Format Flowchart method Text language method lt result gt lt value1 gt lt value2 gt lt result gt lt value1 gt lt va
5. DriveProgramming User s Manual 1580 E1 Authorized Distributor
6. Format Flowchart method Text language method lt result gt lt value 1 gt and lt value 2 gt lt result gt lt value 1 gt and lt value 2 gt a Note If an overflow or underflow occurs the DriveProgramming detects it as an error Take necessary mea sures in the application so that they do not occur Example Flowchart Text a entry u 2 6 u 3 z 12 loop_ U 4 U 2 and U 3 goto loop 5 end 5 Hest Block ee Block number Operation 1 Assigns 6 to U 02 2 Assigns 12 to U 03 3 Assigns 4 binary 00000100 which is the result of logical AND on 6 U 02 binary 00000110 and 12 U 03 binary 00001100 to U 04 4 Jumps to the block 3 loop_ unconditionally 6 30 DriveProgramming User s Manual 1580 E1 6 DriveProgramming Commands Or Logical OR Command Description Argument Logical OR on lt value 1 gt and lt value 2 gt in Result any variable aim binary format Value 1 any variable or constant Or or Logical OR range 128 to 127 Value 2 any variable or constant Value 1 Result range 2 147 483 648 to 2 147 483 647 Format Flowchart method Text language method lt result gt lt value 1 gt or lt value 2 gt lt result gt lt value 1 gt or lt value 2 gt Note If an overflow or underflow occurs the DriveProgramming detects it as an error Take necessary mea sures in the application so that they do not occur Example Flowchart Text 0
7. However the outputs with MO1 to MO6 General purpose output not set for the DriveProgramming are controlled as the inverter s multi function outputs independently of the program e f multiple tasks use the same multi function terminal the output status of the task which is executed last will be effective Considering safe control we recommend you to avoid using multiple tasks for control e Even if you select MO1 to MO6 General purpose output 1 to 6 for the Multi function Output Selection MX2 P1 and P2 RX P1 to P5 or for the Multi function Relay Output MA MB Function Selection you can select NO NO contact or NC NC contact for the Multi function Output Operation Selection MX2 C031 and C032 RX C031 to C035 or for the Multi func tion Relay Output MA MB Operation Selection C036 DriveProgramming User s Manual I580 E1 5 7 5 DriveProgramming User Variables B Analog Input Terminal Variables XA 0 to XA 2 You can use the inverter s frequency reference input analog voltage input FV terminal and the fre quency reference input analog current input FI terminal as the analog input terminal variables XA 0 and XA 1 of the DriveProgramming function For the 3G3RX V1 Series Inverter it is also possible to use the frequency reference auxiliary input analog voltage input FE terminal as the analog input terminal variable XA 2 of the DriveProgramming function You can continuously monitor the status of the analog in
8. Inverter MX2 RX Series DriveProgramming User s Manual 3G3MX2 Series Type V1 3G3RX Series Type V1 CX Drive I580 E1 01 OMRON 2013 All rights reserved No part of this publication may be reproduced stored in a retrieval system or transmitted in any form or by any means mechanical electronic photocopying recording or otherwise without the prior written permission of OMRON No patent liability is assumed with respect to the use of the information contained herein Moreover because OMRON is constantly striving to improve its high quality products the information contained in this manual is subject to change without notice Every precaution has been taken in the preparation of this manual Nevertheless OMRON assumes no responsibility for errors or omissions Neither is any liability assumed for damages resulting from the use of the information contained in this publication Introduction Introduction Thank you for purchasing the Inverter Servo support tool CX Drive and 3G3MX2 38G3RX V1 Series Inverter This manual describes the specifications and operating methods of the DriveProgramming for the inverter When you use this product refer to the Multi function Compact Inverter MX2 Series Type V1 User s Manual 1585 or the High function General purpose Inverter 3G3RX Series Type V1 User s Manual 1578 besides the CX Drive Operation Manual W453 Intended Readers This manual is intended for the fo
9. This window consists of the toolbar in which common commands are included and the DriveProgramming area in which the program is displayed as text or flowchart 4 2 2 Toolbar The DriveProgramming Editor provides the following commands Common commands Command New Task flowchart Description Creates a new flowchart task for the program Task is a unit of program executed in the DriveProgramming New Task text Creates a new text task for the program Task is a unit of pro gram executed in the DriveProgramming chart the program which is executed only when it is called D E New Subroutine flow Creates a new flowchart subroutine A subroutine is a part of New Subroutine text Creates a new text subroutine A subroutine is a part of the program which is executed only when it is called Rename Current Task Renames the current task or subroutine Deletes the current task or subroutine Undo oe Undoes the latest change kJ Delete Current Task Redo Redoes the undone operation 4 6 DriveProgramming User s Manual 1580 E1 4 DriveProgramming Editor Description Compiles the program and if there are no errors transfers downloads it to the drive inverter Command Transfer to Drive Transfers uploads the program from the drive inverter to the DriveProgramming Editor Transfer from Drive Starts the program in the inverter The CX Drive will first compare the program in the inverter wi
10. X This symbol indicates a prohibited item an item you must not do The specific instruction is indicated using an illustration or text inside or near The symbol shown to the left indicates disassembly prohibited Z This symbol indicates danger and caution The specific instruction is indicated using an illustration or text inside or near The symbol shown to the left indicates beware of electric shock This symbol indicates danger and caution The specific instruction is indicated using an illustration or text inside or near The symbol shown to the left indicates non specific general danger A This symbol indicates caution warnings included The specific instruction is indicated using an illustration or text inside or near The symbol shown to the left indicates risk of hot surface This symbol indicates a compulsory item an item that must be done The specific instruction is indicated using an illustration or text inside or near The symbol shown to the left indicates general compulsory items This symbol indicates a compulsory item an item that must be done The specific instruction is indicated using an illustration or text inside or near The symbol shown to the left indicates grounding required 12 DriveProgramming User s Manual 1580 E1 Safety Precautions lt gt WARNING Turn off the power supply and implement wiring correctly Not doing so may result in a serious
11. YA 0 AM Selection DriveProgramming YA 1 Acceleration Decel DriveProgramming eration Time Input Type DriveProgramming User s Manual 1580 E1 Description Use this setting to specify the inverter fre quency reference by the function variables of the DriveProgramming If you select any other option than 01 Con trol circuit terminal block the analog inputs FV Fl will be disconnected from the fre quency reference and you can use them as the analog inputs XA 00 and XA 01 for the DriveProgramming Set 56 to 62 MI1 to MI7 to use the termi nals for the general purpose inputs for the DriveProgramming The parameter settings correspond to the function variables X 00 to X 06 Set 02 MI8 General purpose input 8 for DriveProgramming to use the RP terminal for the general purpose input for the DriveProgramming The RP terminal corresponds to the function variable X 07 Set 44 to 46 MO1 to MOS to use the termi nals for the general purpose outputs for the DriveProgramming You can control the multi function output ter minals by changing the corresponding func tion variables Y 00 to Y 02 to ON OFF Set 12 DriveProgramming to use the termi nal for the general purpose pulse output YA 0 for the DriveProgramming Set 13 DriveProgramming to use the termi nal for the general purpose analog output voltage YA 1 for the DriveProgramming Set this parameter to control the acceleration decelerati
12. Example Halias global const 100 as 188 alias global Acceleration as FOZ alias global Deceleration as Fe 3 alias global Time as U 10 alias global AppTimer as TD Halias global Temp as UL 5 entry H Precautions for Correct Use e The alias definition created in the text program is deleted when the program is compiled for transferring downloading to the inverter or for program conversion The specified names are converted to the normal names and numeric values To save the created alias definition save the program before you execute program compilation You can save the program by saving the whole project in the CX Drive or export file of the program e In the verification process the program after compilation is compared with the program inside the inverter Therefore the comments alias definitions region definitions etc are not verified e For alias definitions you cannot use the variables or commands that are already used If you do this a compile error will be displayed DriveProgramming User s Manual 1580 E1 4 DriveProgramming Editor i Region Definition Text Program You can define regions in tasks or subroutines of the text program You cannot define regions in flow chart programs Region definition refers to dividing a program into groups of lines by specifying their areas By using the region definition you can divide a program into parts and fold each of them in the display This helps t
13. Logical operation lt variable 1 gt lt variable 2 lt variable 3 Performs a logical constant gt constant gt AND operation on lt variable 2 constant gt and lt variable 3 con stant gt and assigns the result to lt variable 1 gt lt variable 1 gt lt variable 2 lt variable 3 Performs a logical OR constant gt constant gt operation on lt variable 2 constant gt and lt vari able 3 constant gt and assigns the result to lt variable 1 gt lt variable 1 gt lt variable 2 lt variable 3 Performs a logical constant gt constant gt exclusive OR opera tion on lt variable 2 constant gt and lt vari able 3 constant gt and assigns the result to lt variable 1 gt lt variable 1 gt lt variable 2 Reverses the bit of constant gt lt variable 2 constant gt and assigns the result to lt variable 1 gt p do O e 3 3 D 5 2 m m ana i Increment and Decrement Commands ee A BE Increment lt variable gt fo fo Adds 1 to lt variable gt Decrement lt variable gt ee 1 from lt variable gt I O control commands Command Argument 2 Arguments Argument 4 Argument 5 Description Input terminal Argument 1 Assigns the input ter variable minal variable informa assignment tion to lt variable gt 0 off 1 on lt variable gt Assigns the input ter minal variable informa tion to lt variable gt in units of words DriveProgramming User s Manual 1580 E1 6 7 6 DriveProg
14. Precautions for Use of Parameters for DriveProgramming Errors and Remedies DriveProgramming User s Manual I580 E1 5 CONTENTS CONTENTS SFTFOCUICTION IET eA E A A E E A E E E 1 Manual Configuration s ssnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnn nnnm 2 Manual StruGtune rarianang a E EASi ER 3 Sections IM EMIS Man al siaii a a a ad 5 CONTENTS rorida nari EA Ar Ea 6 Read and Understand this Manual ccccsssccsssseceeseeseseeeeseeseeneeeenseeeeneesenseeseass 9 Dally IPFECAUITION S issos r eaii EEEa a ipaa aii 12 Precautions for Sal US e npin a 14 Regulations and StandardS s nnnnunnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnn nnne 15 Related Manuals aroser ssar aa aa a ARa 16 POVISION MUISTORY cosisonoio a E a a aa aia 17 Section 1 Overview 1 1 Overview of DriveProgramming ccccceeseesesseeeenseeeeeneeeeenseeeeseeeenseeeeeaseeeoasesoesseeeneasesoensenss 1 2 1 2 Preparation and System Configuration ccccccsessseeeseeseeeseesseeeeeeseeesoeseeeseeeseessonsseessones 1 4 Section 2 Specifications Zle SPECIGIS ao tercgcet rater eset a a a outed ani a a a a a E test O 2 2 Section 3 3 1 3 2 3 3 Section 4 4 1 4 2 Operation Procedure for DriveProgramming Operaton PFOCCOUNG ii EA a E 3 2 Parameters Related to DriveProgramming cccccceessceeseesseeeceeseeeseenneeeeeeeneeesennneeseoeneeses 3 5 Program Stru
15. RX X 00 to X 07 8 points e Multi function input S1 to S8 terminals Frequency reference XA 0 Oto 10 V FV terminal input XA 1 4 to 20 mA FI terminal Multi function analog XA 2 MX2 No applicable function input RX 10 to 10 V FE terminal External output Multi function out MxX2 Y 00 to Y 02 3 points put multi function relay e Multi function output P1 and P2 terminals output e Multi function relay output terminals MA MB RX Y 00 to Y 05 6 points e Multi function output P1 to P5 terminals e Multi function relay output terminals MA MB Monitor output YA O PWM output in 6 4 ms cycle MP termi Multi function digital nal output Monitor output YA 1 Oto 10 V AM terminal Multi function analog YA 2 MX2 No applicable function output RX 4 to 20 mA AMI terminal 2 2 DriveProgramming User s Manual 1580 E1 2 Specifications Item Specifications Commands Program control com Loop for mands e Unconditional branch goto e Time control wait e Conditional branch if then ifs then select case until while e Subroutine call sub e Others entry end inc dec Arithmetic commands Four arithmetic operations and e Remainder mod and assignment e Absolute value abs e Logical operations or and xor not I O control e Multi function I O bit input word input bit output and word output e Reads inverter input terminals
16. any variable or constant oe mand set n gt when lt condition variable gt matches range 128 to 127 lt condition value n gt of any case command l Command set n one or more commands until Executes lt command set for others gt case next case or endselect command It can con lt gt else when lt condition variable gt does not tain nested commands up to eight levels a match any of condition values of the case commands z This command is useful when you need to ap select among multiple options based on a lt con dition variable gt CaseElse This command is also useful to organize pro grams when it is used with the call commands O that calls subroutines EndSelect Format Flowchart method Select U0 Case Ofig End Select Note A select is counted as nesting level 1 Text language method select lt condition variable gt case lt condition value 1 gt lt command set 1 gt p A Y a 3 O fe 2 O e 3 3 gt 2 O case lt condition value n gt lt command set n gt case else lt command set for others gt endselect A set of select to endselect used in a subroutine is counted as nesting level 2 Example Flowchart 1 loop hd select Ufot I z Ld il 3 Ld LL 4 Li H T Ld ugi 200 il Hent Block 10 ud Block number Text Loop_ select Ut case 1 Uf l 108
17. ccccccssseeeeccececeeseeeeeccaeeusseceecceeeusseceeseseauseeeessuaaaseeeesessegs 4 16 Adding Deleting and Renaming Tasks csccsssssseeeeeeseeeseesseeeeeenseeseenseeesenseeseoensesees 4 17 Inserting Deleting and Calling Subroutines cceeeeseeeeeeeeeeeeeeeeeeeeeneeeeeeeeeneeeeeeeeneeneeees 4 18 Creating Flowchart Programs ciscccseciscsecsseccaes cccectisivcctensesctacseicedeeessbesteendedecesavicdestecewselesetde 4 19 Creating Text Programs insenso a aa aeaaea a aa eaa a a aa aG 4 20 Editing Transferred Uploaded ProgramS cccccessseeeseeseeeseeenseseeeeseeseenseeeseeessessennnees 4 21 Savino PrograMS asserena r a aaa eSa a aaa aaa aaan Nia 4 22 Transferring and Verifying Programs ccccccessecsseseeeesseeeenseeeenseeeeeseeeneseeeoeneesenseeenaeesseas 4 24 Executing Programs DriveProgramming Function Selection scccessesssssesseeseeeees 4 25 Other USetul RUNMCUIOINS wax se ccssececiccp ste a aaa a a aa a a 4 28 DriveProgramming User Variables User Variables and User Parameters ccsccccessssecceeeseeeeenseeeeeeseeeseenseeeeoenseesseoeseesenennees 5 2 Input Output Terminal Variables cccccssssseeeeeeceenenneeeeseeennseeeeeeceesseeeeseooeenseessesonensenees 5 5 Aaa t aa gt 6 arona a ney On ERR ie erot a Ree Seen ier Ree ee nee eee A 5 10 Inverter Setting Variables roui a aaa eerie eens aie ee ea 5 12 Inverter Monitor Variables cusses aa a aa
18. lt wait time gt lt wait time gt ai for wait time x wait lt condition gt I until ond EN Additional Information For the format of lt condition gt refer to Conditions on page 6 6 DriveProgramming User s Manual I580 E1 6 5 6 DriveProgramming Commands j Conditions Command Condition lt variable 1 constant gt lt variable 1 constant gt lt variable 1 constant gt lt variable 1 constant gt lt variable 1 constant gt lt variable 1 constant gt lt variable 2 constant gt lt variable 2 constant gt lt variable 2 constant gt lt variable 2 constant gt lt variable 2 constant gt lt variable 2 constant gt Argument 1 Argument 2 Argument3 Argument4 Arguments Description TRUE if lt variable 1 constant gt is equal to lt variable 2 constant gt TRUE if lt variable 1 constant gt is less than lt variable 2 constant gt TRUE if lt variable 1 constant gt is equal to or less than lt variable 2 constant gt TRUE if lt variable 1 constant gt is greater than lt variable 2 constant gt TRUE if lt variable 1 constant gt is equal to or greater than lt vari able 2 constant gt TRUE if lt variable 1 constant gt is not equal to lt variable 2 constant gt Four Arithmetic Operation and Logical Operation Commands Command Four arithmetic operation lt variable 2 constant gt lt variable 2 const
19. specified label and the operation is continued Precautions for Safe Use When the DriveProgramming program is stopped the status before the program stop is retained for multi function outputs controlled by the DriveProgramming For this reason configure the system so that the stop of the DriveProgramming program in the inverter can be detected by the DriveProgramming start signal and the alarm trip signal and the inverter s peripheral devices can be stopped safely 8 2 DriveProgramming User s Manual 1580 E1 8 Errors and Remedies 8 1 2 DriveProgramming Operation on Error Reset The DriveProgramming operation on error reset varies with the reset input method and the setting for the Reset Selection C102 The following table shows the operation for each case Reset input method e To restart the DriveProgramming set the Multi function Input Selection MX2 C001 to C007 RX C001 to C008 to 18 RS Reset and turn ON the corresponding input terminal e You cannot restart the DriveProgramming by pressing the STOP RESET key of the Digital Opera tor or the LCD Digital Operator optional Reset Selection C102 e To restart the DriveProgramming by reset input it is necessary to set the Reset Selection C102 to the value other than 03 Trip reset only You cannot restart the DriveProgramming when 03 Trip reset only is set e When the Reset Selection C102 is set to 00 Trip reset at power on or 01 Trip reset at
20. variable data DCV DC Voltage Monitor 0 to 10 000 0 1 V Unsigned R d102 1 word Use this function to monitor the inverter s internal DC voltage The monitored data is equivalent to the data of the DC Voltage Monitor d102 This variable is read only or TOR Description Data range peut Data size R W variable data STATUS Inverter status monitor Unsigned R 1 word Use this function to monitor the inverter s status Each bit corresponds to the following status This variables is read only Bit Fe a a a ee Function Not Not Not Not Not Not Not Not During During used used used used used used used used trip RUN 5 16 DriveProgramming User s Manual 1580 E1 5 DriveProgramming User Variables 5 6 Multi function Input Variables You can execute the functions allocated to the multi function input terminals by the DriveProgramming program The following variables correspond to the functions which can be allocated to the multi func tion input terminals If any of the variables is set to 1 ON the corresponding function is enabled in the same way as when the multi function input terminal is turned ON If any of the variables is set to 0 OFF the corresponding function is disabled You can execute the functions by the program even if you do not allocate the functions to the Multi function Input Selection MX2 C001 to C007 RX C001 to C008 The Reference column in the following table shows the func tion setting dat
21. when the timer k is started After the timer k is started the program goes to the next command 2 When the timer set command is executed the data of TD k and lt value gt are saved internally Even if the variable values set to lt value gt is changed after the timer set command is executed the opera tion of the command does not change 3 After the timer set command is executed if the same timer k is restarted before its processing is completed the ongoing processing is canceled and the timer k is started with the new settings Therefore create a program so that the timer k which is started once is not restarted until its pro cessing is completed 4 You can monitor the data of the started timer k with the timer counter variable TC k Check the com pletion of the timer processing with the timer output contact TD k changes ON at completion Timing chart 1 The timer is in a free run state 2 The timer set command is started 3 The delay operation is in progress 4 The time elapsed f i t Ti d 6 The delay operation is in progress A ee i SPR m FfF tt Eo a 7 The time elapsed OET See ae 8 The timer set command is started 1 gt 2 3 4 a 5 6 wm 7 1 2 3 4 Bey vw Le The timer set command is started 8 9 9 The timer is in a free run state DriveProgramming User s Manual 15
22. z a Drivel Off s Work Online Ef Paramete P100 Drive P i Graphs V a Status E _ O aia Monitor E es ing User parameters Set rang Q E Settings 5 Drive Pre N Para T Task ER Parameter Editor W Reset Selection cription gt Reset All fe Programming User Parameter UOI Transfer i 2 Programming User Parameter UOZ Import Program a ed Alarms UDS Export Program L is Real Time Trace ae Compile oF Jog ugg fe Programming User Parameter uio fe Programming User Parameter U11 DriveProgramming User s Manual I580 E1 4 23 4 DriveProgramming Editor 4 9 Transferring and Verifying Programs Program transfer and verification are possible between the inverter and the DriveProgramming function of the CX Drive At the same time you can also execute parameter transfer and verification i Transfer from PC to Inverter The created programs are compiled program checked and transferred downloaded to the inverter if there is no error From the Drive Menu select Transfer To Drive to transfer download data i Transfer from Inverter to PC The programs and parameters in the inverter are transferred uploaded to the DriveProgramming From the Drive Menu select Transfer From Drive to transfer upload data i Verification between PC and Inverter The DriveProgramming programs and parameters are compared with the data in the inverter From the Drive Menu select Transfer Compare
23. 12 to U 03 3 Assigns 10 binary 00001010 which is the result of logical exclusive OR on 6 U 02 binary 00000110 and 12 U 03 binary 00001100 to U 04 4 Jumps to the block 3 loop _ unconditionally 6 32 DriveProgramming User s Manual 1580 E1 6 DriveProgramming Commands Not Negation in binary format Command Description Argument Negation on lt value 1 gt in binary format bit Result any variable except variables with bit reversal data size Nt not Negation Value any variable except variables and con stants with bit data size range 2 147 483 648 to 2 147 483 647 Format Text language method lt result gt not lt value gt Flowchart method lt result gt not lt value gt 4 1 You cannot obtain a correct result with commands such as UB 1 not UB 0 Use xor command to reverse variables with bit data size as shown in the following examples e Example 1 UB 1 UB 0 xor 1 e Example 2 UB 2 X 00 xor 1 Note If an overflow or underflow occurs the DriveProgramming detects it as an error Take necessary mea sures in the application so that they do not occur Example Flowchart Text a entry i U 3 12 u 4 not U 03 l goto loop_ end 4 i Next Block PRR Block number Operation 1 Assigns 12 to U 03 2 Assigns 65523 binary 111110011 which is the result of negation bit reversal on 12 U 03 binary 00000110 to U 04 3 Jumps to the block 3 loop_
24. 3 6 Task Operation on Trip DriveProgramming User s Manual 1580 E1 3 Operation Procedure for DriveProgramming 3 1 Operation Procedure The following figure shows the flow of procedure from programming to executing programs with the DriveProgramming Reference Programming P 3 3 Compiling Programs 3 3 v Downloading Programs 3 4 4 Selecting Driveprogramming Functions P 3 4 U U Starting Programs P 3 4 Create DriveProgramming programs by the DriveProgramming Editor in the Inverter Servo support tool CX Drive The following figure shows the flow of procedure from programming to transferring downloading to the inverter For details on operation and other information refer to Section 4 DriveProgramming Editor Saving user programs e Saving as CX Drive project file e Saving as exported file CX Drive DriveProgramming Editor Flowchart method Text language method CX Drive compilation Text language method Compilation 7 Programs after compilation Note Saved programs are the same as that created with the Editor The compiler performs following operations Converts flowchart programs to text programs Converts label names automatically to the following names label 1 label 2 Deletes comments Deletes alias definitions and converts specified names to the same ones as before definition Deletes region definitions and con verts forms to the same ones as before defi
25. 8 for DriveProgramming RX Set the Multi function Input S1 to S8 Selection C001 to C008 to 56 to 63 MI1 to MI8 Gen eral purpose input lt Assignment example gt X 00 MI1 function No 56 X 01 MI2 function No 57 X 02 MI3 function No 58 X 03 Ml4 function No 59 X 04 MI5 function No 60 X 05 MI6 function No 61 X 06 MI7 function No 62 X 07 MI8 MX2 P003 02 RX function No 63 Note For details refer to 5 2 Input Output Terminal Variables on page 5 5 Example Flowchart Text entry loop _ UMon X 1 goto loop end Go to loop Hent Block E In the above example the status of the input terminal X 01 is monitored with the parameter UMon 0 d025 Block number Operation 1 Assigns X 01 to UMon 0 2 Jumps to the block 1 loop_ unconditionally 6 36 DriveProgramming User s Manual 1580 E1 6 DriveProgramming Commands var Xw Command Description Argument Assigns the status of the input terminal variable Variable any variable to lt variable gt in units of words ASAN Format Flowchart method Text language method lt variable gt Xw Note The input terminal variable is a variable that detects the status of the inverter s input terminal The following settings are required The numerical order of input terminal variables follows the numerical order of the set general inout numbers MX2 Set the Multi function Input S1 to S7 Selection
26. C001 to C008 52 KHC RWW C001 to C008 53 AHD RW C001 to C008 65 CP1 to 3 R W C001 to C008 66 to 68 ORL RWW C001 to C008 69 ORG RWW C001 to C008 70 SPD RW C004 to C008 73 1 The shortened name of the function option for multi function input is different from the function variable name The shortened name of the function option for multi function input is shown in MX2 only Function variable BescH enol RW Reference HLD RW C001 to C007 83 ROK RWW C001 to C007 84 DISP R W C001 to C007 86 1 The shortened name of the function option for multi function input is different from the function variable name The shortened name of the function option for multi function input is shown in DriveProgramming User s Manual 1580 E1 5 DriveProgramming User Variables RX only Function variable Reference SET3 R W C001 to C008 17 CAS RW C001 to C008 26 PPI RW _ C001 to C008 43 ORT RW C001 to C008 45 STAT R W C001 to C008 48 SON RWW C001 to C008 54 FOC R W C001 to C008 55 FOT RW C001 to C008 71 ROT R W C001 to C008 72 PCNT R W C001 to C008 74 PCC RW C001 to C008 75 rd F 3 O e 5 5 lt D D ea D o DriveProgramming User s Manual I580 E1 5 19 5 DriveProgramming User Variables 5 7 Multi function Output Variables You can execute the functions which can be allocated to the multi function output terminals by using
27. DriveProgramming can be restarted by a reset input even when there is no trip g amp U O Q Q 3 0 r Cc O Cc p Restart when the DriveProgramming Function Selection A017 is set to 01 Enabled Power ON Power OFF OEE ee PRG terminal PRG terminal OFF PRG terminal PRG terminal OFF yeysoy Buimwes6boiqeauq S E Multi function input terminal ON ON MX2 S1 to S7 RX S1 to S8 Start iStop Start Stop Task1 Task2 Start IStop Start Stop ms w e Start 1 Stop Start Stop Task4 i Task5 Start IStop Start Stop i w o e Restart after trip when the DriveProgramming Function Selection A017 is set to 02 Enabled without on trip goto command Power ON Trip Tripreset Power OFF Power supply Start istop Start Stop Task1 Task2 Start IStop Start Stop se Fo Task4 Start IStop Start Stop ms EE DriveProgramming User s Manual 1580 E1 3 17 3 Operation Procedure for DriveProgramming 3 3 6 Task Operation on Trip Basically even if the inverter detects a trip during the DriveProgramming operation the operation is continued However if any of E43 to E45 trips related to the DriveProgramming is detected the opera tion is stopped Or with the on trip goto command the program can jump to other process after a trip occurred With without Error status i a User trip DriveProgramming t t onArip goto E50 to E59 related trip E43 to E45 cane
28. Free V f Frequency 7 0 to 400 DriveProgramming User s Manual 1580 E1 7 3 7 Precautions for Use of Parameters for DriveProgramming 7 2 Parameters Affected by Rated Current In the case of parameters for which a current value is set the parameter s default data and setting range are restricted by the rated current of the inverter When you set those parameters set a percentage of the inverter rated current in the DriveProgramming program The following are the representative examples For details refer to the Multi function Compact Inverter MX2 Series Type V1 User s Manual 1585 or the 8 5 Modbus Communication Register Number List in the High function General purpose Inverter 3G3RX Series Type V1 User s Manual 1578 p arameter Description Data No b012 1st Electronic Thermal Level 0 20 to 1 00 x Rated current b212 2nd Electronic Thermal Level 0 20 to 1 00 x Rated current b312 RX only 3rd Electronic Thermal Level 0 20 to 1 00 x Rated current b022 1st Overload Limit Level lt Heavy load gt b222 MX2 only 2nd Overload Limit Level 0 20 to 2 00 x Rated current 0 4 to 55 kW b025 _ 1st Overload Limit Level 2 0 20 to 1 80 x Rated current 75 to 132 kW b028 Frequency Pull in Restart Level lt Light load gt 0 20 to 1 50 x Rated current b126 Brake Release Current 0 20 to 2 00 x Rated current 0 4 to 55 kW 0 20 to 1 80 x Rated current 75 to 132 kW C030 Digital Current Monitor Reference Value lt Heavy lo
29. Input Output Terminal Variables on page 5 5 Example Flowchart Text i entry loop_ ubw UB X 00 UB 1 x 1 UB 2 X 2 2 UMon ubw UB 0 X o0 UB 2 goto loop 3 end LIB 1 01 4 UIB 2 02 a Ubon 0 UB G v00 UEP 7 Hext Block Go to loop In the above example the status of X 00 to X 02 is monitored with the parameter UMon 0 d025 and X 02 is output to Y 00 Block number Operation 1 Assigns 0 to UBw 2 to 4 Assigns the variables X 00 to X 02 to the variables UB 0 to UB 2 5 Assigns UBw to UMon 0 6 Assigns UB 2 to Y 00 7 Jumps to the block 1 loop_ unconditionally 6 38 DriveProgramming User s Manual 1580 E1 6 DriveProgramming Commands Yw value Command Description Argument Outputs data to the output terminal variable in Value any variable or constant units of words Reflect each bit in corresponding output Yin value Format Flowchart method Text language method Yw lt value gt 4 Note The output terminal variable is a variable that controls the status of the inverter s output terminal The following settings are required The numerical order of the output terminal variables follows the numerical order of the set general output numbers MX2 Set the Multi function Output P1 and P2 Selection C021 and C022 and the Multi function Relay Output MA MB Function Selection C026 to 44 to 46 MO1 to MO
30. Input Selection parameters to 16 AT Analog input switching If you do not set it the expected operation is not performed even if the variable AT Analog input switching is set to 1 in the program e The relationship between the inverter s multi function input function set in the Multi function Input Selection and the multi function input variable is logical OR MX2 and RX Function variable Reference FW Forward R W MX2 C001 to C007 00 RV RW C001 to 0008 0 CF1 to CF4 R W C001 to C008 02 to 05 JG R W C001 to C008 06 DB RWW C001 to C008 07 SET RW C001 to C008 08 TCH 2CH 2 step acceleration deceleration C001 to C008 09 FS Ww Gooti C008 Tt EXT External trip R W C001 to C008 12 DriveProgramming User s Manual 1580 E1 5 17 5 DriveProgramming User Variables Function variable Reference USP RW C001 to C008 13 CS R W C001 to C008 14 SFT RW C001 to C008 15 AT RWW C001 to C008 16 RS RW C001 to C008 18 STA RW C001 to C008 20 STP RW C001 to C008 21 PID RW C001 to C008 23 PIDC R W C001 to C008 24 UP RW C001 to C008 27 DWN RWW C001 to C008 28 UDC RWW C001 to C008 29 OPE RW C001 to C008 3 SF1 to SF7 R W C001 to C008 32 to 38 OLR RWW C001 to C008 39 TL RWW C001 to C008 40 TRQ1 and 2 R W C001 to C008 41 and 42 BOK RW C001 to C008 44 LAC RW C001 to C008 46 PCLR R W C001 to C008 47 ADD RW C001 to C008 50 FTM RW C001 to C008 5 ATR RW
31. N I ol Ww O O D 5 7 e Reads writes inverter output terminals Contacts control by timer and timer counter control Parameter control e Changes setting data of specified parameter number e Saves parameter setting data in EEPROM RX only current time reading once continuous Inverter control e Executes and stops forward reverse operation e Generates a trip by the DriveProgramming E50 to E59 10 points e Frequency reference and acceleration deceleration time settings Function variable U 00 to U 31 32 points able Internal user variable UL 00 to UL 07 8 points Frequency reference SET Freq Acceleration time vari ACCEL Deceleration time vari DECEL Inverter monitor vari The monitor functions d001 to d102 for the inverter are available as vari able ables MX2 and Rx FM lout Dir PID FB F CNV Tmon Vout Power RUN Time ON Time POS STATUS DCV ERR CNT ERR 1 to ERR 6 and UMon 0 to UMon 2 Multi function input The function options of the Multi function Input S1 Selection C001 for the variable inverter are available MX2 and Rx FW RV CF1 CF2 CF3 CF4 JG DB SET TCH FRS EXT USP CS SFT AT RS STA STP F R PID PIDC UP DWN UDC OPE SF1 SF2 SF3 SF4 SF5 SF6 SF7 OLR TL TRQ1 TRQ2 BOK LAC PCLR ADD F TM ATR KHC AHD CP1 CP2 CP3 ORL ORG and SPD MX2 only RS485 HLD ROK and DISP RX only SET3 CAS PPI ORT STAT SON FOC F
32. Take necessary measures in consideration of each status e For the multi function outputs the inverter s actual output terminals the status before the program stop is retained However the output terminals that are not set to MO1 to MO6 general purpose outputs of the DriveProgramming operate as the inverter s normal multi function outputs e When the DriveProgramming function is selected for the frequency reference accelera tion deceleration time or analog outputs the set values for these functions before the pro gram stop are retained e The data of the user parameter variables internal user variables and internal user contacts before the program stop is retained e The status of the inverter s actual input terminals such as the multi function and analog input terminals is not retained but always updated e The data of the multi function output variables function bits such as RUN FA1 and AL and inverter monitor variables is not retained but always updated according to the status of the inverter e Only the DriveProgramming s multi function input variables function bits such as FW RV and CF1 and timer variables are cleared at the same time as the program stop and all data are changed to zero DriveProgramming User s Manual 1580 E1 3 15 3 Operation Procedure for DriveProgramming When the DriveProgramming function is started stopped through the CX Drive the value of the inverter parameter DriveProgramming Function Selec
33. UOITeJOdG BuluwWeIBO1g9AUq Z 4 8 DriveProgramming User s Manual I580 E1 8 3 8 Errors and Remedies 8 1 3 Alarm Code List This section describes the alarm codes that are specific to the DriveProgramming as well as the causes and remedies For other errors refer to the Multi function Compact Inverter MX2 Series Type V1 User s Manual 1585 or the High function General purpose Inverter 3G3RX Series Type V1 User s Manual 1578 Alarm code E43 E44 E45 Alarm cause of inverter trip Nesting count error Command error 1 Invalid command The terminal PRG was Possible cause turned ON although no program was downloaded into the inverter A subroutine is nested over eight levels The for next command is nested over eight levels The if command is nested over eight levels The jump destination of the goto command points to the next com mand that terminates the for or other loop The variable referenced through U i etc could not be found A four arithmetic operation results in the following error Overflow underflow or division by zero The ChgParam com mand results in the follow ing error e Change to a parameter that does not exist The written value is out of the setting range Change of a parameter value that cannot be changed during inverter operation Change of a parameter value that is protected against change by the So
34. When the DriveProgramming Function C007 Multi function Input S1 DriveProgramming start Selection A017 is set to 01 Enabled to S7 Selection Start stop via multi function input PRG termi C008 RX only nal the program is started via the Multi function Input S8 multi function input terminal with this setting Selection 1 Multi function input terminals for MX2 are S1 to S7 and for RX are S1 to S8 Precautions for Safe Use When execution of the DriveProgramming program is stopped the status before the program stop is retained for multi function outputs controlled by the DriveProgramming For this reason configure the system so that the stop of the DriveProgramming program in the inverter can be detected by the DriveProgramming start signal and the alarm trip signal and the inverter s peripheral devices can be stopped safely l Precautions for Correct Use The following are the status of function variables when the DriveProgramming program is stopped Take necessary measures in consideration of each status e For the multi function outputs the inverter s actual output terminals the status before the program stop is retained However the output terminals that are not set to MO1 to MO6 general purpose outputs of the DriveProgramming operate as the inverter s normal multi function outputs e When the DriveProgramming function is selected for the frequency reference accelera tion deceleration time or analog outputs th
35. a 5 14 Multi function INDUL VablaDI S snas an a a 5 17 Multi function Output Variables aaasnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnn nnmnnn mnnn 5 20 DriveProgramming Commands Command Categories asireciccsine ceca oe a aeaa a 6 2 Command Formalnie A E a Ea ER 6 3 ComMand LIST aenn a A 6 4 Program Control Comma vasaiseceettaciaiiccbaceicstetvecsseeecbesne A tascuccdsuseanneeeceedass eaaa 6 10 Four Arithmetic Operation and Logical Operation Commands6 23 VO Control COMMANGS seesieteeieedanicctn Aecteswendeessanesteenaneuescretwnuendcvauossaasteusheesedentensiucesupauveuteetes 6 36 TIME CONT Ol COMMAS siina ai aa aE a aaa a a aaa aa a aa a 6 46 Parameter Control CommandS sannunsnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnn nnnm nenne 6 52 Inverter Control CommandS sanannnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnn nn nnnnnnnnnn nn nnnn mnnn nnn 6 58 Precautions for Use of Parameters for DriveProgramming Inverter Parameters Affected by Setting Order ccccsssseeescesseeeceesseeeeeenseeseeeseeeseoenees 7 2 Parameters Affected by Rated Current csssscecssecccenseecenneeeennseeeenseseensessonseesensenes 7 4 Parameters Affected by PID Enabled Disabled ccccsssscceeeeeeeeeeeeeeeeeeeeneeeeeeenseeeeeennees 7 5 DriveProgramming User s Manual I580 E1 T7 CONTENTS Section 8 Errors and Remedies Gat TROUDIGSMO OTN G sereni E E
36. and saved in the EEPROM F003 is changed to the value of U 03 however it is not saved in the EEPROM p Co U 9 D 3 D F D O e 5 Q O fe 3 3 D 5 2 O Block number Operation 1 Sets to save the data in the EEPROM for the following ChgParam command 2 Assigns U 02 to the parameter F002 The data is also saved in the EEPROM because the eep wrt command is executed immediately before this command 3 Assigns U 03 to the parameter F003 This value is not saved in the EEPROM 4 Jumps to the block 1 loop_ unconditionally DriveProgramming User s Manual I580 E1 6 55 6 DriveProgramming Commands RX only RtcSet Command Description Argument AtcSet Note 1 Sets a 6 byte clock data sent from the LCD Dig On off continuous once ital Operator in the variable This data corre User variable any user parameter variable or sponds to year month day day of the week internal user variable U xx or UL xx hour and minute The hexadecimal variable value corresponds to year month day day of the week hour and minute decimal rtcset on continuously updates the 6 byte data rtcset off updates the 6 byte data only once Format Flowchart method Text language method rtcset on off lt user variable gt rtcset on off lt user variable gt 4 This function uses the clock function of the LCD Digital Operator optional If you execute the rtcset on off command when the
37. as one of the functions of the support tool for the Inverter Ser vomotor CX Drive When the DriveProgramming Editor is started the screen layout of the CX Drive will be changed as shown below Workspace DriveProgramming area a Workspace X Drive Drivel Drivel IGIRX 44015 1 PRG4445 Program ditar Ej Eie Fill wea Die Inds Wianw Heh ae SHG LBA E EN T AAE At a Toolb a amp x i gt mx I OO ar 3 Drivet Offline User Parameters z is Ef Paarowr Eier TAT ve p Boar Fior Block Parameters fe Mi min Moe oxy window x lt q Properties window P Pam aruls fet Te Pogar Co tiol Comnan v oichiretic Commend 4 1 IrpulvOtp t Coctiol Commands To O box WI nd OW Tma Cortol Comma P ler Con rcl Commands l Cortol Cenmand al Ci 43 FAM R11 59 91 SM hn FD _ulpul Eror L st cr Help press Fl SER 1015 ELF 145 Status bar Error List tab Output window 4 2 DriveProgramming User s Manual 1580 E1 4 DriveProgramming Editor i Starting CX Drive Use the following method to start the CX Drive from the Windows Start Menu select All Programs OMRON CX One CX Drive Click the CX Drive icon in the CX Drive folder After the CX Drive is started select File from the CX Drive Menu and click New to create a new CX Drive file The New Drive dialog box will appear Select 3G3MX2 or 3G3RX series from the pull down list under the Drive Type Click the Settings but ton to the rig
38. aviation systems medical equipment amusement machines vehicles safety equipment and installations subject to separate industry or government regulations Systems machines and equipment that could present a risk to life or property Please know and observe all prohi bitions of use applicable to the products NEVER USE THE PRODUCTS FOR AN APPLICATION INVOLVING SERIOUS RISK TO LIFE OR PROPERTY WITHOUT ENSURING THAT THE SYSTEM AS A WHOLE HAS BEEN DESIGNED TO ADDRESS THE RISKS AND THAT THE OMRON PRODUCTS ARE PROPERLY RATED AND INSTALLED FOR THE INTENDED USE WITHIN THE OVERALL EQUIPMENT OR SYSTEM PROGRAMMABLE PRODUCTS OMRON shall not be responsible for the user s programming of a programmable product or any consequence thereof 10 DriveProgramming User s Manual 1580 E1 Read and Understand this Manual Disclaimers CHANGE IN SPECIFICATIONS Product specifications and accessories may be changed at any time based on improvements and other reasons It is our practice to change model numbers when published ratings or features are changed or when significant construc tion changes are made However some specifications of the products may be changed without any notice When in doubt special model numbers may be assigned to fix or establish key specifications for your application on your request Please consult with your OMRON representative at any time to confirm actual specifications of purchased products DIMENSIONS AND WEI
39. for timer control When the command is executed the variable TC 0 to TC 7 is cleared to zero and count up every 10 ms When they reach the specified values the counting stops e When the timer off command is executed the corresponding timer counter variable is cleared to zero and it starts the operation as the 31 bit free running counter and counts up every 10 ms F ee ioe Description Data range Setau Data size R W variable data TD 0 to Timer output contact 0 OFF R TD 7 bit access 1 ON e The timer output contacts TD 0 to TD 7 are bit size variables This variable is read only e When the program is started values of the timer output contacts TD 0 to TD 7 are cleared to zero e The timer output contacts TD 0 to TD 7 start their operation after they are specified in the delay on off command or the timer set command TD 0 to TD 7 are set to 0 OFF when the corre sponding timer counter variables are cleared to zero When the timer counter variable reaches the specified value the contact is set to 1 ON and the status is retained If the timer off command is executed the status of TD 0 to TD 7 are cleared to zero e When the timer counter variables TC 0 to TC 7 operate as free running counters the status of cor responding timer output contacts TD 0 to TD 7 do not change 5 10 DriveProgramming User s Manual 1580 E1 5 DriveProgramming User Variables i Defaul pane on D
40. from upper bytes You must ensure continuous two internal user variables including UL k User parameter variable Upper word Lower word Upper byte ae oe UL k Year BCD data Month BCD data Day BCD data Day of the week BCD data UL k 1 Hour BCD data Minute BCD data 0 padding 0 padding You must perform the installation and removal of the Digital Operator with the inverter power supply shut off Otherwise a fault may occur lf an error that causes disconnection from the LCD Digital Operator occurs the clock data is retained for at least 1 minute and 45 seconds Therefore it is possible to execute the rtcset on off command within 1 minute and 45 seconds after disconnection Although when the time exceeds 1 minute and 45 seconds the clock function processing does not finish and the whole program enters a waiting state for the command When the connection with the LCD Digital Operator is restored the program goes to the next step To prevent the whole program from entering a waiting state create a program so that the rtcset on command is started only once when the program is started and the specified variable is always output to the clock data Do not execute the rtcset on off command for checking time in the program Instead use the specified variable When the time exceeds 1 minute and 45 seconds after disconnection an all zero data is output to the specified variable When the battery of the LCD Digital Operator ge
41. function Relay Output MA MB Operation Selection C036 If you enable the emergency shutoff function of the 3G3RX V1 Series Inverter SW1 ON the Multi function Input S1 Selection C001 will be set to 18 RS and the Multi function Input S3 Selection C003 will be set to 64 EMR automatically In this condition the Multi function Input S3 S4 Operation Selection C011 C013 are fixed to NO NO contact and NC NC con tact respectively and you cannot change them To allocate general purpose inputs to Multi function Input S1 S3 Selection disable the emer gency shutoff function e Inthe DriveProgramming the analog I O functions are allocated to XA 0 to XA 2 and YA 0 to YA 2 You can monitor the analog I O status in the programs by using these function vari ables regardless of the settings for A001 C027 to C029 e In the DriveProgramming programs you cannot monitor the status of multi function I O termi nals for which the general purpose I Os are not set in C001 to C008 and C021 to C026 Function name Description N U o o 3 D D T J 2 D a D Q O w lt D O Q o 3 3 5 DriveProgramming User s Manual I580 E1 3 9 3 Operation Procedure for DriveProgramming i Monitor Function of DriveProgramming The following functions are provided to monitor the status of the DriveProgramming l Precautions for Correct Use e For the data that exceeds four digits t
42. injury due to an electric shock Wiring work must be carried out only by qualified personnel Not doing so may result in a serious injury due to an electric shock Do not change wiring and slide switches put on or take off Operator and optional devices replace cooling fans while the input power is being supplied Doing so may result in a serious injury due to an electric shock Be sure to ground the unit Not doing so may result in a serious injury due to an electric shock or fire 200 V class type D grounding 400 V class type C grounding Do not remove the terminal cover during the power supply and 10 minutes after the power shut off Doing so may result in a serious injury due to an electric shock Do not operate the Operator or switches with wet hands Doing so may result in a serious injury due to an electric shock Inspection of the inverter must be conducted after the power supply was turned off Not doing so may result in a serious injury due to an electric shock The main power supply is not necessarily shut off even if the emergency shut off function is activated Do not touch the inverter fins braking resistors and the motor which become too hot during the power supply and for some time after the power shut off Doing so may result in a burn A N Caution Do not connect resistors to the terminals 1 P 2 N directly Doing so might result in a small scale fire heat generation or damage to the unit In
43. inside the inverter Therefore the comments alias definitions region definitions etc are not verified DriveProgramming User s Manual I580 E1 4 29 LR ok ok O gt Cc D Tl a gt O Oo gt 4 DriveProgramming Editor i Alias Definition Text Program You can define aliases before the entry command in a task of the text program You cannot define aliases in a subroutine or flowchart program Alias definition refers to specifying names for parameters variables commands and numeric con stants By using the alias definition you can handle these names specified in the program in the same way as parameters variables commands and numeric values This is useful for enhancing program readability e Local alias you can use this definition with currently selected task or subroutine You cannot use it with other tasks or subroutines in the program The format of the local alias definition in a task is shown below Halias local alias as replacement Example alias local ON as 1 alias local OFF_ as alias local Monitor_1 as UMon alias local MaxFrequency as A004 alias local Count as U e alias local Dummy 1 as UL entry e Global alias you can use this definition with all tasks and subroutines in the program You can set alias definitions in any of up to five tasks The format of the global alias definition is shown below alias global alias as replacement
44. is asserted INNO EVENT SHALL OMRON BE RESPONSIBLE FOR WARRANTY REPAIR OR OTHER CLAIMS REGARDING THE PRODUCTS UNLESS OMRON S ANALYSIS CONFIRMS THAT THE PRODUCTS WERE PROPERLY HAN DLED STORED INSTALLED AND MAINTAINED AND NOT SUBJECT TO CONTAMINATION ABUSE MISUSE OR INAPPROPRIATE MODIFICATION OR REPAIR DriveProgramming User s Manual I580 E1 9 Read and Understand this Manual Application Considerations SUITABILITY FOR USE OMRON shall not be responsible for conformity with any standards codes or regulations that apply to the combina tion of products in the customer s application or use of the products At the customer s request OMRON will provide applicable third party certification documents identifying ratings and limitations of use that apply to the products This information by itself is not sufficient for a complete determination of the suitability of the products in combination with the end product machine system or other application or use The following are some examples of applications for which particular attention must be given This is not intended to be an exhaustive list of all possible uses of the products nor is it intended to imply that the uses listed may be suit able for the products e Outdoor use uses involving potential chemical contamination or electrical interference or conditions or uses not described in this manual Nuclear energy control systems combustion systems railroad systems
45. output current The monitored data is equivalent to the data of the Output Current Monitor d002 The data is displayed in increments of 0 1 as a percentage of the rated current of the inverter This variable is read only variable data Dir RUN Direction Monitor 0 Stop Unsigned R d003 1 Forward 1 word Use this function to monitor the operation direction of the inverter The monitored data is equivalent to the data of the RUN Direction Monitor d003 This variable is read only fal sa Description Data range Derant Data size R W variable data PID FB PID Feedback Value Monitor O to 1 000 000 0 01 Unsigned R d004 2 words Use this function to monitor the PID feedback value The monitored data is equivalent to the data of the PID Feedback Value Monitor d004 This variable is read only variable data F CNV Output ieee aa 0 to 4 000 000 Unsigned R Use this function to monitor m er frequency after conversion The monitored data is equivalent to the data of the Output Frequency Monitor After Conversion d007 This variable is read only 5 14 DriveProgramming User s Manual 1580 E1 5 DriveProgramming User Variables Function i Te Default Tmon Output Torque Monitor 200 to 200 Unsigned d012 1 word Use this function to monitor the output torque The monitored data is equivalent to the data of the Out put Torque Monitor d012 This variable is read only Function Default Vout Output Voltage Monitor O
46. program will be started 1 Multi function input terminals for MX2 are S1 to S7 and for RX are S1 to S8 i Starting Programs When the DriveProgramming Function Selection A017 is set to 01 Enabled Start stop via multi func tion input PRG terminal set one of Multi function Input S1 to S7 S8 Selection to 82 PRG The pro gram is started when the multi function input terminal set to PRG is turned ON The program execution continues while the PRG terminal is ON and stops when the terminal is turned OFF When the DriveProgramming Function Selection A017 is set to 02 the program is started right after the setting is completed The program will also be started automatically at next power on Once the program reaches end command after it was started and a series of processes was com pleted the program is not executed unless it is restarted To repeat the program create a loop program so that the program does not reach end command The downloaded DriveProgramming program is saved in the EEPROM of the inverter Therefore after downloading you can start the program without using the support tool P intl C001 to MX2 and RX 82 PRG When the DriveProgramming Function C007 Multi function Input S1 DriveProgramming start Selection A017 is set to 01 Enabled to S7 Selection Start stop via multi function input PRG C008 RX only terminal the program is started via the Multi function Input S8 multi function inp
47. the Multi function Input S8 multi function input terminal with this set Selection ting 1 Multi function input terminals for MX2 are S1 to S7 and for RX are S1 to S8 i Initializing Programs To initialize the DriveProgramming program downloaded to the inverter select 04 Clear fault monitor initialize data Clear DriveProgramming for the Initialization Selection b084 and execute initializa tion by Initialization Execution b180 Parameter me b084 Initialization Selec 04 Clear fault monitor initialize Select 04 to initialize the DriveProgram tion data Clear DriveProgramming ming program as well b180 Initialization Execu 01 Execute initialization Executes initialization of the selected tion data DriveProgramming User s Manual I580 E1 3 5 i N U o o 3 D D T JJ wu D mmh D Q O w lt D O Q o 3 3 5 Operation Procedure for DriveProgramming j RUN Command Selection Setting Use FW forward and RV reverse variables to control RUN commands through the DriveProgramming program Be sure to set the RUN Command Selection A002 A202 to 01 Control circuit terminal block when you use FW or RV variable You can control through the program regardless of the setting 00 FW Forward for MX2 only or 01 RV Reverse in Multi function Input Selection The relationship between the following items is OR MX2 The program s RUN command and the mu
48. the above example when X 00 is not 0 a forward operation is started with the delay on command and the operation is stopped with the delay off command Block number Operation 1 Assigns 200 to U 00 2 Assigns 300 to U 01 3 Jumps to the block 8 GOT01 if X 00 is 0 Goes to the next step if X 00 is not 0 4 Starts the timer 0 for the set value U 00 with the delay on command 5to7 Assigns the status of FW to U 02 until FW changes to 1 Goes to the next step when FW changes to 1 8 Starts the timer 0 for the set value U 01 with the delay off command 9 to 11 Assigns the status of FW to U 02 until FW changes to 0 Goes to the next step when FW changes to 0 12 Jumps to the block 3 loop_ unconditionally DriveProgramming User s Manual 1580 E1 6 47 6 DriveProgramming Commands Timer set Command Description Argument Starts the timer k The the timer counter TC k TD k the timer output contact of the timer that QOON is started with 0 and incremented every 10 ms you use range of k is 0 to 7 until it reaches lt value gt When lt value gt is reached the timer contact TD k changes to ON Value any variable or constant Timers et specified time x 10 ms Format Flowchart method Text language method timer set TD k lt value gt timer set TOM lt vallie gt 4 Note 1 The timer k is started when the timer set command is executed If TD k is ON it is changed to OFF
49. the user trip 1 in the inverter Stops the inverter Jumps to the block 1 loop unconditionally O1 AJOIN DriveProgramming User s Manual I580 E1 6 61 6 DriveProgramming Commands Accel Command Description Argument Sets the inverter acceleration time Value any variable or constant fac This command is a Assign command whose MX2 range 0 to 360 000 RX range 1 to ets left hand side is set to the acceleration time 360 000 variable ACCEL Unit 10 ms Format Flowchart method Text language method ACCEL lt value gt 4 Decel Command Description Argument Sets the inverter deceleration time Value any variable or constant EEN This command is a Assign command whose MX2 range 0 to 360 000 RX range 1 to Hemel left hand side is set to the deceleration time 360 000 variable DECEL Unit 10 ms Format Flowchart method Text language method DECEL lt value gt 4 l Precautions for Correct Use e The acceleration time variable ACCEL and the deceleration time variable DECEL are enabled only when you set the Acceleration Deceleration Time Input Type P031 to 03 DriveProgramming e In the following cases the data that is set in the program is not reflected and the previously set data is used for operation the data set for the acceleration time variable ACCEL or the deceleration time variable DECEL is out of range or 0 is set for the 3G3RX V1 Series Inverter e When the DriveProgramming program is st
50. unconditionally DriveProgramming User s Manual 1580 E1 gt or Tl ie z gt H gt 3 D O O D o O 5 D 5 2 r O Q O O o O 5 O O 3 3 D 3 2 O 6 DriveProgramming Commands Inc Increment by 1 Command Description Argument Increments lt value gt by 1 Value any variable E Inc Format Flowchart method Text language method inc lt value gt 4 Note If an overflow or underflow occurs the DriveProgramming detects it as an error Take necessary mea sures in the application so that they do not occur Example Flowchart Text entry loop _ inc Uf 2 wait 1068 goto loop end 4 Next Black oimiiiis Block number Operation 1 Adds 1 to U 02 2 Waits for 1 00 second with the wait command 3 Jumps to the block 1 loop _ unconditionally 6 34 DriveProgramming User s Manual 1580 E1 6 DriveProgramming Commands Dec Decrement by 1 Command Description Argument Decrements lt value gt by 1 Value any variable En Dec Format Flowchart method Text language method dec lt value gt 4 Note If an overflow or underflow occurs the DriveProgramming detects it as an error Take necessary mea sures in the application so that they do not occur Example Flowchart Text 0 E3 entry U 2 108 loop _ dec U 2 wait 108 goto loop end 1 uiz 100 2 loop dec Uf 5 Hest Block Block number Opera
51. variable SET Freg is an unsigned 1 word variable e The variable is enabled only when you set the Frequency Reference Selection to 07 DriveProgramming MX2 Setin the 1st 2nd Frequency Reference Selection A001 A201 Allocate one of the Multi function Input S1 to S7 Selection C001 to C007 to 08 SET 2nd control to switch the control RX Set in the Frequency Reference Selection A001 Switching between 1st 2nd 3rd controls is not allowed e The frequency reference variable SET Freq is cleared to zero when the power supply is turned ON Any data saving measure like EEPROM is not provided e To set initial data create a program in which the initial data is set to SET Freq e The range of frequency that the inverter can actually output is from the Starting Frequency b082 to the maximum frequency If the set data is out of range the inverter operates as follows e Less than Starting Frequency b082 MX2 and RX Operates at the frequency of 0 00 Hz RX only When the 1st Control Method A044 is set to 04 OSLV 0 Hz sensorless vector control or 05 V2 Sensor vector control the Starting Frequency b082 is disabled and the specified frequency is output e More than maximum frequency MX2 Limits the frequency reference to the value set in the 1st 2nd Maximum Frequency A004 A204 RX Limits the frequency reference to the value set in the 1st 2nd 38rd Maximum Frequency A004 A204 A304 e You can monitor the frequen
52. vee ce veus aecuatwon suet E 8 2 8 1 1 DriveProgramming Operalotion ON ErrOr ccccccccssseccceceeecccceeeecceeceueceeeceesececeseeeeesseeeeeseaaeeees 8 2 8 1 2 DriveProgramming Operation on Error R S t ccccccccccecceseeeeeeeeeeeeeeeecaeaaeaeeeeeeseeeeeeeesaeaaaseeees 8 3 Bala Ald GOCE LIS is rc2ceec etre snrcsctecenere seus omai te a a 8 4 8 DriveProgramming User s Manual 1580 E1 Read and Understand this Manual Read and Understand this Manual Warranty and Limitations of Liability WARRANTY OMRON s exclusive warranty is that the products are free from defects in materials and workmanship for a period of one year or other period if specified from date of sale by OMRON OMRON MAKES NO WARRANTY OR REPRESENTATION EXPRESS OR IMPLIED REGARDING NONIN FRINGEMENT MERCHANTABILITY OR FITNESS FOR PARTICULAR PURPOSE OF THE PRODUCTS ANY BUYER OR USER ACKNOWLEDGES THAT THE BUYER OR USER ALONE HAS DETERMINED THAT THE PRODUCTS WILL SUITABLY MEET THE REQUIREMENTS OF THEIR INTENDED USE OMRON DISCLAIMS ALL OTHER WARRANTIES EXPRESS OR IMPLIED LIMITATIONS OF LIABILITY OMRON SHALL NOT BE RESPONSIBLE FOR SPECIAL INDIRECT OR CONSEQUENTIAL DAMAGES LOSS OF PROFITS OR COMMERCIAL LOSS IN ANY WAY CONNECTED WITH THE PRODUCTS WHETHER SUCH CLAIM IS BASED ON CONTRACT WARRANTY NEGLIGENCE OR STRICT LIABILITY In no event shall the responsibility of OMRON for any act exceed the individual price of the product on which liability
53. wait X 01 1 endsub call Run F Main RunRV sub RV z 1 wait X 2 1 endsub Goto Loop Hest Block Main RunRV sub 1 wait xz 1 J 20 Operation Sets the inverter output frequency to 60 00 Hz and changes the internal user contact UB 0 to ON If UB 0 is ON it executes the subroutine RunFW If UB 0 is OFF it executes the subroutine RunRV When execution of the subroutine is completed it stops the inverter waits for RUN to change to OFF reverses UB 0 and returns to block 3 Operates the inverter in the forward direction and waits with the wait command until X 01 changes to ON subroutine RunFW Operates the inverter in the reverse direction and waits with the wait command until X 02 changes to ON subroutine RunRV DriveProgramming User s Manual 1580 E1 6 DriveProgramming Commands Go To Command Description Argument Jumps to lt label gt unconditionally Label a name that is used to identify a particu lar function block in the task Golo Format Flowchart method Text language method goto lt label gt 4 Note 1 This command must be connected to the command that is executed next This is necessary to clarify the program flow 2 To set the label name in flowchart right click the command and select Set Label from the menu You can specify any name Example Flowchart Text i Y entry p e a 3 O fo gt a o O
54. with Drive to execute verification i Partial Transfer from PC to Inverter From the Drive Menu select Transfer Selection To Drive to transfer download the selected data i Partial Transfer from Inverter to PC From the Drive Menu select Transfer Selection From Drive to transfer upload the selected data 4 24 DriveProgramming User s Manual 1580 E1 4 DriveProgramming Editor 4 10 Executing Programs DriveProgramming Function Selection There are two ways to execute programs after you transferred downloaded them to the inverter as described below i Executing Program via CX Drive Executing via CX Drive is a convenient way to debug the created program Use F icon in the toolbar of the DriveProgramming Editor to start the program To stop the program use Lill icon Note that executing program via the CX Drive is enabled only when the following condi tions are met e When the CX Drive is connected to the inverter Once the program is started it does not stop even if the CX Drive is disconnected Therefore when executing the program make sure that you can stop the inverter immediately by turning off the power supply etc e When the program in the CX Drive matches the program in the inverter through verification after compilation e The program stop is executed regardless of the program in the CX Drive i Executing Program in Applications You execute the program by setting the inverte
55. 2 DriveProgramming User s Manual 1580 E1 6 DriveProgramming Commands Abs Absolute value Command Description Argument Finds the absolute value of lt value gt Result any variable ix Value any variable or constant Abs Range 2 147 483 647 to 2 147 483 647 Format Flowchart method Text language method lt result gt abs lt value gt 4 Note 1 If an overflow or underflow occurs the DriveProgramming detects it as an error Take necessary mea sures in the application so that they do not occur 2 If the variable or the constant is the maximum negative value 2 147 483 648 it is not possible to convert it to an absolute value The value 2 147 483 648 is recognized as a negative number as it is gt or Tl ie z gt gt 3 D O O D D O 5 D 5 2 r O Q O O D D O 5 O O 3 3 D 3 2 O Example Flowchart Text 0 entry UL 1 abs UL end 4 Block number Operation 1 Assigns 200 to UL 00 2 Assigns the absolute value of UL 00 to UL 01 DriveProgramming User s Manual I580 E1 6 29 6 DriveProgramming Commands And Logical AND Command Description Argument Logical AND on lt value 1 gt and lt value 2 gt in Result any variable binary format Value 1 any variable or constant ag and Logical AND range 128 to 127 Value 2 any variable or constant Resul valves Esu range 2 147 483 648 to 2 147 483 647
56. 3 General purpose output RX Set the Multi function Output P1 to P5 Selection C021 to C025 and the Multi function Relay Out put MA MB Function Selection C026 to 44 to 49 MO1 to MO6 General purpose output When the data is assigned in units of words zero is read out for the upper byte data and unset input terminal variables lf there is any setting the setting is ignored lt Assignment example gt Yw 1 bit 0 to Y 00 MO1 multi function No 44 Yw 2 bit 1 to Y 01 MO2 multi function No 45 Yw 4 bit 2 to Y 02 MO3 multi function No 46 Yw 8 bit 3 to Y 03 MO4 RX only multi function No 47 Yw 16 bit 4 to Y 04 MO5 RX only multi function No 48 Yw 32 bit 5 to Y 05 MO6 RX only multi function No 49 For details refer to 5 2 Input Output Terminal Variables on page 5 5 Example p O O e 5 Q O e 3 3 D 5 2 O Flowchart Text a E3 entry loop uce x u U ee 4 uee U e and 15 yw U goto loop end We 2 Lipo Upon 4 3 LOO U00 and 15 Go to loop Hest Block 5 In the above example the status of the input terminals X 02 to X 05 is captured and output to the out put terminals Y 00 to Y 03 Block number Operation 1 Assigns the value of Xw value of input terminal to U 00 2 Divides the value of U 00 by 4 2 bit right shift to assign X 02 to bit 0 3 Performs a logical AND operation on U 00 and 1
57. 4 6 Creating Text Programs When you create a DriveProgramming program you can select flowchart or text for each task or subroutine Follow the steps described below to create a text program 7 2 Open the DriveProgramming Editor The DriveProgramming auxiliary windows Toolbox Block Parameters Properties and Error List tab are displayed automatically From New Tab in the toolbar select New Task text or New Subroutine text There are three ways to edit text program codes e Manual typing e Calling the text command list Ctrl space e Dragging and dropping commands from Toolbox window Set arguments of each command The required arguments are displayed with a green background for the commands that are dragged and dropped from the Toolbox window and the commands selected from the text com mand list Ctrl space Set each argument to complete the command Each time you edit a command by manual typing the popup support will appear to help you complete the command For details on each command refer to Section 6 DriveProgramming Commands You need not care about unnecessary lines and spaces when creating a program because they will be deleted by program compilation Perform operations such as program compilation transferring to the inverter and data saving Execute compilation and check for any compilation errors in the program You can transfer the program to the inverter when the compilation is finished
58. 5 binary 00001111 and changes the bits higher than X 06 to zero 4 Assigns U 00 to Yw 5 Jumps to the block 1 loop unconditionally DriveProgramming User s Manual I580 E1 6 39 6 DriveProgramming Commands func value Command Description Argument Assigns lt value gt to the multi function input Function any function bit of the multi function variable input variable refer to 5 6 Multi function Input Variables on page 5 17 for details on each bit func value Value any variable or constant Format Flowchart method Text language method lt function gt lt value gt 4 Example Flowchart Text D entry entry SET Freq 6086 loop FW 1 wait X 1 1 SET Freg 6000 FW wait RUN 8 2 loop RY z 1 wait X 82 1 RV 8 wait RUN end Goto loop Hest Block In the above example the following operation is repeated a forward operation is performed at 60 00 Hz until X 01 changes to ON Then a reverse operation is performed until X 02 changes to ON Block number Operation 1 Sets the output frequency to 60 00 Hz 2 Operates the inverter in the forward direction 3 to 5 Waits until X 01 changes to ON stops the inverter and waits with the wait command until the inverter completely stops 6 Operates the inverter in the reverse direction 7to9 Waits until X 02 changes to ON stops the inverter and waits with the wait command until the inverter completely stops 10 Jump
59. 5 DriveProgramming User Variables 5 3 Timer Variables This section describes the timer variables provided for the DriveProgramming s timer control commands i Timer Variables TC 0 to TC 7 and TD 0 to TD 7 These are the timer counter variables and the timer output contacts used in the timer control com mands of the DriveProgramming When the timer output contact is specified in the timer control command delay on off or timer set the timer counter variable corresponding to the specified contact starts counting When the counter reaches the specified value the timer output contact is turned ON When the variables are not used in the timer control commands they acts as the free running counters F E dak Description Data range Detauit Data size R W variable data TC 0 to Timer counter variable 0 to 2 147 483 647 10 ms Unsigned R TC 7 2 words e The timer counter variables TC 0 to TC 7 are unsigned 2 word variables This variable is read only e The timer counter variables TC 0 to TC 7 correspond to the timer output contacts TD 0 to TD 7 respectively e The timer counter variables TC 0 to TC 7 act as the 31 bit free running counters They start count ing with zero when the program is started and count up every 10 ms e When the timer output contact is specified in the delay on off command or the timer set command the corresponding timer counter variable among TC 0 to TC 7 acts as the counter
60. 8 Converted value set value x A075 Set value A029 Converted value set value x A075 Set value A075 A075 A075 A075 A075 A075 A075 A075 A075 A075 A075 Set value Set value Set value Set value Set value Set value Set value Set value Set value A030 Converted value set value x A075 Set value A031 Converted value set value x A075 Set value A032 Converted value set value x A075 Set value A033 Converted value set value x A075 Set value A034 Converted value set value x A075 Set value A035 Converted value set value x A075 Set value A101 Converted value set value x A075 Set value A102 Converted value set value x A075 Set value A145 Converted value set value x A075 Set value A220 Converted value set value x A075 Set value A320 RX only 3rd Multi step Speed Converted value set value x A075 Set value Reference 0 F001 Output Frequency Setting Monitor Output Frequency Setting Monitor Setting Monitor Converted value set value x A075 Set value d004 PID Feedback Value Monitor Converted value feedback value x Feedback value A075 paiqesiq pajqeug Cid Aq pajoayy suajoweied E Z 7 DriveProgramming User s Manual I580 E1 7 5 7 Precautions for Use of Parameters for DriveProgramming DriveProgramming User s Manual 1580 E1 Errors and Remedies po This section describes the program operation at the time of error occurrence the errors that are spe
61. 80 E1 6 DriveProgramming Commands Example Flowchart Text 0 a entry loop inc U 1 timer set TD U 1 LEGG u 2 TC 0 if TC lt U 1 goto LEGG goto loop_ end LED U02 TEM if TC 0 U01 gota Goto LBOD Goto loop Hest Block Q J 3 O fe gt o O e 3 3 Q gt 2 7 In the above example the set value of TD 0 is incremented by 1 every time the timer execution is com pleted and the time required for each loop gets longer every execution The current value of the timer is reflected in U 02 Block number Operation 1 Adds 1 to U 01 2 Starts the timer 0 for the timer set command with the set value U 01 3 Assigns the current value TC 0 of the timer 0 to U 02 4 Jumps to the block 3 LBOO if the current value TC 0 of the timer 0 is less than the set value U 01 In other cases the program goes to the next step 5 Jumps to the block 1 loop_ unconditionally DriveProgramming User s Manual I580 E1 6 49 6 DriveProgramming Commands Timer Off Command Description Argument Resets the timer counter TC k to 0 and starts TD k the timer output contact of the timer that Dorr the timer in free run mode you use range of k is 0 to 7 TimerO ft Format Flowchart method Text language method timer off TD k iO FER Timing chart Eae n 1 The timer is in a free run state A ji 2 The timer set command is started 3 The d
62. 9 a Torgeir R020 008 1 ANT RUN ime over R ooo ONT Power ON tine over C0 to C028 12 THN Eleconic thermal warning R Coati C026 19 BRK Brake ress SSSR C00 COR BER Brake ertor A EEE Zs Oz detecion signal a oatto coas 21 DSE Excessive speed deviion R 00210 0025 22 POR PPosiionready SR C0 to C028 aa Fad Set requency exceeded signal R C0210 0025 24 FAB Setrequency only sgr Coat to 0025 25 or Overload warning 2 R cooo oDe Analog FV disconnection detection R C021 to C026 27 oic Analog Fi disconnection detecion R 0021 to 0025 28 FBV PID feedback comparison signal R Cotto 002623 ND Communications disconnection deiscion R Coat to C026 20 LOG Toge operation output R 002100025233 LOG Logic operation oulput __ Coat Coze a4 063 Toge operation outputs R coati C025 36 WAC Capacitor Ife warning signal R 002100026238 WAF Cooing fan fe waming signal R 0021100025240 FR Staring contact signal R C0210 C0254 OHE Cooling n overheat warning R coat to C025 42 5 20 DriveProgramming User s Manual 1580 E1 5 DriveProgramming User Variables Function variable Reference LOC Low current signal R C021 to C026 43 ROY Opera onreay R OT to COBB FWR Forward ron signal R C0210026 H AVR FReverserunsignal R 08TH 0026 52 VJA Fatal fauitsignal R C0210026 WCO Window comparaorv R oo21o0026 54 WCO Window comparator R C0210 c026 55 MX2 only Function
63. A e Select DriveProgramming for the setting of the inverter parameters MP Selection C027 AM Selec tion C028 and AMI Selection C029 to control the analog output terminals via the DriveProgramming function Even if you do not select DriveProgramming for the parameters it is possible to monitor the status of the analog output terminals g N 5 r O oO D 3 5 S D 2 D o Function variable Parameter Setting YA 00 Set the MP Selection C027 to 12 DriveProgramming YA 0 YA 01 Set the AM Selection C028 to 13 DriveProgramming YA 1 YA 02 Set the AMI Selection C029 to 14 DriveProgramming YA 2 e Use the inverter parameters C105 to C107 C109 and C110 to adjust analog output H Precautions for Correct Use e When the DriveProgramming program is stopped the data of the analog output terminal vari ables before the program stop is retained When the program execution is started again the process begins with the retained data However the outputs with the DriveProgramming not set are controlled as the inverter s analog outputs independently of the program e The multi function digital output PWM output MP terminal provides PWM signal outputs The terminal outputs the value of 0 00 to 100 00 variable as the pulse width duty ratio t T ina 6 4 ms cycle PWM output Cycle T Constant 6 4 ms Duty ratio t T Variable DriveProgramming User s Manual I580 E1 5 9
64. Bw value Command Description Argument Assigns lt value gt to the internal user contact in Value any variable or constant vere units of words UBw value Format Flowchart method Text language method UBw lt value gt 4 Note When the data is assigned in units of words zero is read out for the unused upper byte If there is any setting the setting is ignored UBw 1 bit 0 to UB 0 UBw 2 bit 1 to UB 1 UBw 4 bit 2 to UB 2 UBw 8 bit 3 to UB 3 UBw 16 bit 4 to UB 4 UBw 32 bit 5 to UB 5 UBw 64 bit 6 to UB 6 UBw 128 bit 7 to UB 7 Example Flowchart Text a 3 entry loop_ ubw UB X UB 1 X 1 UB 2 X 2 a UMon ubw UB 2 PPT Se goto loop end 3 LIB 1 01 4 UIB 2 02 z UMon 0 UB 00 UBT 7 Hest Block Go to loop In the above example the status of X 00 to X 02 is monitored with the parameter UMon 0 d025 and X 02 is output to Y 00 Block number Operation 1 Assigns 0 to UBw 2 to 4 Assigns the variables X 00 to X 02 to the variables UB 0 to UB 2 5 Assigns UBw to UMon 0 6 Assigns UB 2 to Y 00 7 Jumps to the block 1 loop unconditionally DriveProgramming User s Manual 1580 E1 6 45 p O O e 5 Q O e 3 3 D 5 2 O 6 DriveProgramming Commands 6 7 Timer Control Commands Delay on off Command Argument Starts the timer k
65. C001 to C007 to 56 to 62 MI1 to MI7 General purpose input Set the Pulse Train Input RP Selection P003 to 02 MI8 General purpose input 8 for DriveProgramming RX Set the Multi function Input S1 to S8 Selection C001 to C008 to 56 to 63 MI1 to MI8 General purpose input When the data is assigned in units of words zero is read out for the upper byte data and unset input termi nal variables lt Assignment example gt X 00 MI1 function No 56 to Xw 1 bit 0 X 01 MI2 function No 57 to Xw 2 bit 1 X 02 MI3 function No 58 to Xw 4 bit 2 X 03 MI4 function No 59 to Xw 8 bit 3 X 04 MI5 function No 60 to Xw 16 bit 4 X 05 MI6 function No 61 to Xw 32 bit 5 X 06 MI7 function No 62 to Xw 64 bit 6 X 07 MI8 MX2 P003 02 RX function No 63 to Xw 128 bit 7 For details refer to 5 2 Input Output Terminal Variables on page 5 5 Example Flowchart Text ae entry loop_ U ee x utoe u ee 7 4 u e U and 15 yw U goto loop end Goto loop Hest Block In the above example the status of the input terminals X 02 to X 05 is captured and output to the output terminals Y 00 to Y 03 Block number Operation 1 Assigns the value of Xw value of input terminal to U 00 2 Divides the value of U 00 by 4 2 bit right shift to assign X 02 to bit 0 3 Performs a logical AND operation on U 00 and 15 binary 00001111 and changes the bits
66. CHICAUONS oiire ana Sete itia eee wins eee tone ee Sica d 2 2 DriveProgramming User s Manual I580 E1 2 1 2 Specifications 2 1 Specifications The following table shows the specifications related to the DriveProgramming Item Specifications Program specifica Programming lan Flowchart and text language method Input device Windows personal computer ia OS Windows XP SP3 Windows Vista or Windows 7 Program capacity 1 024 steps max 6 KB 4 1 024 steps max for a total of 5 tasks Programming support Functions supported in Inverter Servo support tool CX Drive function e Program editing and display e Program compilation Program syntax check e Program downloading uploading and all clear Execution format e Execution by interpreter e Execution cycle 2 ms step 5 commands executable through 5 task paral lel processing Subroutine call supported Nesting in 8 levels max Input output func External input DriveProgramming Select in the DriveProgramming Function Selection tions start A017 e Start stop via multi function input PRG terminal A017 01 MxX2 Allocate to the Multi function Input S1 to S7 Selection C001 to C007 RX Allocate to the Multi function Input S1 to S8 Selection C001 to C008 e Start stop at power on off A017 02 Multi function Input MX2 X 00 to X 07 8 points e Multi function input S1 to S7 terminals e X 07 is for the pulse train input RP terminal enabled only when P003 02
67. Default Yw Output terminal variable 0 to 255 Unsigned word access 1 word e The output terminal variables word access Yw is a function to use the output terminal variables MX2 Y 00 to Y 02 RX Y 00 to Y 05 as a word size variable e The output terminal variables Y 00 to Y 05 are set in the lower byte For the upper byte and unused output terminal variables zero is read out If any data is written to the upper byte the data is ignored Model Bt stis 7 6 5 4 3 2 7 MxX2 Function Not Not Not Not Not Not Y 02 Y 01 fe usea usea usea usea usea usea OY RX Function Not Not Not Y 05 Y 04 Y 03 Y 02 Y 01 Pee ee usea eee OP OP OP Oe Precautions for Safe Use When the DriveProgramming program is stopped the status before the program stop is retained for multi function outputs controlled by the DriveProgramming wh N 5 r O oO D 3 5 2 lt D D 2 D o For this reason configure the system so that the stop of the DriveProgramming program in the inverter can be detected by the DriveProgramming start signal and the alarm trip signal and the inverter s peripheral devices can be stopped safely i Precautions for Correct Use e When the DriveProgramming program is stopped the data of the output terminal variables before the program stop is retained When the program execution is started again the pro cess begins with the retained data
68. GHTS J Dimensions and weights are nominal and are not to be used for manufacturing purposes even when tolerances are shown PERFORMANCE DATA Performance data given in this manual is provided as a guide for the user in determining suitability and does not con stitute a warranty It may represent the result of OMRON s test conditions and the users must correlate it to actual application requirements Actual performance is subject to the OMRON Warranty and Limitations of Liability ERRORS AND OMISSIONS The information in this manual was carefully checked and is believed to be accurate however no responsibility is assumed for clerical typographical or proofreading errors or omissions DriveProgramming User s Manual I580 E1 11 Safety Precautions Safety Precautions Indications and Meanings of Safety Information In this manual the following precautions and signal words are used to provide information to ensure the safe use of the DriveProgramming The information provided here is vital to safety Strictly observe the precautions provided Meanings of Signal Words Indicates a potentially hazardous situation which if not avoided could WARNING result in death or serious injury Additionally there may be severe property damage Indicates a potentially hazardous situation which if not avoided may result Ca Th O n in minor or moderate injury or property damage Alert Symbols in this Document
69. LCD Digital Operator is not connected its processing does not finish and the whole program enters a waiting state for the command Therefore we recommend you to create a program in which the rtcset on command is started only once right after the start of the program and the clock data is always output to the specified variable When the LCD Digital Operator is shipped its clock time is set to the default data 2009 1 1 THU 00 00 Set the clock time accurately before you use the rtcset on off command Also remember that the clock function has a time error per month 1 5 to 1 5 minutes when you use this command The BCD data is output in units of bytes when the rtcset on off command is executed The days of the week Sunday to Saturday are represented as 00 to 06 respectively However you cannot detect the BCD data using the user parameter variable U k or the internal user variable When you create a program note that the BCD data is detected as hexadecimal data and converted to the decimal data in the DriveProgramming Editor and the Digital Operator When the rtcset on off U k is executed the data is set in the following order from upper bytes You must ensure continuous three user parameter variables including U k User parameter variable Lower byte U k Month BCD data U k 1 Day of the week BCD data U k 2 Minute BCD data When the rtcset on off UL k is executed the data is set in the following order
70. OT ROT PONT and PCC DriveProgramming User s Manual 1580 E1 2 3 2 Specifications Function variable Item Multi function output variable Input terminal variable RX Output terminal vari ae able Internal user contact Timer output contact Timer counter variable Analog input terminal Analog output termi MX2 Specifications The function options of the Multi function Output P1 Selection C021 for the inverter are available MX2 and RX RUN FA1 FA2 OL OD AL FA3 OTQ UV TRQ RNT ONT THM BRK BER ZS DSE POK FA4 FA5 OL2 ODc OlDc FBV NDc LOG1 LOG2 LOG3 WAC WAF FR OHF LOC IRDY FWR RVR MJA WCO and WCOI MX2 only FREF REF SETM and EDM RX only IP O2Dc LOG4 LOG5 LOG6 and WCO2 MxX2 X 00 to X 07 8 points Note X 07 is for the Pulse Train Input RP Selection enabled only when P003 02 X 00 to X 07 8 points Y 00 to Y 02 3 points Y 00 to Y 05 6 points sa to UB 7 8 points TD 0 to TD 7 8 points TSO to a 7 8 points XA 0 and XA 1 XA 0 to XA 2 YA 0 and YA 1 YA 0 to YA 2 DriveProgramming User s Manual 1580 E1 Operation Procedure for DriveProgramming This section describes the operation procedure of the DriveProgaramming related parameters and program structures 3 3 1 Tasks 3 3 2 Subroutines 3 3 3 Task Processing 3 3 4 DriveProgramming Start Stop and Task Operation 3 3 5 DriveProgramming Restart 3
71. P123 DriveProgramming P124 DriveProgramming P125 DriveProgramming P126 DriveProgramming P127 DriveProgramming P128 DriveProgramming P129 DriveProgramming 0 to 65 535 e These user parameters correspond to the function variables U 29 to U 31 P130 DriveProgramming e You can change the data by using the Digital Operator The changed data is saved in the EEPROM The set data will be saved in the EEPROM when the Write to EEPROM command is executed in the DriveProgramming P131 DriveProgramming User Parameter U31 e When the power supply for the inverter is interrupted the data set at the time are saved in the EEPROM 3 12 DriveProgramming User s Manual 1580 E1 3 Operation Procedure for DriveProgramming 3 3 Program Structure In the DriveProgramming for 3G3MX2 3G3RX V1 Series Inverter you can create a maximum of five tasks The created tasks are processed in parallel By dividing one application into several processes and allocating them to multiple tasks you can adjust execution condition execution order etc for each process Furthermore parallel task processing can provide shorter processing time o do U O t D 3 0 ana c O z 3 3 1 Tasks Task is a unit of program executed in the DriveProgramming For 83G3MX2 3G3RX V1 Series Inverter you can create a program which consists of up to five tasks e All tasks are started simultaneously e In the order of task from 1 t
72. The the timer counter TC k on off operation setting on off after the delay is started with O and incremented every 10 ms time until it reaches lt value 2 gt When lt value 2 gt is Value 1 any contact variable or variable reached the timer contact TD k changes to ON Delay a Value 2 iabl and the processing on or off specified for alue 2 any variable or constant lt value 1 gt is executed specified time x 10 ms TD k the timer output contact of the timer that you use range of k is 0 to 7 Format Flowchart method Text language method delay on off lt value 1 gt TD k lt value 2 gt delay on off lt value 1 gt TD k lt value 2 gt 4 Note 1 The timer k is started when the delay on off command is executed If TD k is ON it is changed to OFF when the timer k is started However the variable of lt value 1 gt does not change from its original value After the timer k is started the program goes to the next command 2 When the delay on off command is executed the data of lt value 1 gt TD k and lt value 2 gt are saved internally Even if the variable values set to lt value 1 gt and lt value 2 gt are changed after the delay on off command is executed the operation of the command does not change 3 After the delay on off command is executed if the same timer k is restarted before its processing is completed the ongoing processing is canceled and the timer k is
73. X OP05 Inverter Control Commands Command Argument 1 Argument 2 Argument Argument 4 ArgumentS Description FW 1 Operates the inverter in the forward direction Operates the inverter in the reverse direction Decelerates the inverter to a stop Note This command acts as a reset when the inverter is in a trip state lt variable Issues a user trip constant gt according to lt variable constant gt lt variable Assigns lt variable con constant gt stant gt x 0 01 Hz to the inverter frequency reference variable ACCEL lt variable Assigns lt variable con constant gt stant gt x 10 ms to the inverter acceleration time variable SET Freq DECEL lt variable Assigns lt variable con constant gt stant gt x 10 ms to the inverter deceleration time variable DriveProgramming User s Manual I580 E1 6 9 6 DriveProgramming Commands 6 4 Program Control Commands Entry Command Description Argument Indicates the beginning of the task aame Eritry Format Flowchart method Text language method a Note It is necessary to have this command at the begging of each task End Command Description Argument Indicates the end of the task eS End Format Flowchart method Text language method end end Note It is necessary to have this command at the end of each task Call Command Description Argument Jumps to lt subroutine gt Subroutine subroutine is i
74. a for the inverter For details on each function refer to the Multi function Compact Inverter MX2 Series Type V1 User s Manual 1585 or the High function General purpose Inverter 3G3RX Series Type V1 User s Manual 1578 Example If you set FW forward to 1 the forward RUN command is executed FW 1 the inverter starts forward operation p per i 5 5 5 o lt ey ey o D o FW 0 the inverter stops forward operation and starts deceleration H Precautions for Correct Use e f the DriveProgramming program is stopped the data of the multi function input variables is not retained but cleared to zero e The variable FW forward and RV reverse are enabled only when the inverters RUN Com mand Selection A002 is set to 01 Control circuit terminal block The inverter does not operate with other setting options e Even if you set the variable FW forward or RV reverse to 1 immediately after turning on the power supply the setting is ignored and neither forward or reverse operation is per formed Set 0 and then set 1 again To avoid this operation create a program that has one second of wait time after turning on the power supply with such as wait command e Only for the variable AT Analog input switching it is required to set the Multi function Input Selection MX2 C001 to CO07 RX C001 to C008 To use the variable AT Analog input switching set one of the Multi function
75. ad 9 Page Down Move the cursor to end of the line Zoom in E Zoom out 4 2 3 DriveProgramming Area The DriveProgramming area displays the current design of the program New Tab w 4 in RQ sR D b amp Sl Tf o gk Orientation amp E Show wv T iY oo UO lt D gt T O Ko D 3 3 gt gt D S T Task01 This area may have different pages organized in tabs Each tab is either a task or a subroutine in flow chart or text By right clicking the tab title you can delete or rename a task or a subroutine a Rename Current Task x Delete Current Task DriveProgramming User s Manual 1580 E1 4 9 4 DriveProgramming Editor j Flowchart Program In the flowchart program method a unit of display is called Block You create a program by placing more than one block in the area and setting interaction between them In a flowchart program when a program is compiled successfully an icon with a white arrow in a green circle highlights the starting point of each flowchart task Also after the program is compiled successfully the block number will appear on the upper left of each block Block numbers are the consecutive numbers starting with 0 A block number is given to each block of the whole program The numbers do not match the line numbers of the program converted to text The Output window will indicate if the program is compiled successfully For programs compil
76. ad gt 0 20 to 2 00 x Rated current lt Light load gt 0 20 to 1 50 x Rated current C039 Low Current Detection Level lt Heavy load gt 0 00 to 2 00 x Rated current 0 4 to 55 kW 0 00 to 1 80 x Rated current 75 to 132 kW lt Light load gt 0 00 to 1 50 x Rated current C041 1st Overload Warning Level 0 0 Function not active lt Heavy load gt C241 MX2 only 2nd Overload Warning Level 0 00 to 2 00 x Rated current 0 4 to 55 kW 0 00 to 2 00 x Rated current 75 to 132 kW lt Light load gt 0 00 to 1 50 x Rated current C111 1st Overload Warning Level 2 lt Heavy load gt 0 00 to 2 00 x Rated current 0 4 to 55 kW 0 00 to 1 80 x Rated current 75 to 132 kW lt Light load gt 0 00 to 1 50 x Rated current 7 4 DriveProgramming User s Manual 1580 E1 7 Precautions for Use of Parameters for DriveProgramming 7 3 Parameters Affected by PID Enabled Disabled EE The set values are scaled by the settings for A071 A075 Parameter ae Data Description No A071 01 or 02 A071 00 A011 Converted value set value x A075 A012 Converted value set value x A075 A020 Converted value set value x A075 A021 Converted value set value x A075 A022 Converted value set value x A075 A023 Converted value set value x A075 A024 Converted value set value x A075 A025 Converted value set value x A075 A026 Converted value set value x A075 A027 Converted value set value x A075 Set value A02
77. and after the wend command 5 Jumps to the block 1 loop unconditionally DriveProgramming User s Manual I580 E1 6 19 p e a ta 3 O fo gt a o O e 3 3 gt 2 6 DriveProgramming Commands Until Loop Command Description Argument Executes lt command set gt until lt condition gt is Condition a comparison between two variables Le met or constants with the format lt left hand value gt fiers lt comparison operator gt lt right hand value gt ATH e Left hand value any variable or constant range 128 to 127 e Comparison operator lt gt lt gt Or lt gt ke Until e Right hand value any variable or constant range 128 to 127 Command set one or more commands until O4 the loop command It can contain nested com Loop mands up to eight levels Format Flowchart method Text language method until lt condition gt lt command set gt a Une Upp Wo loop Example Flowchart Text D ae entry anh again until x 1 wait 190 loop inc U 1 goto again end Hest Block i Block number Operation 1to3 If X 00 is not 1 it waits for 1 00 second with the wait command and jumps to the until com mand If X 00 is 1 it executes the loop command and goes to the next command 4to5 Adds 1 to U 00 and jumps to the block 1 again unconditionally 6 20 DriveProgramming User s Manual 1580 E1 6 D
78. ant gt lt variable 2 constant gt lt variable 2 constant gt lt variable 2 constant gt Argument Argument2 Argument 3 Argument4 Argument5 a lt variable 1 gt lt variable 1 gt lt variable 1 gt lt variable 1 gt lt variable 3 constant gt lt variable 3 constant gt lt variable 3 constant gt lt variable 3 constant gt Description Assigns lt variable 2 constant gt to lt vari able 1 gt Adds lt variable 2 con stant gt and lt variable 3 constant gt and assigns the result to lt variable 1 gt Subtracts lt variable 3 constant gt from lt variable 2 constant gt and assigns the result to lt variable 1 gt Multiplies lt variable 2 constant gt by lt vari able 3 constant gt and assigns the result to lt variable 1 gt Divides lt variable 2 constant gt by lt vari able 3 constant gt and assigns the result to lt variable 1 gt DriveProgramming User s Manual 1580 E1 6 DriveProgramming Commands command Argument Argument 2 Argument Argumenta Argument _ Description Remainder for lt variable 1 gt lt variable 2 lt variable 3 Divides lt variable division constant gt constant gt 2 constant gt by lt vari able 3 constant gt and assigns the remainder to lt variable 1 gt Absolute value lt variable 1 gt lt variable 2 Assigns the absolute constant gt value of lt variable 2 con stant gt to lt variable 1 gt
79. arameters P100 to P131 saved in the EEPROM can be used as the initial data for calculation Data saving during calculation You can use the variables for saving data temporarily while the calculation is in progress Data saving By using the eepwrt command you can store the calculation result in the EEPROM to save it after turning off the power supply With the parameters U 29 to U 31 the calculation result is stored in the EEPROM automatically during power interruption of the inverter The saved data can be used as the initial data when the power supply is turned on again pain ik Description Description Data range Pelault Data size Data size R W variable data U 00 to User parameter variable 0 to 65 535 Unsigned R W U 31 corresponding to P100 to P131 1 word e The data of the parameters P100 to P131 saved in the EEPROM are automatically set to the user parameter variables U 00 to U 31 when the power is turned on e By monitoring the parameters P100 to P131 you can check the data of the user parameter variables U 00 to U 31 after the program execution is started Note that the data displayed on the Digital Operator is the data at the moment when it is displayed To update the data once display the param eter number and then display the data again e When you change the parameters P100 to P131 by the Digital Operator and press the Enter key the changed data is saved in the EEPROM and reflected in the current user para
80. aration and System Configuration You must prepare the following items to create user programs with functions of the DriveProgramming in CX Drive and execute the programs in the 3G3MX2 3G3RX V1 Series Inverter e 3G3MX2 3G3RX V1 Series Inverter Ver 2 0 or later e Personal computer PC Windows system 32 bit PC 64 bit PC Windows XP SP3 Windows Vista and Windows 7 Windows Vista and Windows 7 e The CX Drive requires the following versions MX2 Version 2 8 or higher for 3G3MX2 V1 Series Inverter RX Version 2 7 or higher for 3G3RX V1 Series Inverter The CX Drive is included in the FA Integrated Tool Package CX One e Prepare the following PC inverter connection cable MX2 Commercially available USB cable mini B RX USB to RJ 45 Converter Cable Model 3G3AX PCACN2 Commercially available USB cable mini B Remove the Digital Operator A and the connector B CX Drive USB RS422 Converter cable 3G3AX PCACN2 RJ45 connector Connector for the Digital Operator eS l Precautions for Correct Use e Only the 3G3MX2 3G3RX V1 Series Inverters have the DriveProgramming function Be sure to check the model 3G3MX2 3G3RX V1 or the version Ver 2 0 printed on the nameplate of the inverter because the conventional models of 3G3MX2 3G3RX Series Inverters do not have the function e The DriveProgramming functi
81. ars and asks you whether to transfer the parameters pro grams or both DriveProgramming User s Manual 1580 E1 swei6olg papeojdp pasajsues Guiipy Z p swesBoid papeojdn pauajsuesy Bupa Z 7 Manual Name Level 2 heading Shows which sub section the content of the current page belongs to lt Section Number of Level 1 heading Shows which section the content of the current page belongs to Level 3 heading Shows which paragraph the content of the current page belongs to Note The above page is only a sample for illustrative purposes It is not the actual content of the manual DriveProgramming User s Manual 1580 E1 Manual Structure Special Information Special information in this user s manual is classified as follows Precautions for Safe Use Precautions on what to do and what not to do to ensure safe usage of the product al Precautions for Correct Use Precautions on what to do and what not to do to ensure proper operation and performance EN Additional Information Additional information to read as required This information is provided to increase understanding or make operation easier 4 DriveProgramming User s Manual 1580 E1 Sections in this Manual Sections in this Manual Overview Specifications Operation Procedure for DriveProgramming DriveProgramming Editor DriveProgramming User Variables DriveProgramming Commands
82. at m gt Ce at Be o i ji Ry e g as ss S D EH Parameter E itcr z O BR uap a FE Slats T az Q aa Meni iY B E Seting enlry Dive Frocramring 3 D EA Paare ters end 5 T TaLi A a a P epin ann aruls Fogar Cotiol Comnands v aihretie Commend IrpulvO tp t Cotiol Commands Tma Cortol Commas Paraneler Concl Commands Irveit Carrol Commands zl i a WEAN 39 a nn AD ive _ulpul Erior Lst cr Help press F1 STERK A1015 ELF Pha1 45 Precautions for Correct Use To start the DriveProgramming Editor for the first time after you started the CX Drive a pass word is required Please contact with your sales representative to request the access code and enter it in the fol lowing dialog box access COME The dive program ie protected by a password Drive Programming functionality is restricted by an access code Please contact with your sales representative to request the access code Access Code aeei DriveProgramming User s Manual 1580 E1 4 5 4 DriveProgramming Editor 4 2 Parts of DriveProgramming Editor This section provides the detailed information on each function of the Editor and windows related to the DriveProgramming in the CX Drive 4 2 1 DriveProgramming Editor The DriveProgramming Editor is the main widow for the DriveProgramming function Toolbar New Tab r ag g 4m a ae pe Bt B E ig Te DriveProgramming area 4 ft MD Project
83. ata size variable data POS Current Position Monitor 268 435 455 to 1 Signed d030 268 435 455 2 words 1 073 741 823 to 1 073 741 823 Use this function to monitor the current position The monitored data is equivalent to the data of the Current Position Monitor d030 1 The range of display shown in is for RX only This range of display is used when the V2 Control Mode Selection P012 is set to 03 HAPR High resolution absolute position control mode Sd QeHeA JOWUOW JOUSBAU G G DriveProgramming User s Manual 1580 E1 5 15 5 DriveProgramming User Variables fats seas Description Data range pout Data size R W variable data ERR CNT Fault Counter d080 0 to 65 535 ae had 8 R 1 word Use this function to monitor the inverter s total number of faults The monitored data is equivalent to the data of the Fault Counter d080 This variable is read only Tune ee Description Data range Deleult Data size R W variable data ERR 1 to Fault Monitor 1 to 6 d081 O to 127 Unsigned R ERR 6 to 086 1 word Use this function to monitor the data of the last six trips of the inverter The monitored data is equivalent to the data of the Fault Monitor 1 to 6 d081 to 086 This variable is read only The trip data is displayed with a code which is the same as that in the Inverter Fault Monitor Factor List used in the inverter s Modbus communications Felin ek Description Data range peut Data size R W
84. ations aromo _eeeinton marange Pang UME Domano em UL 07 2 147 483 647 2 words e The internal user variables UL 00 to UL 07 are cleared to zero when the power supply is turned on Any data saving measure like EEPROM is not provided e To set initial data create a program in which the initial data is set to UL 00 to UL 07 e To move the upper word data of the internal user variables UL 00 to UL 07 to the 1 word size user parameter variables U 00 to U 31 use the following operation Assign the positive upper word data U 00 UL 00 65536 Assign the negative upper word data U 00 UL 00 65535 The lower word data will move to U 00 when U 00 UL 00 is executed H Precautions for Correct Use When the DriveProgramming program is stopped the data of internal user variables before the program stop is retained When the program execution is started again the process begins with the retained data i Internal User Contacts UB 0 to UB 7 The DriveProgramming s internal user contacts UB 0 to UB 7 are the bit access variables Use these variables for saving data during bit operations You can also use the variable UBw as a word access data which contains the internal user contacts UB 0 to UB 7 in its lower byte vee SS i UB 0 to Internal user contact 0 OFF R W e You can use oa F user contacts UB 0 to UB 7 as bit size variables e UB 0 to UB 7 are cleared to zero when ve power supply is turned ON A
85. b are displayed automatically 2 From New Tab in the toolbar select New Task flowchart or New Subroutine flowchart 3 Select commands from the Toolbox window and move them to the DriveProgramming Editor by drag and drop On the upper left of each block placed on the Editor the block number will appear after the com pilation is finished gt O D D 5 1 o O gt D e O D 3 D Block numbers are the consecutive numbers starting with 0 A block number is given to each block of the whole program Block numbers do not match the line numbers of the program converted to text 4 Click the block to edit its properties In the Properties window edit arguments that are associated with the block 5 Connect the blocks according to the program sequence You can connect a block with another by dragging from one s orange colored contact to another s green colored contact 6 Edit user parameters in the Block Parameters window Perform operations such as program compilation transferring to the inverter and data saving Execute compilation and check for any compilation errors in the program You can transfer the program to the inverter when the compilation is finished successfully To save the program save the whole project Or you can save the program separately by using the function that exports programs DriveProgramming User s Manual 1580 E1 4 19 4 DriveProgramming Editor
86. case 2 uutel 200 case 3 U el See endselect goto loop_ end to log F Go Operation 1to8 Based on the value of U 00 100 is assigned to U 01 if U 00 is 1 and 200 is assigned to U 01 if U 00 is 2 In other cases 500 is assigned to U 01 and the program jumps to the endselect command 9 Jumps to the block 1 loop_ unconditionally DriveProgramming User s Manual I580 E1 6 DriveProgramming Commands For Next Command Description Argument Executes lt command set gt repeatedly until lt vari Variable any variable value gt In every time of execution lt incremental l i For y menta assigned to the variable in the first loop value gt is added to lt variable gt When the next i End value a value to exit the loop command is executed a judgment with lt end n 2 value gt is executed and lt incremental value gt is Incremental value the variable is incremented added to lt variable gt by this value in each loop For Command set one or more commands until the next command It can contain nested com f mands up to eight levels Next Format Flowchart method Text language method for lt variable gt lt start value gt to lt end value gt step lt incremental value gt G lt command set gt next Example Flowchart Text entry for U 1 1 to amp step 1 entry u e at u 1 wait 108 1 next end for UfO1 1te8 step 1 2 poo u1 3 4 T
87. cautions for Correct Use e f the DriveProgramming program is stopped the status of the variables FW forward and RV reverse is not retained but cleared to zero e The variable FW forward and RV reverse are enabled only when the inverter s 1st RUN Command Selection A002 is set to 01 Control circuit terminal block The operation is not performed with other setting options e f you set the variable FW forward or RV reverse to 1 immediately after turning on the power supply the setting is ignored and neither forward or reverse operation is performed Set 0 first and then set 1 again To avoid this operation create a program that has one sec ond of wait time with such as wait command after turning on the power supply DriveProgramming User s Manual 1580 E1 6 DriveProgramming Commands Stop Command Description Argument Makes the operating inverter decelerate and stop When a trip is detected by the inverter this com mand acts as a reset Stop Format Flowchart method Text language method Note 1 The stop command has the same function as the STOP RESET key of the Digital Operator This command makes the operating inverter decelerate and stop When a trip is detected by the inverter this command acts as a reset 2 To prevent the stop command from acting as a reset set the inverter s STOP Key Selection b087 to 01 Disabled With this setting while the stop command makes
88. check their status you use the Inverter Servo supporting tool CX Drive Transfer download the created programs to the 3G3MX2 3G3RX V1 Series Inverter so that the stand alone inverter can perform simple sequence control f Features of DriveProgramming The DriveProgramming has the following features The DriveProgramming supports both flowchart and text language method programming You can create a program divided into up to five tasks Five tasks can be processed in parallel It is possible to execute user programs externally by settings of multi function input terminals You can use the multi function I O terminals by allocating them to the parameters The Digital Operator enables you to change the settings of the frequency acceleration deceleration time and other parameters variables that require on site adjustment by specifying the user parame ters P100 to P131 without connecting the computer Because user programs are stored in the internal EEPROM of the inverter you can start a program immediately after the inverter power supply is turned on The optional LCD Digital Operator Model 3G3AX OP05 has a built in clock function By purchasing and connecting the LCD Digital Operator you can create programs that use the LCD Digital Opera tor s clock function MX2 You cannot connect the 3G3MX2 V1 Series Inverters with the LCD Digital Operator Model 3G3AX OP05 Therefore the clock function is not available Precaution
89. cific to the DriveProgramming as well as the causes and remedies 8 1 Troubleshooting oi 24 sco ob bes bi ene be ewe ane db acee se beees bad 8 2 8 1 1 DriveProgramming Operaiotion on Error 0 0 00 eee 8 2 8 1 2 DriveProgramming Operation on Error Reset 00 0c eee 8 3 o 123 Alarm Gode List 222 0230e0e3 5 202 pS5 Is yee essed eee yh Seka 8 4 DriveProgramming User s Manual 1580 E1 8 Errors and Remedies 8 1 Troubleshooting This section describes the program operation at the time of error occurrence the error codes that are specific to the DriveProgramming and the remedies for them 8 1 1 DriveProgramming Operaiotion on Error Basically even if the inverter detects a trip during the DriveProgramming operation the operation is continued However if any of E43 to E45 trips related to the DriveProgramming is detected the opera tion is stopped Or with the on trip goto command the program can jump to other process after a trip occurred Error status With without k i a User trip DriveProgramming t om Tp gore E50 to E59 related trip E43 to E45 sthenttles Without Operation is continued Operation is continued continued Program is stopped Operation is continued With After the on trip goto Program is stopped After the on trip goto command is executed the command is executed the program jumps to the specified label and the operation is continued program jumps to the
90. cture ciuine ana a aa la detail aiai aE 3 13 SF SIS pa selec ie et erat ce a e e T 3 13 J2 10 618 1 gt gee eee ee ee ee ee ee eee 3 13 29 Mm lt 2 Gd on 1 1 k Faerie seen mr a Cee Ce ace mee oe oe eee eee oes 3 13 3 3 4 DriveProgramming Start Stop and Task Operation ceeeeeeeeeeeeeeeeeeeeeeeeeeeteeeeeeeeeeeeeeeeeees 3 15 3 3 5 DriveProgramming ROS All xciszs scr cadec cceicncecasuedececeesnescocestiecesaedeGrevesges det cceeiacemeenietededeeiantemiade 3 17 336 Task Operalon OM UD eeenate esta teeter sel iar ated eo an hl Ged eae leat ce a 3 18 DriveProgramming Editor Starting DriveProgrammMing Editor ccccscessseesceeseeeseenseeeeeeeseeeseenseeseeeneesonenseeseoeneeeses 4 2 Parts Of DiiveProgramming ERON esiaine aa a aa aaa aaa 4 6 A2 DYIVEFCOGFAMINING EQO smsna a ae a a cas 4 6 A272 TOODA a E EE E veh nee A seen ee 4 6 DriveProgramming User s Manual 1580 E1 4 3 4 4 4 5 4 6 4 7 4 8 4 9 4 10 4 11 Section 5 5 1 5 2 5 3 5 4 5 5 5 6 5 7 Section 6 6 1 6 2 6 3 6 4 6 5 6 6 6 7 6 8 6 9 Section 7 7 1 7 2 7 3 CONTENTS 4 2 3 DriiveProgramming Ale asia co cssleck ese estate ea aaa Real ieee aa a aa 4 9 4 2 4 TOODO VIN GOW sisne E 4 13 4 2 5 Block Paramelers W INdOW sisi kei hewiei ee ees eee eel ees 4 14 4 26 Properties WINdOW simoneae gest aaa qecescet aa aad aa a eat ae Rara dalani 4 15 4 2 7 Error List Tab in Output WINGOW
91. cy reference set in the frequency reference variable SET Freq by using the inverter s parameter Output Frequency Setting Monitor F001 l Precautions for Correct Use When the DriveProgramming program is stopped the data of the frequency reference variable before the program stop is retained When the program execution is started again the process begins with the retained data DriveProgramming User s Manual 1580 E1 5 DriveProgramming User Variables g Acceleration deceleration Time Variables ACCEL and DECEL When you directly control the acceleration deceleration time of the frequency reference by the DriveProgramming function set the inverter s parameter Acceleration Deceleration Time Input Type P031 to 03 DriveProgramming to enable the acceleration time variable ACCEL and the deceleration time variable DECEL moe noe Description Datarange Datarange peau Data size Data size R W variable data ACCEL Acceleration time variable time variable MX2 0 to 360 000 Parameter 0 01 Unsigned R W DECEL Sannin time variable RX 1 to 360 000 Setting second 2 words e The acceleration time variable ACCEL and the deceleration time variable DECEL are unsigned 2 ward variables e The acceleration time variable ACCEL and the deceleration time variable DECEL are enabled only when you set the Acceleration Deceleration Time Input Type P031 to 03 DriveProgramming e Only when the program is started for the first time after the power supp
92. d timer and starts the timer Changes lt variable 1 gt to ON or OFF after the time of lt variable 2 constant gt elapsed At the same time it changes TD i to ON Sets lt variable con stant gt for the specified timer and starts the timer Changes TD i to ON after the time of lt vari able constant gt elapsed Stops the specified timer DriveProgramming User s Manual 1580 E1 6 DriveProgramming Commands fl Parameter Control Commands Command Argument Argument ArgumentS Argument4 ArgumentS Description ChgParam lt parameter gt lt variable Replaces the content constant gt of lt parameter gt with lt variable constant gt MonParam lt variable gt lt parameter gt Assigns the content of b lt variable gt eepwrt Issues a request for writing to the inverter s EEPROM when the following parameter writing command is executed only once ChgParam lt parameter gt lt variable Replaces the content of constant gt lt parameter gt with lt vari able constant gt and save it in the EEPROM simultaneously rtcset on off lt variable gt Assigns clock informa tion of the LCD Digital Operator to lt variable gt 1 The rtcset command is provided only for the 3G3RX V1 Series Inverter pP do O e 3 3 D 5 2 r m ana The 3G3MX2 V1 Series Inverters cannot use the rtcset command because they do not connect with the LCD Digital Operator Model 3G3A
93. d box User Parameters and Properties are displayed automatically Go online with the CX Drive From the Menu select Drive Work Online Or click the Work Online icon in the CX Drive toolbar Click the Transfer from Drive icon in the toolbar of the DriveProgramming Editor A program is transferred from the drive inverter and automatically displayed in the designer area of the DriveProgramming Editor Edit the transferred uploaded program The programs that exist in the inverter are the downloaded programs after compilation Therefore the transferred uploaded program will be displayed as a text program To display it as a flowchart program click Convert whole program to Flowchart in the toolbar of the DriveProgramming Editor and convert the program to flowchart amp Precautions for Safe Use Perform operations such as program compilation transferring to the inverter and data saving e Execute compilation and check for any compilation errors in the program You can transfer the program to the inverter when the compilation is finished successfully To save the program save the whole project Or you can save the program separately by using the function that exports programs When the DriveProgramming programs exist you can transfer them to from the inverter by using Transfer to Drive or Transfer from Drive icon in the CX Drive toolbar In this case you need to select programs when a message dialog appe
94. dentified by a name or alias that you define Call Format Flowchart method Text language method call lt subroutine gt 4 Note 1 When execution of the subroutine is completed the next command line after the call command is executed 2 To set the subroutine name for the call command in flowchart right click the command and select Set Subroutine from the menu Select from the displayed options 6 10 DriveProgramming User s Manual 1580 E1 6 DriveProgramming Commands Sub Command Description Argument Indicates the beginning of the subroutine a Sub Format Flowchart method Text language method p sub Note It is necessary to have this command at the beginning of each subroutine End sub Command Description Argument Indicates the end of the subroutine o cS ErndSub Format Flowchart method Text language method 4 endsub Note Itis necessary to have this command at the end of each subroutine p e a 3 O fo gt a o O e 3 3 gt 2 DriveProgramming User s Manual I580 E1 6 11 6 DriveProgramming Commands Example Flowchart Main Text Main Main RunFW Block number 1 and 2 3 to 7 8 to 11 13 to 16 17 to 20 entry set Treg 6000 UB i 1 Loop if UB 1 then call RunFW else call RunkRV endif stop wait RUN 8 UB not UB Foto Loop _ call Run Fr end Main RunFW sub FW z 1
95. ds 00 cece eee eee 6 58 DriveProgramming User s Manual 1580 E1 6 1 6 DriveProgramming Commands 6 1 Command Categories The commands are divided into the following categories Program control commands Four arithmetic operation and logical operation commands I O control commands Timer control commands Parameter control commands Inverter control commands DriveProgramming User s Manual 1580 E1 6 DriveProgramming Commands 6 2 Command Format Each command consists of the command and its arguments 0 up to 5 An example is shown below Command Argument 2 Argument3 Argument4 Argument 5 Description entry Indicates the begin ning of the program If there is no argument the cell is blank Command Argument 3 Argument4 Argument 5 Description wait Argument 1 time gt lt wait time gt Waits for wait time x 0 01 seconds There is one argument for the wait command In this argument input a wait time variable or constant Command Argument Argument Arguments Argument 4 ArgumentS Description while lt condition gt Executes lt command set gt while lt condition gt is met lt command set gt The command set that is executed while lt condition gt is met wend Goes to the while loop For the while command set a condition in the argument For details refer to Conditions on page 6 6 p N O O 3 3 D 5 2 Tl O 3
96. e 3 3 gt 2 Ini if U 8 1 goto Condit True goto Ini Condit True inc U 1 if UO 1 goto goto Ini end Condit True Penne i Go to Ini 5 g Mest Block Block number Operation 1 If U 00 is 1 it jumps to the block 3 Condit_True If U 00 is O it goes to the next block 2 2 Jumps to the block 1 Ini unconditionally 3 Adds 1 to U 01 4 Jumps to the block 1 Ini unconditionally DriveProgramming User s Manual I580 E1 6 13 6 DriveProgramming Commands On Trip Command Description Argument Jumps to lt label gt when a trip occurs in the Label a name that is used to identify a particu re inverter lar function block in the task Ont rip Format Flowchart method Text language method on trip goto lt label gt 4 Note 1 The on trip goto command branches the processing when a trip occurs in the inverter 2 Once the on trip goto command is executed the execution log is saved in the inverter and every scanned trip status is checked When the program reaches the next step after a trip occurred it jumps to the destination of goto command If there is no trip nothing is executed 3 Ifthe end command in the task is executed the on trip goto command is canceled and the program does not branch even if a trip occurs 4 Once the program branches with the on trip goto command it will not branch again under any condi tions Be sure to restart the program after the pr
97. e set values for these functions before the pro gram stop are retained e The data of the user parameter variables internal user variables and internal user contacts before the program stop is retained e The status of the inverter s actual input terminals such as the multi function and analog input terminals is not retained but always updated e The data of the multi function output variables function bits such as RUN FA1 and AL and inverter monitor variables is not retained but always updated according to the status of the inverter e Only the DriveProgramming s multi function input variables function bits such as FW RV and CF1 and timer variables are cleared at the same time as the program stop and all data are changed to zero When the DriveProgramming function is started stopped through the CX Drive the value of the inverter parameter DriveProgramming Function Selection A017 is temporarily changed to 02 start or 00 stop only in the RAM data Take the following measures after you started stopped the DriveProgramming function through the CX Drive e Turn ON the power supply for the inverter again and return the value of A017 to that saved in the EEPROM e Do not perform the following EEPROM saving operations before you turn ON the power sup ply for the inverter e Transferring downloading a part of parameters from the CX Drive e Issuing the enter command via the Modbus communication or a communication option Dr
98. ed with errors a red icon with an exclamation mark identifies the erroneous blocks in the flowchart program Placing the mouse on the error icon displays the compile error which you can see in the Error List in the Output window If you right click on a blank area in the flowchart a popup menu will be displayed It allows you to paste blocks that you copied last or to select all the blocks Select All 4 10 DriveProgramming User s Manual 1580 E1 4 DriveProgramming Editor If you right click on a flowchart block a popup menu with more options will appear Bring To Front Send To Back p Pin Lock Cut Chrl Copy Cbrl ic Delete Set Label gt N U Q oO _ UO lt U O Q Q 3 3 gt Q m Q k e The following table shows the menu commands available in the flowchart program Command Description Bring To Front Places the selected block graphically in front of other blocks Send To Back Places the selected block graphically in back of other blocks a Pin Fixes the selected block to its current position in the graph It will not be moved in 3 drag operations D Lock Acts like Pin and besides sets the properties of the block as read only 5 Cut Deletes the selected block and saves it in the clipboard for further pasting amp Copy Saves the selected block in the clipboard for further pasting 5 Paste Puts the contents previously cop
99. elay operation is in progress 4 The time elapsed 6 The delay operation is in progress 7 The time elapsed 8 The timer off command is started 1 2 3 4 5 The timer set command is started 6 7 8 9 1 lt w 2 3 gt 4 gt 5 6 7 wm 8 9 gt oy Theimer iva weestunstale 6 50 DriveProgramming User s Manual 1580 E1 6 DriveProgramming Commands Example Flowchart Text entry Loop uti 26 if X 1 gote loop timer set TO U el LBeeR_ if AC l then timer off TO e else if TO 1 gote LBeee1_ goto LEvee_ endif gt LBGBEL goto loop_ end if 01 0 goto if TO 1 goto Q J 3 O fe o O e 3 3 Q 2 O Go to loo F Hent Block In the above example the start end operation of the timer 0 is repeated when X 01 is not 0 If X 01 changes to 0 the timer is stopped and X 01 is monitored Block number Operation 1 Assigns 20 to U 01 2 Jumps to the block 1 loop_ if X 01 is 0 Goes to the next step if X 01 is not 0 3 Starts the timer 0 for the timer set command with the set value U 01 4 to 9 Monitors X 01 and jumps to the block 10 LB0001_ when TD 0 is 1 and X 01 is not 0 When X 01 changes to 0 the timer 0 stops and the program goes to the next step 10 Jumps to the block 1 loop_ unconditionally DriveProgramming User s Manual I580 E1 6 51 6 DrivePr
100. entry 7 U 2 6 u 3 z 12 loop _ u 4 U 2 or U 83 goto loop A end 5 Hest Block ERER Block number Operation 1 Assigns 6 to U 02 2 Assigns 12 to U 03 3 Assigns 14 binary 00001110 which is the result of logical OR on 6 U 02 binary 00000110 and 12 U 03 binary 00001100 to U 04 4 Jumps to the block 3 loop_ unconditionally DriveProgramming User s Manual I580 E1 6 31 gt or Tl ie z gt gt 3 D O O D D O 5 D 5 2 r O Q O O o O 5 O O 3 3 D 3 2 O 6 DriveProgramming Commands XOr Logical exclusive OR Command Description Argument Logical exclusive OR on lt value 1 gt and lt value Result any variable 2 gt in binary format Value 1 any variable or constant SDr XOr Logical exclusive OR range 128 to 127 Value 2 any variable or constant Value 1 Resul ae ue Esu range 2 147 483 648 to 2 147 483 647 Format Flowchart method Text language method lt result gt lt value 1 gt xor lt value 2 gt lt result gt lt value 1 gt xor lt value 2 gt Note If an overflow or underflow occurs the DriveProgramming detects it as an error Take necessary mea sures in the application so that they do not occur Example Flowchart Text i a entry 2 u 2 6 u 3 12 loop U 4 Ul 2 xor U 03 goto loop end 5 Next Block aiid Block number Operation 1 Assigns 6 to U 02 2 Assigns
101. escription Data range eeu Data size Data size variable data TDw Timer output contact 0 to 255 0 01 Hz Unsigned word access 1 word e The timer output contact word access TDw is a function to use the timer output contacts TD 0 to TD 7 as a word size variable This variable is read only e The timer output contacts TD 0 to TD 7 are set in the lower byte Zero is read out for upper byte data Bit sws 7 6 5 4 8 72 7 Function TOC 100 i Precautions for Correct Use If the DriveProgramming program is stopped the data of the timer counter variables and the timer output contacts is not retained but cleared to zero q do 3 lt D D ea D o DriveProgramming User s Manual I580 E1 5 11 5 DriveProgramming User Variables 5 4 Inverter Setting Variables This section describes the variables provided for setting inverter s frequency reference and accelera tion deceleration time Use these variables to control the inverter via the DriveProgramming program l Frequency Reference Variable SET Freq When you directly control the frequency reference by the DriveProgramming function set the inverter s parameter Frequency Reference Selection to 07 DriveProgramming to enable the frequency refer ence variable SET Freq Tane pn Description Data range peau Data size R W variable data SET Freq Frequency reference variable 0 to 40 000 a 0 01 Hz R W 1 word e The frequency reference
102. forms checks for the items such as program validity program syntax parameter input limitation and maximum number of steps If there is any input which is not permitted the compilation is stopped and an error message is displayed The compiler also performs the operations as shown below and creates the final programs after com pilation Therefore if you transfer upload the program once saved in the inverter to the CX Drive the program which is read out is the program after compilation While its operation is the same as before compilation its form and contents are partially different e Converts flowchart programs to text programs e Automatically converts the label names specified in the program to the following names label 1 label 2 e Deletes comments entered in the program e Deletes alias definitions and converts specified names to the same ones as before definition e Deletes region definitions and converts forms to the same ones as before definition e Deletes all spaces and blank lines in the program e Performs validity checks i Precautions for Correct Use e The specified comments alias definitions and region definitions are deleted when a compila tion is performed for program conversion or transferring downloading to the inverter To save those contents save the program before you execute program conversion or you transfer download the program to the inverter You can save the program by saving the whole pr
103. ft Lock Selection when this setting is enabled Check Upload the program and check if it actually exists in the inverter Upload the program and check the number of nest ing levels Check if the jump destina tion of the goto com mand is an command that terminates a loop Check the numeric value specified for U i 00 lt i lt 31 Check the program and identify the command which causes overflow underflow or division by zero e Check the parameter or the value to write to the parameter In the case that an error occurs during inverter operation check if the parameter can be changed during inverter operation Check the setting of the Soft Lock Selection 6031 Remedy Create the program again and download it to the inverter Correct the program so that the number of nesting levels is eight or less Correct the jump destina tion of the goto command Correct the variable value for U i or restrict the data range of the variable for U i Correct the program so that its four arithmetic operation does not cause overflow underflow or division by zero e Correct the parameter or the value to write to the parameter so that it is within the setting range e Disable the soft lock function e If the parameter can be changed during opera tion change the setting of the Soft Lock Selec tion 6031 to 10 to enable a parameter change during inverter operation
104. he program look easy to read Example region Alias alias global const _ 1600 as 100 alias global Acceleration as F Z2 alias global Deceleration as Fe 3 alias global Time as U 10 alias global AppTimer as TD alias global Temp as UL 5 LR ok ok O gt Cc Tl a gt O e gt endregion entry region Start Acceleration const _ 108 Deceleration const _ 108 Time 500 Temp 16606 set Treg 1000 Fw t 1 fendregion Precautions for Correct Use e The region definition created in the text program is deleted when the program is compiled for transferring downloading to the inverter or for program conversion To save the created region definition save the program before you execute program compi lation You can save the program by saving the whole project in the CX Drive or export file of the program e In the verification process the program after compilation is compared with the program inside the inverter Therefore the comments alias definitions region definitions etc are not verified DriveProgramming User s Manual 1580 E1 4 31 4 DriveProgramming Editor DriveProgramming User s Manual 1580 E1 DriveProgramming User Variables This section describes the user variables provided for DriveProgramming 5 1 User Variables and User Parameters 000 cece eee eee 5 2 5 2 Input Output Terminal Variable
105. he upper four digits of the data is displayed on the Dig ital Operator as shown below A dot at the end of number represents the decimal point position You can use this to figure Parameter No Function name Program Counter d023 d024 d025 d026 d027 out the number of digits Display for data 0 to 9 999 0 to 9999 Display for data 10 000 to 65 535 1000 to 6553 Display for data 1 230 000 and 1 230 000 123 and 1230 Since the Digital Operator displays only upper four digits you cannot check or set lower digits of data Use the CX Drive to check or set the data that exceeds four digits DriveProgramming Program Number Monitor 1 DriveProgramming 2 147 483 647 to 2 147 483 647 User Monitor 0 DriveProgramming User Monitor 1 DriveProgramming User Monitor 2 DriveProgramming 0 to 1 024 2 147 483 647 to 2 147 483 647 2 147 483 647 to 2 147 483 647 Description Displays the line number of the program during the DriveProgramming execution The numbers that are displayed are the line numbers of task 1 the leftmost tab on the DriveProgramming Editor e The line numbers of the program after compila tion are displayed e The number of line for which a subroutine execu tion is in progress is also displayed Note While program execution is stopped 0000 is displayed Always displays 1 This monitor function corresponds to the function variable UMo
106. higher than X 06 to zero 4 Assigns U 00 to Yw 5 Jumps to the block 1 loop unconditionally DriveProgramming User s Manual I580 E1 6 37 p O O e 5 Q O e 3 3 D 5 2 O 6 DriveProgramming Commands Y i value Command Description Argument Outputs data to the output terminal variable in i output terminal variable units of bits range 0 to 6 Value any variable or constant Format Flowchart method Text language method Y i lt value gt Y i lt value gt 4 Note The output terminal variable is a variable that controls the status of the inverter s output terminal The following settings are required The numerical order of the output terminal variables follows the numerical order of the set general output numbers MX2 Set the Multi function Output P1 and P2 Selection C021 and C022 and the Multi function Relay Out put MA MB Function Selection C026 to 44 to 46 MO1 to MO3 General purpose output RX Set the Multi function Output P1 to P5 Selection C021 to C025 and the Multi function Relay Out put MA MB Function Selection C026 to 44 to 49 MO1 to MO6 General purpose output lt Assignment example gt Y 00 MO1 multi function No 44 Y 01 MO2 multi function No 45 Y 02 MOS multi function No 46 Y 03 MO4 RX only multi function No 47 Y 04 MO5 RX only multi function No 48 Y 05 MO6 RX only multi function No 49 For details refer to 5 2
107. ht In the Drive Type Settings dialog box set Installation Type Option Voltage Class and Maximum Motor Capacity Be sure to select V1 from the Specifications pull down list to select the 3G3MX2 or 3G3RX Series V1 type inverter After setting these items click the OK button to close the Drive Type Settings dialog box A I l W Q gt Q w lt D U O Q Q 3 3 gt m Q O rive Tools Help Gi DA r 22 E w New Drive X Drive Type Settings 3G3RX Drive Name General Drivel 3G3RX A4015 V1 PRG4553 Drive Type Drive Type Inverter nd SGIRX bd settings Installation type Option F 3G3RX A40 15 V1 PRG4553 Voltage Class 4 400 V me Maximum Motor Capacity 015 Connection Type Specifications WI i Direct X Settings Special Specifications Software Number Comments 4553 Type your own comment in here a m f pe y Show Special Softwares Option Board Type Option Boards OK Cancel Help Software Number I 0 Make default DriveProgramming User s Manual I580 E1 4 3 4 DriveProgramming Editor In the New Drive dialog box you set the connection type for the CX Drive and the inverter Under the Connection Type select Direct and click the Settings button to the right On the Driver tab page set the Port Selectio
108. iable actual hexadecimal data DriveProgramming User s Manual I580 E1 6 57 6 DriveProgramming Commands 6 9 Inverter Control Commands Run FW Command Description Argument Makes the inverter start a forward operation This command is a func value command whose left hand side is set to FW forward variable Format Flowchart method Text language method is 4 Run RV Command Description Argument Makes the inverter start a reverse operation This command is a func value command whose BunBy left hand side is set to RW reverse variable Format Flowchart method Text language method RV 1 AS 4 Stop method func value Command Description Argument Makes the operating inverter decelerate and function select either of the following options re stop by using the I O control command func Ina forward operation with the Run FW FW variable value In a reverse operation with the Run RV RV variable func alue value set 0 stop to stop the inverter lt value gt is set to the set lt function gt Format Flowchart method Text language method oe 4 Note 1 By using the Run FW or Run RV command you change the variable FW or RV from 1 run to 0 stop 2 Instead of using the Run FW or Run RV command you can start the inverter operation by setting the variable FW or RV to 1 run with the Stop Method func value l Pre
109. ication Unit EtherCAT Unit Model CJU1W NCL182 CompoNet Master Unit Model CJ1W CRM21 DeviceNet Unit Model CJ1W DRM21 CJ2 Series Power supply unit CPU Unit CX Drive RS 232C port connection Peripheral USB port connection e For peripheral USB port connec tion use commercially available USB cable e For peripheral port connection Model CS1W CN226 CN626 Inverter e For RS 232C port connection and EtherCAT Communication z Unit CompoNet Communica Model XW2Z 200S CV 500S CV i tion Unit or DeviceNet Commu nication Unit Install the CX Drive in your Windows personal computer Connect the computer with the programmable controller and go online with the inverter via EtherCAT CompoNet or DeviceNet communications When the online connection is established you can use the DriveProgramming Editor to create user programs and transfer download them to the inverter DriveProgramming User s Manual 1580 E1 1 5 1 Overview DriveProgramming User s Manual 1580 E1 Specifications This section describes the specifications of the DriveProgramming 21 lt ODE
110. ied in the clipboard into the design area Note that you can also paste them as images in other applications Set Label Sets the label name for the selected block Set Subroutine Sets the subroutine name for the selected block This menu command is available only for blocks for which you can set subroutines DriveProgramming User s Manual I580 E1 4 11 4 DriveProgramming Editor f Text Program In the text program method you create a program by using text language For text programs that were not compiled successfully the program errors will be displayed in the Out put window The statement with errors will be highlighted with a red line Right click the selected text to display a popup menu call goto Top_Monitor_ m DUMMY ULOL a an w Undo Help The following table shows the menu commands available in the text program Command Description Find Looks for the selected text on the program code Replace Replaces the selected text on the program code Cut Deletes the selected text and saves it in the clipboard for further pasting Copy Saves the selected text in the clipboard for further pasting Paste Puts the contents previously copied in the clipboard into the design area Note that you can also paste them as images in other applications Go to Subroutine Jumps to the selected text subroutine Go to Label Jumps to the selected text label Undo Undoes the latest change Redo Redoes the
111. ify a particu lar function block in the task Format Flowchart method Text language method if lt condition gt goto lt label gt loop_ if LIPO t gota Note To set the label name in flowchart right click the command and select Set Label from the menu You can specify any name Example Flowchart Text entry Ioop_ if U e 1 goto condit goto loop condit inc U 1 goto loop end if U00 1 goto True Go to ondit Go to loop 5 Next Block aaa Block number Operation 1 If U 00 is 1 it jumps to the block 3 condit If U 00 is not 1 it goes to the next block 2 2 Jumps to the block 1 loop unconditionally 3 to 4 Adds 1 to U 01 and jumps to the block 1 loop unconditionally DriveProgramming User s Manual 1580 E1 6 15 p e a 3 O fo r o O e 3 gt 2 6 DriveProgramming Commands lfs Else End If Command Description If lt condition gt is met it executes lt command set 1 gt right after this command until the else com mand and goes to the next step after the endif command If lt condition gt is not met it executes lt command set 2 gt right after the else command until the endif command and goes to the next step after the endif command Argument Condition a comparison between two variables or constants with the format lt left hand value gt lt comparison operator gt lt right ha
112. ime To measure time accurately use the internal timer or the clock function of the LCD Digital Operator A program example in which the wait time is set with lt value gt the program waits at the wait command for the period of time set in lt value gt Flowchart Text h entry Ioop_ inc U G B a goto loop end 4 Hest Block d Block number Operation 1 Waits for 1 00 second with the wait command 2103 Adds 1 to U 00 and unconditionally jumps to 1 loop_ to wait one more second DriveProgramming User s Manual 1580 E1 6 21 p e a 3 O fo r o O e 3 gt 2 6 DriveProgramming Commands A program example in which the condition to end the wait state is set in lt condition gt the program waits until the condition is met Flowchart loop wait x00 1 Goto loop 4 Hent Block Block number 1 Waits until X 00 changes to 1 Text entry loop_ wait X 00 1 inc U goto loop end Operation 2to3 Adds 1 to U 00 and jumps to the block 1 loop unconditionally DriveProgramming User s Manual 1580 E1 6 DriveProgramming Commands 6 5 Four Arithmetic Operation and Logical Operation Commands Substitution Command Description Argument Assigns lt value gt to lt result gt Result any variable Value any variable or constant range 2 147 483 648 to 2 147 483 647 Format Flowchart method Text language method lt re
113. ime the task which executed the eepwrt commands in a row does not goes to the next command and enters a waiting state If multiple eepwrt commands are executed in a row processing for other tasks may be delayed or an error may be detected due to insufficient processing time 4 lf you execute the eepwrt command within a second after turning on the power supply the process ing is not performed correctly Create a program that has one second of wait time with such as the wait command after turning on the power supply 5 The inverter s built in EEPROM has a limit on the number of writing approximately 100 000 times Therefore if you use the eepwrt command frequently the inverter s service life may be shortened Consider taking the following measures in the program e Create a program so that the latest data before turning off the power supply is written to the EEPROM e Create a program so that writing to the EEPROM is performed only when the data such as parameters are changed e Use the user parameter variables U 29 to U 31 to save the data when the power supply is turned off 6 54 DriveProgramming User s Manual 1580 E1 6 DriveProgramming Commands Example when you save only F002 in the EEPROM Flowchart Text 0 entry loop_ eepwrt F602 U 2 F693 U 3 goto loop end Go to loop b Hest Block J Ld In the above example the parameter F002 is changed to the value of U 02
114. inals i Analog Output Terminal Variables YA 0 to YA 2 You can use the inverter s multi function digital output PWM output MP terminal and the multi function analog output voltage output AM terminal as the analog output terminal variables YA 0 and YA 1 of the DriveProgramming function For the 3G3RX V1 Series Inverters it is also possible to use the multi function analog output Current out put AMI terminal as the analog output terminal variables YA 2 of the DriveProgramming function You can continuously monitor the status of the analog outputs regardless of the parameter settings To control the analog outputs via the DriveProgramming function select DriveProgramming for the set ting of the inverter parameters MP Selection C027 AM Selection C028 and AMI Selection C029 DriveProgramming User s Manual 1580 E1 5 DriveProgramming User Variables Function n Defaul gt 5 ule Description Data range cayi Data size R W variable data YA 0 MX2 and RX O to 10 000 0 01 Unsigned R W Analog output terminal 1 word variable MP terminal 6 4 ms cycle PWM output YA 1 MX2 and RX Analog output terminal variable AM terminal O to 10 V output YA 2 RX only Analog output terminal variable AMI terminal 4 to 20 mA output e The analog output terminal variables YA 0 to YA 2 are unsigned 1 word variables e Set the variables in increments of 0 01 as a percentage of the maximum output duty 10 V or 20 m
115. ion on the devices connected for operating this product Please see the manuals below for related product information Name Catalog number Multi function Compact Inverter MX2 Series Type V1 User s Manual 1585 High function General purpose Inverter 3G3RX Series Type V1 User s Manual 1578 CX Drive Operation Manual W453 EN Additional Information For the inverter operation refer to the Multi function Compact Inverter MX2 Series Type V1 User s Manual 1585 or the High function General purpose Inverter 3G3RX Series Type V1 User s Manual 1578 16 DriveProgramming User s Manual 1580 E1 Revision History Revision History The manual revision code is a number appended to the end of the catalog number found on the front and back covers Example Cat No 1578 E1 01 Revision code Revision code Revised Content 01 March 2013 Original production DriveProgramming User s Manual 1580 E1 17 Revision History 18 DriveProgramming User s Manual 1580 E1 Overview E This section describes an overview and the system configuration of the DriveProgramming 1 1 Overview of DriveProgramming 0000 cece eee 1 2 1 2 Preparation and System Configuration 0 0 00 cee es 1 4 DriveProgramming User s Manual 1580 E1 1 1 J Overview 1 1 Overview of DriveProgramming The DriveProgramming is the simple sequence function built into the inverter To create sequence programs and
116. itch In the DriveProgramming the analog I O functions are allocated to XA 0 XA 1 YA O and YA 1 You can monitor the analog I O status in the programs by using these function vari ables regardless of the settings for A001 A201 C027 and C028 In the DriveProgramming programs you cannot monitor the status of multi function I O termi nals for which the general purpose I Os are not set in C001 to C007 C021 C022 or C026 Parameter ae Function name Description Frequency Refer 07 DriveProgramming Use this setting to specify the inverter fre ence Selection quency reference by the function variables of the DriveProgramming If you select any other option than 01 Control circuit terminal block the analog inputs FV Fl FE will be disconnected from the frequency reference and you can use them as the analog inputs XA 00 to XA 02 for the DriveProgramming Set 56 to 63 MI1 to MI8 to use the termi S1 to S8 Selection General purpose nals for the general purpose inputs for the input 1 to 8 DriveProgramming The parameter settings correspond to the function variables X 00 to X 07 Set 44 to 49 MO1 to MO6 to use the ter Multi function Input 56 to 63 MI1 to MI8 Multi function Output 44 to 49 MO1 to MO6 P1 to P5 Selection General purpose minals for the general purpose outputs for output 1 to 6 the DriveProgramming Multi function Relay e You can control the multi function output Output MA MB ter
117. iveProgramming Editor 4 2 7 Error List Tab in Output Window The list of errors related to the DriveProgramming is displayed when you click the Error List tab in the Output window The error list shows the compilation errors and warnings of the program currently created with the DriveProgramming Editor after it is compiled If any compilation errors is shown the program is not correctly compiled In this case transferring to the inverter or converting between flowchart and text is not performed Even in the case of successful compilation warnings may be displayed to show points to correct in the program The error list is updated automatically every time a compilation is completed and fixed errors and warn ings are cleared The Output window is displayed by default at the bottom of the CX Drive You can separate the window by double clicking the title bar wide frame of the window O 3 Errors o warnings i 0 Messages Date Component Description F 0 03 2013 15 36 25 Program Editor Parameter or variable 4000 not found in device Task01 Line 2 Position 2 Oo 0803 2013 15 36 25 Program Editor Bl Flowchart element not properly connected Jump connectors should lead to already connected blocks Oo OSS 2013 15 36 25 Frogram Editor BI All elements in this flowchart mast be fully connected Qutput Error List E 3 Errors Errors button switches the display of errors in the list 1 0 warnings Warni
118. iveProgramming User s Manual 1580 E1 4 DriveProgramming Editor When A017 is set to 02 stop the running program that was started at power ON before you restart the program via the CX Drive If any program that was started at power ON is running the CX Drive cannot restart the program In the CX Drive if you click the button to start the program when inverter is already in opera tion the following message will be displayed in the final step The program is running so it cannot be transferred to the drive If you click OK here the program is started forcibly regardless of the operation status of the inverter Before you start the program check the status of the equipment and ensure safety ae b m lt D O 5 amp U re te 3 T UO lt U O te 3 3 5 Tl c 5 5 02 D D O O 5 DriveProgramming User s Manual I580 E1 4 27 4 DriveProgramming Editor 4 11 Other Useful Functions i Converting Flowchart to Text There are two ways to convert flowchart programs to text programs Command Icon Description Convert Flowchart to Text Converts current flowchart task or subroutine to text Convert Whole Program Converts whole program to text to Text l Precautions for Correct Use e When a flowchart program is converted to a text program the program is once compiled If a compilation error occurs the conversion fails
119. language method lt result gt lt value 1 gt lt value 2 gt lt result gt lt value 1 gt lt value 2 gt 4 Note If an overflow or underflow occurs the DriveProgramming detects it as an error Take necessary mea sures in the application so that they do not occur Example Flowchart Text entry U ee 200 l U 1 500 u e2 u a U 81 i end 3 4 Block number Operation 1 Assigns 200 to U 00 2 Assigns 500 to U 01 3 Assigns the sum of U 00 and U 01 to U 02 DriveProgramming User s Manual 1580 E1 6 DriveProgramming Commands Subtraction Command Description Argument Subtracts lt value 2 gt from lt value 1 gt Result any variable Value 1 any variable or constant range 128 to 127 Value 2 any variable or constant range 2 147 483 648 to 2 147 483 647 Format Flowchart method Text language method lt result gt lt value 1 gt lt value 2 gt lt result gt lt value 1 gt lt value 2 gt 4 Note If an overflow or underflow occurs the DriveProgramming detects it as an error Take necessary mea sures in the application so that they do not occur gt or Tl ie z gt gt 3 D d O O o O 5 D gt 2 r O Q O O D D O 5 O O 3 3 D 3 2 O Example Flowchart Text entry U e 200 u 1 500 i u 2 U 1 Ulee end 2 4 Block number Operation 1 Assigns 200 to U 00
120. lected text Transforms the selected lines of text to comments Uncomment selected text Uncomments the selected lines of text Program conversion You can convert a flowchart program to a text program and vice versa When a conversion is performed the program is once compiled Note that if a compilation error occurs the conversion will not be completed Also comments alias definition region definition etc are deleted when a compilation is performed for conversion The operation does not change however the forms and contents of the program are partially changed Command Icon Description Convert Text to Flowchart i Converts current text task subroutine to flowchart i j r Convert whole program to ij Converts whole program to flowchart Flowchart HT Convert Flowchart to Text Converts current flowchart task subroutine to text Convert whole program to Converts whole program to text Text DriveProgramming User s Manual 1580 E1 4 DriveProgramming Editor Shortcut keys You can use the following keyboard shortcuts in the DriveProgramming area Shortcut Description Ctrl X Cut Ctrl C Copy p Ctrl V Paste 7 Ctrl Z Undo Ctrl Y Redo o Ctrl A Select all 9 Ctrl F Find and replace Ctrl space Command list 2 Tab Select next flowchart only g Arrow Keys Move selected block 3 Home Scroll to top flowchart only amp End Scroll to bottom flowchart only o Page Up Move the cursor to line he
121. llowing personnel who must also have knowledge of electrical sys tems an electrical engineer or the equivalent e Personnel in charge of introducing FA systems e Personnel in charge of designing FA systems e Personnel in charge of installing and connecting FA systems e Personnel in charge of managing FA systems and facilities Notice This manual contains information you need to know to use the DriveProgramming Before using this product read this manual and gain a full understanding of the information provided herein After you finished reading this manual keep it in a convenient place so that it can be referenced at any time Make sure this manual is delivered to the end user DriveProgramming User s Manual I580 E1 1 Manual Configuration Manual Configuration This manual is compiled section by section for user s convenience as follows Section 1 Section 2 Section 3 Section 4 Section 5 Section 6 Section 7 Section 8 Section Overview Specifications Operation Procedure for DriveProgramming DriveProgramming Editor DriveProgramming User Variables DriveProgramming Commands Precautions for Use of Parameters for DriveProgramming Errors and Remedies Overview This section describes an overview and the system configuration of the DriveProgramming This section describes the specifications of the DriveProgramming This section describes the operation procedure of the DriveProgarammi
122. ls Window Help k C Mew Ctrl M ma amp A ach oe Open Chita p a Close j amp Open Workspace krl Close Workspace P100 Dr Save Workspace Save s Workspace 7 Drive Programming User parameters m Save Ctrl 5 data il Save all e Print Ctrl F a Print Preview z Index Description Fage Setup g Fiol Drive Programming User Para Import Pio Drive Programming User Para Export Pios Drive Programming User Para g Pio Drive Programming User Para F105 Drive Programming User Para Recent workspaces k 2 a Pio Drive Programming User Para Exit Pio Drive Programming User Para IT T Fi Drive Programming User Para DriveProgramming User s Manual 1580 E1 4 DriveProgramming Editor Saving DiveProgramming program by export You can save a DriveProgramming program separately Click Drive in the Menu bar select Program Export Program and enter the file name CX Drive separates the program from other drive information and saves the program only To import the exported program files into the CX Drive click Drive in the Menu bar select Program Import Program and select the file name El Workspace CX Drive Drivel Drivel 3G3RX A4015 E1F PRG4445 Param HE File Edit View Drive Tools Window Help 4 ou Change 4 iD S e a O SR a OS E N i Autodeteck Ctrl D s A P amp x t F 43 iy kai gt Autodetect Options 2 do lt
123. lti function input terminal set to 00 FW Forward RX The program s RUN command and the forward RUN command terminal FW and the multi function input terminal set to 01 RV Reverse MX2 Parameter No Function name A002 1st 2nd RUN Com Control circuit terminal A202 mand Selection block DriveProgramming Digital Operator Modbus communication Option 1 Option 2 C001 to Multi function Input FW Forward C007 S1 to S7 Selection RV Reverse RX Description Select 01 Control circuit terminal block to control the RUN command through the pro gram with FW or RV variable If you select other setting FW and RV vari able are disabled The relationship between the program s RUN command and the RUN command via the control circuit terminal block is OR e Forward RUN command the forward RUN command terminal FW the relationship between the pro gram s RUN command and the RUN command via the control circuit terminal block is OR Parameter i No Function name A002 RUN Command Control circuit terminal Selection block DriveProgramming Digital Operator Modbus communication Option 1 Option 2 C001 to Multi function Input RV Reverse C008 S1 to S8 Selection Description Select 01 Control circuit terminal block to control the RUN command through the pro gram with FW or RV variable If you select other setting FW and RV vari able are disabled The relationship between the prog
124. lue2 gt 4 Note If an overflow underflow or division by zero occurs the DriveProgramming detects it as an error Take necessary measures in the application so that they do not occur gt or Tl ie z gt gt 3 D O O D D O 5 D 5 2 r O Q O O o O 5 O O 3 3 D 3 2 O Example Flowchart Text entry entry U ee 2 U 1 500 1 U 2 U 81 Ulee end Z 3 4 Block number Operation 1 Assigns 2 to U 00 2 Assigns 500 to U 01 3 Assigns the quotient of U 01 and U 00 to U 02 DriveProgramming User s Manual 1580 E1 6 27 6 DriveProgramming Commands Mod Modulo division Command Description Argument Remainder for division of lt value 1 gt by lt value 2 gt Result any variable Value 1 any variable or constant range 128 to 127 Mod Value 2 any variable or constant range 2 147 483 648 to 2 147 483 647 Format Flowchart method Text language method lt result gt lt value 1 gt mod lt value 2 gt 4 Note If an overflow underflow or division by zero occurs the DriveProgramming detects it as an error Take necessary measures in the application so that they do not occur Example Flowchart Text entry u z 2 u 1 500 U 2 U 1 mod U 00 end Z 4 Block number Operation 1 Assigns 2 to U 00 2 Assigns 500 to U 01 3 Assigns the remainder for division of U 01 and U 00 to U 0
125. ly is turned ON the value set in the inverter s acceleration deceleration time parameters are set for the DriveProgramming s accel eration time variable ACCEL and deceleration time variable DECEL q 5 lt D 02 D 3 amp lt D D z D o MX2 The acceleration deceleration time for the 1st 2nd Acceleration Time 1 F002 F202 and the 1st 2nd Deceleration Time 1 F003 F203 are set according to the 1st 2nd control selection RX The acceleration deceleration time for the 1st 2nd 8rd Acceleration Time 1 F002 F202 F302 and 1st 2nd 3rd Deceleration Time 1 F003 F203 F303 are set according to the 1st 2nd 3rd con trol selection e The data set in the acceleration time variable ACCEL and deceleration time variable DECEL are not saved in the EEPROM If you want to save the data use the eepwrt command to save it in the user parameter variables or in the EEPROM for the inverter s acceleration deceleration time parameters The internal processing for the acceleration deceleration time is performed in 40 ms cycles Even if the value of the acceleration time variable ACCEL or the deceleration time variable DECEL is changed in the program it takes up to 40 ms until the change is reflected in operation In the following cases the data that is set in the program is not reflected and the previously set data is used for operation the data set for the acceleration time variable ACCEL or the deceleration time
126. meter variables U 00 to U 31 The data saved in the EEPROM is set to the variables U 00 to U 31 automatically when the power supply is turned on again e Even if the data of the user parameter variables U 00 to U 31 is changed in the program the changed data is not saved in the EEPROM for the parameters P100 to P131 e To save in the EEPROM the data set to the user parameter variables U 00 to U 31 in the program execute the eepwrt command and then the ChgParam command and specify the data you wan to save The data is saved in the EEPROM area that is allocated to the parameters P100 to P131 e Only for the user parameter variables U 29 to U 31 the data is saved automatically during power interruptions The data is saved in the EEPROM for the corresponding parameters P129 to P131 The data of the user parameter variables U 00 to U 28 is not saved during the power interruption DriveProgramming User s Manual 1580 E1 5 DriveProgramming User Variables H Precautions for Correct Use When the DriveProgramming program is stopped the data of the user parameter variables before the program stop is retained When the program execution is started again the process begins with the retained data i Internal User Variables UL 00 to UL 07 The DriveProgramming s internal user variables UL 00 to UL 07 are the signed 2 word variables Use these variables for saving data during calculations such as four arithmetic oper
127. minals by changing the corresponding Function Selection function variables Y 00 to Y 05 to ON OFF MP Selection DriveProgramming Set 12 DriveProgramming to use the termi YA 0 nal for the general purpose pulse output YA 0 for the DriveProgramming AM Selection DriveProgramming Set 13 DriveProgramming to use the termi YA 1 nal for the general purpose analog output voltage YA 1 for the DriveProgramming AMI Selection DriveProgramming Set 14 DriveProgramming to use the termi YA 2 nal for the general purpose pulse analog out put current YA 2 for the DriveProgramming DriveProgramming User s Manual 1580 E1 3 Operation Procedure for DriveProgramming Parameter No P031 Acceleration Decel 03 DriveProgramming Set this parameter to control the eration Time Input acceleration deceleration time through the Type DriveProgramming i Precautions for Correct Use e Even if you select MI1 to MI8 General purpose input 1 to 8 for the Multi function Input S1 to S8 Selection you can select NO NO contact or NC NC contact for the Multi function Input S1 to S8 Operation Selection C011 to C018 e Even if you select MO1 to MO6 General purpose output 1 to 6 for the Multi function Output P1 to P5 Selection or for the Multi function Relay Output MA MB Function Selection you can select NO NO contact or NC NC contact for the Multi function Output P1 to P5 Opera tion Selection C031 to C035 or for the Multi
128. n to the port name of the computer on which the CX Drive is installed Drive Tools Help DAR New Drive Drive Name Drivel Drive Type Inverter r 3G3RX 3G3RX A40 15 V1 PRG4553 Connection Type Direct X Comments Type your own comment in here OK Cancel Network Driver Port Selection Baud Rate Data bits Parity Stop bits Make default oo After setting these items click the OK button and close all dialog boxes The new project is registered in the workspace EJ Workspace CX Drive Drive1 File Edit view Drive Tools Window Hel Da Ged Gil TE x EMER rivet iiine E Farameter Editor i Graphs Status Monitor gal Settings Drive Programming DriveProgramming User s Manual 1580 E1 4 DriveProgramming Editor i Starting DriveProgramming Editor There are three ways to display the DriveProgramming Editor e Double click the DriveProgramming in the workspace e Click button on the CX Drive toolbar e From the Drive Menu select Program Program Editor ed Workspace X Drive Drive Drivel IGIRX A4015 r1r PRG4445 Program ditar D oa r fe r gt PA Eie Ell wea Deve Inds Wisin Heh oO x o NA sig iue TRS 464 A O6 At mz a Pam amp x G2 x ba u z U a2 Drivel Offline NewT
129. n 0 and can display any data in the program This monitor function corresponds to the function variable UMon 1 and can display any data in the program This monitor function corresponds to the function variable UMon 2 and can display any data in the program DriveProgramming User s Manual 1580 E1 3 Operation Procedure for DriveProgramming i User Parameters of DriveProgramming Up to 32 parameters are provided as the user parameters for the DriveProgramming Use these parameters for various purposes such as program initial data setting parameter for adjust ment and saving calculation results i Precautions for Correct Use e For the data that exceeds four digits the upper four digits of the data is displayed on the Dig ital Operator as shown below A dot at the end of number represents the decimal point position You can use this to figure out the number of digits Display for data 0 to 9 999 0 to 9999 Display for data 10 000 to 65 535 1000 to 6553 Display for data 1 230 000 and 1 230 000 123 and 1230 e As the Digital Operator displays only upper four digits you cannot check or set lower digits of data Use the CX Drive to check or set the data that exceeds four digits N U o o 3 D D T J 2 D a D Q O w lt Q O Q o 3 3 5 ee Function name Description P100 DriveProgramming 0 to 65 535 e These user parameters correspond to User Parameter U00
130. n the View Menu The Properties window is displayed by default at the right side of the the CX Drive You can separate the window by double clicking the title bar wide frame of the window Properties Command Arguments 4 4 Variable to be assigned Ui00 User parameter E Value WODY User parameter Substitution The format of this instruction is lt result gt lt value gt The Arguments Result any variable Value any variable or constant range 2147463645 to 21474093647 To change one block command argument select the block in the flowchart and place the cursor on the section where you want to edit in the Properties window e If the block argument has options click on the current value to display icon at the rightmost side Click or double click the current value to unfold the available options in the pulldown menu e f the block argument does not have options click its current value and enter the new one to change the value A warning will be displayed if the entered value exceeds the valid range e If the block argument can have both an option and a custom value you can set a value directly by clicking the current value Also double clicking the current value will unfold the available options in the pulldown menu DriveProgramming User s Manual I580 E1 4 15 gt N U Q Oo UO lt D U Oo Q ie 3 3 gt Q m Q k Oo MOpUIM s i dold 9 2 7 4 Dr
131. nd value gt e Left hand value any variable or constant range 128 to 127 e Comparison operator lt gt lt gt Or lt gt e Right hand value any variable or constant range 128 to 127 Command set 1 one or more commands until the else command It can contain nested com Else mands up to eight levels Command set 2 one or more commands until the endif command It can contain nested Oc commands up to eight levels Endlf Format Flowchart method Text language method if lt condition gt then lt command set 1 gt IF p00 U 00 Then else lt command set 2 gt endif Example Flowchart Text i entry loop pie if utoa gt U 1 then u 3 20 else 1 loop U es 16 endif if U00 UO then goto loop_ end B f Ooo o om fatdlnes gt ae Hent Block g Block number Operation 1to5 If U 00 is greater than U 01 it assigns 20 to U 03 right after the if and jumps to the endif com mand If U 00 is not greater than U 01 it assigns 10 to U 03 right after the else command and goes to the endif command 6 Jumps to the block 1 loop_ unconditionally DriveProgramming User s Manual 1580 E1 Select Case Case Else EndSelect Command Description 6 DriveProgramming Commands Argument Allows the execution of multiple program sections Condition variable a condition variable you use n depending on the variable value Executes lt com Condition value n
132. ng related parameters and program structures This section describes how to start the DriveProgramming Editor saving and loading data and details on parts of the Editor This section describes the user variables provided for DriveProgramming This section describes the commands provided for DriveProgramming This section describes the precautions for use of parameters for the DriveProgramming This section describes the program operation at the time of error occurrence the errors that are specific to the DriveProgramming as well as the causes and remedies DriveProgramming User s Manual 1580 E1 Manual Structure Page Structure Manual Structure The following page structure and symbol icons are used in this user s manual Level 1 heading Level 2 heading Level 3 heading Operation Steps Describes the operation steps Note Supplementary Information Reference Target A note supplementary information reference target etc are provided with difference icons With without DriveProgram on trip goto 8 Errors and Remedies Troubleshooting This section describes the program operation at the time of error occurrence the error codes that are specific to the DriveProgramming and the remedies for them DriveProgramming Operaiotion on Error Basically even if the inverter detects a trip during the DriveProgramming operation the operation is continued However if any of E43 to E45 trips rela
133. ngs button switches the display of warnings in the list i O Messages Messages button switches the display of informative messages in the list The messages in the list contain the following information Information Description Date Shows the date and time when the error occurred Component Identifies the block with an error Name Shows names or descriptions of the error or warning message DriveProgramming User s Manual I580 E1 4 DriveProgramming Editor 4 3 Adding Deleting and Renaming Tasks The DriveProgramming Editor will display an empty task by default when it is started from the CX Drive To add a new task select New Tab in the toolbar of the DriveProgramming Editor and select New Task flowchart or New Task text A new task appears on the DriveProgramming Editor Among the displayed tasks the task which is closer to the leftmost side takes higher priority in process ing in a 2 ms period All tasks must begin with entry command and finish with end command Flowchart Text D oo gt 2 Q 5 Q 0 D D 5 ee D 5 2 J D D 3 3 eo D m a o You can delete or rename the selected task by right clicking on its tab in the DriveProgramming Editor T 7 T Tashna Task01 a Rename Current Task x Delete Current Task entry end DriveProgramming User s Manual 1580 E1 4 17 4 DriveProgramming Editor 4 4 Inserting Deleting and Calling Subroutines To inser
134. nition Deletes all soaces and blank lines Performs validity checks Transfer download upload m D Program verification Programs downloaded to Programs after compilation the inverter 3 2 DriveProgramming User s Manual 1580 E1 3 Operation Procedure for DriveProgramming i Programming You can create user programs in the flowchart method or the text language method It is also possible to select between two methods for each task or subroutine Use the DriveProgramming Editor in CX Drive to input user programs DriveProgramming Editor consists of the DriveProgramming area Toolbox window Block Parameter window Properties window and Output window e In the DriveProgramming area you can create programs in the flowchart method or text language method e The Toolbox window displays the command blocks in categories e Inthe Block Parameter window you can set parameters that are used when the program execution is Started e In the Properties window you can edit the properties of a block which is currently selected in flow chart e The Output window displays compilation errors and warnings after a compilation is finished i Compiling Programs Programs created in the DriveProgramming area are compiled and converted into the final programs after compilation Then the programs are transferred downloaded to the inverter oo i O 9 O 5 U O O D Q The compiler per
135. nt 1 Argument Arguments Argument 4 ArgumentS Description select lt condition Executes the com variable gt mands after the case command when lt con dition variable gt is equal to lt condition value gt case lt condition Starts the commands value 1 gt assigned to the condi tion value lt command set 1 gt The command set assigned to lt condi tion value 1 gt case condition value n You can set one or lt command set n gt more conditions with case case else Starts the commands assigned to the values other than the condi tion value lt command set gt The command set assigned to the values other than lt condition value gt easa OOOO O OO O O Ee for lt varlable gt lt start values lt end value gt lt incremental Starts a loop from value gt lt start value gt until lt end value gt with lt incremental value gt lt command set gt The command set that is executed repeatedly next Goes to for loop p do O te 3 D 5 2 r m while lt condition gt Executes lt command set gt while the lt condi tion gt is met lt command set gt The command set that is executed while lt condition gt is met a ST until lt condition gt Executes lt command set gt until lt condition gt is met lt command set gt The command set that is executed while lt condition gt is not met op Sd SdS d 08 to unto wait
136. ny data saving measure like EEPROM is not provided e To set initial data create a program in which the initial data is set to UB 0 to UB 7 DriveProgramming User s Manual I580 E1 5 3 o I meh C a D lt o D O oD 5 a C a D D oD 9 3 D T 5 DriveProgramming User Variables Beng sah Description Data range Deran Data size Datasize R W variable data UBw Internal user contact 0 to 255 Unsigned R W word access 1 word e The internal user contact word access UBw is a function to use the internal user contacts UB 0 to UB 7 as a word size variable e The internal user contacts UB 0 to UB 7 are set in the lower byte For the upper byte data zero is read out If any data is written to the upper byte the data is ignored Bit sws 7 6 5 4 3 2 7 Function UB l Precautions for Correct Use When the DriveProgramming program is stopped the data of internal user contacts before the program stop is retained When the program execution is started again the process begins with the retained data DriveProgramming User s Manual 1580 E1 5 DriveProgramming User Variables 5 2 Input Output Terminal Variables This section describes the variables provided for using the following inverter terminals for the DriveProgramming function Multi function input terminals multi function output terminals multi function relay outputs analog input terminals and analog ou
137. o 5 one command of each task one line of the program after compila tion is executed in 2 ms processing time e All function variables such as user parameters are shared among the tasks For transmission of infor mation between tasks use the user parameters internal user contacts etc e At the end of 2 ms processing time the operation result of each task is reflected to the inverter oper ation external output etc At the same time the status of the inverter and external input terminals etc are read in e When the end command is executed the task is completed and waits for the next start SYSEL L E 3 3 2 Subroutines Subroutine is a separated program processing executed only when it is called Subroutines are useful to organize your program into parts that you can execute multiple times in the same task or reuse in other programs In the DriveProgramming it is necessary to insert subroutines into each task They cannot be shared among the tasks It is possible to call a subroutine from another subroutine nesting However the maximum nesting of subroutines is eight levels 3 3 3 Task Processing UP to five tasks are started simultaneously and one command of each task one line of the program after compilation is executed in 2 ms processing time The following figure Programs After Compila tion Example shows the flow of the program processing e All tasks are started simultaneously e In the order of
138. o label2 4 label1 5 eco 6 eoo 7 goto label1 8 label2 Q 10 13 end sub 11 I 12 end 13 D eee 6 goto label1 Program Processing Flow Progen ing ooa B Tasi Task Tak O Tak4 Task5 ms No No No No No 2 1 pery 1 entry 1 jeny 1 jemy 1 entry 4 epeen 2 Ee j e pbt ee __6__ PER EAEEREN ben Le wat 0019 2 Le E bee ee a aroos fa o N Tiare o0 10 jsublabela 5 2 watt 0 01s 5 J 5g e92 12 ape a O eae OAE a a 14 peie a 2 16 13 jenas dT 4A eee 8 YOY 2 18 ee e Te a a 20 Bee CN ey de 22 7 eee ert LK ogan 9 24 8 gotolabelt f 2 en 10 26 2 pabet CE AS 28 3ko o T T T O TO OA Ab y y Y 30 4 peallaoel2 Labelzis executed dueto 4 5 l 32 10 fsublabel2 occurrence of an inverter Z 6 gotolabeli 34 ade f e Y 2 label se gie gee oo o TO O T i dabe OS 38 ee ee es ee eee T eee Program Counter d023 display 3 14 DriveProgramming User s Manual I580 E1 3 Operation Procedure for DriveProgramming 3 3 4 DriveProgramming Start Stop and Task Operation You set the start stop method of the DriveProgramming programs in the DriveProgramming Function Selection A017 Start e When the DriveProgramming Function Selection A017 is set to 01 Enabled Start stop via multi function input PRG terminal The program starts when the multi function input terminal set to PRG is t
139. ogram branches once with the on trip goto command 5 To set the label name in flowchart right click the command and select Set Label from the menu You can specify any name Example Flowchart Text 0 entry entry on trip goto count sloop_ while x 1 inc U 0 1 Go to count wa it 106 Newt Block i wend goto loop_ count inc U 03 False E goto loop_ end Go to loop_ True Next Block 4 5 wend 7 count inc U03 3 Go to loop_ 9 Next Block Block number Operation 1 Executes the on trip goto command once so that the program jumps to the block 7 count if a trip occurs 2 to 6 If X 00 is 1 it adds 1 to U 00 waits for 1 00 second with the wait command and returns to the block 2 loop_ If X 00 is 0 jumps to the block 2 loop_ unconditionally 7to8 Adds 1 to U 03 and jumps to the block 2 loop unconditionally 6 14 DriveProgramming User s Manual I580 E1 6 DriveProgramming Commands If Command Description Argument Jumps to lt label gt when lt condition gt is met Condition a comparison between two variables or constants with the format lt left hand value gt lt comparison operator gt lt right hand value gt e Left hand value any variable or constant range 128 to 127 e Comparison operator lt gt lt gt Or lt gt e Right hand value any variable or constant range 128 to 127 Label a name that is used to ident
140. ogramming Commands 6 8 Parameter Control Commands ChgParam Command Description Argument Changes the data of the inverter parameter Parameter parameter code sH specified in lt parameter gt to lt value gt Fxxx Axxx XXX Cxxx Hxxx or Pxxx Eran You can change any inverter parameter Value any variable or constant Format Flowchart method Text language method lt parameter gt lt value gt 4 Note 1 Similar to the settings with the inverter s Digital Operator each parameter has the following restrictions If any of the event listed in the restrictions occurs the inverter detects the command error 1 E45 and the DriveProgramming program is stopped For details on restrictions for each parameter refer to Section 7 Precautions for Use of Param eters for DriveProgramming and the Multi function Compact Inverter MX2 Series Type V1 User s Manual 1585 or the High function General purpose Inverter 3G3RX Series Type V1 User s Manual 1578 e Data that exceeds the setting range was set to the parameter e A matching error occurred between the parameter to set and relevant parameters e A function which is not available with the selected mode was set e The parameter that cannot be changed during operation was changed during operation e A parameter was set while parameter data change is prohibited with the Soft Lock Selection b031 2 Even if you change the set parameter data by using the ChgParam command
141. oject in the CX Drive or export file of the program e Program verification means a comparison between program after compilation and the pro gram inside the inverter Therefore comments alias definitions region definitions etc are not verified DriveProgramming User s Manual I580 E1 3 3 3 Operation Procedure for DriveProgramming j Downloading Programs Download compiled programs to the inverter and save them in the EEPROM of the inverter You can start programs saved in the EEPROM after turning on the power supply without using the tool CX Drive f Selecting DriveProgramming Functions Set DriveProgramming Function Selection A017 to Enabled 01 or 02 to use the DriveProgramming function You can change the DriveProgramming Function Selection A017 even when the operation is in progress P ti A017 DriveProgramming 00 Disabled default Disables the DriveProgramming function Function Selection setting Programs are not executed If you change the setting to 00 Disabled during program execution the program will be stopped Enabled Starts the DriveProgramming program when the Start stop via multi function input terminal which is set to 82 multi function input PRG is turned ON PRG terminal Enabled Starts the DriveProgramming program automati Start stop at cally after the inverter power supply is turned on power on off If you change the setting to 02 Enabled while the program is stopped the
142. on is included in the following or higher versions of the CX Drive If the version of your CX Drive is lower you need to upgrade the version MX2 Version 2 8 or higher with version 2 7 or lower operation is not possible RX Version 2 7 or higher with version 2 6 or lower operation is not possible 1 4 DriveProgramming User s Manual I580 E1 1 Overview EN Additional Information For how to install the CX Drive refer to the CX Drive Operation Manual W453 i EtherCAT CompoNet DeviceNet Communications The CX Drive can be connected to the inverter via communication through the Position Control Unit Model CJU1W NCLJ82 of EtherCAT master CompoNet Master Unit Model CJ1W CRM21 CS1W CRM21 or DeviceNet Unit Model CJU1W DRM21 CS1W DRM21 V1 mounted to the programmable controller To establish communication connection between the inverter and the CX Drive through the program mable controller you must configure the following settings in the CX Drive in advance e Select properties of the drive project and click Settings under Drive Type to set the option board type to the inverter communication unit e Select properties of the drive project and select the connection network under Connection type Then click Settings to set the network configuration under the Network and the connection method to connect CX Drive and PLC under Gateway PLC Wa SAS pue uoneied ld Z uoneaInpuo Configuration Commun
143. on time through the DriveProgramming ri N U 9 o 3 D D T JJ wu D mmh D Q O w lt U O Q o 3 3 5 3 Operation Procedure for DriveProgramming l Precautions for Correct Use RX No A001 C001 to C008 C021 to C025 C026 C027 C028 C029 Even if you select MI1 to MI7 General purpose input 1 to 7 for the Multi function Input S1 to S7 Selection you can select NO NO contact or NC NC contact for the Multi function Input S1 to S7 Operation Selection C011 to C017 Even if you select MO1 to MO3 General purpose output 1 to 3 for the Multi function Output P1 and P2 Selection or for the Multi function Relay Output MA MB Function Selection you can select NO NO contact or NC NC contact for the Multi function Output P1 and P2 Oper ation Selection C031 C032 or for the Multi function Relay Output MA MB Operation Selection C036 If you turn on the safety function selector switch of the 3G3MX2 V1 Series Inverter to enable the safety function the Multi function Input S3 Selection C003 will be set to 77 GS1 input and the Multi function Input S4 Selection C004 will be set to 78 GS2 input automatically In this condition the Multi function Input S3 S4 Operation Selection C013 C014 are fixed to NC NC contact and you cannot change them To allocate general purpose inputs to Multi function Input S3 S4 Selection turn off the safety function selector sw
144. opped the data of the acceleration time variable ACCEL and deceleration time variable DECEL before the program stop is retained When the program execution is started again the process begins with the retained data DriveProgramming User s Manual 1580 E1 6 DriveProgramming Commands Example Flowchart Text I entry entry loop_ if X 1 then accel 100 decel 2000 set freg 1000 fw 1 else 2 stop oT ACCEL 100 endif goto loop DECEL 2000 if M00 1 ther end Go bo loop p lt D O fo 5 F Q O e 3 3 D 5 2 o Net Bhool In the above example the acceleration time is set to 1 00 second and the deceleration time is set to 20 00 seconds when the input terminal variable X 00 is set to ON Block number Operation 1 to 6 If X 00 is 1 the acceleration time is set to 1 00 second the deceleration time is set to 20 00 sec onds and the output frequency is set to 10 00 Hz The inverter is operated in the forward direction If X 00 is not 1 the program goes to the next step after the else command 7 to 8 Stops the inverter 9 Jumps to the block 1 loop_ unconditionally DriveProgramming User s Manual I580 E1 6 63 6 DriveProgramming Commands DriveProgramming User s Manual 1580 E1 Precautions for Use of Parameters for DriveProgramming This section describes the precautions for use of parameters for the DriveProg
145. p Speed Reference 0 0 00 Starting Frequency to 2nd Maximum Fre quency A204 A320 RX only 3rd Multi step Speed Reference 0 0 00 Starting Frequency to 3rd Maximum Fre quency A304 A021 to Multi step Speed Reference 1 to 15 0 00 Starting Frequency to 1st Maximum Fre A035 quency A004 b015 Free electronic Thermal Frequency 1 0 to Free electronic Thermal Frequency 2 b017 Free electronic Thermal Frequency 2 Free electronic Thermal Frequency 1 to Free elec tronic Thermal Frequency 3 b019 Free electronic Thermal Frequency 3 Free electronic Thermal Frequency 2 to 400 b051 Starting Voltage on Power Interruption 0 0 to 999 9 1000 b052 Deceleration Hold Level on Power Interruption 0 0 to 999 9 1000 b060 Window Comparator FV Upper Limit Level Set an upper limit level Setting range 0 to 100 Lower limit Lower limit level 0061 Hysteresis width b062 x 2 b061 Window Comparator FV Lower Limit Level Set a lower limit level Setting range 0 to 100 Upper limit Upper limit level 0060 Hysteresis width b062 x 2 72 DriveProgramming User s Manual 1580 E1 7 Precautions for Use of Parameters for DriveProgramming Parameter ee b062 Window Comparator FV Hysteresis Width Set a hysteresis width for the upper and lower limit levels Setting range 0 to 10 Upper limit Upper limit level b060 Lower limit level b061 2 b063 Window Comparator Fl Upper Limit Level Set an upper limit level Setting
146. power off the DriveProgramming can be restarted by a reset input even when there is no trip e When the Reset Selection C102 is set to 02 Enabled only during trip the DriveProgramming can be restarted only when there is a trip detected by the inverter It does not restart with a reset input when there is no trip in the inverter Reset with control terminal Reset with Operator s Program Trip STOP RESET key Operation or 01 or 01 ming operation status During Restart Restart Keep run Keep run Keep run Keep run oie ee Been Meee ieee een During Normal Restart Keep Keep Keep Keep Keep During Restart Restart Keep Keep Keep Keep Inverter s reset operation Normal Reset Disabled Disabled Reset Disabled Disabled us Pome fewer ee ee trip 1 The table assumes that the PRG terminal is ON in the case that the DriveProgramming Function Selection A017 is set to 01 If the PRG terminal is OFF the Keep stop operation applies to all cases because the pro gram does not run 2 To restart the program set the DriveProgramming Function Selection to 00 Disabled first and then change it to 02 Enabled Start stop at power on off Also you can restart it by turning ON the PRG terminal again if A017 01 3 If C102 03 only the trip is cleared by the reset operation The internal calculation data such as current val ues are not initialized e I a O c lt 2 D gt O O Q jesoy 10113 UO
147. puts regardless of the parameter settings PURGE Description Data range eeu Data size R W variable data XA 0 MX2 and RX O to 10 000 0 01 Unsigned R Analog input terminal variable 1 word between FV and FC termi nals O to 10 V input XA 1 MX2 and RX Analog input terminal variable between FI and FC termi nals 4 to 20 mA input XA 2 RX only 10 000 to 10 000 Analog input terminal variable between FE and FC termi nals 10 to 10 V input The analog input terminal variables XA 0 and XA 1 are unsigned 1 word variables and XA 2 is a signed 1 word variable This variable is read only The variables are displayed in increments of 0 01 as a percentage of the maximum analog input 10 Vor 20 mA You can allocate inverter functions to the analog input terminals with the inverter parameters as shown below Select a function in each parameter If you use the analog input terminals only for the DriveProgramming do not select the analog input terminal in the following parameters MX2 A001 A201 A005 A076 A079 A141 A142 b040 and P033 RX A001 A005 A006 A076 A079 A141 A142 b040 and P033 To adjust the analog inputs use the following inverter parameters FV A011 to A016 Fl A101 to A105 and FE A111 to A114 l Precautions for Correct Use When the DriveProgramming program is stopped the status of the analog input terminal vari ables is not retained but updated according to the status of actual input term
148. r parameter the DriveProgramming Function Selection A017 Once the program reaches end command after a series of processes was completed the program is not executed unless it is restarted gt m X D O p gt U to 3 a Ls lt U to 3 3 gt Tl c gt O O gt w 2 D O O gt To repeat the program create a loop program so that the program does not reach end command If the DriveProgramming function is stopped while the Motor is running the Motor will be stopped according to the setting for the Stop Selection b091 deceleration stop or free run stop Parameter eee A017 DriveProgramming 00 Disabled default setting Disables the DriveProgramming function Function Selection Programs are not executed If you change the setting to 00 Disabled during program execution the program will be stopped Enabled Start stop via The DriveProgramming program is started multi function input PRG when the multi function input terminal terminal set to 82 PRG is turned ON Enabled Starts the DriveProgramming program Start stop at power on off automatically after the inverter power sup ply is turned on If you change the setting to 02 Enabled while the program is stopped the program will be started DriveProgramming User s Manual 1580 E1 4 25 4 DriveProgramming Editor C001 to MX2 and RX 82 PRG
149. ram s RUN command and the RUN command via the control circuit terminal block is OR DriveProgramming User s Manual 1580 E1 3 Operation Procedure for DriveProgramming i Setting Inverter I O Functions In the DriveProgramming you can use the inverter s I O functions multi function I O and analog I O as the I O functions of the program To use the I O functions it is necessary to set each I O function according to the purpose This section describes how to set I O functions for the DriveProgramming By configuring the following settings you can control I O functions by the function variables of the DriveProgramming In the case that you use the functions for purpose other than DriveProgramming I O functions refer to the Multi function Compact Inverter MX2 Series Type V1 User s Manual 1585 or the High function General purpose Inverter 3G3RX Series Type V1 User s Manual 1578 MX2 Parameter No A001 A201 C001 to C007 P003 C021 and C022 C026 C027 C028 P031 1st 2nd Frequency 07 DriveProgramming Reference Selection 56 to 62 MI1 to MI7 General purpose input 1 to 7 Multi function Input S1 to S7 Selection 02 MIgs General purpose input 8 for DriveProgramming Pulse Train Input RP Selection 44 to 46 MO1 to MOS General purpose output 1 to 3 Multi function Output P1 and P2 Selection Multi function Relay Output MA MB Function Selection MP Selection DriveProgramming
150. rameter F001 to UMon 0 2 Jumps to the block 1 loop_ unconditionally DriveProgramming User s Manual I580 E1 6 53 6 DriveProgramming Commands EepWrt Command Description Argument Enables the ChgParam command executed os immediately after this command to write data in the EEPROM Eep itt Format Flowchart method Text language method eepwrt 4 Note 1 Setthe parameter data with the ChgParam command immediately after executing the eepwrt command The parameter data is changed in the program and also saved in the EEPROM You can use the data saved in the EEPROM as the initial data when you turn on the power supply again If you do not exe cute the ChgParam command immediately after the eepwrt command the data is not saved in the EEPROM Also if you execute two ChgParam commands immediately after the eepwrt command the latter ChgParam command cannot save the data in the EEPROM 2 Each eepwrt command requires up to 10 ms processing time The task in which the eepwrt com mand is executed waits until the eepwrt command is completed and then goes to the next command 3 Avoid executing the eepwrt commands simultaneously in multiple tasks or executing them in a row Each eepwrt command requires up to 10 ms processing time If you execute the eepwrt commands in a row the second command is executed after the first one is completed During that t
151. ramming 7 1 Inverter Parameters Affected by Setting Order 005 7 2 7 2 Parameters Affected by Rated Current 0002 e eee ees 7 4 7 3 Parameters Affected by PID Enabled Disabled 7 5 DriveProgramming User s Manual I580 E1 7 1 7 Precautions for Use of Parameters for DriveProgramming 7 1 Inverter Parameters Affected by Setting Order In some cases the setting range of the parameters are restricted by the setting data of other parameters The following are the representative examples For details refer to the Multi function Compact Inverter MX2 Series Type V1 User s Manual 1585 or the 10 2 Warning Function in the High function General purpose Inverter 3G3RX Series Type V1 User s Manual 1578 Parameter A003 30 to 1st Maximum Frequency A004 A004 1st Maximum Frequency MX2 1st Base Frequency A003 to 400 A203 30 to 2nd Maximum Frequency A204 A204 2nd Maximum Frequency MX2 2nd Base Frequency A203 to 400 RX 30 to 400 A303 30 to 3rd Maximum Frequency A304 A304 RX only 3rd Maximum Frequency 30 to 400 A013 FV Start Ratio 0 to FV End Ratio A014 A014 FV Start Ratio A013 to 100 A103 FI Start Ratio 0 to FI End Ratio A104 A104 FI Start Ratio A103 to 100 A113 100 to FE End Ratio A114 A114 FE Start Ratio A113 to 100 A020 1st Multi step Speed Reference 0 0 00 Starting Frequency to 1st Maximum Fre quency A004 A220 2nd Multi ste
152. ramming Commands Command Output termi nal variable output Multi function input variable output Multi function output variable assignment Internal user contact control Argument Argument 2 Argument Argument 4 Argument 5 lt variable constant gt lt variable constant gt lt variable constant gt lt Multi function output variable gt lt variable gt a UB i lt Multi function input variable gt lt variable gt lt variable gt U B lt variable constant gt UBw lt variable constant gt Timer Control Commands Description Outputs data to the output terminal vari able in units of bits 0 off 1 on Outputs data to the output terminal vari able in units of words Outputs data to the multi function input variable 0 off 1 on Assigns the status of the multi function output variable to lt variable gt 0 off 1 on Assigns the internal user contact informa tion to lt variable gt 0 off 1 on Assigns the internal user contact informa tion to lt variable gt in units of words Outputs data to the internal user contact in units of bits 0 off 1 on Outputs data to the internal user contact in units of words Command delay timer set timer off PE on off lt variable 1 gt lt variable 2 constant gt lt variable constant gt es E Description Sets lt variable 2 con stant gt for the specifie
153. rams 00 cece eee eee ee ees 4 19 4 6 Creating Text Programs 002 eee ee 4 20 4 7 Editing Transferred Uploaded Programs 22 0020008 4 21 4 8 Saving Programs 4 5 3i2 c based eed a ee ee yh dees 4 22 4 9 Transferring and Verifying Programs 0 00c eee eee eee 4 24 4 10 Executing Programs DriveProgramming Function Selection 4 25 4 11 Other Useful Functions 0 20 ce ee 4 28 DriveProgramming User s Manual 1580 E1 4 1 4 DriveProgramming Editor 4 1 Starting DriveProgramming Editor To create DriveProgramming programs you use the DriveProgramming Editor in the support tool for the Inverter Servomotor CX Drive This section explains the configuration of the DriveProgramming Editor in the CX Drive and the opera tions you carry out before starting the DriveProgramming Editor Precautions for Correct Use e The DriveProgramming function is included in the following or higher versions of the CX Drive If the version of your CX Drive is lower you need to upgrade the version MX2 Version 2 8 or higher with version 2 7 or lower operation is not possible RX Version 2 7 or higher with version 2 6 or lower operation is not possible e A password is required when you start the DriveProgramming Editor in the CX Drive for the first time Please contact your OMRON representative i CX Drive and DriveProgramming Editor Screen Layout The DriveProgramming Editor is included
154. range 0 to 100 Lower limit Lower limit level 6064 Hysteresis width b065 x 2 b064 Window Comparator Fl Lower Limit Level Set a lower limit level Setting range 0 to 100 Upper limit Upper limit level 0063 Hysteresis width b065 x 2 b065 Window Comparator FI Hysteresis Width Set a hysteresis width for the upper and lower limit levels Setting range 0 to 10 Upper limit Upper limit level 0063 Lower limit level b064 2 b066 RX only Window Comparator FE Upper Limit Set an upper limit level Level Setting range 100 to 100 Minimum value Lower limit level 6067 Hystere sis width b068 x 2 b067 RX only Window Comparator FE Lower Limit Set a lower limit level Level Setting range 100 to 100 Maximum value Upper limit level 0066 Hystere sis width b068 x 2 b068 RX only Window Comparator FE Hysteresis Set a hysteresis width for the upper and lower limit Width levels Setting range 0 to 10 1 p10 umas Aq peasy SusjoweJeg JOLOAU L Z 7 Maximum value Upper limit level b066 Lower limit level 6067 2 b100 Free V f Frequency 1 0 to Free V f Frequency 2 b102 b102 Free V f Frequency 2 0 to Free V f Frequency 3 b104 b104 Free V f Frequency 3 0 to Free V f Frequency 4 b106 b106 Free V f Frequency 4 0 to Free V f Frequency 5 b108 b108 Free V f Frequency 5 0 to Free V f Frequency 6 b110 b110 Free V f Frequency 6 0 to Free V f Frequency 7 b112 b112
155. reference variable to 15 00 Hz operates the inverter in reverse direction and executes the next steps after endselect command Executes if Xw a value other than 1 and 2 Stops the inverter and executes the next steps after the endselect command Jumps to the block 1 Top unconditionally DriveProgramming User s Manual 1580 E1 6 DriveProgramming Commands Trip Command Description Argument Generates the inverter trip Value any variable or constant The inverter stops when it detects a trip range 0 to 9 Trip 0 to 9 correspond to the alarm code E50 to E59 Format Flowchart method Text language method trip lt value gt 4 Note 1 Even if an inverter trip occurs the DriveProgramming program does not stop and the processing is continued 2 You can set 10 or greater values by using any variable and constant up to 127 however even if a trip occurs the displayed error code will always be E59 P Example 3 S Flowchart Text 3 3 entry O Fi if X 1 goto jmp D trip 1 Q loop to O F 1 cip P goto loop end if x001 0 goto gt Goto jmp 3 4 jmp Go to loop Hent Block j In the above example a user trip occurs in the inverter when the input terminal variable X 01 is set to ON Block number Operation 1 Operates the inverter in the forward direction If X 01 is 0 jumps to the block 5 jmp If X 01 is not 0 the program goes to the next step Generates
156. relay output terminals MA and MB as the output terminal variables Y 00 to Y 02 of the DriveProgramming Numbers are given to the output terminal variables Y 00 to Y 02 according to the numerical order of the set general purpose inputs MO1 to MO3 not the terminal numbers P1 P2 MA or MB e The maximum number of the general purpose outputs for the 3G3MX2 V1 Series Inverter is three MO1 to MO3 RX e You can control the status of the multi function output terminals P1 to P5 and the multi function relay output terminals MA and MB as bit size variables e By setting the Multi function Output P1 to P5 Selection C021 to C025 or the Multi function Relay Output MA MB Function Selection C026 to 44 to 49 MO1 to MO6 General purpose output you can control the output terminals P1 to P5 or the relay output terminals MA and MB as the output ter minal variables Y 00 to Y 05 of the DriveProgramming Numbers are given to the output terminal variables Y 00 to Y 05 according to the numerical order of the set general purpose outputs MO1 to MO6 not the terminal numbers P1 to P5 MA or MB DriveProgramming User s Manual 1580 E1 5 DriveProgramming User Variables Setting for Multi function Output Selection MX2 C021 C022 and C026 RX C021 to C026 00 MX2 and RX 44 MO1 01 MX2 and RX 45 MO2 Y 02 MX2 and RX 46 MO3 03 04 05 Function variable RX only 47 MO4 RX only 48 MO5 RX only 49 MO6 Function aa
157. riveProgramming Commands Wait Command Description Argument Makes the program wait for specified seconds Value any variable or constant specified time x or until a condition is met 10 ms wlaitTime Wait time value 0 to 32767 x 10 ms Condition a comparison between two variables or constants with the format lt left hand value gt r lt comparison operator gt lt right hand value gt WaitCond e Left hand value any variable or constant range 0 to 127 e Comparison operator lt gt lt gt Or lt gt e Right hand value any variable or constant range 0 to 127 Format Flowchart method Text language method wait lt value gt or lt condition gt wait lt value gt or lt condition gt 4 Note 1 With the wait command the program does not go to next command and waits until the set wait time elapses or set condition is met Therefore the task processing is not executed during the wait time of the wait command If there is any processing which requires periodic monitoring separate it and assign it to another task so that it is executed periodically without using the wait command 2 Do not set a negative value for the constant used in the wait command Otherwise the program cannot check if the wait time elapsed or the condition is met and it continu ously stops at the wait command without performing any operation 3 The wait command is not an accurate way to measure t
158. rue J False Block number Operation 1 to 4 Assigns 1 to U 01 and the value of U 01 to U 00 Waits for 1 00 second with the wait com mand If U 01 is less than 8 1 is added to U 01 and the next command after for is executed Goes to the next step after the next command if U 01 is equal to or greater than 8 DriveProgramming User s Manual 1580 E1 6 DriveProgramming Commands While Wend Command Description Argument Executes lt command set gt while a condition is Condition a comparison between two variables met or constants with the format lt left hand value gt ek lt comparison operator gt lt right hand value gt HE e Left hand value any variable or constant range 128 to 127 e Comparison operator lt gt lt gt Or lt gt While e Right hand value any variable or constant range 128 to 127 Command set one or more commands until Q the wend command It can contain nested Wend commands up to eight levels Format Flowchart method Text language method while lt condition gt lt command set gt wend While Ujoo U00 Example Flowchart Text entry loop _ while X 9 1 inc Uf 1 wait 100 wend goto loop end while 00 1 Go to loop Hent Block Block number Operation 1to4 If X 00 is 1 it adds 1 to U 01 waits for 1 00 second with the wait command and jumps to the while command If X 00 is not 1 it executes the next comm
159. s 000 cee ees 5 5 5 3 Timer Variables ete nos is ee ees bade oe ele ate eo ee See eee 5 10 5 4 Inverter Setting Variables 00 00 cee es 5 12 5 5 Inverter Monitor Variables 0 000 eee es 5 14 5 6 Multi function Input Variables 00 0 eee 5 17 5 7 Multi function Output Variables 0020 c eee ees 5 20 DriveProgramming User s Manual I580 E1 5 1 5 DriveProgramming User Variables 5 1 User Variables and User Parameters The following variables are provided for creating programs User parameter variables internal user variables and internal user contacts Use these variables for the program user interface initial data for calculation data saving during calcu lation data saving etc i User Parameter Variables U 00 to U 31 The DriveProgramming user parameter variables U 00 to U 31 are the unsigned 1 word variables The DriveProgramming user parameters UOO to U31 P100 to 131 for the inverter correspond to the DriveProgramming user parameter variables U 00 to U 31 respectively Use these variables for the following applications Application Description User interface Use the variables as parameters to adjust calculation results You can adjust them using the inverter parameters P100 to P131 according to the status of application Initial data for calculation You can use the user parameter variables U 00 to U 31 as the variables for calculation The data of p
160. s Without With Operation is continued Operation is continued continued Program is stopped Operation is continued After the on trip goto Program is stopped After the on trip goto command is executed the command Is executed the program jumps to the program jumps to the specified label and the specified label and the operation is continued operation is continued For details on the trips E43 to E59 refer to Section 8 Errors and Remedies DriveProgramming User s Manual 1580 E1 DriveProgramming Editor This section describes how to start the DriveProgramming Editor saving and loading data and details on parts of the Editor 4 1 Starting DriveProgramming Editor 0002 e eee ee 4 2 4 2 Parts of DriveProgramming Editor 000 c eee ees 4 6 4 2 1 DriveProgramming Editor 0 0 cc eee 4 6 A 2 2 NOOIWAL 54k dP Ow Sees oe Be BAe Pe ae ee oe a O Oe toes 4 6 4 2 3 DriveProgramming Area 2 402624 40245024065 S 40d 9S lem ee Aedes oe be 4 9 4 2 4 Toolbox Window 0 ccc tenets 4 13 4 2 5 Block Parameters Window 0 0000 cece ee eee eee 4 14 4 2 6 Properties Window 0 0 cc eee eee 4 15 4 2 7 Error List Tab in Output Window 0 0 0 0 c eee eens 4 16 4 3 Adding Deleting and Renaming Tasks 0020020 ees 4 17 4 4 Inserting Deleting and Calling Subroutines 0000008 4 18 4 5 Creating Flowchart Prog
161. s for Safe Use If the clock command is used in the DriveProgramming an unexpected operation may occur due to weak battery of the LCD Digital Operator Take measures such as detecting a weak battery by a check that the clock data returns to the initial setting and stopping the inverter or programs When the LCD Digital Operator is removed or disconnected DriveProgramming is in a waiting status by the clock command The following table shows the main functions of the DriveProgramming Editor available in CX Drive Function Description Programming Supports the creation editing saving reading and printing of user programs Compilation Performs check of user programs and generates intermediate codes Transfer Downloads a user program to the inverter Uploads a user program from the inverter Debugging support Starts and stops the execution of a program The user can check the inverter status monitor etc DriveProgramming User s Manual 1580 E1 1 Overview 3G3MX2 V1 Series Inverter Monitoring software CX Drive Ver 2 7 or higher WEI OId ANA JO M IM AQ L L Buiw Connect directly DriveProgramming or via communications Transmission WM WMA WMG Creation editing and saving of user programs Upload SS Download User Programs Debugging support Program execution Monitor Parameter changed 2 0 or later DriveProgramming User s Manual I580 E1 1 3 1 Overview 1 2 Prep
162. s horizontally the right sides of the currently selected blocks Aligns vertically the top sides of the currently selected blocks Horizontal Align Left Horizontal Align Middle Horizontal Align Right Vertical Align Top Vertical Align Middle Aligns vertically the middles of the currently selected blocks Vertical Align Bottom Aligns vertically the bottoms of the currently selected blocks Orientation Selects an orientation for connecting the blocks Orientation DriveProgramming User s Manual I580 E1 4 7 4 DriveProgramming Editor Command Description Auto arrange Arranges the blocks of the flowchart automatically in the cur rently selected orientation Show Contacts Switches display hide of the contacts of the blocks Enables to select a display style of the program from options below Show e Text only e Icon only e Icon and text e Name icon and arguments 1 A unit of display on the flowchart is called Block A block consists of a command or a command and a label attached to the command Commands for the text program Command Description Find Looks for a text in the DriveProgramming Editor Replace Replaces a text in the DriveProgramming Editor bE Increment Indentation Increases the indentation of the selected text Decrement Indentation Decreases the indentation of the selected text Format selected text Formats automatically the selected text T Comment se
163. s to the block 2 loop_ unconditionally 6 40 DriveProgramming User s Manual 1580 E1 6 DriveProgramming Commands var func Command Description Argument Assigns the status of the multi function output Variable any variable variable to lt variable gt Function any bit of the multi function output variable var fune Format Flowchart method Text language method lt variable gt lt function gt 4 For details refer to 5 7 Multi function Output Variables on page 5 20 Example Flowchart Text entry te loop _ u Z5 goto loop end p O O e 5 Q O e 3 3 D 5 2 O Go to loop Hest Block In the above example 1 is assigned to U 00 when ZS 0 Hz detection signal is ON and 0 is assigned to U 00 when ZS 0 Hz detection signal is OFF Block number Operation 1 Assigns the status of ZS to U 00 2 Jumps to the block 1 loop_ unconditionally DriveProgramming User s Manual I580 E1 6 41 6 DriveProgramming Commands var UB i Command Description Argument Assigns one bit of the value of the internal user Variable any variable contact to lt variable gt value of the variable is 0 or 1 var LIBi i internal user contact number range 0 to 7 Format Flowchart method Text language method lt variable gt UB i a er 4 Example Flowchart Text i 3 entry loop ubw UB X 00 UB 1 X 01 UB 2 x 2 A UMon ubw
164. stall a stop motion device to ensure safety Not doing so might result in a minor injury A holding brake is not a stop motion device designed to ensure safety Be sure to use a specified type of braking resistor regenerative braking unit In case of a brak ing resistor install a thermal relay that monitors the temperature of the resistor Not doing so might result in a moderate burn due to the heat generated in the braking resistor regenerative braking unit Configure a sequence that enables the inverter power to turn off when unusual over eating is detected in the braking resistor regenerative braking unit The Inverter has high voltage parts inside which if short circuited might cause damage to itself or other property Place covers on the openings or take other precautions to make sure that no metal objects such as cutting bits or lead wire scraps go inside when installing and wiring Take safety precautions such as setting up a molded case circuit breaker MCCB that matches the Inverter capacity on the power supply side Not doing so might result in damage to property due to the short circuit of the load Do not dismantle repair or modify the product Doing so may result in an injury COS SO gt EPS EE A DriveProgramming User s Manual 1580 E1 13 Precautions for Safe Use Precautions for Safe Use Operation and Adjustment 14 lf a parameter is set incorrectly when starting up adjusting maintaining or replacing an
165. started with the new settings Therefore create a program so that the timer k which is started once is not restarted until its pro cessing is completed 4 You can monitor the data of the started timer k with the timer counter variable TC k Check the com pletion of the timer processing with the timer output contact TD k changes ON at completion Timing chart 1 The timer is in a free run state i i i W e 2 The delay on command is started 3 The delay operation is in progress 1 AN 2 1200 3 1000 eee i 4 The time elapsed iii Fi y j Fi f P 5 The delay off command is started Ma eo y 6 Mf 7 7 6 The delay operation is in progress Conpanbon how maighk 7 The time elapsed d A dayon Yih TD i0 tOO delay of Yoo TOG 1500 imer ot TO 0 1 2 3 4 5 6 7 6 46 DriveProgramming User s Manual 1580 E1 6 DriveProgramming Commands Example Flowchart Text 0 O entry entry U aS 286 T util 300 loop_ if X 00 goto GTeel delay on FW TO e U ee until FW 1 Ufe2z FW loop delay off FW TOCS ugali r until FW ro drool delay off FW TD 0 U01 u 2 FW loop 4 ia 67881 goto loop_ end LLJ m ra FA O l aha l 3 11 aa O amp ce AH gt False kd o L O e True O 12 GTO01 ha 3 E 0 to loop Next Block ii 13 Q In
166. status of X 00 to X 02 is monitored with the parameter UMon 0 d025 and X 02 is output to Y 00 Block number Operation 1 Assigns 0 to UBw 2 to 4 Assigns the variables X 00 to X 02 to the variables UB 0 to UB 2 5 Assigns UBw to UMon 0 6 Assigns UB 2 to Y 00 7 Jumps to the block 1 loop_ unconditionally DriveProgramming User s Manual I580 E1 6 43 o ro O le o O 3 3 Q Q 6 DriveProgramming Commands UB i value Command Description Argument Assigns lt value gt to the internal user contact I internal user contact number range 0 to 7 UBi value Value any variable or constant Format Flowchart method Text language method UB i lt value gt pet i valle 4 Example Flowchart Text 0 3 entry loop_ ubw UB X UB 1 X 01 UB 2 x 2 UMon ubw UB 2 gabe ioop end 3 LIB 1 01 4 UIB 2 02 z UMon 0 UB 00 UBT E T Hest Block Go to loop In the above example the status of X 00 to X 02 is monitored with the parameter UMon 0 d025 and X 02 is output to Y 00 Block number Operation 1 Assigns 0 to UBw 2 to 4 Assigns the variables X 00 to X 02 to the variables UB 0 to UB 2 5 Assigns UBw to UMon 0 6 Assigns UB 2 to Y 00 7 Jumps to the block 1 loop_ unconditionally 6 44 DriveProgramming User s Manual 1580 E1 6 DriveProgramming Commands U
167. stopped the status of the input terminal variables is not retained but updated according to the status of actual input terminals e Even when you set MI1 to MI8 genera purpose input 1 to 8 for the Multi function Input termi nals MX2 S1 to S7 RX S1 to S8 you can select NO NO contact or NC NC contact for the Multi function Input S1 to S7 Operation Selection MX2 C011 to C017 RX C011 to C018 Output Terminal Variables MX2 Y 00 to Y 02 RX Y 00 to Y 05 You can use the inverter s multi function output terminals as the output terminal variables MX2 Y 00 to Y 02 RX Y 00 to Y 05 for the DriveProgramming function by setting the multi function output termi nals to the general purpose outputs MX2 MO1 to MO3 RX MO1 to MO6 You can also use the input terminal variables Y 00 to Y 05 as word access data which are set to the lower byte by using the variable Yw PALO Jolt Description Data range POET Data size R W variable data MX2 Output terminal variable 0 OFF bit R Y 00 to Y 02 bit access RX Y 00 to Y 05 MX2 You can control the status of the multi function output terminals P1 and P2 and the multi function relay output terminals MA and MB as bit size variables By setting the Multi function Output P1 and P2 Selection C021 and C022 or the Multi function Relay Output MA MB Function Selection C026 to 44 to 46 MO1 to MO3 General purpose output you can control the output terminals P1 and P2 or the
168. successfully To save the program save the whole project Or you can save the program separately by using the function that exports programs DriveProgramming User s Manual 1580 E1 4 DriveProgramming Editor 4 7 Editing Transferred Uploaded Programs You can edit the program which is transferred uploaded from the inverter Follow the steps described below to edit the program 1 Open the DriveProgramming Editor The DriveProgramming auxiliary windows Toolbox Block Parameters and Properties are dis played automatically Go online with the CX Drive From the Menu select Drive Work Online Or click the Work Online icon in the CX Drive toolbar 3 Click the Transfer from Drive icon in the toolbar of the DriveProgramming Editor A program is transferred from the drive inverter and automatically displayed in the DriveProgramming area of the DriveProgramming Editor gt ias m Q gt Co Q gt i g 9 Q S fa Q Q _ Ee a Q 3 4 Edit the transferred uploaded program Programs after compilation are downloaded to the inverter Therefore the transferred uploaded program will be displayed as a text program To display it as a flowchart program click Convert whole program to Flowchart in the toolbar of the DriveProgramming Editor and convert the program to flowchart 5 Perform operations such as program compilation
169. sult gt lt value gt 4 Note If an overflow or underflow occurs the DriveProgramming detects it as an error Take necessary mea sures in the application so that they do not occur 4 7 U a6 Uwi oi 06 17 mod U5 u e 7 end 17 mod U 5 abs UL 7 Example Flowchart Text j gt entry entry F u e a e 2 UDA u03 2 U 1 U e u 2 z U e U e1 G u 3 U 160 U05 U00 U03 U 4 z U 3 2 u 5 z u ee utez 3 5 Upo2 Uo U01 U 07 abs UL O7 4 J Block number Operation 1 Assigns 200 to U 00 Assigns the value of U 00 to U 01 Assigns the sum of U 00 and U 01 to U 02 Assigns the difference between U 00 and 100 to U 03 Assigns the product of U 03 and 2 to U 04 Assigns the quotient of U 00 and U 03 to U 05 Assigns the remainder after dividing 17 by U 05 to U 06 Assigns the absolute value of UL 07 to U 07 CO Ni O1 BY CW Po DriveProgramming User s Manual I580 E1 6 23 gt or Tl ie z gt gt 3 D O O D D O 5 D 5 2 r O Q O O o O 5 O O 3 3 D 3 2 O 6 DriveProgramming Commands Addition Command Description Argument Adds lt value 1 gt and lt value 2 gt Result any variable Value 1 any variable or constant range 128 to 127 Value 2 any variable or constant range 2 147 483 648 to 2 147 483 647 Format Flowchart method Text
170. t a subroutine select the tab of the task in which you want to insert a subroutine and select New Tab New Subroutine flowchart or New Subroutine text in the toolbar of the DriveProgramming Editor A new subroutine appears on the DriveProgramming Editor Similar to tasks you can delete or rename a subroutine by right clicking on its tab The subroutine name is displayed as Task name Subroutine name next to the task name to which the subroutine belongs All subroutines must begin with sub command and finish with endsub command Flowchart Text T E RN F Program Test 5 T ee ir Program Test gt sut endsub 4 To execute a subroutine specify the subroutine name in the call command Itis only possible to call a subroutine that belongs to the task Tasks cannot share the same subroutine To use a subroutine with multiple tasks insert the same subroutine in each task Flowchart Text T L Program F Proaram Test a Program S Program Test entry call Test call Test end DriveProgramming User s Manual 1580 E1 4 DriveProgramming Editor 4 5 Creating Flowchart Programs When you create a DriveProgramming program you can select flowchart or text for each task or subroutine Follow the steps described below to create a flowchart program 1 Open the DriveProgramming Editor The DriveProgramming auxiliary windows Toolbox Block Parameters Properties and Error List ta
171. t size variables This variable is read only e When the Multi function Input S1 to S8 Selection C001 to C008 are set to 56 to 63 MI1 to MI8 General purpose input the status of the input terminals S1 to S8 is captured and set as the input ter minal variables X 00 to X 07 of the DriveProgramming Numbers are given to the input terminal variables X 00 to X 07 according to the numerical order of the set general purpose inputs MI1 to MI8 not the terminal numbers S1 to S8 q N 5 Cc xS O a mp a p D 3 S z Setting for Multi function Input Selection and Function variable Pulse Train Input RP Selection MX2 C001 to C007 and P003 RX C001 to C008 X 00 56 MI1 X 01 57 MI2 X 02 58 MI3 X 03 59 Ml4 X 04 60 MI5 X 05 61 MI6 X 06 62 MI7 X 07 MX2 P003 02 RX 63 MI8 DriveProgramming User s Manual 1580 E1 5 5 5 DriveProgramming User Variables variable data Xw Input terminal variable O to 255 Unsigned R worse e The input terminal variable word access Xw is a function to use the input terminal variables X 00 to X 07 as a word size variable This variable is read only e The input terminal variables X 00 to X 07 are set to the lower byte For the upper byte and unused input terminal variables zero is read out Bit sws 7 6 8 4 8 2 71 Function x01 X 00 l Precautions for Correct Use e When the DriveProgramming program is
172. task from 1 to 5 one command of each task one line of the program after compila tion is executed in 2 ms processing time e All function variables such as user parameters are shared among the tasks e At the end of 2 ms processing time the operation result of each task is reflected to the inverter oper ation external output etc At the same time the status of the inverter and external input terminals etc are read in e As shown in Task 1 if a subroutine is called by the call command the statement of the subroutine will be executed from the next step of processing DriveProgramming User s Manual I580 E1 3 13 3 Operation Procedure for DriveProgramming e As shown in Task 2 if the end command is executed the task will be finished and wait for the next Start e As shown in Task 3 if the wait command is executed the task will be repeatedly executed until a certain condition is met e As shown in Task 4 if you create a loop by using the goto command the task process will be con tinuously repeated e As shown in Task 5 if the on trip goto command is executed once the processing data will be stored in the inverter The program jumps to the goto destination immediately after a trip occurred Programs After Compilation Example Task1 Task3 Task4 Task5 Ljentry Ljentry wait 1 0 01s gt llabel1 Rey eco 3 a 2 eco 4 eee 5 eee eae 6 eee 3 on trip got
173. ted to the DriveProgramming is detected the opera tion is stopped Or with the on trip goto command the program can jump to other process after a trip Error status User trip E50 to E59 ming related Other trips Trip E43 to E45 Without Operation is continued Program is stopped Operation is continued With After the on trip goto Program is stopped After the on trip goto command is executed the command is executed the program jumps to the program jumps to the specified label and the specified label and the operation is continued operation is continued 9 Precautions for Safe Use When execution of the DriveProgramming program is stopped the status before the program stop is retained for multi function outputs controlled by the DriveProgramming For this reason the wiring must be made so that the stop of the DriveProgramming program in the inverter can be detected by the DriveProgramming start signal and the alarm trip signal and the inverter s peripheral devices can be stopped safely DriveProgramming User s Manual 1580 E1 4 DriveProgramming Editor 4 7 Editing Transferred Uploaded Programs Editing Transferred Uploaded Programs You can edit the program which is saved in the inverter after transferring uploading it from the inverter Follow the steps described below to edit the program 1 Open the DriveProgramming Editor The DriveProgramming auxiliary windows Comman
174. th the program in the DriveProgramming area The program will be started only when they are the same If they differ the program will not be started This starting method for the program is enabled only when the CX Drive is connected To start the program with a stand alone inverter be sure to set the DriveProgramming Function Selection A017 Stops the program in the inverter This operation is performed independently of the program on the DriveProgramming area in the CX Drive Start Stop gt N U Q oO _ UO lt U O Q Q 3 3 gt Q m Q O Compiles the program in the DriveProgramming area Compile errors and warnings that occurred in the program will be displayed on the Error List tab page in the Output window Set Password Enables to set change or delete the program password ial Compile z ER Help Displays the CX Drive help JeqjooL c c Commands for the flowchart program Command Icon Description Zoom in Increases the zoom level Zoom out Decreases the zoom level Zoom Reset Restores the zoom to its initial value Select Mode Selects one or more blocks of the program by dragging with the mouse cursor Pan Mode By dragging moves the field of the view in any direction while keeping the same scale Aligns horizontally the left sides of the currently selected blocks Aligns horizontally the middles of the currently selected blocks Align
175. the DriveProgramming program The following variables correspond to the functions which can be allo cated to the multi function output terminals Setting each variable to 1 ON or 0 OFF causes the same operation as when the multi function out put function turns the multi function output terminal ON OFF You can monitor the status on the pro gram even if you do not set each function in the parameters Multi function Output Selection MX2 C021 and C022 RX C021 to C025 or Multi function Relay Output MA MB Function Selection C026 The Reference column in the following table shows the function setting data for the inverter For details on each function refer to the Multi function Compact Inverter MX2 Series Type V1 User s Man ual 1585 or the High function General purpose Inverter 3G3RX Series Type V1 User s Manual 1578 l Precautions for Correct Use When the DriveProgramming program is stopped the status of the multi function output vari ables is not retained but updated according to the actual function status MX2 and RX Function variable Reference RUN Saamna R coe 0026 00 F Constant speed anais _R_ Coet to 002620 zy Set requency exceeded signal R 0021 to C026 aL Overloadwaming R coati C026 03 OD Excessive PID devion _R_ Coat to C026 04 nL Nams a ooe FAG Setrequency ony signal R coati C026 06 ora Overtorque Undertraue signal _R_ Coat to C026 07 OV Signal during undervotage R Coat 0 C28 0
176. the data of the corre sponding parameter is not changed in the EEPROM To change the data both in the program and in the EEPROM execute the ChgParam command immediately after the eepwrt command lt parameter gt lt value gt Example Flowchart Text gt entry loop inc Ul 2 Fe 2 U 2 lor wait 100 end 2 Foo u02 3 Go to loop Hest Block 5 In the above example the value of F002 1st Acceleration Time 1 is incremented by 1 every second Block number Operation 1 Adds 1 to U 02 2 Assigns U 02 to the parameter F002 3 Waits for 1 00 second with the wait command 4 Jumps to the block 1 loop _ unconditionally DriveProgramming User s Manual 1580 E1 6 DriveProgramming Commands MonParam Command Description Argument _ Assigns the content of the inverter parameter Parameter parameter code At specified in lt parameter gt to lt variable gt Fxxx AXxxx bxxx CXXX dxxx Hxxx or Pxxx MonPararm Variable any variable Format Flowchart method Text language method lt variable gt lt parameter gt 4 Example e gt Flowchart Text y D 0 ma entry 3 loop_ goto loop end S O e 3 3 gt Goto loop FT Hest Block 3 In the above example the value of the parameter F001 Output Frequency Setting Monitor is assigned to the parameter UMon 0 d025 User Monitor and monitored Block number Operation 1 Assigns the pa
177. the function variables U 00 to U 28 P101 DriveProgramming e You can change the data by using the Digital Operator The changed data is saved in the EEPROM e The set data will be saved in the User Parameter U01 P102 DriveProgramming pee ae ee EEPROM when the Write to P103 DriveProgramming EEPROM command is executed in User Parameter U03 the DriveProgramming P104 DriveProgramming User Parameter U04 P105 DriveProgramming User Parameter U05 P106 DriveProgramming User Parameter U06 P107 DriveProgramming User Parameter U07 P108 DriveProgramming User Parameter U08 P109 DriveProgramming User Parameter U09 P110 DriveProgramming User Parameter U10 P111 DriveProgramming User Parameter U11 P112 DriveProgramming User Parameter U12 P113 DriveProgramming User Parameter U13 DriveProgramming User s Manual 1580 E1 3 11 3 Operation Procedure for DriveProgramming save Function name Date Description P114 DriveProgramming 0 to 65 535 e These user parameters correspond to User Parameter U14 the function variables U 00 to U 28 P115 DriveProgramming e You can change the data by using the Digital Operator The changed data is P116 saved in the EEPROM e The set data will be saved in the E EEPROM when the Write to me EEPROM command is executed in User Parameter U17 the DriveProgramming P118 DriveProgramming P119 DriveProgramming P120 DriveProgramming P121 DriveProgramming P122 DriveProgramming
178. the inverter decelerate and stop a reset is not performed However note that the Digital Operator s STOP RESET key will be disabled 3 Since the stop command may act as a reset and cause the Digital Operator s STOP RESET key to be disabled we recommend you to use the previously mentioned Stop Method func value com mand to stop the inverter Set Freq Command Description Argument Sets the frequency of the Inverter Value any variable or constant Ar This command is a Assign command whose range 0 to 40 000 left hand side is set to the frequency reference SetFreg variable SET Freq Unit 0 01 Hz Format Flowchart method Text language method SET Freq lt value gt 4 Note 1 The range of frequency that the inverter can actually output is from the Starting Frequency b082 to the maximum frequency If the set data is out of range the inverter operates as follows e Less than Starting Frequency b082 MX2 and RX Operates at the frequency of 0 00 Hz RX only When the 1st Control Method A044 is set to 04 OSLV 0 Hz sensorless vector con trol or 05 V2 Sensor vector control the Starting Frequency b082 is disabled and the specified frequency is output e More than maximum frequency MX2 Limits the frequency reference to the value set in the 1st 2nd Maximum Frequency A004 A204 RX Limits the frequency reference to the value set in the 1st 2nd 3rd Maximum Frequency A004 A204 A304 2 When the Dri
179. tion 1 Assigns 100 to U 02 2 Subtracts 1 from U 02 3 Waits for 1 00 second with the wait command 4 Jumps to the block 2 loop_ unconditionally gt or Tl ie z gt gt 3 D O O D D O 5 D 5 2 r O Q O O o O 5 O O 3 3 D 3 2 O Go to loop DriveProgramming User s Manual I580 E1 6 35 6 DriveProgramming Commands 6 6 I O Control Commands Use these I O control commands to control inputs and outputs Although you can control I Os with the Assignment command the I O control commands can efficiently use the program capacity because their arguments require smaller data size var X i Command Description Argument Assigns one bit of the status of the input termi variable any variable the variable value is O or 1 nal variable to lt variable gt i input terminal variable range 00 to 07 vas Format Flowchart method Text language method lt variable gt X i lt variable gt X i 4 Note The input terminal variable is a variable that detects the status of the inverter s input terminal The follow ing settings are required The numerical order of input terminal variables follows the numerical order of the set general input numbers MX2 Set the Multi function Input S1 to S7 Selection C001 to C007 to 56 to 62 MI1 to MI7 General purpose input Set the Pulse Train Input RP Selection P003 to 02 MI8 General purpose input
180. tion A017 is temporarily changed to 02 start or 00 stop only in the RAM data Take the following measures after you started stopped the DriveProgramming function through the CX Drive e Turn ON the power supply for the inverter again and return the value of A017 to that saved in the EEPROM Do not perform the following EEPROM saving operations before you turn ON the power sup ply for the inverter e Transferring downloading a part of parameters from the CX Drive e Issuing the enter command via the Modbus communication or a communication option When the DriveProgramming program is started five tasks are started simultaneously If you create a loop construction in a task by using commands such as the goto the task will repeat the loop after it is started When the DriveProgramming program is stopped five tasks are stopped simultaneously If the program is stopped while the Motor is running the Motor will be stopped according to the setting for the Stop Selection 6091 deceleration stop or free run stop The task operations for different settings are shown below When the DriveProgramming Function Selection A017 is set to 01 Enabled Power ON Power OFF Power supply Multi function input terminal PRG terminal ON PRG terminal OFF MX2 S1 to S7 RX S1 to S8 i ee O S ian stot ne res cot ne Bat RT Task ou ERT When the DriveProgramming Function Selection A017 is set
181. tions Find and replace functions are only available in text programs You can look for or replace any charac ter strings inside the text program by using the find and replace functions To use the Find function click 4 icon or press the shortcut keys Ctrl F and select Find tab To use the Replace function click te icon or press the shortcut keys Ctrl F and select Replace tab Find and Replace window Find and Replace window Find Replace Find Replace Find what Find what Look in All text tabs Replace with w Find options Find options Find Replace i Adding Comments Text Program You can add comments to text tasks or subroutines You cannot add comments to flowchart programs To add a comment in a text line type the comment after putting a single quote mark Comments are displayed in green Example alias global Time as U 10 Timer time alias global AppTimer as TD Timer TD Halias global Temp as UL 5 Internal use Precautions for Correct Use e The comments created in a text program are deleted when the program is transferred down loaded to the inverter or compiled for program conversion To save the created comments save the program before you execute program compilation You can save the program by saving the whole project in the CX Drive or export file of the program e In the verification process the program after compilation is compared with the program
182. to 02 Enabled Power ON Power OFF Power supply Bi son ER Bse sn T Task3 i sot ET Tse Task4 son Ss a di o DriveProgramming User s Manual 1580 E1 3 Operation Procedure for DriveProgramming 3 3 5 DriveProgramming Restart You can restart the stopped program by performing the following operations When the program is restarted all tasks are started simultaneously from the beginning e When the DriveProgramming Function Selection A017 is set to 01 Enabled Start stop via multi function input PRG terminal a reset input via the control circuit terminal while the PRG terminal is ON or turning ON the PRG terminal again e When the DriveProgramming Function Selection A017 is set to 02 Enabled Start stop at power on off a reset input via the control circuit terminal or turning ON the power supply for the inverter again H Precautions for Correct Use e You cannot restart the DriveProgramming by pressing the STOP RESET key of the Digital Operator or the LCD Digital Operator optional Set one of the Multi function input terminals MX2 S1 to S7 RX S1 to S8 to 18 RS Reset and turn ON that terminal e To restart the DriveProgramming by reset input set the Reset Selection C102 to the value other than 03 Trip reset only You cannot restart the DriveProgramming when 03 Trip reset only is set e When the Reset Selection C102 is set to 00 Trip reset at power on or 01 Trip reset at power off the
183. to 6 000 Unsigned d013 1 word Use this function to monitor the output voltage The monitored data is equivalent to the data of the Out put Voltage Monitor d013 This variable is read only Function ee Default Power Input Power Monitor 0 to 9 999 0 1 kW Unsigned d014 1 word Use this function to monitor the input power The monitored data is equivalent to the data of the Input Power Monitor d014 This variable is read only Function Ge Default RUN Time Total RUN Time Monitor O to 999 000 Time Unsigned d016 2 words Use this function to monitor the total operation time The monitored data is equivalent to the data of the Total RUN Time Monitor d016 This variable is read only Function Default ON Time Total Power ON Time O to 999 000 Time Unsigned Monitor d01 7 2 words Use this function to monitor the total power ON time The monitored data is equivalent to the data of the Total Power ON Time Monitor d017 This variable is read only variable data UMon 0 to ae Monitor to 2 2 147 483 647 to Signed R W The eee s user monitor variables UMon 0 to UMon 2 are the signed 2 word variables If any data is set in the user monitor variables pre UMon 2 in the DriveProgramming program the data can be displayed through the inverter s user monitor parameters d025 d026 and d027 Use this function to externally display the calculation status of the program Function wey Defaul z i ao Description Data range Pou D
184. tput terminals Use these variables as the interface between the inverter s peripheral devices and the DriveProgramming function i Input Terminal Variables X 00 to X 07 You can use the inverter s multi function input terminals as the input terminal variables X 00 to X 07 for the DriveProgramming function by setting these multi function input terminals to the general pur pose input MI1 to MI8 You can also use the input terminal variables X 00 to X 07 as word access data which are set to the lower byte by using the variable Xw Function RE Default X 00 to Input terminal variable 0 OFF bit X 07 bit access 1 ON MX2 e The status of the multi function input terminals S1 to S7 and pulse train input RP terminal is captured and set as bit size variables This variable is read only e When the Multi function Input S1 to S7 Selection C001 to C007 are set to 56 to 62 MI1 to MIZ General purpose input and the Pulse Train Input RP Selection P003 is set to 02 MI8 Gen eral purpose input 8 for DriveProgramming the status of the input terminals S1 to S7 and the RP terminal is captured and set as the input terminal variables X 00 to X 07 of the DriveProgramming Numbers are given to the input terminal variables X 00 to X 07 according to the numerical order of the set general purpose inputs MI1 to MI7 not the terminal numbers S1 to S7 RX e The status of the multi function input terminals S1 to S8 is captured and set as bi
185. transferring to the inverter and data saving Execute compilation and check for any compilation errors in the program You can transfer the program to the inverter when the compilation is finished successfully To save the program save the whole project Or you can save the program separately by using the function that exports programs When the DriveProgramming programs exist you can transfer them to from the inverter by using Transfer to Drive or Transfer from Drive icon in the CX Drive toolbar In this case you need to select programs when a message dialog appears and asks you whether to transfer the parameters pro grams or both DriveProgramming User s Manual I580 E1 4 21 4 DriveProgramming Editor 4 8 Saving Programs There are two ways to save programs created with the DriveProgramming function as described below Select a way suitable for your purpose Saving whole CX Drive project By saving the whole project created with the CX Drive you can save all drive data including the DriveProgramming program Click File in the Menu bar select Save As and enter the file name When a saved project is opened the DriveProgramming program included in the project is automati cally loaded You can display the program by double clicking the DriveProgramming in the Workspace and start the DriveProgramming Editor F Workspace1 CX Drive Drivel Drivel 3G3RX A4015 E1F PRG44 eile Edit view Drive Too
186. ts weak the Operator cannot maintain the clock data any longer The data is maintained with the control circuit power supply while the power supply for the inverter is on How ever when the power supply is turned on again the clock data returns to the initial data 2009 1 1 THU 00 00 DriveProgramming User s Manual 1580 E1 6 DriveProgramming Commands Precautions for Safe Use If the clock command is used in the DriveProgramming an unexpected operation may occur due to weak battery of the LCD Digital Operator Take measures such as detecting a weak battery by a check that the clock data returns to the initial setting and stopping the inverter or programs When the LCD Digital Operator is removed or disconnected DriveProgramming is in a waiting status by the clock command Example Flowchart Text entry rtcset off Utg end 1 rbeset off U 00 p Co U 9 D 3 D F D O e 5 o O fe 3 3 D 5 2 O If you execute this program example on October 18th Thursday of 2012 at 2 29 P M then U 00 U 01 and U 02 will be displayed on the DriveProgramming Editor and the Digital Operator as follows Display converts hexadecimal Meaning of clock function BCD data BCD data to decimal U 00 1210 4624 12 for year 2012 10 for October U 01 1804 6148 18 for 18th day 04 for Thursday U 02 1429 5161 14 for 2 p m 29 for 29 minutes User parameter Clock function BCD data var
187. undone operation Help Displays the CX Drive help DriveProgramming User s Manual 1580 E1 4 DriveProgramming Editor 4 2 4 Toolbox Window The Toolbox window allows you to add blocks to the DriveProgramming area by drag and drop It dis plays the blocks supported for a particular command organized in categories The Toolbox is displayed when the DriveProgramming Editor is started You can also show or hide it by clicking DriveProgramming Toolbox in the View Menu The Toolbox window is displayed by default at the right side of the CX Drive You can separate the window by double clicking the title bar wide frame of the window Preprocessor Commands Program Control Commands End Tiia Golo Ont rip re Else P Select Select CaseElse Arithmetic Commands Input Output Control Commands Timer Control Commands Parameter Control Commands Inverter Control Commands You can also select its display style by right clicking on it with the mouse Three styles are available large icons small icons and list In any style a short help text will be shown when you place the mouse cursor on a block Click on any category title to display the blocks which belong to that category DriveProgramming User s Manual I580 E1 4 13 gt N U Q Oo UO lt D U Oo Q ie 3 3 gt Q m Q k Oo MOPUIM XOQ OOL y c V 4 DriveProgramming Editor 4 2 5 Block Parameters Windo
188. unexpected operation may occur Perform the operation after enough confirmation If the DriveProgramming stops during multi function output the output status is held Take safety pre cautions such as stopping peripheral devices If the clock command is used in the DriveProgramming an unexpected operation may occur due to weak battery of the LCD Digital Operator Take measures such as detecting a weak battery by a check that the clock data returns to the initial setting and stopping the inverter or programs When the LCD Digital Operator is removed or disconnected DriveProgramming is in a waiting status by the clock command When using the DriveProgramming check that program data is downloaded successfully before starting operation DriveProgramming User s Manual 1580 E1 Regulations and Standards Regulations and Standards To export or provide to nonresident aliens any part of this product that falls under the category of goods or technologies for which an export certificate or license is mandatory according to the Foreign Exchange and Foreign Trade Control Law of Japan an export certificate or license or service transac tion approval according to this law is required Trademarks Windows Windows XP Windows Vista and Windows 7 are registered trademarks of Microsoft Corpo ration in the USA and other countries DriveProgramming User s Manual I580 E1 15 Related Manuals Related Manuals You need informat
189. urned ON e When the DriveProgramming Function Selection A017 is set to 02 Enabled Start stop at power on off The program starts when the power supply for the inverter is turned ON g amp U O Q Q 3 0 r Cc O Cc p Stop e When the DriveProgramming Function Selection A017 is set to 01 Enabled Start stop via multi function input PRG terminal The program stops when the multi function input terminal set to PRG is turned OFF e When the DriveProgramming Function Selection A017 is set to 02 Enabled Start stop at power on off The program stops when the power supply for the inverter is turned OFF Also regardless of the A017 setting the DriveProgramming program stops if any of E43 to E45 trips is detected due to an program error or when the end command is executed in all tasks Precautions for Safe Use When the DriveProgramming program is stopped the status before the program stop is retained for multi function outputs controlled by the DriveProgramming For this reason configure the system so that the stop of the DriveProgramming program in the inverter can be detected by the DriveProgramming start signal and the alarm trip signal and the inverter s peripheral devices can be stopped safely uolesedoO yse pue dojs uels BulmwesbolgsAuq v E i Precautions for Correct Use The following are the status of function variables when the DriveProgramming program is stopped
190. ut terminal with this setting Selection DriveProgramming User s Manual 1580 E1 3 Operation Procedure for DriveProgramming 3 2 Parameters Related to DriveProgramming This section describes the inverter parameters that are related to the DriveProgramming fl Selecting DriveProgramming Functions Set the DriveProgramming Function Selection A017 to Enabled 01 or 02 to use the DriveProgramming function You can change the DriveProgramming Function Selection A017 even when the operation is in progress Parameter ae A017 DriveProgramming 00 Disabled default setting Disables the DriveProgramming function Function Selection Programs are not executed If you change the setting to 00 Disabled during program execution the program will be stopped Enabled Start stop via Starts the DriveProgramming program multi function input PRG when the multi function input terminal terminal which is set to 82 PRG is turned ON Enabled Starts the DriveProgramming program Start stop at power on off automatically after the inverter power sup ply is turned on If you change the setting to 02 Enabled while the program is stopped the program will be started C001 to MX2 and RX PRG When the DriveProgramming Function C007 Multi function Input S1 DriveProgramming start Selection A017 is set to 01 Enabled to S7 Selection Start stop via multi function input PRG ter C008 RX only minal the program is started via
191. variable DECEL is out of range or 0 is set for the 3G3RX V1 Series Inverter y Precautions for Correct Use When the DriveProgramming program is stopped the data of the acceleration time variable ACCEL and deceleration time variable DECEL before the program stop is retained When the program execution is started again the process begins with the retained data DriveProgramming User s Manual I580 E1 5 13 5 DriveProgramming User Variables 5 5 Inverter Monitor Variables You can use the inverter s internal monitor function and status monitor function as the variables of the DriveProgramming function For details on each monitor function refer to the Multi function Compact Inverter MX2 Series Type V1 User s Manual 1585 or the High function General purpose Inverter 3G3RX Series Type V1 User s Manual 1578 Note that the data unit used for the inverter may be different from that for DriveProgramming Be sure to use the following units MX2 and RX Tune noe Description Data range Peran Data size R W variable data FM Output Frequency Monitor O to 40 000 0 01 Hz Unsigned R d001 1 word Use this function to monitor the inverter output frequency The monitored data is equivalent to the data of the Output Frequency Monitor d001 This variable is read only e Lon Description Data range veut Data size R W variable data lout Output Current Monitor 0 to 9 999 0 1 Unsigned R d002 1 word Use this function to monitor the inverter
192. variable Reference FREF Frequency command source R C001 to C007 58 REF RUN command source R C001 to C007 59 SETM Motor 2 selection R C001 to C007 60 EDM Safety device monitor R_ C001 to C007 62 p J z om 5 O 5 O z r 5 z lt D D z D o RX only Function variable Reference IP Signal during momentary power interruption R C021 to C026 08 02D Analog FE disconnection detection R 002110 C026 29 LOG 4 Logic operation ouput4 R oo2tio 0B 36 LOG 5 Logic operation outputs R C021 YO C0 37 LOG 6 Logic operation outputs R 0021o 028 38 wor Window comparator FE __R__ C02t to 0026 56 DriveProgramming User s Manual I580 E1 5 21 5 DriveProgramming User Variables DriveProgramming User s Manual 1580 E1 DriveProgramming Commands This section describes the commands provided for DriveProgramming 6 1 Command Categories ccc es 6 2 6 2 Command Format aaaasanannnnnnnnnnnnnnnnnnnnnnnnnnnnnnn 6 3 6 3 Command List i630 vs 0ec peeks eee wai ee ete bee ee tale eude 6 4 6 4 Program Control Commands 000c cee eee eee 6 10 6 5 Four Arithmetic Operation and Logical Operation Commands 6 23 6 6 I O Control Commands 000 c eee ees 6 36 6 7 Timer Control Commands 00 00 e eee ees 6 46 6 8 Parameter Control Commands 002 002 e eee eee eee 6 52 6 9 Inverter Control Comman
193. veProgramming program is stopped the data of the frequency reference variable before the program stop is retained When the program execution is started again the process begins with the retained data DriveProgramming User s Manual I580 E1 6 59 p co lt D O fo gt F o O e 3 3 gt 2 6 DriveProgramming Commands Example Flowchart Text Q gt entry entry Top select Mw case 1 1 Top La ele FW 1 case 2 2 ki SET Freq 1580 F case else 3 hi stop LLI goto Top end E hd SET Freg 1500 T T Ld m 2 Ld T 4 Ld LLI 10 bd LLI 11 Li Ea i Go to Top g Hest Block Ro Fr i In the above example if the general input contact Xw is 1 the motor runs at 10 Hz in the forward direc tion If the general input contact Xw is 2 the motor runs at 15 Hz in the reverse direction With other val ues the motor stops Block number 1 2 to 4 5 to 7 8 to 10 11 Operation After the select command the program branches to the following case commands depending on the value of Xw Branches to the case 1 if Xw 1 to the case 2 if Xw 2 and to the case else if Xw a value other than 1 and 2 Executes if Xw 1 Sets the frequency reference variable to 10 00 Hz operates the inverter in the forward direction and executes the next steps after the endselect command Executes if Xw 2 Sets the frequency
194. w The Block Parameters window allows you to edit DriveProgramming user parameters which act as vari ables of the program The displayed parameters are organized in categories The Block Parameters is displayed when the DriveProgramming Editor is started You can also show or hide it by clicking DriveProgramming Block Parameters in the View Menu The Block Parameters window is displayed by default at the right side of the CX Drive You can separate the window by double clicking the title bar wide frame of the window Block Parameters User Parameters Lu hon Pilz Pio Pil Pi0sS Pi06 Eales Pi06 0 0 0 0 0 0 0 0 0 Es Drive Programming User parameters Set range is 0 to 65535 Note Saving this parameter will save all Drive Programming data To change the value of a parameter place the cursor at its row and click on the edition box to the right of its number Enter the new value A warning will be displayed if the entered value exceeds the valid range At the lower part of the window a help text for the user parameters is displayed DriveProgramming User s Manual I580 E1 4 DriveProgramming Editor 4 2 6 Properties Window The Properties window allows you to edit the properties of the block which is currently selected in the flowchart program The Properties is displayed when the DriveProgramming Editor is started You can also show or hide it by clicking DriveProgramming Properties i

Download Pdf Manuals

image

Related Search

Related Contents

PRO3000TM  Cisco Systems C819GUK9 Router User Manual    /″ VL勁脇 勅 解 - Fujikura Fusion Splicer  iPad 2 - ISBN 978-3-8272-4706-3  La poche au quotidien  IAN 60308 - Kompernass  Doro HandlePlus 334gsm 95g White  EBF-615 & EBF-650 Installation Instructions - French  Bedienungsanleitung PDF Tiptel 274  

Copyright © All rights reserved.
Failed to retrieve file