Omron 3G3MX2 Series User Manual page 32

Drive programming
Hide thumbs Also See for 3G3MX2 Series:
Table of Contents

Advertisement

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.
• In the Drive Programming area, you can create programs in the flowchart method or text language
method.
• The Toolbox window displays the command blocks in categories.
• In the Block Parameter window, you can set parameters that are used when the program execution is
started.
• In the Properties window, you can edit the properties of a block which is currently selected in flow-
chart.
• The Output window displays compilation errors and warnings after a compilation is finished.
Compiling Programs
Programs created in the Drive Programming area are compiled and converted into the final "programs
after compilation". Then, the programs are transferred (downloaded) to the inverter.
The compiler performs checks for the items such as program validity, program syntax, parameter input
limitation and maximum number of steps. If there is any input which is not permitted, the compilation is
stopped and an error message is displayed.
The compiler also performs the operations as shown below, and creates the final "programs after com-
pilation". Therefore, if you transfer (upload) the program once saved in the inverter to the CX-Drive, the
program which is read out is the "program after compilation". While its operation is the same as before
compilation, its form and contents are partially different.
• Converts flowchart programs to text programs.
• Automatically converts the label names specified in the program to the following names: label 1, label
2...
• Deletes comments entered in the program.
• Deletes alias definitions and converts specified names to the same ones as before definition.
• Deletes region definitions and converts forms to the same ones as before definition.
• Deletes all spaces and blank lines in the program.
• Performs validity checks.
Precautions for Correct Use
• The specified comments, alias definitions and region definitions are deleted when a compila-
tion is performed for program conversion or transferring (downloading) to the inverter.
To save those contents, save the program before you execute program conversion or you
transfer (download) the program to the inverter.
You can save the program by saving the whole project in the CX-Drive or export file of the
program.
• Program verification means a comparison between "program after compilation" and the pro-
gram inside the inverter. Therefore, comments, alias definitions, region definitions, etc. are
not verified.
Drive Programming User's Manual (I580-E2)
3 Operation Procedure for Drive Programming
3
3 - 3

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

3g3rx series3g3lx series

Table of Contents