Drilling, boring, tapping technology


Release time:

2021-10-14

【Summary】 Drilling, Boring, Tapping Technology The FANUC system has a total of 11 types of fixed cycle commands for hole processing, and below are introductions to some of these commands. 1) Drilling Cycle Command G81 The format of the G81 drilling cycle command is: G81 G△△ X__ Y__ Z__ R__ F__ X and Y are the position of the hole, Z is the depth of the hole, F is the feed rate (mm/min), and R is the height of the reference plane. G△△ can be G98 or G99, where the two modal commands control whether the tool returns to the initial plane or the reference plane after the hole processing cycle ends; G98 returns to the initial plane, which is the default mode; G99 returns to the reference plane. When programming, absolute coordinates G90 and relative coordinates G91 can be used, and it is recommended to use absolute coordinates as much as possible. The action process is as follows: 1) The drill quickly positions to the starting point B(X, Y) of the hole processing cycle; 2) The drill quickly moves along the Z direction to the reference plane R; 3) Drilling processing; 4) The drill quickly returns to the reference plane R or quickly returns to the initial plane B. This command is generally used for processing holes with a depth less than 5 times the diameter. Programming example: For the part shown in Figure a, all holes are required to be processed using G81, and the CNC processing program is as follows: N02 T01 M06; Select tool T01 (Φ10 drill) N04 G90 S1000 M03; Start spindle rotation at 1000r/min N06 G00 X0. Y0. Z30. M08; N08 G81 G99 X10. Y10. Z-15. R5 F20; Drill at position (10,10), hole depth is 15mm, reference plane height is 5mm, drilling cycle ends and returns to reference plane N10 X50; Drill at position (50,10) (G81 is a modal command until G80 is canceled) N12 Y30; Drill at position (50,30) N14 X10; Drill at position (10,30) N16 G80; Cancel drilling cycle N18 G00 Z30 N20 M30 2) Drilling Cycle Command G82 The format of the G82 drilling cycle command is: G82 G△△ X__ Y__ Z__ R__ P__ F__ In the command, P is the pause time of the drill at the bottom of the hole, in ms (milliseconds), and the meanings of the other parameters are the same as G81. This command pauses the feed at the bottom of the hole, meaning that when the drill reaches the bottom position, the tool does not feed and remains in a rotating state, making the bottom of the hole smoother. G82 is generally used for reaming and counterboring. The action process is as follows: 1) The drill quickly positions to the starting point B(X, Y) of the hole processing cycle; 2) The drill quickly moves along the Z direction to the reference plane R; 3) Drilling processing; 4) The drill pauses feeding at the bottom of the hole; 5) The drill quickly returns to the reference plane R or quickly returns to the initial plane B. N02 T01 M06; Select tool T01 (Φ10 drill) N04 G90 S1000 M03; Start spindle rotation at 1000r/min N06 G00 X0. Y0. Z30. M08; N08 G82 G99 X10. Y10. Z-15. R5 P2000 F20; Drill at position (10,10), hole depth is 15mm, reference plane height is 5mm, pause for 2 seconds at the bottom of the hole, drilling cycle ends and returns to reference plane N10 X50; Drill at position (50,10) (G81 is a modal command until G80 is canceled) N12 Y30; Drill at position (50,30) N14 X10; Drill at position (10,30) N16 G80; Cancel drilling cycle N18 G00 Z30 N20 M30 3) High-Speed Deep Hole Drilling Cycle Command G73 For processing holes deeper than 5 times the diameter, due to deep hole processing, it is not conducive to chip removal, so intermittent feeding is used (multiple feedings), with each feed depth being Q, and the last feed depth ≤ Q, with a retract amount of d (set by the system), until reaching the bottom of the hole. See Figure b. The format of the G73 high-speed deep hole drilling cycle command is: G73 G△△ X__ Y__ Z__ R__ Q__ F__ In the command, Q is the feed depth for each feed, and the meanings of the other parameters are the same as G81. The action process is as follows: 1) The drill quickly positions to the starting point B(X, Y) of the hole processing cycle; 2) The drill quickly moves along the Z direction to the reference plane R; 3) Drilling processing, feed depth is Q; 4) Retract, retract amount is d 5) Repeat (3), (4), until the required processing depth 6) The drill quickly returns to the reference plane R or quickly returns to the initial plane B. 4) Tapping Cycle Command G84 The format of the G84 tapping cycle command is: G84 G△△ X__ Y__ Z__ R__ F__ The tapping process requires a strict proportional relationship between spindle speed S and feed rate F, so when programming, it is required to calculate the feed rate based on spindle speed, feed rate F = spindle speed × thread pitch, and the meanings of the other parameters are the same as G81. When using G84 for tapping, the spindle rotates forward, and when exiting, the spindle rotates in reverse. Unlike drilling, the return process after tapping is not a rapid motion, but a reverse exit at the feed rate. Before executing this command, the spindle may not even be started, and when executing this command, the CNC system will automatically start the spindle in the forward direction. The action process is as follows: 1) The spindle rotates forward, and the tap quickly positions to the starting point B(X, Y) of the tapping cycle; 2) The tap quickly moves along the Z direction to the reference plane R; 3) Tapping processing; 4) The spindle reverses, and the tap retracts to the reference plane R at the feed rate; 5) When using the G98 command, the tap quickly returns to the initial plane B. Programming example: For the 4 holes in Figure 5-34, tapping is performed with a tapping depth of 10mm, and the CNC processing program is: N02 T01 M06; Select tool T02 (Φ10 tap, pitch 2mm) N04 G90 S150 M03; Start spindle rotation at 1000r/min N06 G00 X0. Y0. Z30. M08; N08 G84 G99 X10. Y10. Z-10. R5 F300; Tap at position (10,10), thread depth is 10mm, reference plane height is 5mm, tapping cycle ends and returns to reference plane, feed rate F = (spindle speed) 150 × (thread pitch) 2 = 300 N10 X50; Tap at position (50,10) (G84 is a modal command until G80 is canceled) N12 Y30; Tap at position (50,30) N14 X10; Tap at position (10,30) N16 G80; Cancel tapping cycle N18 G00 Z30 N20 M30 5) Left-Hand Tapping Cycle Command G74 The format of the G74 tapping cycle command is: G74 G△△ X__ Y__ Z__ R__ F__ The difference from G84 is: during feeding, the spindle rotates in reverse, and during exit, the spindle rotates forward. The meanings of the parameters are the same as G84. The action process is as follows: 1) The spindle rotates in reverse, and the tap quickly positions to the starting point B(X, Y) of the tapping cycle; 2) The tap quickly moves along the Z direction to the reference plane R; 3) Tapping processing; 4) The spindle rotates forward, and the tap retracts to the reference plane R at the feed rate; 5) When using the G98 command, the tap quickly returns to the initial plane B. 6) Boring Cycle Command G85 The format of the G85 boring cycle command is: G85 G△△ X__ Y__ Z__ R__ F__ The meanings of the parameters are the same as G81. The action process is as follows: 1) The boring tool quickly positions to the starting point B(X, Y) of the boring cycle; 2) The boring tool quickly moves along the Z direction to the reference plane R; 3) Boring processing; 4) The boring tool retracts to the reference plane R or the initial plane B at the feed rate; 7) Boring Cycle Command G86 The format of the G86 boring cycle command is: G86 G△△ X__ Y__ Z__ R__ F__ The difference from G85 is: after reaching the bottom of the hole, the spindle stops and quickly exits. The meanings of the parameters are the same as G85. The action process is as follows: 1) The boring tool quickly positions to the starting point B(X, Y) of the boring cycle; 2) The boring tool quickly moves along the Z direction to the reference plane R; 3) Boring processing; 4) The spindle stops, and the boring tool quickly retracts to the reference plane R or the initial plane B; 8) Boring Cycle Command G89 The format of the G89 boring cycle command is: G89 G△△ X__ Y__ Z__ R__ P__ F__ The difference from G85 is: after reaching the bottom of the hole, the feed pauses. P is the pause time (ms), and the meanings of the other parameters are the same as G85. The action process is as follows: 1) The boring tool quickly positions to the starting point B(X, Y) of the boring cycle; 2) The boring tool quickly moves along the Z direction to the reference plane R; 3) Boring processing; 4) Feed pause; 5) The boring tool retracts to the reference plane R or the initial plane B at the feed rate; 9) Precision Boring Cycle Command G76 The format of the G76 boring cycle command is: G76 G△△ X__ Y__ Z__ R__ P__ Q__ F__ The difference from G85 is: G76 has three actions at the bottom of the hole: feed pause, spindle stop (directional stop), and tool reverse offset Q value, then quickly exit. This ensures that the tool does not scratch the surface of the hole. P is the pause time (ms), Q is the offset value, and the meanings of the other parameters are the same as G85. The action process is as follows: 1) The boring tool quickly positions to the starting point B(X, Y) of the boring cycle; 2) The boring tool quickly moves along the Z direction to the reference plane R; 3) Boring processing; 4) Feed pause, spindle stop, tool reverse offset; 5) The boring tool quickly exits to the reference plane R or the initial plane B; 10) Back Boring Cycle Command G87 The format of the G87 back boring cycle command is: G87 G△△ X__ Y__ Z__ R__ Q__ F__ The meanings of the parameters are the same as G76. The action process is as follows: 1) The boring tool quickly positions to the starting point B(X, Y) of the boring cycle; 2) The spindle stops, and the tool offsets in the reverse direction; 3) Quickly moves to the bottom of the hole; 4) The tool offsets in the forward direction back to the processing position, and the spindle rotates forward; 5) The tool feeds upward to the reference plane R; 6) The spindle stops, and the tool offsets in the reverse direction by Q value; 7) The boring tool quickly exits to the initial plane B; 8) Offsets in the forward direction; Cancel hole processing cycle command G80.

                                                        钻孔、镗孔、攻丝技术

