
6. FUNCTIONS OF THE MACRO
EXECUTOR
B–61803E–1/10
PROGRAMMING
58
X coordinate of the graphic coordinates system
Y : Y coordinate of the character coordinates system, Y coordinate of
the graphic coordinates system
I : X coordinate at the center of the circular graph of the graphic
coordinates system
J : Y coordinate at the center of the circular graphic of the graphic
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)
Q : Circular graph (Graphic display), PC address write data
(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 (FANUC 16-SERIES) ; ”FANUC 16-SERIES” 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.
Command character size at the address A
.
A1 = Normal size
A2 = Full size
A3 = Triple size (3 2 size)
A4 = 2 2 size
The following characters and symbols can be displayed at full size:
Alphabetic characters, numeric characters, kana characters, blanks,
the plus sign (+), minus sign (–), period ( . ), equal sign (=), comma
( , ), asterisk (
*
), slash ( / ), paretheses ( ( ) ), square brackets ( [ ] ),
inequality signs ( < and > ), and the sharp (#)