卧式加工中心工件坐标系自动补偿的研究

整理文档很辛苦,赏杯茶钱您下走!

免费阅读已结束,点击下载阅读编辑剩下 ...

阅读已结束,您可以下载文档离线阅读编辑

资源描述

肖庆和(,450007):通过分析卧式加工中心机床坐标系与工件坐标系工作台旋转中心之间的关系,并利用FANUC系统中的宏指令及参变量,开发数控系统功能实现卧式加工中心机床在零件加工过程中,工作台任意角度旋转后,工件坐标系原点得到自动补偿与设定:工件坐标系;自动补偿;FANUC;宏功能:TG659:A:1672-1616(2006)07-0045-04,,,,,,,,,,,,,,,,1,,1#110#111OX,Z()#101#103A图1工件坐标系原点与工作台旋转中心关系图X,ZAOAE,OE,AOA,ABBHB,OH,A,B#106#107BX,Z2,,,,:2006-02-20:(1960-),,,,CAD/CAM45,,4,2,A图2工作台象限划分图9,,,,9,,3A,G54~G59G54.1P1~P48A,A,AAB,(B+),,,BFANUCO7999:O7999#110=-525.(X-CENTER)()#111=-1030.(Z-CENTER)IF[#1LT1]GOTO3000IF[#1GT60]GOTO3000IF[#1EQ49]GOTO3000IF[#1EQ50]GOTO3000IF[#1EQ51]GOTO3000IF[#1EQ52]GOTO3000IF[#1EQ53]GOTO3000IF[#1LE48]GOTO20#101=#[5221+[#1-54]*20](X)G54~G59#102=#[5222+[#1-54]*20](Y)#103=#[5223+[#1-54]*20](Z)GOTO30N20#101=#[7001+[#1-1]*20](X)G54.1P1~48#102=#[7002+[#1-1]*20](Y)#103=#[7003+[#1-1]*20](Z)GOTO30N30#21=#101-#110#22=#103-#111#30=ABS[#21]#31=ABS[#22]IF[#2GT0]GOTO404620064357#2=#2+360N40IF[#21EQ0]GOTO50IF[#22EQ0]GOTO60IF[#21GT0]GOTO70IF[#22LT0]GOTO80IF[#22GT0]GOTO90N50IF[#22EQ0]GOTO100IF[#22GT0]GOTO200IF[#22LT0]GOTO300N60IF[#21GT0]GOTO400IF[#21LT0]GOTO500N70IF[#22GT0]GOTO600IF[#22LT0]GOTO700N80#120=ATAN[#30]/[#31]GOTO1000N90#120=ATAN[#31]/[#30]+90GOTO1000N100#101=#110#103=#111GOTO1010N200#120=180Z180GOTO1000N300#120=0Z0GOTO1000N400#120=270X270GOTO1000N500#120=90X90GOTO1000N600#120=ATAN[#30]/[#31]+180GOTO1000N700#120=ATAN[#31]/[#30]+270GOTO1000N1000#18=SQRT[(#101-#110)*(#101-#110)+(#103-#111)*(#103-#111)]#24=#18*SIN[#120+#2]#26=#18*COS[#120+#2]#106=#110+#24#107=#111+#26GOTO2000N1010#106=#110#107=#111N2000IF[#3LT1]GOTO3000IF[#3GT60]GOTO3000IF[#3EQ49]GOTO3000IF[#3EQ50]GOTO3000IF[#3EQ51]GOTO3000IF[#3EQ52]GOTO3000IF[#3EQ53]GOTO3000IF[#3LE48]GOTO2200N2100#[5221+[#3-54]*20]=#106(G54~G59)#[5222+[#3-54]*20]=#102#[5223+[#3-54]*20]=#107GOTO9000N2200#[7001+[#3-1]*20]=#106(G54.1P1~P48)#[7002+[#3-1]*20]=#102#[7003+[#3-1]*20]=#107M99N3000#3000=21(#A&#CDATDERROR)#1(A)(54~591~48);#2(B),,(B0~B360);#3(C)(54~591~48)43,MAZAK640M5-20H7,630mm!630mm,,5-20H7,,,O799947图3梳棉机零件示意图,PO,(G54.1P48,G54~G95G54.1P1~P48)O7888O7888G66P7999A48B15C54B28C55B50C56B62C57B80C58G67M02O7888A(#1);B(#2);C(#3)O7888,O7999,,(FANUC54)O12(5-20H7)O12T10M06(DRILLD=18.5MM)G54B15G00G90X0Y20.S198M03G43Z740.H10G98G81R630.Z520.F40G55B28G56B50G57B62G58B80G00G80G49G53Z0M05T0M06M02O12,,,5,,,,,,TOSNUC888FANUC,,TheResearchontheAutomaticCompensateoftheWorkpieceCoordinateatHorizontalMachiningCenterXIAOQing-he(ZhongyuanInstituteofTechnology,HenanZhengzhou,450007,China)Abstract:Basedontheanalysisoftherelationshipbetweentheworkpiececoordinateandtherevolvingcenteroftheworkbenchinhorizontalmachiningcenter,itutilizesthemacroinstructionintheFANUCsystem,developesthenumericalcontrolsystemfunction.Duringmachiningonthehorizontalmachiningcenter,theautomaticcompensateandsettingoftheworkpiececoordinateoriginisperformedaftertheworkbench∀sarbitraryanglerevolving.Keywords:WorkpieceCoordinate;AutomaticCompensate;FANUC;MacroFunction4820064357

1 / 4
下载文档,编辑使用

©2015-2020 m.777doc.com 三七文档.

备案号:鲁ICP备2024069028号-1 客服联系 QQ:2149211541

×
保存成功