4 - 31
4 DriveProgramming Editor
DriveProgramming User’s Manual (I622-E1)
4-11 Other Useful Functions
4
You can define regions in tasks or subroutines of the text program. You cannot define regions in flow-
chart programs.
Region definition refers to dividing a program into groups of lines by specifying their areas.
By using the region definition, you can divide a program into parts and fold each of them in the display.
This helps the program look easy to read.
Example
Precautions for Correct Use
• The region definition created in the text program is deleted when the program is compiled for
transferring (downloading) to the inverter or for program conversion.
To save the created region definition, save the program before you execute program compi-
lation. You can save the program by saving the whole project in the CX-Drive or export file of
the program.
• In the verification process, the "program after compilation" is compared with the program
inside the inverter. Therefore, the comments, alias definitions, region definitions, etc. are not
verified.
Region Definition (Text Program)