Fanuc C-Executer Operating Manual
B-62443EN-3/03E
- 1041 -
High-Level Task has priority over the other CNC tasks such as preparing
task. If High-Level task runs long time, CPU time for CNC preparing task,
etc. may be reduced. (In this case, any harmful effect, such as machining
time by CNC's automatic operation increases, etc., may occur.) To avoid
influence to the other tasks, it is better to keep execution time of High-
Level task as short as possible
The following variables (management data) are defined for looking over the
execution time of High-Level Task.
extern struct HL_MNGDATA HL_DATA ;
The detail of this management data is mentioned below.
Each task of C Executor application that includes High-Level task starts
as following order.
Task start-up order
~~~~~~~~~~~~~~~~~~~
Initialize NC soft
|
v
Initialize C-EXE
|
v
Prepare all tasks
|-----------------------+
v |
Start Alarm task | (Interruption procedure
| | for every 8 msec)
v |
Start Communication task |
| v
v Start High-Level task
Start Main task
|
v
Start Window task
(Alarm/Communication/Window tasks may not exists.)
High-Level task starts on the 1st 8 msec interrupt procedure just after
completion of preparation for all tasks. This execution doesn't link to
any other tasks' start-up. Therefore, start-up order of High-Level task
and the other tasks if not fixed.