FANUC系统共有11种孔加工固定循环指令,下面对其中的部分指令加以介绍。

1)钻孔循环指令G81

G81钻孔加工循环指令格式为:

G81 G△△ X__ Y__ Z__ R__ F__

X,Y为孔的位置、Z为孔的深度,F为进给速度(mm/min),R为参考平面的高度。G△△可以是G98和G99,G98和G99两个模态指令控制孔加工循环结束后刀具是返回初始平面还是参考平面;G98返回初始平面,为缺省方式;G99返回参考平面。编程时可以采用绝对坐标G90和相对坐标G91编程,建议尽量采用绝对坐标编程。

其动作过程如下

1)钻头快速定位到孔加工循环起始点B(X,Y);

2)钻头沿Z方向快速运动到参考平面R;

3)钻孔加工;

4)钻头快速退回到参考平面R或快速退回到初始平面B。

该指令一般用于加工孔深小于5倍直径的孔。编程实例:如图a所示零件,要求用G81加工所有的孔,其数控加工程序如下:

图片

N02 T01 M06; 选用T01号刀具(Φ10钻头)

N04 G90 S1000 M03; 启动主轴正转1000r/min

N06 G00 X0. Y0. Z30. M08;        

N08 G81 G99 X10. Y10. Z-15. R5 F20; 在(10,10)位置钻孔,孔的深度为15mm,参考平面高度为5mm,钻孔加工循环结束返回参考平面

