
2. System components
The system components that C Executor and the user application program are
shown below.
+--------------------------------+ +----+ +-------------+
│ │ │ <- │ │ │ User │
│ │ CNC window │ -> │ │ <- │ application │
│ │ │ *3 │ │ -> │ program │
│ CNC software │---------------│ │ │ *1 │ │
│ │ │ │ │ +-------------+
│ │ C Executor │ <- │ +------------------+
│ │ │ -> │ C library │
│ │ │ *4 │ │
+--------------------------------+ +-----------------------+
^ │ ^ │ *2
│ v │ v
+-------------------------------------------------------------+
│ FANUC Series 30i Hardware │
+-------------------------------------------------------------+
*1 library function call by user application
*2 output to screen, reading MDI key or touch-panel, etc.
*3 reading/writing of CNC information
*4 task switching, screen switching, etc.
2.1 C Executor
C Executor provides following functions.
(1) Loading and starting application program
C Executor loads the user application program and C library from flash
ROM into DRAM in start-up procedure of CNC unit, and starts executing the
user application program.
(2) Switching CNC screen and user screen
C Executor watches screen switching by operator's MDI operation. When any
user screen is selected, C Executor switches execution to user application.
When CNC screen is selected again, C Executor returns execution to CNC soft-
ware.
(3) Managing CNC task and user task
C Executor manages the user application's background task in addtion to
switching process by screen switching.