Fanuc C-Executer Operating Manual
B-62443EN-3/03E
- 937 -
(3) Definition modules of window task in makefile.
Define object module names of the window task in the module definition
line "TASK4 = " in makefile.
(Example) TASK4 = winmain.obj wintsk1.obj wintsk2.obj
And more, define DGROUP segment size for the window task if necessary.
It is not needed to change the default value 64KB usually.
(Example) TS4DG = CFFF (52KB for window task)
(4) Compile and link by "nmake" command.
(5) Load the created memory card file into the CNC and run it.
There is no special parameter setting about window task.
5.9.6 Notes
Take case of the followings for using window task.
(1) Required memory size
Memory for the window task is allocated when the window task is
started by calling "os_strt_wtsk()" function. Required size of this
memory is sum of the global heap size specified by "os_strt_wtsk()"
explicitly and more 256KB. This "256KB memory" is used for library
work area to execute the window task and the other existing tasks
simultaneously. The typical size of the global heap memory for the
window task is 100KB. Therefore, about 360KB memory is required in
total. Take care of the available memory (DRAM) size for the window
task.
(2) Task organization
The task number of the window task is '4'. The window task is called
"TASK4". All tasks of whole application including window task are as
below.
TASK1 Main task
TASK2 Communication task
TASK3 Alarm task
TASK4 Window task
Both communication and alarm tasks must be definded if the window
task is used. (If no auxiliary task is needed, define TASK2 and TASK3
as dummy tasks.)
[ End of 59wintsk.man ]