Fanuc C-Executer Operating Manual
B-62443EN-3/03E
- 84 -
The user application's version number is defined in this
file. For example, version number definition is as follows.
char version[] = "TEST0001" ;
"TEST" is the series string and "0001" is edition number.
You can replace them with your original version number.
There are no particular naming rules of version number. You
can define them arbitrarily. However, limited characters
(such as uppercase and numeric character, some marks) are
available in the version string. The version string which is
defined in this file is displayed in SYSTEM screen of CNC.
DRAMVER.C : Definition file of common variables between tasks.
(optional)
Define the variables which can be accessed from all tasks.
Be sure to define only the variables, but not the functions.
SRAMVER.C : Definition file of SRAM variables. (optional)
Define the variables which should be allocated into SRAM
(static memory) area. The variables defined in this file
also can be accessed from all tasks. Be sure to define
only the variables, but not the functions.
2.5 MAKEFILE
Modify two blocks in MAKEFILE.
(1) Task definition block
#------------------------------------------------------------------------------
# Task definition block. Modify here for your application.
#------------------------------------------------------------------------------
TASK1 =
TASK2 =
TASK3 =
DEBUG = 0 # If you want to use debugger then set DEBUG = task ID
# that you want symbolic debug
# else set DEBUG = 0
#------------------------------------------------------------------------------
# End of task definition block
#------------------------------------------------------------------------------
Define the macro TASK to specify the object files which compose the task.
In case of the task 1 consists of S1.C and S2.C, define it as follows.
TASK1 = S1.OBJ S2.OBJ
You can split the long line by '\'.
TASK1 = S1.OBJ S2.OBJ \
S3.OBJ