N10 X50; 在(50,10)位置钻孔(G81为模态指令,直到G80取消为止)

N12 Y30; 在(50,30)位置钻孔

N14 X10; 在(10,30)位置钻孔

N16 G80;取消钻孔循环

N18 G00 Z30

N20 M30

2)钻孔循环指令G82

G82钻孔加工循环指令格式为:

G82 G△△ X__  Y__  Z__ R__  P__ F__

在指令中P为钻头在孔底的暂停时间,单位为ms(毫秒),其余各参数的意义同G81。

该指令在孔底加进给暂停动作,即当钻头加工到孔底位置时,刀具不作进给运动,并保持旋转状态,使孔底更光滑。G82一般用于扩孔和沉头孔加工。

其动作过程如下:

1)钻头快速定位到孔加工循环起始点B(X,Y);

2)钻头沿Z方向快速运动到参考平面R;

3)钻孔加工;

4)钻头在孔底暂停进给;

5)钻头快速退回到参考平面R或快速退回到初始平面B。

N02 T01 M06; 选用T01号刀具(Φ10钻头)

N04 G90 S1000 M03; 启动主轴正转1000r/min

N06 G00 X0. Y0. Z30. M08;        

N08 G82 G99 X10. Y10. Z-15. R5 P2000 F20; 在(10,10)位置钻孔,孔的深度为15mm,参考平面高度为5mm,钻到孔底暂停2秒,钻孔加工循环结束返回参考平面

