A. Sample program
Preparation motion for machining
G109L1: Upper turret selection
M901: HD1 spindle selection
M200: C-axis connect/Milling mode select
M212: C-axis unclamping
G94: Feed per minute
G97: Constant surface speed control OFF
T001M06: Tool change (TNo.01)
B-axis positioning
G97S12000: Rotation speed 12000 min
-1
M03: Forward milling spindle rotation
G10.9X0: Radius data input mode
M51: Milling spindle-through coolant ON
Machining motion
G61.1:
Geometry compensation
Rotational axis positioning
G43H**P1: Tool length offset
M107: B-axis clamp
G5P2: High-speed
machining mode ON
(Machining pattern)
G5P0: High-speed
machining mode OFF
G64:
Geometry compensation OFF