上海维宏电子科技股份有限公司
Weihong Electronic Technology Co., Ltd.
34 Specialized, Concentrated, Focused
Programming Example:
F1200 S600
M03
’spindle CW on
G90
G00 X0 Y0 Z10
’moving to the initial point
G17
G90 G99
’Specifying the coordinates of point R, point Z and hole 1, with the displacement at the bottom of
hole as 2.0, dwell time as 5s, and machining speed as 800
G76 X5. Y5. Z-10. R-5. Q2. P5000. F800
X25.
’hole 2
Y25.
’hole 3
G98 X5.
’hole 4, and setting to return to initial point
X10. Y10. Z-20.
’hole 5, and specifying the new point Z as -20.0
G80
M05
’drill stop
M02
G81 Drilling Cycle
Command Format:
G81 X_Y_Z_R_F_ K_;
Description:
X_Y_: hole position data (absolute/incremental coordinate)
Z_: the position of point Z at the bottom of the hole (absolute programming); the distance from
point R to point Z at the bottom of the hole (incremental programming)
R_: the position of point R (absolute programming); the distance from the initial point to point R
(incremental programming)
F_: feed speed, even if the canned cycle is cancelled, this modal data is still effective in the
subsequent machining.
K_: number of repeats (repeated movement and drilling, effective under G91 increment mode)
Hole machining operation is as shown in Fig. 4-23. G81 is used for general drilling.
Z
R
Initial Point
G98
Z
R
Initial Point
G99
(X,Y)
(X,Y)
Fig. 4-23 G81 Machining Process
Summary of Contents for Ncstudio
Page 74: ...RMB 21 00 ...