N10 X50; 在(50,10)位置钻孔(G81为模态指令,直到G80取消为止)

N12 Y30; 在(50,30)位置钻孔

N14 X10; 在(10,30)位置钻孔

N16 G80;取消钻孔循环

N18 G00 Z30

N20 M30

3)高速深孔钻循环指令G73

对于孔深大于5倍直径孔的加工由于是深孔加工,不利于排屑,故采用间段进给(分多次进给),每次进给深度为Q,最后一次进给深度≤Q,退刀量为d(由系统内部设定),直到孔底为止。见图b所示。

G73高速深孔钻循环指令格式为:

G73 G△△ X__  Y__  Z__ R__  Q__ F__

在指令中Q为每次进给深度为Q,其余各参数的意义同G81。

其动作过程如下:

1)钻头快速定位到孔加工循环起始点B(X,Y);

2)钻头沿Z方向快速运动到参考平面R;

3)钻孔加工,进给深度为Q;

4)退刀,退刀量为d

5)重复(3)、(4),直至要求的加工深度

6)钻头快速退回到参考平面R或快速退回到初始平面B。

4)攻螺纹循环指令G84

G84螺纹加工循环指令格式为:

G84 G△△ X__  Y__  Z__ R__ F__

攻螺纹过程要求主轴转速S与进给速度F成严格的比例关系,因此,编程时要求根据主轴转速计算进给速度,进给速度F=主轴转速×螺纹螺距,其余各参数的意义同G81。使用G84攻螺纹进给时主轴正转,退出时主轴反转。与钻孔加工不同的是攻螺纹结束后的返回过程不是快速运动,而是以进给速度反转退出。该指令执行前,甚至可以不启动主轴,当执行该指令时,数控系统将自动启动主轴正转。

其动作过程如下:

1)主轴正转,丝锥快速定位到螺纹加工循环起始点B(X,Y);

2)丝锥沿Z方向快速运动到参考平面R;

3)攻丝加工;

4)主轴反转,丝锥以进给速度反转退回到参考平面R;

5)当使用G98指令时,丝锥快速退回到初始平面B。

编程实例:对图5-34中的4个孔进行攻螺纹,攻螺纹深度10mm,其数控加工程序为:

N02 T01 M06; 选用T02号刀具(Φ10丝锥。螺距为2mm)

N04 G90 S150 M03; 启动主轴正转1000r/min

N06 G00 X0. Y0. Z30. M08;        

N08 G84 G99 X10. Y10. Z-10. R5 F300; 在(10,10)位置攻螺纹,螺纹的深度为10mm,参考平面高度为5mm,螺纹加工循环结束返回参考平面,进给速度F=(主轴转速)150×(螺纹螺距)2=300

