PROGRAMMING
B–64124EN/01
13. FUNCTIONS TO SIMPLIFY
PROGRAMMING
175
Offset value +200.0 is set in offset No.11, +190.0 is set in offset No.15, and +150.0 is set in offset No.31
Program example
;
N001 G92X0Y0Z0; Coordinate setting at reference position
N002 G90 G00 Z250.0 T11 M6; Tool change
N003 G43 Z0 H11; Initial level, tool length offset
N004 S30 M3 Spindle start
N005 G99 G81X400.0 R Y–350.0
Z–153,0R–97.0 F120; Positioning, then #1 drilling
N006 Y–550.0; Positioning, then #2 drilling and point R level return
N007 G98Y–750.0; Positioning, then #3 drilling and initial level return
N008 G99X1200.0; Positioning, then #4 drilling and point R level return
N009 Y–550.0; Positioning, then #5 drilling and point R level return
N010 G98Y–350.0; Positioning, then #6 drilling and initial level return
N011 G00X0Y0M5; Reference position return, spindle stop
N012 G49Z250.0T15M6; Tool length offset cancel, tool change
N013 G43Z0H15; Initial level, tool length offset
N014 S20M3; Spindle start
N015 G99G82X550.0Y–450.0 Positioning, then #7 drilling, point R level return
Z–130.0R–97.0P300F70;
N016 G98Y–650.0; Positioning, then #8 drilling, initial level return
N017 G99X1050.0; Positioning, then #9 drilling, point R level return
N018 G98Y–450.0; Positioning, then #10 drilling, initial level return
N019 G00X0Y0M5; Reference position return, spindle stop
N020 G49Z250.0T31M6; Tool length offset cancel, tool change
N021 G43Z0H31; Initial level, tool length offset
N022 S10M3; Spindle start
N023 G85G99X800.0Y–350.0 Positioning, then #11 drilling, point R level return
Z–153.0R47.0F50;
N024 G91Y–200.0K2; Positioning, then #12, 13 drilling. point R level return
N025 G28X0Y0M5; Reference position return, spindle stop
N026 G49Z0; Tool length offset cancel
N027 M0; Program stop