Fanuc C-Executer Operating Manual
B-62443EN-3/03E
- 87 -
(3) Specifying xlink386 version.
In the next part, you specify the version of your xlink386. If you use
xlink386 Ver.2.0 (or later), you define the variable "XLINK20" by removing
the leading comment mark (#) of the following line. You leave the line being
comment if you use xlink386 Ver.1.x.
#XLINK20 = X # If you use xlink386 v2.0 or later, define "XLINK20=X" by
# removing the leading comment mark (#) of this line.
[Example] In case of xlink386 Ver.2.0. (Remove the leading comment mark (#).)
XLINK20 = X # If you use xlink386 v2.0 or later, define "XLINK20=X" by
# removing the leading comment mark (#) of this line.
(4) Specifying the DGROUP segment size of each tasks.
In the next part, you specify the DGROUP segment size of each tasks.
Ordinarily the DGROUP segment size is 64KB for all tasks. For auxiliary
tasks, you can reduce the DGROUP segment size if you don't define many
variable and the functions are not nested so much. Reducing the DGROUP
segment size makes the required DRAM size for the whole application smaller.
(For more information, see "2.10 How to increase the global heap size for the
application." in this manual.)
You define the DGROUP segment limit size, which is the DGROUP segment size - 1,
to the variable TS?DG on hexadecimal representation for each tasks.
The default setting is 64KB for all tasks.
TS1DG = FFFF # Task1's DGROUP segment limit size (HEX)
TS2DG = FFFF # Task2's DGROUP segment limit size (HEX)
TS3DG = FFFF # Task3's DGROUP segment limit size (HEX)
[Example] In case that the DGROUP segment size of the communication task is
16KB and the alarm task 32KB. (3FFF(HEX)=16KB-1, 7FFF(HEX)=32KB-1)
TS1DG = FFFF # Task1's DGROUP segment limit size (HEX)
TS2DG = 3FFF # Task2's DGROUP segment limit size (HEX)
TS3DG = 7FFF # Task3's DGROUP segment limit size (HEX)
The DGROUP semgnet size of the main task is not changed usually.
(fixed on 64KB)
The bottom part of makefile ".OBJ and .C dependency block.", in which the
dependency relationship between the object files (*.OBJ9 and the source files
(*.C, *.H) is described, has been not changed.
[NOTE]
You find the definition about "TASK4" in makefile template. The "TASK4"
is "Window task". Refer "5.9 Windows task (59wintsk.man)" for details of
Window task.