Fanuc C-Executer Operating Manual
B-62443EN-3/03E
- 715 -
The color values set by the C application program are effective to
only the C user screen. The other screens such as the CNC's screen
are not affected by this setting. Similarly, the color setting in
the other screens are not effective to the C user screen. The color
palettes used for graphics are different from the palettes for
characters, they are not affected by this function's setting. Use
"remappalette" or "_remapallpalette" function to set the color
palettes for graphics.
It is possible to set the priority of the palette of characters and
graphics by specifying "_PAL_COMP" in "index". In this case, specify
the palette priority in "color".
color Palette priority
---------------+-----------------------
CRT_PAL_COMP Composite (default)
CRT_PAL_CHAR Character over graphics
CRT_PAL_GRPH Graphics over character
"Composite" means that the intensity of each color of character and
one of graphic pixel are mixed. (logical OR). For example, in case
that
Character color R/G/B = 0x30/0x00/0x20
Graphic color R/G/B = 0x00/0x20/0x38
Composite color R/G/B = 0x30/0x20/0x38
is output on the screen.
The displayed colors on the screen are for each setting as follows.
Character Graphics
palette index palette index Dot color
---------------+---------------+---------------+----------------
Composite 0 0 Composite color
Not 0 0 Composite color
0 Not 0 Composite color
Not 0 Not 0 Composite color
---------------+---------------+---------------+----------------
Character 0 0 Graphic color
over Graphics Not 0 0 Character color
0 Not 0 Graphic color
Not 0 Not 0 Character color
---------------+---------------+---------------+----------------
Graphics 0 0 Character color
over Character Not 0 0 Character color
0 Not 0 Graphic color
Not 0 Not 0 Graphic color
This table indicates that the palette index 0 is the special part
for overlapping the character and the graphics. Allocate "Black"
to the palette 0 as same as initial value so far as there are no
exceptional reasons.