Fanuc C-Executer Operating Manual
B-62443EN-3/03E
- 897 -
(4) While user screens are being displayed. (with user background tasks)
CNC INT |***| |***| |***| |***| |***|
| | | | | | | | | |
| | | | | | | | | |
User BACK | | |++| | | | |+| |+| | |++|
| | | | | | |(A) | | (B) |
| | | | | | | | | |
CNC DISP //--| | | | | |--| |--| | | | |---//
| | | | | | | | | |
| | | | | | | | | |
User MAIN |=| |=| |=| |==| |=|
Timer INT //----^--------^--------^--------^--------^------------//
User EVENT //----------^------------------^-------------^---------//
SWITCH //--^----------------^------------^----------------^---//
|<---- N*16 ---->|<-- M*16 -->|<---- N*16 ---->|
In addition to (3), the user background tasks are waked by the user events.
(A)If the timer interruption occurs while the user background tasks are being
executed, the CNC interruption task is waked. (B)In case that the user event
occurs while the CNC interruption task is being executed, the user background
task is waked after the end of execution of the CNC interruption task. The
CNC display task and the user main task are executed alternately while no CNC
interruption tasks are being executed.
(note) CNC INT : CNC interruption tasks
User BACK : User background tasks
CNC DISP : CNC display task
User MAIN : User main task
Timer INT : Timer interruption
User EVENT : User event
SWITCH : Switching user main task and CNC display task
5.1.2.5 Response of task switching
(1) Switch to the CNC interruption tasks
The CNC interruption task is waked with no delay by the timer
interruption which starts the task provided no tasks of higher priority
are executing.