Fanuc C-Executer Operating Manual
B-62443EN-3/03E
- 896 -
(2) While CNC screens are being displayed. (with user background tasks)
CNC INT |******| |******| |******|
| | | | | |
| | | | | |
User BACK |+++| | | |++| |+| | |+++|
| | | | | (A) | | (B) |
| | | | | | | |
CNC DISP //----| |--| |----| |-----| |-//
Timer INT //-----------^--------------^--------------^------------//
User EVENT //----^------------------^---------------------^--------//
In addition to (1), 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.
(3) While user screens are being displayed. (without user background tasks)
CNC INT |***| |***| |***| |***| |***|
| | | | | | | | | |
| | | | | | | | | |
CNC DISP //--| | | | | |--| |----| | | | |---//
| | | | | | | | | |
| | | | | | | | | |
User MAIN |=| |====| |=| |====| |====|
Timer INT //----^--------^--------^--------^--------^------------//
SWITCH //--^----------------^------------^----------------^---//
|<---- N*16 ---->|<-- M*16 -->|<---- N*16 ---->|
The CNC interruption tasks are waked by the timer interruptions which start
the CNC interruption tasks. The CNC display task and the user main task are
executed alternately while no CNC interruption tasks are being executed.
(note) N and M are executing ratio of the user main task and the CNC display
task. The default value for these parameters are N=4 and M=1. This value
can be altered by os_chng_duty function. N*16 and M*16 are shown as msec
unit interval.