
6.MACRO EXECUTOR FUNCTION B-63943EN-2/01
- 124 -
NOTE
For the standard color in the case of display with
background color (when bit 0 (VGAR) of compile
parameter (No. 9100) is set to 1), see "Standard
color palettes" in Subsection 6.1.3.4, "Command for
display with background color (G250)".
Example
G240 P1 C2 ;
G243 X0 Y0 (ABC) ;
G240 P0 C7 ;
A B C- X Y Z
G243 (-) ;
G240 P5 C4 ;
G243(XYZ) ;
When addresses P and C only are specified, the specification is
handled in the same way as 0 is specified in address L.
G240 P1 ; Character color ..........Color of color palette 1
Background color ......(No change)
Blinking .....................Without blinking
G240 C1 ; Character color ..........(No change)
Background color ......Color of color palette 1
Blinking .....................Without blinking
NOTE
1 If G240 is not specified even once, color palette 7
is used for character display/graphic display, and
color palette 0 is used for background color for
character display without blinking.
2 When bit 4 (NVGA) of compile parameter (No.
9167) is set to 1, the function of address C cannot
be used.
3 When a monochrome LCD unit is used as an
indicator, brightness is to be used as described
below (for the standard color).
The values of address P can be arranged in the
order of higher to lower brightness as follows: 7, 3.
12, 6, 2, 5, 1, 4, 8, 9, 11, 10, 0 (where 2 = 5 and 9 =
11). Actually, one brightness value cannot be
easily distinguished from another. So, the use of
7 and 2 only is recommended for creation.
4 The color palette settings made on the CNC are
used.
Green background
/Red character
White background
/Black character
Blue background
/Purple character