Fanuc C-Executer Operating Manual
B-62443EN-3/03E
- 935 -
(1) Start
The window task starts from "main()" function by calling
"os_strt_wtsk()" in the main task.
(2) Initialize
General initialization such as variable setting,etc.
(3) Wait the trigger to display
The application program checks whether it should display VGA window
or not. There are some conditions for the trigger to start displaying.
Input signal from PMC. (using "pmc_rdpmcrng()" function)
Status of touch-panel (using "aux_tpl_read()" function)
Status of CNC (using "cnc_statinfo()" function,etc.)
Notification of the other tasks (notify via DRAM/SRAM common
variables)
It is possible to always display the VGA window.
(4) Open VGA window
The application program opens VGA window using "vwin_open()" function.
(5) Display and read commands
The application program displays to the VGA window. It also receives
operator's commands. To receive commands, use the following method;
(because the application can't read MDI keys.)
Input signal from PMC. (using "pmc_rdpmcrng()" function)
Status of touch-panel (using "aux_tpl_read()" function)
Notification of the other tasks (notify via DRAM/SRAM common
variables)
(6) If display end
The application program detects the trigger to close the VGA window.
It checks informations as same as "(3) Wait the trigger to display".
(7) Close VGA window
The application program closes the VGA window using "vwin_close()"
function.
It is possible to always open VGA windows on the screen rather than the app-
lication program opens them on demands. Also it is possible to open the
invisible VGA window.
5.9.4 Available functions for the window task
The following functions are available for the window task.
(1) ANSI Standard C library
All functions which are available for the main task are available.
(2) MS-C extended C standard library
All functions which are available for the main task are available.