
3. SOFTWARE CONFIGURATION B-63322EN-2/01
- 8 -
System calls
When an application uses a system-provided process, it calls the
corresponding function from a system call library.
FANUC offers header files for calling functions from the system call
library. The header files are used for developing application software.
NOTE
The entity of the system call library currently exists in
the system software. (The application software calls
system call library functions directly from the system
software side.)
In the future, however, the entity of the system call
library may be partially prepared in the application
software side.
Task information table
The task information table must be prepared in the second 512-byte
section of the application code area. Its configuration is listed below.
02040200H
Offset Description Size
+ 0000H Task information for task No. 1
32 bytes
+ 0020H Task information for task No. 2
32 bytes
::
:
::
:
+ 01E0H Task information for task No. 16
32 bytes
Contents of task information
Offset Description Size
+ 0000H Task start address
4 bytes
+ 0004H Task type (1 = interrupt and 0 = task)
4 bytes
+ 0008H Level
4 bytes
+ 000CH Stack area start addres
4 bytes
+ 0010H Stack area end address
4 bytes
+ 0014H Reserved for future use
12 bytes
NOTE
The CNC-side system uses the first 512-byte section of
the application code area. So, no application can use it.
This structure of the task information table is intended to allow for
future expansion. At present, set it with the data listed below: