
6.MACRO EXECUTOR FUNCTION B-63943EN-2/01
- 140 -
Address P executes a specified block after completion of the block.
Example
O9000 ;
:
#8509=8000 ;
G243 (ABC) P20 ;
:
M99 ;
O8000 ;
:
N10 (IJK) ;
N20 (XYZ) ;
:
M99 ;
O9100 ;
:
#8509=8000 ;
G243 P20 (ABC) ;
:
M99 ;
When O9000 is executed, the character string in
the single block with the sequence number 20 of
program No. 8000 is displayed. Thus, "ABCXYZ" is
displayed.
Even when O9100 is executed, "ABCXYZ" is
displayed.
In a character string registration program, a display position can be
specified.
Example
O9000 ;
:
#8509=8000 ;
G243 X0 Y0 ;
G243 P20 ;
:
M99 ;
O8000 ;
:
N10 (IJK) ;
N20 X10 Y20 (XYZ) ; → Display
: position
M99 ; specification
When O9000 is executed, ”XYZ" is displayed at
(X10,Y20).
NOTE
1 In a block specified by P, only a character string
may be coded.
2 When #8509 is set to 0, the block of a sequence
number specified in the program being executed is
executed.