上海维宏电子科技股份有限公司
Weihong Electronic Technology Co., Ltd.
16 Specialized, Concentrated, Focused
Description:
X_Y_Z_: the center of rotation
R_: rotation angle in degree. Negative value is clockwise while positive value counterclockwise.
The instruction can be used for rotary contour machining by making the selected machining
contour rotates degrees specified by R around the center in the specified plane. G68 is rotation on,
while G69 rotation off.
Meaning of R: put a watch on the current plane, and let the watch surface towards the positive
direction of the third axis; positive means counterclockwise rotation, while negative clockwise rotation.
In the process of rotation, coordinate of the third axis perpendicular to the current plane is
constant. Respectively, swiveling in XY plane, the coordinate of Z-axis keeps still; swiveling in YZ
plane, the coordinate of X-axis keeps still; and swiveling in ZX plane, the coordinate of Y-axis keeps
still.
For example:
G17G90 X0Y0Z0
G65P9999L1
G68 X0Y0R-90
’rotating 90 degrees clockwise around the center of (0, 0)
G65P9999L1
G69
’rotation off
M30
O9999
’machining a rectangle
G91 G1X100
Y50
X-100
Y-50
G90
M17
The actual outcome is as shown in Fig. 4-8:
After Rotation
(100,50)
(100,0)
Before Rotation
(0,0)
(50
,
-100)
(0
,
-100)
X
Y
Fig. 4-8 Sketch Map of Rotation Processing
Summary of Contents for Ncstudio
Page 74: ...RMB 21 00 ...