Fanuc C-Executer Operating Manual
B-62443EN-3/03E
- 79 -
FANUC Series 16/18 C Executor
2. How to make application program
==================================
Table of contents
2.1 Outline
2.2 Definition of static variables
2.3 Environment variables
2.4 Special files
2.5 MAKEFILE
2.6 Remarks
2.7 How to use the user libraries
2.8 System alarm screen
2.9 Supplement about segments
2.10 How to increase the global heap size for the application
2.1 Outline
In this documentation we assume that the "C Executor library disk" has been
installed in the directory C:\APP.
The application program is made by the following procedures.
(1) Make the working directory.
(2) Copy \APP\TOOL\MAKEFILE, \APP\TOOL\VERSION.C and
\APP\TOOL\CEXEC.O2M into the working directory.
(3) Edit the source files.
(4) Modify MAKEFILE to fit to user application.
(5) Modify user application's version number in VERSION.C.
(6) Modify filename, filesize, etc. in CEXEC.O2M.
(7) Execute NMAKE.
(1) Making the working directory.
Usually, the working directory is made in the directory( C:\APP ) in which
the C library has been installed. We assume that the working directory name
is PROG1.
C:\> md c:\app\prog1
(2) Copying specific files.
Copy the necessary files at a minimum from TOOL directory to the working
directory.
C:\> cd c:\app\prog1
C:\APP\PROG1> copy ..\tool\makefile
C:\APP\PROG1> copy ..\tool\version.c
C:\APP\PROG1> copy ..\tool\cexec.o2m