上海维宏电子科技股份有限公司
Weihong Electronic Technology Co., Ltd.
Specialized, Concentrated, Focused 17
The instruction can be nested:
G68 X_Y_Z_R_
’………A
…
G68 X_Y_Z_R_
’………B
…
G68 X_Y_Z_R_
’………C
…
G69
’………C’
G69
’………B’
G69
’………A’
Rotation that appears earlier will influence the following rotation instruction. The subsequent
rotation center is not the one in the machining file, but the position after transformation due to the
previous rotation.
The function of G69 is to cancel the previous rotation command. In the above-mentioned
program, line
C’ cancels the G68 of line C, line B’ the G68 of line B, and line A’ the G68 of line A. If
G69 not used, all rotation commands will be automatically cancelled at the end of current machining.
The following example contains the nesting of rotation command and scaling command.
G90 G0 x0 y0 z0
G91G65 P9999 L1
G65 P9998 L10
M30
O9999
G1 x200
y-100
x-200
y100
M17
O9998
G68 x50 y50 R45
G65 P9999 L1
G51 x50 y50 p0.5
G65 P9999 L1
M17
The outcome is as shown in Fig. 4-9.
Содержание Ncstudio
Страница 74: ...RMB 21 00 ...