CNC hardware used in C language executors



(1) The available memory capacity of the macro executor is ((custom soft capacity) – (C language executor capacity))
(2) These display devices are VGA graphic devices. “16 colors”, “256 colors”, and “16 grayscale” refer to the number of colors that can be displayed simultaneously on the screen. Applications can map 4096 colors to each color palette.
(3) The screen can also use 19 lines
(4) The screen can also use 30 lines
(5) 256 color display can also be set.
Application Development EnvironmentThe applications for the C language executor are developed by the machine tool manufacturers.
— Applications are developed (edited and compiled) using a regular PC.
— Applications can only be executed on the CNC unit.
— Debugging of applications can be done either on the PC or on the CNC.
Parts of the program that can run on the PC can be debugged like regular PC software. The entire program is debugged on the CNC.
Components of the Development System

Note
1 When using Microsoft Windows Vista Business Edition on your computer, you need to install version 5.6 of the WindRiver compiler C/C++. Version 4.4b cannot run on Windows Vista Business.
2 Please refer to “Appendix C for additional information on C compiler installation” for detailed information, as there are differences in installation process settings and compilation options between WindRiver Compiler C/C++ versions 4.4b and 5.6.
3 You can use the memory card recommended by FANUC or a CompactFlash card purchased from FANUC as the above memory card.
4 You can use not only SRAM cards but also ATA flash cards as storage cards for the development system.


Development ProcessThe development process of the C language executor software is as follows.

(1) Develop programs that run on the PC
You develop programs like you would for a regular PC. In this step, you develop parts of applications that can run on the PC. However, only library functions provided by the C language executor can be used in the applications. Certain functions extended by the compiler manufacturer may not be available on the C language executor.
Additionally, hardware-dependent programs such as BIOS calls are not available on the C language executor.
(2) Test on the PC
Source code-level debugging of the application can be completed using the compiler on the PC. Even if there are some differences between the PC and the C language executor, functional module-level testing can be completed.
(3) Complete the program for the C language executor
After module-level testing on the PC, you will develop the entire application using the C language library. If any errors occur in this step, you need to confirm whether you are using the C language library. You use the MAKEFILE provided by FANUC to compile, link, and generate the memory card file.
(4) Install to CNC
You write the application into the ROM of the CNC via the storage card.
(5) Test the application on the CNC
Test the application on the CNC