EasyManuals Logo
Home>Omron>Inverter>3G3RX2-A2 Series

Omron 3G3RX2-A2 Series User Manual

Omron 3G3RX2-A2 Series
176 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Page #36 background imageLoading...
Page #36 background image
3 Operation Procedure for DriveProgramming
3 - 10
DriveProgramming User’s Manual (I622-E1)
3-3 Program Structure
In the DriveProgramming for 3G3RX2 Series Inverter, you can create a maximum of five tasks.
The created tasks are processed in parallel.
By dividing one application into several processes and allocating them to multiple tasks, you can adjust
execution condition, execution order, etc. for each process. Furthermore, parallel task processing can
provide shorter processing time.
Task is a unit of program executed in the DriveProgramming.
For 3G3RX2 Series Inverter, you can create a program which consists of up to five tasks.
All tasks are started simultaneously.
In the order of task from 1 to 5, one command of each task (one line of the "program after compila-
tion") is executed in 1-ms or 2-ms processing time (selected by UE-01).
All function variables such as user parameters are shared among the tasks. For transmission of infor-
mation between tasks, use the user parameters, internal user contacts, etc.
At the end of 1-ms or 2-ms processing time, the operation result of each task is reflected to the
inverter operation and external output, etc. At the same time, the status of the inverter and external
input terminals are read in.
When the "end" command is executed, the task is completed and waits for the next start.
Subroutine is a separated program processing executed only when it is called.
Subroutines are useful to organize your program into parts that you can execute multiple times in the
same task or reuse in other programs.
In the DriveProgramming, it is necessary to insert subroutines into each task. They cannot be shared
among the tasks.
It is possible to call a subroutine from another subroutine (nesting).
However, the maximum nesting of subroutines is eight levels.
Up to five tasks are started simultaneously, and one command of each task (one line of the "program
after compilation") is executed in 1-ms or 2-ms processing time (selected by UE-01).
All tasks are started simultaneously.
In the order of task from 1 to 5, one command of each task (one line of the "program after compila-
tion") is executed in 1-ms or 2-ms processing time (selected by UE-01).
All function variables such as user parameters are shared among the tasks.
At the end of 1-ms or 2-ms processing time (selected by UE-01), the operation result of each task is
reflected to the inverter operation and external output, etc. At the same time, the status of the inverter
and external input terminals are read in.
As shown in Task 1, if a subroutine is called by the “call” command, the statement of the subroutine
will be executed from the next step of processing.
As shown in Task 2, if the “end” command is executed, the task will be finished and wait for the next
start.
3-3-1 Tasks
3-3-2 Subroutines
3-3-3 Task Processing

Table of Contents

Other manuals for Omron 3G3RX2-A2 Series

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the Omron 3G3RX2-A2 Series and is the answer not in the manual?

Omron 3G3RX2-A2 Series Specifications

General IconGeneral
BrandOmron
Model3G3RX2-A2 Series
CategoryInverter
LanguageEnglish

Related product manuals