Programming manual.
CNC 8070
22.
STATEMENTS AND INSTRUCTIONS
Programming statements
·390·
(REF: 1709)
Programming. Disable ISO generation.
'This instruction must be programmed alone in the block' Programming it is optional; if not
programed, the CNC generates ISO code up to the end of the program (M30).
Programming format.
The programming format is:
#ISO OFF
Considerations.
Program two #ISO instructions in the same program.
• If in a program there are two or more #ISO instructions with the same name and an
#ISO OFF instruction has been programmed between them, from the second #ISO
instruction on the CNC resumes ISO block generation in the same program.
• If in a program there are two or more #ISO instructions with the same name and no
#ISO OFF instruction has been programmed between them, from the second #ISO
instruction will have no effect (it will be ignored).
• If in a program there are two or more #ISO instructions with different names, the ISO
blocks generated since each instruction will go in the program indicated in each
instruction. It doesn't matter whether an #ISO OFF instruction has been programed or
not between both instructions.
Examples.
#ISO OFF
(Disable ISO generation)
Example. Convert a subroutine. Program after ISO generation.
%L SUBROUTINE
G90 G01 X80 Y0 F500
Z-2
G91 Y-25
G03 Y50 R25
G01 Y-25
G90 G01 Z5
M29
%PROGRAM
···
LL SUBROUTINE
···
···
(LL SUBROUTINE)
G90 G01 X80 Y0 F500
Z-2
G91 Y-25
G03 Y50 R25
G01 Y-25
G90 G01 Z5
(M29)
···
Example. Convert a canned cycle. Program after ISO generation.
G0 X0 Y0 G81 I-10 G0 X0 Y0 G80
;---------- G81 I-10 ----------
G40
M3
G0 G61 G90 Z5
G1 G60 Z-10
G0 G50 Z5
G0 G139
;-------------------------
Example. Convert a repetition. Program after ISO generation.
G91 G01 Q60 NR6 G91 G01 Q60 ;NR6
G91 G01 Q60 ;NR6
G91 G01 Q60 ;NR6
G91 G01 Q60 ;NR6
G91 G01 Q60 ;NR6
G91 G01 Q60 ;NR6