Omron 3G3MX2 Series User Manual
Omron 3G3MX2 Series User Manual

Omron 3G3MX2 Series User Manual

Drive programming
Show thumbs Also See for 3G3MX2 Series:
Table of Contents
Omron 3G3MX2 Series User Manual
Table of Contents
loading

Summary of Contents for Omron 3G3MX2 Series

  • Page 1 At the end of this document you will find links to products related to this catalog. You can go directly to our shop by clicking HERE. HERE...
  • Page 2 Inverter MX2/RX/LX Series Drive Programming User’s Manual 3G3MX2 Series 3G3RX Series 3G3LX Series CX-Drive I580-E2-01...
  • Page 3 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.
  • Page 4: Introduction

    Introduction Introduction Thank you for purchasing the Inverter/Servo support tool CX-Drive and 3G3MX2/3G3RX/3G3LX Series Inverter. This manual describes the specifications and operating methods of the Drive Programming for the inverter. When you use this product, refer to the MX2 Series User's Manual (I570-E2) or the RX User's Manual (I560-E2), besides the CX-Drive Operation Manual (W453).
  • Page 5: Manual Configuration

    Manual Configuration Manual Configuration This manual is compiled section by section for user's convenience as follows. Section Overview This section describes an overview and the system configuration Section 1 Overview of the Drive Programming. Section 2 Specifications This section describes the specifications of the Drive Programming. Operation Procedure for Drive This section describes the operation procedure of the Drive Section 3...
  • Page 6: Manual Structure

    Manual Structure Manual Structure Page Structure The following page structure and symbol icons are used in this user's manual. Level 1 heading 8 Errors and Remedies Level 2 heading 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.
  • Page 7: Special Information

    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. Precautions for Correct Use Precautions on what to do and what not to do to ensure proper operation and performance. Additional Information Additional information to read as required.
  • Page 8: Sections In This Manual

    Sections in this Manual Sections in this Manual Overview Specifications Operation Procedure for Drive Programming Drive Programming Editor Drive Programming User Variables Drive Programming Commands Precautions for Use of Parameters for Drive Programming Errors and Remedies LX inverter Drive Programming User’s Manual (I580-E2)
  • Page 9: Table Of Contents

    CONTENTS CONTENTS Introduction ......................1 Manual Configuration ....................2 Manual Structure ...................... 3 Sections in this Manual ................... 5 CONTENTS........................ 6 Terms and Conditions Agreement ................9 Safety Precautions ....................10 Precautions for Safe Use..................12 Regulations and Standards ................... 13 Related Manuals .....................
  • Page 10: Contents

    CONTENTS Section 4 Drive Programming Editor Starting Drive Programming Editor ..................4-2 Parts of Drive Programming Editor..................4-6 4-2-1 Drive Programming Editor ......................4-6 4-2-2 Toolbar ............................4-6 4-2-3 Drive Programming Area ......................4-9 4-2-4 Toolbox Window........................4-13 4-2-5 Block Parameters Window......................4-14 4-2-6 Properties Window........................
  • Page 11 CONTENTS Section 7 Precautions for Use of Parameters for Drive Programming Inverter Parameters Affected by Setting Order ..............7-2 Parameters Affected by Rated Current [%] ................. 7-4 Parameters Affected by PID Enabled/Disabled ..............7-5 Section 8 Errors and Remedies Troubleshooting ........................8-2 8-1-1 Drive Programming Operation on Error ..................
  • Page 12: Terms And Conditions Agreement

    OMRON will replace defective media without charge. If OMRON is unable to replace defective media or correct the Software, the liability of OMRON and the User’s remedy shall be limited to the refund of the license fee paid to OMRON for the Software.
  • Page 13: Safety Precautions

    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 Drive Programming. 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...
  • Page 14 Safety Precautions WARNING Turn off the power supply and implement wiring correctly. Not doing so may result in a serious 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.
  • Page 15: Precautions For Safe Use

    Precautions for Safe Use Precautions for Safe Use Operation and Adjustment • If a parameter is set incorrectly when starting up, adjusting, maintaining, or replacing, an unexpected operation may occur. Perform the operation after enough confirmation. • If the Drive Programming stops during multi-function output, the output status is held. Take safety precautions such as stopping peripheral devices.
  • Page 16: Regulations And Standards

    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.
  • Page 17: Related Manuals

    Related Manuals Related Manuals You need information on the devices connected for operating this product. Please see the manuals below for related product information. Name Catalog number MX2 User's Manual I570-E2 RX User's Manual I560-E2 CX-Drive Operation Manual W453 Additional Information For the inverter operation, refer to the MX2 User's Manual (I570-E2) or the RX User's Manual (I560-E2).
  • Page 18: Revision History

    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 I580-E2-01 Cat.No. Revision code Revision code Revision date Revised Content August 2014 Original production Drive Programming User’s Manual (I580-E2)
  • Page 19 Revision History Drive Programming User’s Manual (I580-E2)
  • Page 20: Overview

    Overview This section describes an overview and the system configuration of the Drive Programming. 1-1 Overview of Drive Programming ....... . . 1-2 1-2 Preparation and System Configuration .
  • Page 21: Overview Of Drive Programming

    LCD Digital Operator, you can create programs that use the LCD Digital Opera- tor’s clock function. You cannot connect the 3G3MX2 Series Inverters with the LCD Digital Operator (Model: 3G3AX-OP05). Therefore, the clock function is not available.
  • Page 22 1 Overview 3G3MX2 Series Inverter Monitoring software CX-Drive Ver. 2.7 or higher Connect directly (Drive Programming) or via communications Programming Transmission Creation, editing and saving of user programs Upload Ver. 2.0 or later Compilation 3G3RX Series Inverter Download User Programs...
  • Page 23: Preparation And System Configuration

    Windows Vista and Windows 7 • The CX-Drive requires the following versions. MX2: Version 2.8 or higher for 3G3MX2 Series Inverter RX: Version 2.7 or higher for 3G3RX Series Inverter (The CX-Drive is included in the FA Integrated Tool Package, CX-One.) •...
  • Page 24 1 Overview Additional Information For how to install or upgrade the CX-Drive, refer to the CX-Drive Operation Manual (W453). EtherCAT/CompoNet/DeviceNet Communications The CX-Drive can be connected to the inverter via communication through the Position Control Unit (Model: CJ1W-NC82) of EtherCAT master, CompoNet Master Unit (Model: CJ1W-CRM21/CS1W-CRM21), or DeviceNet Unit (Model: CJ1W-DRM21/CS1W-DRM21-V1) mounted to the programmable controller.
  • Page 25 1 Overview 1 - 6 Drive Programming User’s Manual (I580-E2)
  • Page 26: Specifications

    Specifications This section describes the specifications of the Drive Programming. 2-1 Specifications ..........2-2 2 - 1 Drive Programming User’s Manual (I580-E2)
  • Page 27 2 Specifications Specifications The following table shows the specifications related to the Drive Programming. Item Specifications Program specifica- Programming lan- Flowchart and text language method tions guage Input device Windows personal computer (OS: Windows XP-SP3, Windows Vista, or Windows 7) Program capacity 1,024 steps max.: 6 KB (1,024 steps max.
  • Page 28 2 Specifications Item Specifications Commands Program control com- • Loop ("for") mands • Unconditional branch ("goto") • Time control ("wait") • Conditional branch ("if then", "ifs then", "select case", "until", "while") • Subroutine ("call", "sub") • Others ("entry", "end", "inc", "dec") •...
  • Page 29: Inverter Are Available

    2 Specifications Item Specifications Function variable Multi-function output The function options of the Multi-function Output P1 Selection (C021) for the variable 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, OIDc, FBV, NDc, LOG1, LOG2, LOG3, WAC, WAF, FR, OHF, LOC, IRDY, FWR, RVR, MJA, WCO, and WCOI...
  • Page 30: Operation Procedure For Drive Programming

    Operation Procedure for Drive Programming This section describes the operation procedure of the Drive Programming, related parameters, and program structures. 3-1 Operation Procedure ......... . . 3-2 3-2 Parameters Related to Drive Programming .
  • Page 31: Operation Procedure

    3 Operation Procedure for Drive Programming Operation Procedure The following figure shows the flow of procedure from programming to executing programs with the Drive Programming. Item Reference Programming P. 3-3 Compiling Programs P. 3-3 Downloading Programs P. 3-4 Selecting Drive Programming Functions P.
  • Page 32 3 Operation Procedure for Drive Programming 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 Drive Programming Editor in CX-Drive to input user programs. Drive Programming Editor consists of the Drive Programming area, Toolbox window, Block Parameter window, Properties window, and Output window.
  • Page 33 3 Operation Procedure for Drive Programming 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).
  • Page 34: Parameters Related To Drive Programming

    3 Operation Procedure for Drive Programming Parameters Related to Drive Program- ming This section describes the inverter parameters that are related to the Drive Programming. Selecting Drive Programming Functions Set the Drive Programming Function Selection (A017) to Enabled (01 or 02) to use the Drive Program- ming function.
  • Page 35 3 Operation Procedure for Drive Programming RUN Command Selection Setting Use FW (forward) and RV (reverse) variables to control RUN commands through the Drive Programming program. Be sure to set the RUN Command Selection (A002/A202) to 01 (Control circuit terminal block) when you use FW or RV variable.
  • Page 36 3 Operation Procedure for Drive Programming Setting Inverter I/O Functions In the Drive Programming, 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 Drive Programming.
  • Page 37 3 Operation Procedure for Drive Programming Precautions for Correct Use • 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).
  • Page 38 3 Operation Procedure for Drive Programming Precautions for Correct Use • 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).
  • Page 39 3 Operation Procedure for Drive Programming Monitor Function of Drive Programming The following functions are provided to monitor the status of the Drive Programming. Precautions for Correct Use • For the data that exceeds four digits, the upper four digits of the data is displayed on the Dig- ital Operator, as shown below.
  • Page 40 3 Operation Procedure for Drive Programming User Parameters of Drive Programming Up to 32 parameters are provided as the user parameters for the Drive Programming. Use these parameters for various purposes such as program initial data setting, parameter for adjust- ment, and saving calculation results.
  • Page 41 3 Operation Procedure for Drive Programming Parameter Function name Data Description P114 Drive Programming 0 to 65,535 • These user parameters correspond to the function variables U(00) to U(28). User Parameter U14 • You can change the data by using the P115 Drive Programming Digital Operator.
  • Page 42: Program Structure

    3 Operation Procedure for Drive Programming Program Structure In the Drive Programming for 3G3MX2/3G3RX 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.
  • Page 43 3 Operation Procedure for Drive Programming • As shown in Task 2, if the “end” command is executed, the task will be finished and wait for the next start. • As shown in Task 3, if the “wait” command is executed, the task will be repeatedly executed until a certain condition is met.
  • Page 44: Drive Programming Start/Stop And Task Operation

    3 Operation Procedure for Drive Programming 3-3-4 Drive Programming Start/Stop and Task Operation You set the start/stop method of the Drive Programming programs in the Drive Programming Function Selection (A017).  Start • When the Drive Programming 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 turned ON.
  • Page 45 3 Operation Procedure for Drive Programming When the Drive Programming function is started/stopped through the CX-Drive, the value of the inverter parameter, Drive Programming 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 Drive Programming function through the CX-Drive.
  • Page 46: Drive Programming Restart

    3 Operation Procedure for Drive Programming 3-3-5 Drive Programming 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. • When the Drive Programming 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.
  • Page 47: Task Operation On Trip

    3 Operation Procedure for Drive Programming 3-3-6 Task Operation on Trip Basically, even if the inverter detects a trip during the Drive Programming operation, the operation is continued. However, if any of E43 to E45 trips related to the Drive Programming is detected, the opera- tion is stopped.
  • Page 48 Drive Programming Editor This section describes how to start the Drive Programming Editor, saving and loading data, and details on parts of the Editor. 4-1 Starting Drive Programming Editor ....... 4-2 4-2 Parts of Drive Programming Editor .
  • Page 49: Drive Programming Editor

    • A password is required when you start the Drive Programming Editor in the CX-Drive for the first time. Please contact your OMRON representative. CX-Drive and Drive Programming Editor Screen Layout The Drive Programming Editor is included as one of the functions of the support tool for the Inverter/Servomotor, CX-Drive.
  • Page 50 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.
  • Page 51 4 Drive Programming 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 Selection] to the port name of the computer on which the CX-Drive is installed.
  • Page 52 4 Drive Programming Editor Starting Drive Programming Editor There are three ways to display the Drive Programming Editor: • Double click the [Drive Programming] in the workspace. • Click button on the CX-Drive toolbar. • From the [Drive] Menu, select [Program] - [Program Editor]. Precautions for Correct Use To start the Drive Programming Editor for the first time after you started the CX-Drive, a pass- word is required.
  • Page 53: Parts Of Drive Programming Editor

    4 Drive Programming Editor Parts of Drive Programming Editor This section provides the detailed information on each function of the Editor and windows related to the Drive Programming in the CX-Drive. 4-2-1 Drive Programming Editor The Drive Programming Editor is the main widow for the Drive Programming function. Toolbar Drive Programming area This window consists of the toolbar in which common commands are included and the Drive Program-...
  • Page 54 4 Drive Programming Editor Command Icon Description Transfer to Drive Compiles the program and, if there are no errors, transfers (downloads) it to the drive (inverter). Transfer from Drive Transfers (uploads) the program from the drive (inverter) to the Drive Programming Editor. Compile Compiles the program in the Drive Programming area.
  • Page 55 4 Drive Programming Editor Command Icon Description Vertical Align Bottom Aligns vertically the bottoms of the currently selected blocks Orientation Selects an orientation for connecting the blocks 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 Show...
  • Page 56: Drive Programming Area

    4 Drive Programming Editor Command Icon Description Convert Flowchart to Text Converts current flowchart task/subroutine to text. Convert whole program to Converts whole program to text. Text  Shortcut keys You can use the following keyboard shortcuts in the Drive Programming area. Shortcut Description Ctrl ...
  • Page 57 4 Drive Programming Editor 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.
  • Page 58 4 Drive Programming Editor If you right-click on a flowchart block, a popup menu with more options will appear. 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.
  • Page 59 4 Drive Programming Editor 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.
  • Page 60: Toolbox Window

    4 Drive Programming Editor 4-2-4 Toolbox Window The Toolbox window allows you to add blocks to the Drive Programming area by drag and drop. It dis- plays the blocks supported for a particular command, organized in categories. The Toolbox is displayed when the Drive Programming Editor is started. You can also show or hide it by clicking [Drive Programming] - [Toolbox] in the [View] Menu.
  • Page 61: Block Parameters Window

    4 Drive Programming Editor 4-2-5 Block Parameters Window The Block Parameters window allows you to edit Drive Programming user parameters which act as variables of the program. The displayed parameters are organized in categories. The Block Parameters is displayed when the Drive Programming Editor is started. You can also show or hide it by clicking [Drive Programming] - [Block Parameters] in the [View] Menu.
  • Page 62: Properties Window

    4 Drive Programming 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 Drive Programming Editor is started. You can also show or hide it by clicking [Drive Programming] - [Properties] in the [View] Menu.
  • Page 63: Error List Tab In Output Window

    4 Drive Programming Editor 4-2-7 Error List Tab in Output Window The list of errors related to the Drive Programming 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 Drive Programming Editor after it is compiled.
  • Page 64: Adding, Deleting And Renaming Tasks

    4 Drive Programming Editor Adding, Deleting and Renaming Tasks The Drive Programming 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 Drive Programming Editor, and select [New Task (flowchart)] or [New Task (text)].
  • Page 65: Inserting, Deleting And Calling Subroutines

    4 Drive Programming Editor Inserting, Deleting and Calling Subroutines To insert 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 Drive Programming Editor.
  • Page 66: Creating Flowchart Programs

    4 Drive Programming Editor Creating Flowchart Programs When you create a Drive Programming program, you can select flowchart or text for each task or subrou- tine. Follow the steps described below to create a flowchart program. Open the Drive Programming Editor. The Drive Programming auxiliary windows (Toolbox, Block Parameters, Properties and Error List tab) are displayed automatically.
  • Page 67: Creating Text Programs

    4 Drive Programming Editor Creating Text Programs When you create a Drive Programming program, you can select flowchart or text for each task or subrou- tine. Follow the steps described below to create a text program. Open the Drive Programming Editor. The Drive Programming auxiliary windows (Toolbox, Block Parameters, Properties and Error List tab) are displayed automatically.
  • Page 68: Editing Transferred (Uploaded) Programs

    4 Drive Programming Editor 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. Open the Drive Programming Editor. The Drive Programming auxiliary windows (Toolbox, Block Parameters and Properties) are dis- played automatically.
  • Page 69: Saving Programs

    4 Drive Programming Editor Saving Programs There are two ways to save programs created with the Drive Programming 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 Drive Programming program.
  • Page 70 4 Drive Programming Editor  Saving Dive Programming program by export You can save a Drive Programming 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.
  • Page 71: Transferring And Verifying Programs

    4 Drive Programming Editor Transferring and Verifying Programs Program transfer and verification are possible between the inverter and the Drive Programming func- tion of the CX-Drive. At the same time, you can also execute parameter transfer and verification. Transfer (from PC to Inverter) The created programs are compiled (program-checked) and transferred (downloaded) to the inverter if there is no error.
  • Page 72: Executing Programs (Drive Programming Function Selection)

    4 Drive Programming Editor 4-10 Executing Programs (Drive Program- ming Function Selection) There are two ways to execute programs after you transferred (downloaded) them to the inverter as described below. Executing Program via CX-Drive Executing via CX-Drive is a convenient way to debug the created program. icon in the toolbar of the Drive Programming Editor to start the program.
  • Page 73 4 Drive Programming Editor Parameter Function name Data Description C001 to MX2 and RX: 82: PRG When the Drive Programming Function C007 Multi-function Input S1 (Drive Programming start) Selection (A017) is set to 01 (Enabled: to S7 Selection Start/stop via multi-function input PRG termi- nal), the program is started via the C008 RX only:...
  • Page 74 4 Drive Programming 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.
  • Page 75: 4-11 Other Useful Functions

    4 Drive Programming Editor 4-11 Other Useful Functions 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.
  • Page 76 4 Drive Programming Editor Find and Replace Functions 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. icon or press the shortcut keys Ctrl  F and select [Find] tab. To use the Find function, click icon or press the shortcut keys Ctrl ...
  • Page 77 4 Drive Programming Editor 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.
  • Page 78 4 Drive Programming Editor 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.
  • Page 79 4 Drive Programming Editor 4 - 32 Drive Programming User’s Manual (I580-E2)
  • Page 80: Drive Programming User Variables

    Drive Programming User Variables This section describes the user variables provided for Drive Programming. 5-1 User Variables and User Parameters ......5-2 5-2 Input/Output Terminal Variables .
  • Page 81: User Variables And User Parameters

    5 Drive Programming User Variables 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.
  • Page 82 5 Drive Programming User Variables Precautions for Correct Use When the Drive Programming 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. Internal User Variables UL(00) to UL(07) The Drive Programming's internal user variables UL(00) to UL(07) are the signed 2-word variables.
  • Page 83 5 Drive Programming User Variables Function Default Description Data range Unit Data size variable data  Internal user contact 0 to 255 Unsigned 1 word (word access) • 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.
  • Page 84: Input/Output Terminal Variables

    5 Drive Programming User Variables Input/Output Terminal Variables This section describes the variables provided for using the following inverter terminals for the Drive Programming function: Multi-function input terminals, multi-function output terminals, multi-function relay outputs, analog input terminals, and analog output terminals. Use these variables as the interface between the inverter's peripheral devices and the Drive Programming function.
  • Page 85 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. • The maximum number of the general-purpose outputs for the 3G3MX2 Series Inverter is three (MO1 to MO3).
  • Page 86 5 Drive Programming User Variables Setting for Multi-function Output Selection Function variable (MX2: C021, C022 and C026/RX: C021 to C026) Y(00) MX2 and RX 44: MO1 Y(01) MX2 and RX 45: MO2 Y(02) MX2 and RX 46: MO3 Y(03) RX only 47: MO4 Y(04) RX only 48: MO5 Y(05)
  • Page 87 5 Drive Programming User Variables 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 Drive Programming function.
  • Page 88 5 Drive Programming User Variables Function Default Description Data range Unit Data size variable data YA(0) MX2 and RX: 0 to 10,000 0.01% Unsigned 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: 0 to 10 V...
  • Page 89: Timer Variables

    5 Drive Programming User Variables Timer Variables This section describes the timer variables provided for the Drive Programming's timer control com- mands. 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 Drive Programming.
  • Page 90 5 Drive Programming User Variables Function Default Description Data range Unit Data size variable data Timer output contact 0 to 255 0.01 Hz Unsigned 1 word (word access) • 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.
  • Page 91: Inverter Setting Variables

    5 Drive Programming User Variables 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 Drive Programming program. Frequency Reference Variable SET-Freq When you directly control the frequency reference by the Drive Programming function, set the inverter's parameter Frequency Reference Selection to 07 (Drive Programming) to enable the frequency refer- ence variable SET-Freq.
  • Page 92 5 Drive Programming User Variables Acceleration/deceleration Time Variables ACCEL and DECEL When you directly control the acceleration/deceleration time of the frequency reference by the Drive Programming function, set the inverter's parameter Acceleration/Deceleration Time Input Type (P031) to 03 (Drive Programming) to enable the acceleration time variable ACCEL and the deceleration time variable DECEL.
  • Page 93: Inverter Monitor Variables

    5 Drive Programming User Variables Inverter Monitor Variables You can use the inverter's internal monitor function and status monitor function as the variables of the Drive Programming function. For details on each monitor function, refer to the MX2 User's Manual (I570-E2) or the RX User's Manual (I560-E2).
  • Page 94 5 Drive Programming User Variables Function Default Description Data range Unit Data size variable data 200 to 200  Tmon Output Torque Monitor 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).
  • Page 95 5 Drive Programming User Variables Function Default Description Data range Unit Data size variable data  ERR-CNT Fault Counter (d080) 0 to 65,535 Times Unsigned 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).
  • Page 96: Multi-Function Input Variables

    5 Drive Programming User Variables Multi-function Input Variables You can execute the functions allocated to the multi-function input terminals by the Drive Programming 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.
  • Page 97: Mx2 Only

    5 Drive Programming User Variables Function variable Description Reference C001 to C008  14 Commercial switching C001 to C008  15 Soft lock C001 to C008  16 (Analog input switching) C001 to C008  18 Reset C001 to C008  20 3-wire start C001 to C008 ...
  • Page 98: Rx Only

    5 Drive Programming User Variables  RX only Function variable Description Reference C001 to C008  17 SET3 3rd Control C001 to C008  26 Control gain switching C001 to C008  43 P/PI switching C001 to C008  45 Orientation C001 to C008 ...
  • Page 99: Multi-Function Output Variables

    5 Drive Programming User Variables Multi-function Output Variables You can execute the functions which can be allocated to the multi-function output terminals by using the Drive Programming 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.
  • Page 100 5 Drive Programming User Variables Function variable Description Reference C021 to C026  43 Low current signal C021 to C026  50 IRDY Operation ready C021 to C026  51 Forward run signal C021 to C026  52 Reverse run signal C021 to C026 ...
  • Page 101 5 Drive Programming User Variables 5 - 22 Drive Programming User’s Manual (I580-E2)
  • Page 102: Drive Programming Commands

    Drive Programming Commands This section describes the commands provided for Drive Programming. 6-1 Command Categories ......... . 6-2 6-2 Command Format .
  • Page 103: Command Categories

    6 Drive Programming Commands Command Categories The commands are divided into the following categories. • Program control commands • Arithmetic operation and logical operation commands • I/O control commands • Timer control commands • Parameter control commands • Inverter control commands 6 - 2 Drive Programming User’s Manual (I580-E2)
  • Page 104: Command Format

    6 Drive Programming Commands Command Format Each command consists of the command and its arguments (0 up to 5). An example is shown below. Command Argument 1 Argument 2 Argument 3 Argument 4 Argument 5 Description entry Indicates the begin- ning of the program.
  • Page 105: Command List

    6 Drive Programming Commands Command List Program Control Commands Command Argument 1 Argument 2 Argument 3 Argument 4 Argument 5 Description entry Indicates the begin- ning of the task. Indicates the end of the task. call Jumps to .
  • Page 106: Additional Information

    6 Drive Programming Commands Command Argument 1 Argument 2 Argument 3 Argument 4 Argument 5 Description select mands after the “case” command when is equal to . case ...
  • Page 107 6 Drive Programming Commands Conditions Command Argument 1 Argument 2 Argument 3 Argument 4 Argument 5 Description  Condition constant> 1/constant> is equal to . ...
  • Page 108 6 Drive Programming Commands Command Argument 1 Argument 2 Argument 3 Argument 4 Argument 5 Description :  Remainder for constant> 2/constant> by and assigns the remainder to .
  • Page 109: Timer Control

    6 Drive Programming Commands Command Argument 1 Argument 2 Argument 3 Argument 4 Argument 5 Description :  Output termi- Y(**) output terminal Y(**) in output units of bits. 0  off, 1  on : ...
  • Page 110 Operator to . *1. The “rtcset” command is provided only for the 3G3RX Series Inverter. The 3G3MX2 Series Inverters cannot use the “rtcset” command because they do not connect with the LCD Digital Oper- ator (Model: 3G3AX-OP05). Inverter Control Commands...
  • Page 111: Program Control Commands

    6 Drive Programming Commands Program Control Commands Entry Command Description Argument Indicates the beginning of the task. Format Flowchart method Text language method entry entry  Note It is necessary to have this command at the begging of each task. Command Description Argument...
  • Page 112 6 Drive Programming Commands Command Description Argument Indicates the beginning of the subroutine. Format Flowchart method Text language method  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. Format Flowchart method Text language method...
  • Page 113 6 Drive Programming Commands  Example Flowchart Text Main Main Main: RunFW Main: RunRV Main: RunFW Main: RunRV Block number Operation 1 and 2 Sets the inverter output frequency to 60.00 Hz and changes the internal user contact UB(0) to ON. 3 to 7 If UB(0) is ON, it executes the subroutine RunFW.
  • Page 114 6 Drive Programming Commands Go To Command Description Argument Jumps to
  • Page 115 6 Drive Programming Commands On Trip Command Description Argument Jumps to
  • Page 116 6 Drive Programming Commands Command Description Argument Jumps to
  • Page 117 6 Drive Programming Commands Ifs/Else/End If Command Description Argument If is met, it executes right after this command until the “else” com- or constants with the format mand, and goes to the next step after the “endif”...
  • Page 118 6 Drive Programming Commands Select/Case/Case Else/EndSelect Command Description Argument Allows the execution of multiple program sections Condition variable: a condition variable you use depending on the variable value. Executes when matches (range 128 to 127) ...
  • Page 119 6 Drive Programming Commands For/Next Command Description Argument Executes repeatedly until started with reaches . In every time of execution, ...
  • Page 120 6 Drive Programming Commands While/Wend Command Description Argument Executes while a condition is Condition: a comparison between two variables met. or constants with the format . • Left hand value: any variable or constant (range 128 to 127) •...
  • Page 121 6 Drive Programming Commands Until/Loop Command Description Argument Executes until is Condition: a comparison between two variables met. or constants with the format . • Left hand value: any variable or constant (range 128 to 127) •...
  • Page 122 6 Drive Programming Commands Wait Command Description Argument Value: any variable or constant (specified time  Makes the program wait for specified seconds or until a condition is met. 10 ms) Wait time value (0 to 32767 10 ms) Condition: a comparison between two variables or constants with the format ...
  • Page 123 6 Drive Programming Commands  A program example in which the condition to end the wait state is set in : the program waits until the condition is met. Flowchart Text Block number Operation Waits until X(00) changes to 1. 2 to 3 Adds 1 to U(00) and jumps to the block 1: loop_ unconditionally.
  • Page 124: Arithmetic Operation And Logical Operation Commands

    6 Drive Programming Commands Arithmetic Operation and Logical Operation Commands  (Substitution) Command Description Argument Assigns to . Result: any variable Value: any variable or constant (range 2,147,483,648 to 2,147,483,647) Format Flowchart method Text language method :  ...
  • Page 125 6 Drive Programming Commands  (Addition) Command Description Argument Adds and . 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 ...
  • Page 126 6 Drive Programming Commands  (Subtraction) Command Description Argument Subtracts from . 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 ...
  • Page 127 6 Drive Programming Commands * (Multiplication) Command Description Argument Multiplies by . 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 ...
  • Page 128 6 Drive Programming Commands / (Division) Command Description Argument Divides by . 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 ...
  • Page 129 6 Drive Programming Commands Mod (Modulo-division) Command Description Argument Remainder for division of by . 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...
  • Page 130 6 Drive Programming Commands Abs (Absolute value) Command Description Argument Finds the absolute value of . Result: any variable Value: any variable or constant (Range 2,147,483,647 to 2,147,483,647) Format Flowchart method Text language method :  abs ...
  • Page 131 6 Drive Programming Commands And (Logical AND) Command Description Argument Logical AND on and in Result: any variable binary format Value 1: any variable or constant and (Logical AND) (range 128 to 127) Value 2: any variable or constant Value 1 Value 2 Result...
  • Page 132 6 Drive Programming Commands Or (Logical OR) Command Description Argument Logical OR on and in Result: any variable binary format Value 1: any variable or constant or (Logical OR) (range 128 to 127) Value 2 : any variable or constant Value 1 Value 2 Result...
  • Page 133 6 Drive Programming Commands XOr (Logical exclusive OR) Command Description Argument Logical exclusive OR on and in binary format. Value 1: any variable or constant XOr (Logical exclusive OR) (range 128 to 127) Value 2: any variable or constant Value 1 Value 2...
  • Page 134 6 Drive Programming Commands Not (Negation in binary format) Command Description Argument Negation on in binary format (bit Result: any variable except variables with bit reversal) data size not (Negation) Value: any variable except variables and con- stants with bit data size Value 1 Result (range 2,147,483,648 to 2,147,483,647)
  • Page 135 6 Drive Programming Commands Inc (Increment by 1) Command Description Argument Increments by 1. Value: any variable Format Flowchart method Text language method inc inc  Note If an overflow or underflow occurs, the Drive Programming detects it as an error. Take neces- sary measures in the application so that they do not occur.
  • Page 136 6 Drive Programming Commands Dec (Decrement by 1) Command Description Argument Decrements by 1. Value: any variable Format Flowchart method Text language method dec dec  Note If an overflow or underflow occurs, the Drive Programming detects it as an error. Take neces- sary measures in the application so that they do not occur.
  • Page 137: I/O Control Commands

    6 Drive Programming Commands 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 ...
  • Page 138 6 Drive Programming Commands var  Xw Command Description Argument Assigns the status of the input terminal variable Variable: any variable to in units of words. Format Flowchart method Text language method :  Xw  : ...
  • Page 139 6 Drive Programming 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) : ...
  • Page 140 6 Drive Programming 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. Format Flowchart method Text language method Yw :  ...
  • Page 141 6 Drive Programming Commands func  value Command Description Argument Assigns 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.) Value: any variable or constant Format Flowchart method...
  • Page 142 6 Drive Programming Commands var  func Command Description Argument Assigns the status of the multi-function output Variable: any variable variable to . Function: any bit of the multi-function output variable Format Flowchart method Text language method :  ...
  • Page 143 6 Drive Programming Commands var  UB(i) Command Description Argument Assigns one bit of the value of the internal user Variable: any variable contact to . (value of the variable is 0 or 1.) i: internal user contact number (range 0 to 7) Format Flowchart method Text language method...
  • Page 144 6 Drive Programming Commands var  UBw Command Description Argument Variable Assigns the value of the internal user contact to : any variable in units of words. Format Flowchart method Text language method :  UBw  : ...
  • Page 145 6 Drive Programming Commands UB(i)  value Command Description Argument Assigns to the internal user contact. i: internal user contact number (range 0 to 7) Value: any variable or constant Format Flowchart method Text language method UB(i) :  ...
  • Page 146 6 Drive Programming Commands UBw  value Command Description Argument Assigns to the internal user contact in Value: any variable or constant units of words. Format Flowchart method Text language method UBw :   UBw : ...
  • Page 147: Timer Control Commands

    6 Drive Programming Commands Timer Control Commands Delay on/off Command Description Argument Starts the timer(k). The the timer counter TC(k) on/off: operation setting (on/off) after the delay is started with 0 and incremented every 10 ms time until it reaches . When is Value 1: any contact variable or variable reached, the timer contact TD(k) changes to ON Value 2: any variable or constant...
  • Page 148 6 Drive Programming Commands  Example Flowchart Text In 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 Assigns 200 to U(00).
  • Page 149 6 Drive Programming 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 is started with 0 and incremented every 10 ms you use (range of k is 0 to 7) until it reaches .
  • Page 150 6 Drive Programming Commands  Example Flowchart Text 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).
  • Page 151 6 Drive Programming 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 the timer in free-run mode. you use (range of k is 0 to 7) Format Flowchart method Text language method...
  • Page 152 6 Drive Programming Commands  Example Flowchart Text 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 Assigns 20 to U(01).
  • Page 153: Parameter Control Commands

    6 Drive Programming Commands Parameter Control Commands ChgParam Command Description Argument Changes the data of the inverter parameter Parameter: parameter code specified in to . (Fxxx, Axxx, bXXX, Cxxx, Hxxx, or Pxxx) You can change any inverter parameter. Value: any variable or constant Format Flowchart method Text language method...
  • Page 154 6 Drive Programming Commands MonParam Command Description Argument Assigns the content of the inverter parameter Parameter: parameter code specified in to . (Fxxx, Axxx, bxxx, Cxxx, dxxx, Hxxx, or Pxxx) Variable: any variable Format Flowchart method Text language method ...
  • Page 155 6 Drive Programming Commands EepWrt Command Description Argument Enables the “ChgParam” command executed immediately after this command to write data in the EEPROM. Format Flowchart method Text language method eepwrt eepwrt  Note 1. Set the 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.
  • Page 156 6 Drive Programming Commands  Example: (when you save only F002 in the EEPROM) Flowchart Text In the above example, the parameter F002 is changed to the value of U(02) and saved in the EEPROM. F003 is changed to the value of U(03), however, it is not saved in the EEPROM. Block number Operation Sets to save the data in the EEPROM for the following “ChgParam”...
  • Page 157 6 Drive Programming Commands RX only: RtcSet Command Description Argument 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.
  • Page 158 6 Drive Programming Commands Precautions for Safe Use If the clock command is used in the Drive Programming, 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.
  • Page 159: Inverter Control Commands

    6 Drive Programming Commands Inverter Control Commands Run FW Command Description Argument Makes the inverter start a forward operation. This command is a shortcut of the “func  value” command which is previously set as “FW :  1”. Format Flowchart method Text language method FW : ...
  • Page 160 6 Drive Programming Commands Version Information The “Stop FW” and “Stop RV” command are added to CX-Drive version 2.9 or higher. Either update the CX-Drive software or use the following I/O control command “func = value” as a substitute. Stop (func  value) Command Description Argument...
  • Page 161 6 Drive Programming 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. Format Flowchart method Text language method stop stop  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.
  • Page 162 6 Drive Programming Commands  Example Flowchart Text 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.
  • Page 163 6 Drive Programming 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) 0 to 9 correspond to the alarm code E50 to E59. Format Flowchart method Text language method...
  • Page 164 6 Drive Programming Commands Accel Command Description Argument Sets the inverter acceleration time. Value: any variable or constant This command is a (Assign) command whose (MX2: range 0 to 360,000/RX: range 1 to left-hand side is set to the acceleration time 360,000) variable ACCEL.
  • Page 165 6 Drive Programming Commands  Example Flowchart Text 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-...
  • Page 166: Precautions For Use Of Parameters For Drive Programming

    Precautions for Use of Parameters for Drive Programming This section describes the precautions for use of parameters for the Drive Programming. 7-1 Inverter Parameters Affected by Setting Order ..... . 7-2 7-2 Parameters Affected by Rated Current [%] .
  • Page 167: Inverter Parameters Affected By Setting Order

    7 Precautions for Use of Parameters for Drive Programming 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 MX2 User's Manual (I570-E2) or the RX User's Manual (I560-E2). Parameter Description Data...
  • Page 168 7 Precautions for Use of Parameters for Drive Programming Parameter Description Data b063 Window Comparator FI Upper Limit Level Set an upper limit level. Setting range: 0. to 100. Lower limit: Lower limit level (b064)  Hysteresis width (b065) x 2 b064 Window Comparator FI Lower Limit Level Set a lower limit level.
  • Page 169: Parameters Affected By Rated Current [%]

    7 Precautions for Use of Parameters for Drive Programming 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 Drive Program- ming program.
  • Page 170: Parameters Affected By Pid Enabled/Disabled

    7 Precautions for Use of Parameters for Drive Programming Parameters Affected by PID Enabled/Disabled The set values are scaled by the settings for A071/A075. Data Parameter Description A071  01 or 02 A071  00 Converted value  set value  (A075) A011 FV Start Frequency Set value...
  • Page 171 7 Precautions for Use of Parameters for Drive Programming 7 - 6 Drive Programming User’s Manual (I580-E2)
  • Page 172 Errors and Remedies This section describes the program operation at the time of error occurrence, the errors that are specific to the Drive Programming, as well as the causes and remedies. 8-1 Troubleshooting ..........8-2 8-1-1 Drive Programming Operation on Error .
  • Page 173: Troubleshooting

    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 Drive Programming, and the remedies for them. 8-1-1 Drive Programming Operation on Error Basically, even if the inverter detects a trip during the Drive Programming operation, the operation is continued.
  • Page 174: Drive Programming Operation On Error Reset

    8 Errors and Remedies 8-1-2 Drive Programming Operation on Error Reset The Drive Programming 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. ...
  • Page 175: Alarm Code List

    8 Errors and Remedies 8-1-3 Alarm Code List This section describes the alarm codes that are specific to the Drive Programming, as well as the causes and remedies. For other errors, refer to the MX2 User's Manual (I570-E2) or the RX User's Manual (I560-E2). Alarm Alarm (cause of...
  • Page 176 LX inverter This section describes the LX inverter specific functions. 9-1 Preparation and System Configuration ......9-2 9-2 Specifications .
  • Page 177: Preparation And System Configuration

    9 LX inverter Preparation and System Configuration You must prepare the following items to create user programs with functions of the Drive Programming in CX-Drive and execute the programs in the 3G3LX Series Inverter. • 3G3LX Series Inverter • Personal computer (PC) (Windows system) 32-bit PC 64-bit PC Windows XP SP3, Windows Vista, and Windows 7...
  • Page 178: Specifications

    9 LX inverter Specifications The following table shows the specifications related to the Drive Programming: Item Specifications Program specifica- Programming lan- Flowchart and text language method tions guage Input device Windows personal computer (OS: Windows XP-SP3, Windows Vista, or Windows 7) Program capacity 1,024 steps max.: 6 KB (1,024 steps max.
  • Page 179: Executes And Stops Forward/Reverse Operation

    9 LX inverter Item Specifications Commands Inverter control • Executes and stops forward/reverse operation • Generates a trip by the Drive Programming (E50 to E59/10 points) • Frequency reference and acceleration/deceleration time settings Function variable User parameter vari- U(00) to U(31)/32 points able Internal user variable UL(00) to UL(07)/8 points...
  • Page 180: Drive Programming Editor

    9 LX inverter Drive Programming Editor 9-3-1 Executing a Program You execute the program by setting the inverter parameter, the Drive Programming Function Selection (F025). Once the program reaches "end" command after a series of processes was completed, the program is not executed unless it is restarted.
  • Page 181: Drive Programming User Variables

    9 LX inverter Drive Programming User Variables 9-4-1 Input/Output Terminal Variables Input Terminal Variables X(00) to X(11) You can use the inverter's multi-function input terminals as the input terminal variables X(00) to X(11) for the Drive Programming function by setting these multi-function input terminals to the general-pur- pose input MI1 to MI12.
  • Page 182 9 LX inverter Precautions for Correct Use • When the Drive Programming program is stopped, the status of the input terminal variables is not retained but updated according to the status of actual input terminals. • Even when you set MI1 to MI12 (general-purpose input 1 to 12) for the Multi-function Input ter- minals, you can select NO (NO contact) or NC (NC contact) for the Multi-function Input S1 to S7 Operation Selection (C011 to C017).
  • Page 183 9 LX inverter Precautions for Safe Use When the Drive Programming program is stopped, the status before the program stop is retained for multi-function outputs controlled by the Drive Programming. For this reason, configure the system so that the stop of the Drive Programming program in the inverter can be detected by the Drive Programming start signal and the alarm (trip) signal, and the inverter's peripheral devices can be stopped safely.
  • Page 184 9 LX inverter Precautions for Correct Use When the Drive Programming program is stopped, the status of the analog input terminal vari- ables is not retained but updated according to the status of actual input terminals. Analog Output Terminal Variables YA(0) to YA(2) You can use the inverter's multi-function digital output (PWM output) FM terminal, the multi-function analog output (voltage output) AM terminal and the multi-function analog output (current output) AMI ter- minal as the analog output terminal variables YA(0) to YA(2) of the Drive Programming function.
  • Page 185: Multi-Function Input Variables

    9 LX inverter Precautions for Correct Use • When the Drive Programming program is stopped, the data of the analog output terminal variables 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 Drive Programming not set are controlled as the inverter's analog outputs independently of the program.
  • Page 186: Multi-Function Output Variables

    9 LX inverter Function variable Description Reference C001 to C007  75 Near floor signal C001 to C007  76 Program run C001 to C007  77 Control mode change C001 to C007  78 Gate suppress 1 C001 to C007  79 Gate suppress 2 Note The LX inverter functions are available for the digital multifunction input terminals P140 to P144 (Multi-Input [ExIN1-5) with the 3G3AX-EIO-E extra I/O board.
  • Page 187: Drive Programming Commands

    9 LX inverter Drive Programming Commands 9-5-1 I/O Control Commands var  X(i) Command Description Argument Assigns one bit of the status of the input termi- variable: any variable (the variable value is 0 or 1) nal variable to . i: input terminal variable (range 00 to 11) Format Flowchart method...
  • Page 188 9 LX inverter var  Xw Command Description Argument Assigns the status of the input terminal variable Variable: any variable to in units of words. Format Flowchart method Text language method :  Xw  :  Note The input terminal variable is a variable that detects the status of the inverter's input terminal.
  • Page 189 9 LX inverter 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) :  ...
  • Page 190 9 LX inverter 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. Format Flowchart method Text language method Yw :  ...
  • Page 191: Inverter Control Commands

    9 LX inverter 9-5-2 Inverter Control Commands Command Description Argument Makes the inverter start a forward operation. This command is a shortcut of the “func  value” command which is previously set as “UP :  1”. Format Flowchart method Text language method UP : ...
  • Page 192 9 LX inverter Decel Command Description Argument Sets the inverter deceleration time. Value: any variable or constant This command is a (Assign) command whose (range 1 to 360,000) left-hand side is set to the deceleration time variable DECEL. Unit: 10 ms Format Flowchart method Text language method...
  • Page 193: Precautions For Use Of Parameters For Drive Programming

    9 LX inverter Precautions for Use of Parameters for Drive Programming 9-6-1 Parameters Affected by Rated Current (%) Parameter Description Data b012 1st Electronic Thermal Level 0.20 to 1.00 x Rated current b212 2nd Electronic Thermal Level b016 Free Setting Electronic Thermal Current 1 0.0 to Rated current b018 Free Setting Electronic Thermal Current 2...
  • Page 195 The Netherlands IL 60173-5302 U.S.A. Tel: (31)2356-81-300/Fax: (31)2356-81-388 Tel: (1) 847-843-7900/Fax: (1) 847-843-7787 © OMRON Corporation 2014 All Rights Reserved. OMRON (CHINA) CO., LTD. OMRON ASIA PACIFIC PTE. LTD. In the interest of product improvement, Room 2211, Bank of China Tower, No.
  • Page 196: Product Code

    Below is a list of articles with direct links to our shop Electric Automation Network where you can see: • Quote per purchase volume in real time. • Online documentation and datasheets of all products. • Estimated delivery time enquiry in real time. •...

This manual is also suitable for:

3g3rx series3g3lx series

Table of Contents