
B–61803E–1/10
6. FUNCTIONS OF THE MACRO
EXECUTOR
PROGRAMMING
61
In this case, one block of the sequence No. 20 in the program No. 8000
will be executed.
In the above example, ”ABCXYZ” will be executed.
And address P executes the specified block after the process of the
corresponding block is finished. Consequently, ”ABCXYZ” will be
displayed though command is done as follows with the above example.
G243 P20 (ABC) ;
Nothing but the character string will be described at the block specified
by P.
When #8509 is 0, the block of the sequence No. specified in the current
program will be executed.
NOTE
Process sequence of modal address
Program is processed by block in the normal NC program,
but it is processed in sequence of address command in the
conversation macro program.
(Example)
1 F8.3 ;
G243 F5.1 D#100 ;
2 F8.3 ;
G243 D#100 F5.1 ;
In 1 #100 is displayed with F5.1, but in 2 it is displayed with
F8.3.
(2) Screen erase (G202)
G202 XxYyIiJjPp;
X= Start point of X coordinate in character coordinate
Y= Start point of Y coordinate in character coordinate
I = Number of characters to be erased from the start point
(X coordinate) for partial erasing.
J = Number of characters to be erased from the start point
(Y coordinate) for partial erasing.
P = 1 ... Erasing graphic screen
= 2 ... Erasing character screen
= 3 ... Erasing graphic and character screens
Also to make partial erasing, all X, Y, I and J addresses must be specified.
If any address is omitted, all the screen is erased.