共享屋:FANUC 0I-MF加工程序传输到系统中如何自动分割?

FANUC 0I-MF加工程序传输到系统中如何自动分割?

将加工程序輸入至CNC,,由M30做分割成多组加工程序,并自动生成程序号

参数号:#3201#6设置为1

操作方式:

在程序画面,用F input的方式輸入程序号,CNC会将传输的程序用M30做分割,病自动命名程序号

如下图所示,分割成O0001、O0064、O0065、O0066、O0067、O0068。

測試檔案的內容如下:

%

O0001

N1

(PROGRAM NAME – 5314-5)

(DATE=DD-MM-YY – 27-07-10 TIME=HH:MM – 10:53)

G21

G0G17G40G49G80G90

(珨萸絮 TOOL – 64 DIA. OFF. – 64 LEN. – 64 DIA. – 32.)

G0Z100.0

M3

S2200

G0G90G54X14.258Y-19.46

Z10.M8

G1Z-15.F500.

G41D64X22.383Y-13.63

G2X-1.3Y60.R126.3

G1Y840.

G2X22.383Y913.63R126.3

G1G40X14.258Y919.46

Z10.F8000.

G0Z100.

X50.918Y-23.064

Z10.

G1Z-15.F500.

G41D64X57.574Y-15.601

G2X23.7Y60.R101.3

G1Y840.

G2X57.574Y915.601R101.3

G1G40X50.918Y923.064

Z10.F8000.

G0Z100.

X125.Y-26.3

Z10.

G1Z-15.F500.

G41D64Y-16.3

G2X48.7Y60.R76.3

G1Y840.

G2X125.Y916.3R76.3

G1G40Y926.3

Z10.F8000.

G0Z100.

X1935.742Y919.46

Z10.

G1Z-15.F500.

G41D64X1927.617Y913.63

G2X1951.3Y840.R126.3

G1Y60.

G2X1927.617Y-13.63R126.3

G1G40X1935.742Y-19.46

Z10.F8000.

G0Z100.

X1899.082Y923.064

Z10.

G1Z-15.F500.

G41D64X1892.426Y915.601

G2X1926.3Y840.R101.3

G1Y60.

G2X1892.426Y-15.601R101.3

G1G40X1899.082Y-23.064

Z10.F8000.

G0Z100.

X1825.Y926.3

Z10.

G1Z-15.F500.

G41D64Y916.3

G2X1901.3Y840.R76.3

G1Y60.

G2X1825.Y-16.3R76.3

G1G40Y-26.3

Z10.F8000.

G0Z100.

M5

G91G28Z0.M9

G28Y0.

M30 ←—– M30分割

N64 ←—–会以N64命名为O0064

(給褒絮 TOOL – 66 DIA. OFF. – 66 LEN. – 66 DIA. – 20.)

G0Z100.0

M3

S1700

G0G90G54X1956.55Y910.

Z10.M8

G1Z-19.F500.

G41D66X1953.55F600.

Y900.

Y0.

Y-10.

G40X1956.55

Z10.F8000.

G0Z100.

X-6.55

Z10.

G1Z-19.F500.

G41D66X-3.55F600.

Y0.

Y900.

Y910.

G40X-6.55

Z10.F8000.

G0Z100.

M5

G91G28Z0.M9

G28Y0.

M30 ←—– M30分割

N65 ←—–会以N65命名为O0065

(挃詩絮 TOOL – 63 DIA. OFF. – 63 LEN. – 63 DIA. – 12.)

G0Z100.0

M3

S1500

G0G90G54X975.Y51.9

Z3.M8

G1Z-14.9F500.

G41D63Y53.9

X120.

G2X103.9Y70.R16.1

G1Y830.

G2X120.Y846.1R16.1

G1X1830.

G2X1846.1Y830.R16.1

G1Y70.

G2X1830.Y53.9R16.1

G1X975.

X973.

G40Y51.9

Z3.F5000.

G0Z100.

M5

G91G28Z0.M9

G28Y0.

M30 ←—– M30分割

N66 ←—–会以N66命名为O0066

(珨萸絮 TOOL – 65 DIA. OFF. – 65 LEN. – 65 DIA. – 32.)

G0Z100.0

M3

S2200

G0G90G54X975.Y-25.3

Z3.M8

G1Z-15.F500.

G41D65Y-.3

X120.

G2X49.7Y70.R70.3

G1Y830.

G2X120.Y900.3R70.3

G1X1830.

G2X1900.3Y830.R70.3

G1Y70.

G2X1830.Y-.3R70.3

G1X975.

G40Y-25.3

Y-3.3

G41D65Y21.7

X120.

G2X71.7Y70.R48.3

G1Y830.

G2X120.Y878.3R48.3

G1X1830.

G2X1878.3Y830.R48.3

G1Y70.

G2X1830.Y21.7R48.3

G1X975.

G40Y-3.3

Y18.7

G41D65Y43.7

X120.

G2X93.7Y70.R26.3

G1Y830.

G2X120.Y856.3R26.3

G1X1830.

G2X1856.3Y830.R26.3

G1Y70.

G2X1830.Y43.7R26.3

G1X975.

G40Y18.7

Z3.F8000.

G0Z100.

M5

G91G28Z0.M9

G28Y0.

M30 ←—– M30分割

N67 ←—–会以N67命名为O0067

(儕挃詩絮 TOOL – 67 DIA. OFF. – 67 LEN. – 67 DIA. – 12.)

G0Z100.0

M3

S1300

G0G90G54X975.Y52.05

Z3.M8

G1Z-15.F500.

G41D67Y54.05

X120.

G2X104.05Y70.R15.95

G1Y830.

G2X120.Y845.95R15.95

G1X1830.

G2X1845.95Y830.R15.95

G1Y70.

G2X1830.Y54.05R15.95

G1X975.

X973.

G40Y52.05

Z3.F5000.

G0Z100.

M5

G91G28Z0.M9

G28Y0.

M30 ←—– M30分割

N68 ←—–会以N68命名为O0068

(給褒絮 TOOL – 68 DIA. OFF. – 68 LEN. – 68 DIA. – 20.)

G0Z100.0

M3

S1700

G0G90G54X975.Y51.75

Z3.M8

G1Z-4.F500.

G41D68Y56.75F600.

X120.

G2X106.75Y70.R13.25

G1Y830.

G2X120.Y843.25R13.25

G1X1830.

G2X1843.25Y830.R13.25

G1Y70.

G2X1830.Y56.75R13.25

G1X975.

X970.

G40Y51.75

Z3.F8000.

G0Z100.

M5

G91G28Z0.M9

G28Y0.

M30

%

Note:

使用此方法,输入程序至CNC要使用F input的方式,

若使用Device change→复制/黏贴的方式,則无法將自动將加工程式分割。(会跳紅字 WRONG DATA IS USED)

share5

未经允许不得转载:共享屋 » 共享屋:FANUC 0I-MF加工程序传输到系统中如何自动分割?

分享到: 生成海报

评论 抢沙发

评论前必须登录!

立即登录   注册

共享屋-数控机床电气调试与维修技术学习网

数控博客网站介绍
切换注册

登录

忘记密码 ?

切换登录

注册

我们将发送一封验证邮件至你的邮箱, 请正确填写以完成账号注册和激活