
B–62093E–1/02
6. FUNCTIONS OF THE MACRO
EXECUTOR
PROGRAMMING
57
It is possible to make the screen freely by commanding the contents of the
screen display with the conversational macro program. The following
control codes are prepared for the screen display.
1. G243 Character display
2. G202 Screen erase
3. G240 Color specification
G202 is the one–shot G codes. All the other G codes are the modal G
codes and they are considered as belonging to the same G code group.
Also the following are the modal addresses.
X : X coordinate of the character coordinates system
Y : Y coordinate of the character coordinates system
A : Character size (Character display)
B : Flash specification (Character display)
F : Format of numeric display (Character display)
Z : Zero supress specification of numeric display (Character display)
(1) Character display (G243)
G243 Xx Yy Aa Bb Cc (c..) (*hhhh..*) Kk Ff.e Zz Dd Pp ;
There are 2 ways of commanding the character string to display.
a) Command to display a character string by enclosing it with
parentheses:
G243 (POWER MATE) ; “POWER MATE” will be displayed.
Those which you can command by enclosing with parentheses are the
alphabet, numbers, minus marks, and decimal points only.
b) Commandto display a character string by bounding with “(*” and
“*)” by internal codes:
G243 (*46 41 4E 55 43*) ; “FANUC” will be displayed.
G243 (*4E 43 4175 4356*) ; “NC system” will be displayed.
Command with hexadecimal number. Divide the internal codes with
blanks. Take a space for 2 characters aside for hiragana and kanji. The
coordinates will be renewed when a character string is displayed.
For the character string, it is possible to specify up to maximum total 255
characters in 1 block. Count hiragana and kanji as 2 characters
respectively.
Also, it is possible to command the character code to display directly at
the address C
by decimal number. The commandable codes are 32 – 95
(20 – 5F with hexadecimal number) or 160 – 223 (A0 – DF with
hexadecimal number).
C40 →
* C61
→ =
Command the display positions of the character strings at the addresses
X and Y with the character coordinates.
6.1.2
Screen Display Control
Code