G68 X_ Y_ R_ 旋转开(后面的X、Y是旋转中心的坐标值。R是旋转角度,单位是“°”,逆时针为正,顺时针为负。)
G69 取消旋转
程序:
O0001;(主程序)
G91 G28 Z0.
G17 G21 G40 G49 G80
G00 G90 G54 X0. Y0.
G43 H04 Z50.
S2500 M03
Z1.
M98 P1000
G68 X0 Y0 R90.0
M98 P1000
G69
G68 X0 Y0 R180.0
M98 P1000
G69
G68 X0 Y0 R270.0
M98 P1000
G69
G00 Z100.
M05
M30
O1000;(子程序)
G01 Z-5. F800
G41 X10.0 Y5.0 D04 F500
Y30.0
X20.0
G03 X30.0 Y20.0 R10.0
G01 Y10.0
X5.0
G00 Z1.
G40 X0 Y0
M99