Fanuc C-Executer Operating Manual
B-62443EN-3/03E
- 977 -
4. Making application program
4.1 Alterations
It is required for the already existing application program to modify the
source codes as it avoids specification restrictions if you want to run the
program on FS160i/180i. You should take care of the following notices for
making new application program.
Index number of the following notices corresponds to the previous section's
each item number.
(1) An application program which runs on FS160i/180i should not make
screen changing inhibited. Concretely, for example, don't execute
"crt_setswt( CRT_SWT_DIS )" (don't inhibit screen changing actively),
execute "crt_setswt( CRT_SWT_GREN )" while it draws graphics (enable
to change screen during drawing graphics), etc.
(2) Redraw all contents in the user screen if the screen is switched
between NC side and PC side. Concretely, get the current output
device, NC or PC, using "crt_pcinfo()" function, and if it switches,
redraw whole screen.
(3) Don't execute I/O operation from/to DRIVE B: (S-RAM card) on FS160i/
180i with PC. It is desirable for FS160i/180i with HSSB to display
guidance message such as "Insert S-RAM card to card-slot at the side
of CNC's display panel".
(4) The application program which uses "Composite" graphic mode doesn't
correctly draw graphics on FS160i/180i. It is needed to redesign
color specification for application screen using "Character over
graphics" mode.
(5) Don't use 256-color graphics mode. Modify the application program
to use only 16 colors.
(6) If you want not to use automatic key repeating on PC side screen,
set delay time and interval time for key repeating both as 1000[msec]
using "aux_mdi_repeat()" function.
(7) If you want to customize MDI key mapping for CNC's screen, alter
key mapping on PC side ("CNCscrnApp").