
4. CONVERSATIONAL MACRO FUNCTION
B–62073E–2/03
72
(2) Recording of a new program
G370 ;
Specify the program number you wish to record and instruct G370 to
you record a new program.
Example:
If you want to record O0002;
#8520=2 ;
G370 ;
IF[#8529 NE 0] GOTO 900 ;
Recording end
N900 ;
Error
Conduct similar processing as the edit “Oxxxx”+“INSRT” when
recording of a new program. EOB is not insegted.
O0002
%
(3) Deleting a program
G371 ;
Specify the program number that you want delete and instruct G371
when you delete a program.
Example:
If you want to delete O0003
#8520=3 ;
G371 ;
IF[#8529 NE 0] GOTO900 ;
End of deletion
N900 ;
Error
(4) Reading a Specified Block
G375 ;
Specify the program number and block number. As a result, the
relevant block can be read to a specified variable area.
Example:
If
O0004 ;
G92 X0. M08 ;
G90 G00 X10.5 M05 ;
#8520=4 ;
#8521=3 ;
#8522=100 ;
G375 ;
IF[#8529 NE 0] GOTO900 ;
End of reading
N900 ;