
4.EMBEDDING OF C APPLICATIONS B-66284EN/01
- 358 -
4.4 NOTES AND RESTRICTIONS
The following items may be added due to upgrades:
• The operating environment of FANUC PICTURE runs with the
following settings:
Settings of the method of switching between CNC and user
screens (crt_setswt)
⋅ CNC software cannot recognize the function keys on the
MDI panel.
⋅ Whether to automatically switch to an alarm screen of the
NC if an alarm occurs while a CNC screen is displayed is
determined with the user screen.
⋅ Switching from a user screen to a CNC screen is prohibited.
Setting of CRT display mode (crt_setmode)
⋅ VGA display 80-column-by-30-row mode.
⋅ Reduced display is accomplished using a 14-inch font with
9-inch VGA.
Setting of video mode (_setvideomode)
⋅ Size 640 × 480, palette of 256 colors (PC-AT)
Setting of all palettes (_remapallpalette)
⋅ The palette created with FANUC PICTURE (MEM
generation), which is a tool on the PC, is set.
The environment described above must not be changed in the
functions created by the machine tool builder. Otherwise, the FANUC
PICTURE library will not run normally.
The following color number acquisition function is supplied for
graphic processing purposes:
short GetPaletteNumber(short nBlue, short nGreen, short nRed)
short nBlue : Value of B of an RGB color
short nGreen : Value of G of an RGB color
short nRed : Value of R of an RGB color
Return value : Color number
• The following functions are controlled by FANUC PICTURE.
Do not use them in the functions created by the machine tool
builder.
crt_setuserscrn Registers the screen number of a user screen.
crt_setuserskey Customizes the soft keys on a CNC screen.
crt_cncscrn Switches to a CNC screen.
• Function key input is monitored by the action monitor portion
shown in the figure in (1) in Section 4.2. When controlling
function key input using a function created by the machine tool
builder, use great caution not to affect the operation of the
FANUC PICTURE library.
• As the version of the C executor application displayed on the NC,
a pattern containing the version of FANUC PICTURE
(Version.c) is supplied. Subsequent management must be
performed by the machine tool builder.