Omron 3G3MX2, 3G3RX, 3G3LX User Manual

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
Inverter
MX2/RX/LX Series
Drive Programming
User’s Manual
3G3MX2 Series 3G3RX Series 3G3LX Series CX-Drive
OMRON, 2014
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.
Trademarks
Sysmac and SYSMAC are trademarks or registered trademarks of OMRON Corporation in Japan and other countries for OMRON factory automation products.
Windows, Windows XP, Windows Vista, Windows 7, Windows 8, and Excel are registered trademarks of Microsoft Corporation in the USA and other countries.
EtherCAT
® is registered trademark and patented technology, licensed by Beckhoff Automation GmbH, Germany.
ODVA, CIP, CompoNet, DeviceNet, and EtherNet/IP are trademarks of ODVA.
Other company names and products names in this document are the trademarks or registered trademarks of their respective companies.
1
Introduction
Drive Programming User’s Manual (I580-E2)
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).
This manual is intended for the following personnel, who must also have knowledge of electrical sys­tems (an electrical engineer or the equivalent).
• Personnel in charge of introducing FA systems.
• Personnel in charge of designing FA systems.
• Personnel in charge of installing and connecting FA systems.
• Personnel in charge of managing FA systems and facilities.
This manual contains information you need to know to use the Drive Programming.
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.
Intended Readers
Notice
Manual Configuration
2
Drive Programming User’s Manual (I580-E2)
Manual Configuration
This manual is compiled section by section for user's convenience as follows.
Section Overview
Section 1 Overview
This section describes an overview and the system configuration of the Drive Programming.
Section 2 Specifications
This section describes the specifications of the Drive Programming.
Section 3
Operation Procedure for Drive Programming
This section describes the operation procedure of the Drive Programming, related parameters, and program structures.
Section 4 Drive Programming Editor
This section describes how to start the Drive Programming Editor, saving and loading data, and details on parts of the Editor.
Section 5
Drive Programming User Variables
This section describes the user variables provided for Drive Programming.
Section 6
Drive Programming Commands
This section describes the commands provided for Drive Programming.
Section 7
Precautions for Use of Parameters for Drive Programming
This section describes the precautions for use of parameters for the Drive Programming.
Section 8 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.
Section 9 LX inverter This section describes the LX inverter specific functions.
3
Manual Structure
Drive Programming User’s Manual (I580-E2)
Manual Structure
The following page structure and symbol icons are used in this user's manual.
Note The above page is only a sample for illustrative purposes. It is not the actual content of the manual.
Page Structure
8 Errors and Remedies
8 - 2
DriveProgramming User’s Manual (I580-E2)
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.
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.
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.
8-1-1 DriveProgramming Operation on Error
With/without
“on trip goto”
Error status
User trip
E50 to E59
DriveProgram-
ming-related
Trip E43 to E45
Other trips
Without Operation is continued. Program is stopped. Operation is continued.
With After the “on trip goto”
command is executed, the program jumps to the specified label and the operation is continued.
Program is stopped. After the “on trip goto”
command is executed, the program jumps to the specified label and the operation is continued.
4 - 21
4 DriveProgramming Editor
DriveProgramming User’s Manual (I580-E2)
4-7 Editing Transferred (Uploaded) Programs
4
4-7-1 Editing Transferred (Uploaded) Programs
4-7
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 (Command box, User Parameters and Properties) are displayed automatically.
2 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 designer area of the DriveProgramming Editor.
4 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.
Precautions for Safe Use
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.
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.
4-7-1 Editing Transferred (Uploaded) Programs
Level 2 heading
Level 3 heading
Level 1 heading
Manual Name
Level 2 heading
Section Number of Level 1 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.
Shows which sub-section the content of the current page belongs to.
Shows which paragraph the content of the current page belongs to.
Shows which section the content of the current page belongs to.
Manual Structure
4
Drive Programming User’s Manual (I580-E2)
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.
This information is provided to increase understanding or make operation easier.
Version Information
Information on differences in specifications and functionality for inverters with different unit ver­sions and for different versions of the CX-Drive is given.
Special Information
5
Sections in this Manual
Drive Programming User’s Manual (I580-E2)
1
2
3
4
5
6
7
8
1
2
3
4
5
6
7
8
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
9
9
LX inverter
Sections in this Manual
6
Drive Programming User’s Manual (I580-E2)
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 .....................................................................................................14
Revision History .....................................................................................................15
Section 1 Overview
1-1 Overview of Drive Programming.......................................................................................... 1-2
1-2 Preparation and System Configuration ............................................................................... 1-4
Section 2 Specifications
2-1 Specifications ........................................................................................................................ 2-2
Section 3 Operation Procedure for Drive Programming
3-1 Operation Procedure............................................................................................................. 3-2
3-2 Parameters Related to Drive Programming ........................................................................ 3-5
3-3 Program Structure............................................................................................................... 3-13
3-3-1 Tasks......................................................................................................................................... 3-13
3-3-2 Subroutines...............................................................................................................................3-13
3-3-3 Task Processing........................................................................................................................3-13
3-3-4 Drive Programming Start/Stop and Task Operation ..................................................................3-15
3-3-5 Drive Programming Restart....................................................................................................... 3-17
3-3-6 Task Operation on Trip..............................................................................................................3-18
7
Drive Programming User’s Manual (I580-E2)
CONTENTS
Section 4 Drive Programming Editor
4-1 Starting Drive Programming Editor ..................................................................................... 4-2
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.................................................................................................................... 4-15
4-2-7 Error List Tab in Output Window............................................................................................... 4-16
4-3 Adding, Deleting and Renaming Tasks ............................................................................. 4-17
4-4 Inserting, Deleting and Calling Subroutines..................................................................... 4-18
4-5 Creating Flowchart Programs ............................................................................................ 4-19
4-6 Creating Text Programs...................................................................................................... 4-20
4-7 Editing Transferred (Uploaded) Programs ........................................................................ 4-21
4-8 Saving Programs................................................................................................................. 4-22
4-9 Transferring and Verifying Programs ................................................................................ 4-24
4-10 Executing Programs (Drive Programming Function Selection)...................................... 4-25
4-11 Other Useful Functions....................................................................................................... 4-28
Section 5 Drive Programming User Variables
5-1 User Variables and User Parameters................................................................................... 5-2
5-2 Input/Output Terminal Variables .......................................................................................... 5-5
5-3 Timer Variables.................................................................................................................... 5-10
5-4 Inverter Setting Variables ...................................................................................................5-12
5-5 Inverter Monitor Variables .................................................................................................. 5-14
5-6 Multi-function Input Variables ............................................................................................ 5-17
5-7 Multi-function Output Variables ......................................................................................... 5-20
Section 6 Drive Programming Commands
6-1 Command Categories ...........................................................................................................6-2
6-2 Command Format.................................................................................................................. 6-3
6-3 Command List........................................................................................................................ 6-4
6-4 Program Control Commands ............................................................................................. 6-10
6-5 Arithmetic Operation and Logical Operation Commands ............................................... 6-23
6-6 I/O Control Commands ....................................................................................................... 6-36
6-7 Timer Control Commands .................................................................................................. 6-46
6-8 Parameter Control Commands........................................................................................... 6-52
6-9 Inverter Control Commands............................................................................................... 6-58
8
Drive Programming User’s Manual (I580-E2)
CONTENTS
Section 7 Precautions for Use of Parameters for Drive Programming
7-1 Inverter Parameters Affected by Setting Order .................................................................. 7-2
7-2 Parameters Affected by Rated Current [%]......................................................................... 7-4
7-3 Parameters Affected by PID Enabled/Disabled .................................................................. 7-5
Section 8 Errors and Remedies
8-1 Troubleshooting .................................................................................................................... 8-2
8-1-1 Drive Programming Operation on Error ......................................................................................8-2
8-1-2 Drive Programming Operation on Error Reset............................................................................8-3
8-1-3 Alarm Code List........................................................................................................................... 8-4
Section 9 LX inverter
9-1 Preparation and System Configuration ............................................................................... 9-2
9-2 Specifications ........................................................................................................................ 9-3
9-3 Drive Programming Editor.................................................................................................... 9-5
9-3-1 Executing a Program...................................................................................................................9-5
9-4 Drive Programming User Variables ..................................................................................... 9-6
9-4-1 Input/Output Terminal Variables..................................................................................................9-6
9-4-2 Multi-function Input Variables....................................................................................................9-10
9-4-3 Multi-function Output Variables ................................................................................................. 9-11
9-5 Drive Programming Commands......................................................................................... 9-12
9-5-1 I/O Control Commands .............................................................................................................9-12
9-5-2 Inverter Control Commands......................................................................................................9-16
9-6 Precautions for Use of Parameters for Drive Programming ........................................... 9-18
9-6-1 Parameters Affected by Rated Current (%) ..............................................................................9-18
9
Terms and Conditions Agreement
Drive Programming User’s Manual (I580-E2)
Terms and Conditions Agreement
WARRANTY
• The warranty period for the Software is one year from the date of purchase, unless otherwise spe­cifically agreed.
• If the User discovers defect of the Software (substantial non-conformity with the manual), and return it to OMRON within the above warranty period, OMRON will replace the Software without charge by offering media or download from OMRON’s website. And if the User discovers defect of media which is attributable to OMRON and return it to OMRON within the above warranty period, 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.
LIMITATION OF LIABILITY
• THE ABOVE WARRANTY SHALL CONSTITUTE THE USER’S SOLE AND EXCLUSIVE REME­DIES AGAINST OMRON AND THERE ARE NO OTHER WARRANTIES, EXPRESSED OR IMPLIED, INCLUDING BUT NOT LIMITED TO, WARRANTY OF MERCHANTABILITY OR FIT­NESS FOR PARTICULAR PURPOSE. IN NO EVENT, OMRON WILL BE LIABLE FOR ANY LOST PROFITS OR OTHER INDIRECT, INCIDENTAL, SPECIAL OR CONSEQUENTIAL DAM­AGES ARISING OUT OF USE OF THE SOFTWARE.
• OMRON SHALL HAVE NO LIABILITY FOR DEFECT OF THE SOFTWARE BASED ON MODIFI­CATION OR ALTERNATION TO THE SOFTWARE BY THE USER OR ANY THIRD PARTY.
• OMRON SHALL HAVE NO LIABILITY FOR SOFTWARE DEVELOPED BY THE USER OR ANY THIRD PARTY BASED ON THE SOFTWARE OR ANY CONSEQUENCE THEREOF.
APPLICABLE CONDITIONS
USER SHALL NOT USE THE SOFTWARE FOR THE PURPOSE THAT IS NOT PROVIDED IN THE ATTACHED USER MANUAL.
CHANGE IN SPECIFICATION
The software specifications and accessories may be changed at any time based on improvements and other reasons.
ERRORS AND OMISSIONS
The information in this manual has been carefully checked and is believed to be accurate; however, no responsibility is assumed for clerical, typographical, or proofreading errors, or omissions.
Safety Precautions
10
Drive Programming User’s Manual (I580-E2)
Safety Precautions
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.
Indications and Meanings of Safety Information
Meanings of Signal Words
WARNING
Indicates a potentially hazardous situation which, if not avoided, could result in death or serious injury. Additionally, there may be severe property damage.
Caution
Indicates a potentially hazardous situation which, if not avoided, may result in minor or moderate injury, or property damage.
Alert Symbols in this Document
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."
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."
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."
11
Safety Precautions
Drive Programming User’s Manual (I580-E2)
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.
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.
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.
Install 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.
Precautions for Safe Use
12
Drive Programming User’s Manual (I580-E2)
Precautions for Safe Use
• 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.
• 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.
When the LCD Digital Operator is removed or disconnected, Drive Programming is in a waiting status by the clock command.
• When using the Drive Programming, check that program data is downloaded successfully before starting operation.
Operation and Adjustment
13
Regulations and Standards
Drive Programming User’s Manual (I580-E2)
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.
Related Manuals
14
Drive Programming User’s Manual (I580-E2)
Related Manuals
You need information on the devices connected for operating this product.
Please see the manuals below for related product information.
Additional Information
For the inverter operation, refer to the MX2 User's Manual (I570-E2) or the RX User's Manual (I560-E2).
Name Catalog number
MX2 User's Manual I570-E2 RX User's Manual I560-E2 CX-Drive Operation Manual W453
15
Revision History
Drive Programming User’s Manual (I580-E2)
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
Revision code Revision date Revised Content
01 August 2014 Original production
Cat.No.
I580-E2-01
Revision code
Revision History
16
Drive Programming User’s Manual (I580-E2)
1 - 1
1
Drive Programming User’s Manual (I580-E2)
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 . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-4
Overview
1 Overview
1 - 2
Drive Programming User’s Manual (I580-E2)
1-1 Overview of Drive Programming
The Drive Programming is the simple sequence function built into the inverter.
To create sequence programs and check their status, you use the Inverter/Servo supporting tool, CX-Drive.
Transfer (download) the created programs to the 3G3MX2/3G3RX Series Inverter so that the stand-alone inverter can perform simple sequence control.
The Drive Programming has the following features.
• The Drive Programming 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 Series Inverters with the LCD Digital Operator (Model: 3G3AX-OP05). Therefore, the clock function is not available.
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.
When the LCD Digital Operator is removed or disconnected, Drive Programming is in a waiting status by the clock command.
The following table shows the main functions of the Drive Programming Editor available in CX-Drive.
Features of Drive Programming
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.
1 - 3
1 Overview
Drive Programming User’s Manual (I580-E2)
1-1 Overview of Drive Program-
ming
1
User Programs
Compilation
Download
Connect directly
or via
communications
Upload
(Drive Programming)
Programming
Debugging support
Transmission
Creation, editing and saving of user programs
Program execution Monitor Parameter changed
CX-Drive Ver. 2.7 or higher
Monitoring software
Ver. 2.0 or later
3G3RX Series Inverter
Ver. 2.0 or later
3G3MX2 Series Inverter
1 Overview
1 - 4
Drive Programming User’s Manual (I580-E2)
1-2 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 3G3MX2/3G3RX Series Inverter.
• 3G3MX2/3G3RX Series Inverter (Ver. 2.0 or later)
• Personal computer (PC) (Windows system)
• 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.)
• Prepare the following PC-inverter connection cable.
MX2: Commercially-available USB cable (mini-B)
RX: USB to RJ-45 Converter Cable (Model: 3G3AX-PCACN2)
Version Information
• Only the 3G3MX2/3G3RX Series Inverters have the Drive Programming function.
Be sure to check the version (Ver. 2.0 or later) printed on the nameplate of the inverter because the conventional models of 3G3MX2/3G3RX Series Inverters do not have the func­tion.
• The Drive Programming 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.)
32-bit PC 64-bit PC
Windows XP SP3, Windows Vista, and Windows 7 Windows Vista and Windows 7
USB
USB-RS422 Converter cable 3G3AX-PCACN2
Remove the Digital Operator (A) and the connector (B).
(A)
(B)
Connector for the Digital Operator
RJ45 connector
CX-Drive
Commercially-available USB cable (mini-B)
1 - 5
1 Overview
Drive Programming User’s Manual (I580-E2)
1-2 Preparation and System
Configuration
1
Additional Information
For how to install or upgrade the CX-Drive, refer to the CX-Drive Operation Manual (W453).
The CX-Drive can be connected to the inverter via communication through the Position Control Unit (Model: CJ1W-NC82) 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.
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.
• Select properties of the drive project, and click [Settings] under [Drive Type] to set the option board type to the inverter communication unit.
• 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].
Configuration
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 Drive Programming Editor to create user programs and transfer (download) them to the inverter.
EtherCAT/CompoNet/DeviceNet Communications
CX-Drive
• For peripheral (USB) port connec­tion, use commercially-available USB cable.
• For peripheral port connection
Model: CS1W-CN226/-CN626
• For RS-232C port connection
Model: XW2Z-200S-CV/-500S-CV
Inverter and EtherCAT Communication Unit, CompoNet Communica­tion Unit, or DeviceNet Commu­nication Unit
Communication Unit
EtherCAT Unit (Model: CJ1W-NC82)
CompoNet Master Unit (Model: CJ1W-CRM21)
DeviceNet Unit (Model: CJ1W-DRM21)
CJ2 Series
CPU Unit
Power supply unit
EtherCAT/CompoNet/DeviceNet
RS-232C port connection
Peripheral (USB) port connection
1 Overview
1 - 6
Drive Programming User’s Manual (I580-E2)
2 - 1
2
Drive Programming User’s Manual (I580-E2)
This section describes the specifications of the Drive Programming.
2-1 Specifications . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-2
Specifications
2 Specifications
2 - 2
Drive Programming User’s Manual (I580-E2)
2-1 Specifications
The following table shows the specifications related to the Drive Programming.
Item Specifications
Program specifica­tions
Programming lan­guage
Flowchart and text language method
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. for a total of 5 tasks) Programming support function
Functions supported in Inverter/Servo support tool CX-Drive
• Program editing and display
• Program compilation (Program syntax check)
• Program downloading, uploading, and all clear
Execution format • Execution by interpreter
• 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­tions
External input Drive Programming
start
Select in the Drive Programming Function Selection (A017)
• Start/stop via multi-function input PRG terminal
(A017 01)
MX2: 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)
• Start/stop at power on/off (A01702)
Multi-function Input MX2: X(00) to X(07)/8 points
• Multi-function input S1 to S7 terminals
• X(07) is for the pulse train input RP terminal
(enabled only when P003 02)
RX: X(00) to X(07)/8 points
• Multi-function input S1 to S8 terminals Frequency reference input
(Multi-function analog input)
XA(0): 0 to 10 V (FV terminal) XA(1): 4 to 20 mA (FI terminal) XA(2): MX2: No applicable function
RX: 10 to 10 V (FE terminal)
External output Multi-function out-
put/multi-function relay output
MX2: Y(00) to Y(02)/3 points
• Multi-function output P1 and P2 terminals
• Multi-function relay output terminals (MA, MB)
RX: Y(00) to Y(05)/6 points
• Multi-function output P1 to P5 terminals
• Multi-function relay output terminals (MA, MB) Monitor output
(Multi-function digital output)
YA(0): PWM output in 6.4 ms cycle (MP termi-
nal)
Monitor output
(Multi-function analog output)
YA(1): 0 to 10 V (AM terminal) YA(2): MX2: No applicable function
RX: 4 to 20 mA (AMI terminal)
2 - 3
2 Specifications
Drive Programming User’s Manual (I580-E2)
2-1 Specifications
2
Commands Program control com-
mands
• Loop ("for")
• Unconditional branch ("goto")
• Time control ("wait")
• Conditional branch ("if then", "ifs then", "select case", "until", "while")
• Subroutine ("call", "sub")
• Others ("entry", "end", "inc", "dec")
Arithmetic commands • Four arithmetic operations (, , *, and /)
• Remainder ("mod") and assignment ()
• Absolute value ("abs")
• Logical operations ("or", "and", "xor", "not")
I/O control • Multi-function I/O (bit input, word input, bit output, and word output)
• Reads inverter input terminals
• Reads/writes inverter output terminals Timer control Contacts control by timer and timer counter control Parameter control • Changes setting data of specified parameter number
• Saves parameter setting data in EEPROM
RX only: current time reading (once/continuous)
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-
able
U(00) to U(31)/32 points
Internal user variable UL(00) to UL(07)/8 points Frequency reference variable
SET-Freq
Acceleration time vari­able
ACCEL
Deceleration time vari­able
DECEL
Inverter monitor vari­able
The monitor functions (d001 to d102) for the inverter are available as vari­ables. MX2 and RX:
FM, Iout, 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 variable
The function options of the Multi-function Input S1 Selection (C001) for the
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, FOT, ROT, PCNT, and PCC
Item Specifications
2 Specifications
2 - 4
Drive Programming User’s Manual (I580-E2)
Function variable Multi-function output
variable
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, OIDc, 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
Input terminal variable MX2: X(00) to X(07)/8 points
Note: X(07) is for the Pulse Train Input RP Selection (enabled only when P003 02)
RX: X(00) to X(07)/8 points Output terminal vari­able
MX2: Y(00) to Y(02)/3 points
RX: Y(00) to Y(05)/6 points Internal user contact UB(0) to UB(7)/8 points Timer output contact TD(0) to TD(7)/8 points Timer counter variable TC(0) to TC(7)/8 points Analog input terminal variable
MX2: XA(0) and XA(1)
RX: XA(0) to XA(2) Analog output termi­nal variable
MX2: YA(0) and YA(1)
RX: YA(0) to YA(2)
Item Specifications
3 - 1
3
Drive Programming User’s Manual (I580-E2)
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 . . . . . . . . . . . . . . . . . . . . . . . . . 3-5
3-3 Program Structure . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-13
3-3-1 Tasks . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-13
3-3-2 Subroutines . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-13
3-3-3 Task Processing . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-13
3-3-4 Drive Programming Start/Stop and Task Operation . . . . . . . . . . . . . . . . . . . . 3-15
3-3-5 Drive Programming Restart . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-17
3-3-6 Task Operation on Trip . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-18
Operation Procedure for Drive Programming
Loading...
+ 166 hidden pages