6 - 95
6 MOTION PROGRAMS FOR POSITIONING CONTROL
[Program Example]
The program for which executes the positioning added the offset value to the command
position. (For absolute value command)
(Data of the tool length offset data setting registers are as follows :
H1 = 5[mm] (D1650, 1651 = 50000), H2 = 10[mm] (D1652, 1653 = 100000))
G90 ; (Absolute value command)
G00 G43 X50. H1 ; (With the addition of the offset value of 5[mm], X-axis is
positioned to its 55[mm] position)
G01 X25. F500. ; (X-axis travels to its 30[mm] position at 500[mm/min].)
Y100. ; (Y-axis travels to its 100[mm] position at 500[mm/min].)
G43 X200. H2 ; (With the addition of the offset value of 10[mm], X-axis
travels to its 210[mm] position (offset value change))