
B–61803E–1/10
APPENDIX
P. MACRO EXECUTORS
FOR THE Series 20i
577
The character patterns created and registered by users are called external
characters. External characters must be registered with the external
character registration command (G319). Up to 150 external characters
can be registered.
A registered external character can be displayed at any position (in the
graphic coordinate system) by executing the G code command in the
following format. This command can be used in both a window,
described in the previous section, and the base screen.
G280 X x Y y P p (”80qq”) ;
X x
Y y : Specify the display position. X and Y respectively represent
the X and Y coordinates of the position in the graphic
coordinate system.
P p
: Specify the display color, using a color palette color number
between 0 and 15. The background is always transparent and
cannot be specified as blinking. If overlapping with graphics
is specified, the character is overwritten
(”80qq”) : Specify the number of the external character to be displayed.
qq must be a hexadecimal representation of a external
character number between 00 to 149. 80qq must be enclosed
in (” and ”) and, therefore, be entered as (”80qq”).
Up to two characters can be displayed at the same time. To
do this, specify the characters in the format (”80qq 80qq”)
Example)
Command for displaying the 20th character in the external character
memory
G280 X–250 Y120 P11 (”8014”);
In the Series 20i, a character consists of 400 points (16 rows by 25
columns). To register a external character, the 16–point pattern (ON/OFF
states) in a single row is represented by a single variable, so that
consecutive 25 variables represent a single character (400 points). Each
variable represents the ON/OFF states of the 16 points in each row as
binary coded decimal numbers.
G319 P p
Qqq : External character registration
P p
: First variable number of the 25 variables defining the
character pattern
Qqq
: External character number (00 to 149)
The external character memory has an area for 150 characters.
Specify the location of the memory in which to register the
character, using qq.
P.3.2
Display of External
Characters at any
Position