
PROGRAMMING
B–63194EN/02
12. COMPENSATION FUNCTION
149
Tool (beam) diameter : 20φ
Offset No. : 01
Tool offset value : +10.0
80 50
40
50
40
30R
N1
N2
N3
N4
N5
N6
N7
N8
N9
N10
N11
N12
N13
N14
30 3040
X axis
Y axis
Program using tool offset
Origin
30R
Program
N1 G91 G46 G00 X80.0 Y50.0 D01 ;
N2 G47 G01 X50.0 F120.0 ;
N3 Y40.0 ;
N4 G48 X40.0 ;
N5 Y–40.0 ;
N6 G45 X30.0 ;
N7 G45 G03 X30.0 Y30.0 J30.0 ;
N8 G45 G01 Y20.0 ;
N9 G46 X0 ; Decreases toward the positive direction for
movement amount “0”. The beam moves in the –X
direction by theoffset value.
N10 G46 G02 X–30.0 Y30.0 J30.0 ;
N11 G45 G01 Y0 ; Increase toward the positive direction for movement
amount “0”. The beam moves in the +Y direction by
the offset value.
N12 G47 X–120.0 ;
N13 G47 Y–80.0 ;
N14 G46 G00 X80.0 Y–50.0 ;
Examples