
B–62093E–1/02
6. FUNCTIONS OF THE MACRO
EXECUTOR
PROGRAMMING
81
(a) Writing a block coded in words (G326Pp)
Prepared program data can be written in the variable area after the
block specified by the program number and block number.
Specify the maximum number of variable data by address P. If
address “EOB” is present within the specified data, program is
written up to “EOB”; if “EOR” is present, program is written up
to the EOR; and if neither “EOB” nor “EOR” is present, program
is written by the number of data specified by address “P”.
(Example)
O0004 ;
G92 X0. M08 ;
G90 G00 X10.5 M05 ;
#8520=4 ;
#8521=2 ;
#8522=100 ;
#100=7 ;
#101=1 ;
#102=24 ;
#103=20.5 ;
#104=6 ;
#105=1000 ;
#106=20.7 ;
G326 P7 ;
IF[#8529 NE 0] GOTO900 ;
End of writing
N900 ;
Error
If the above instruction is executed, a block is input as follows;
O0004 ;
G92 X0. M08 ;
G1 X20.5 F1000. ;
G90 GO X10.5 M05 ;
End code becomes “255”
and it is impossible to conduct writing,
if the specification of block number is EOR block only or higher
numbers.
6.5.5
Block Writing