
6. FUNCTIONS OF THE MACRO
EXECUTOR
B–61803E–1/10
PROGRAMMING
96
G320 ;
Specify the program number to #8520 and instruct G320 to record a new
program.
(Example)
To record O0002,
#8520=2 ;
G320 ;
IF[#8529 NE 0] GOTO 900 ;
Recording end
N900 ;
Error
Conduct similar processing as the edit ”Oxxxx”+”INSERT” when
recording a new program. EOB is not inserted.
O0002
%
G321 ;
Specify the program number and instruct G321 to delete a program.
(Example)
To delete O0003
#8520=3 ;
G321 ;
IF[#8529 NE 0] GOTO900 ;
End of deletion
N900 ;
Error
(1) Reading a specified block coded in words (G325)
When issuing this command, specify a program number, block
number, and the number of the variable into which the block is to be
read. From the corresponding NC program coded in words, the
corresponding block is read into the specified variable area. Each
word contains two variables: an address code and numerical value.
(Example)
O0004 ;
G92 X0. M08 ;
G90 G00 X10.5 M05 ;
#8520=4 ;
6.6.2
Recording of a New
Program
6.6.3
Deleting a Program
6.6.4
Reading a Specified
Block