N10 X50; 在(50,10)位置攻螺纹(G84为模态指令,直到G80取消为止)

N12 Y30; 在(50,30)位置攻螺纹

N14 X10; 在(10,30)位置攻螺纹

N16 G80;取消攻螺纹循环

N18 G00 Z30

N20 M30

5)左旋攻螺纹循环指令G74

G74螺纹加工循环指令格式为:

G74 G△△ X__  Y__  Z__ R__ F__

与G84的区别是:进给时主轴反转,退出时主轴正转。各参数的意义同G84。

其动作过程如下:                                                         

1)主轴反转,丝锥快速定位到螺纹加工循环起始点B(X,Y);

2)丝锥沿Z方向快速运动到参考平面R;

3)攻丝加工;

4)主轴正转,丝锥以进给速度正转退回到参考平面R;

5)当使用G98指令时,丝锥快速退回到初始平面B。

6)镗孔加工循环指令G85

G85镗孔加工循环指令指令格式为:

G85 G△△ X__  Y__  Z__ R__ F__

各参数的意义同G81。

其动作过程如下:

1)镗刀快速定位到镗孔加工循环起始点B(X,Y);

2)镗刀沿Z方向快速运动到参考平面R;

3)镗孔加工;

4)镗刀以进给速度退回到参考平面R或初始平面B;

7)镗孔加工循环指令G86

G86钻孔加工循环指令格式为:

G86 G△△ X__  Y__  Z__ R__ F__

与G85的区别是:在到达孔底位置后,主轴停止,并快速退出。各参数的意义同G85。

其动作过程如下:

1)镗刀快速定位到镗孔加工循环起始点B(X,Y);

2)镗刀沿Z方向快速运动到参考平面R;

3)镗孔加工;

4)主轴停,镗刀快速退回到参考平面R或初始平面B;

8)镗孔加工循环指令G89

G89镗孔加工循环指令格式为:

G89G△△ X__  Y__  Z__ R__ P__ F__

与G85的区别是:在到达孔底位置后,进给暂停。P为暂停时间(ms),其余参数的意义同G85。

其动作过程如下:

1)镗刀快速定位到镗孔加工循环起始点B(X,Y);

2)镗刀沿Z方向快速运动到参考平面R;

3)镗孔加工;

4)进给暂停;

5)镗刀以进给速度退回到参考平面R或初始平面B;

9)精镗循环指令G76

G76镗孔加工循环指令格式为:

G76 G△△ X__  Y__  Z__ R__ P__ Q__ F__

与G85的区别是:G76在孔底有三个动作:进给暂停、主轴准停(定向停止)、刀具沿刀尖的反向偏移Q值,然后快速退出。这样保证刀具不划伤孔的表面。P为暂停时间(ms),Q为偏移值,其余各参数的意义同G85。

其动作过程如下:

1)镗刀快速定位到镗孔加工循环起始点B(X,Y);

2)镗刀沿Z方向快速运动到参考平面R;

3)镗孔加工;

4)进给暂停、主轴准停、刀具沿刀尖的反向偏移;

5)镗刀快速退出到参考平面R或初始平面B;

10)背镗循环指令G87

G87背镗加工循环指令指令格式为:

G87 G△△ X__  Y__  Z__ R__ Q__ F__

各参数的意义同G76。

其动作过程如下:

1)镗刀快速定位到镗孔加工循环起始点B(X,Y);

2)主轴准停、刀具沿刀尖的反方向偏移;

3)快速运动到孔底位置;

4)刀尖正方向偏移回加工位置,主轴正转;

5)刀具向上进给,到参考平面R;

6)主轴准停,刀具沿刀尖的反方向偏移Q值;

7)镗刀快速退出到初始平面B;

8)沿刀尖正方向偏移;

取消孔加工循环指令G80

TAG:


RELATED INFORMATION

ADD

Gengguantun Industrial Development Zone, Qingxian County, Hebei Province, China

WeChat applet

WeChat applet

Business License