
Series 30i/ 31i/ 32i-A
C executor library for conversion
Programming manual
01 04.05.06
S. Hasegawa
New registration
B-64183EN/01
EDIT
DATE
DESIG.
DESCRIPTION
21/226
DRAW.NO.
Tasks
The differences between task on "30i/ 31i/ 32i C executor" and task on
"15i/ 16i/ 18i/ 21i C language board" are shown below.
Item
30i/ 31i/ 32i
C executor
15i/ 16i/ 18i/ 21i
C language board
Number of tasks 5 in the maximum 16 in the maximum
Task priority Fixed Programmable
Execution cycle Fixed Programmable
Other character The purpose of each
task have been defined
and fixed.
All tasks have a same
character.
On "C executor", you can use up to five tasks. The purpose of an each
task has been defined and an each task will executed automatically in
certain cycle with certain task priority.
The characters of each task on C executor are shown below.
CNC System Task (Axes Control etc.) High
Real-time Custom Macro
(A-5) High-level Task
CNC System Task (Preparing etc.)
Auxiliary Macro of Macro Executor
(A-3) Alarm Task
(A-2) Communication Task
CNC System Task
(Display etc.)
(A-1) Main Task
(A-4) Window
Task
Low
Priority
(A-1) Main task (Priority: Low)
This task is to execute a process for user application screen. In this
task, you can use almost all the library functions.
When the user application screen is changed to another screen, this
task is automatically suspended by the system. When the user
application screen is displayed again, this task is automatically
executed again.
If no background process is necessary in the user application, you
should describe all programs in this task.
(A-2) Communication task (Priority: Middle)
This task is to execute a background communication process using
RS-232C. In this task, the use of some kind of functions is
restricted.
You should describe a background communication process using
RS-232C in this task. If the background communication process is
not required, this means that the communication process runs only
on the user screen, you should describe it in the Main task.