您好,欢迎访问三七文档
当前位置:首页 > 机械/制造/汽车 > 制造加工工艺 > 3---Siemens数控车床实例
手工编程实例例1:精加工轮廓N30G01Z-15F100SK01.MPFN10G90G54G95G23N15S500M03N20G00X18Z2N30G01X18Z-15F0.2N40X24N50Z-30N60X26N70G00X50Z200N80M05N90M02N10G90G54G94G23N17G01X50Z200F5M06T1•N10G54G99S500M03T0101•N20G00X18Z2•N30G01Z-15F0.2•X24•Z-30•X26•N40G00X50Z200•N50M05M02例2:粗加工,倒圆,倒角N50G91S800M03N70G00X26Z160SK02.MPFN10G90G54G95G23N15S500M03N17G01X100Z100F5M06T1N20G00X18.4Z2N30G01Z-14.8F0.2X24.4RND=1.5Z-30X26N40G00X30Z2X0N60G01Z-2F0.05X18CHF=2.121Z-15X6RND=1.5Z-15N80G90M06T02N90S300M03N100G00X25Z-29N110G01X0F0.05N120G00X50Z200N130M05N140M02例3:加工圆弧X0SK03.MPFN10G90G54G95G23N15S500M03N17G01X50Z200F5M06T1N20G00X20.4Z2N30G01Z-5F0.2N40G02X20.4Z-15CR=10F0.2N50G03X20.4Z-25CR=10F0.2N60G01Z-29.8F0.2X24.4RND=1Z-46X26N70G00X30Z2•N150G00X25•Z-44•N160G01X0F0.05•N170G00X50•Z200•N180M05•N190M02N80S800M03N90G01Z0F0.05X20CHF=2.121Z-5N100G02X20Z-15CR=10N110G03X20Z-25CR=10N120G01Z-30X24RND=1Z-46N130G00X50Z200N140M06T02S300M03例4:螺纹指令G33,暂停指令1、暂停指令G04:暂停所给定的时间,只对自身程序段有效,在此之前程序段中的主轴速度和进给量F保持存储状态。格式:G04F;暂停的时间(秒)G04S;暂停主轴转数2、恒螺距螺纹切削指令G33加工圆柱螺纹、圆锥螺纹、外螺纹、内螺纹、单头螺纹、多头螺纹、多段连续螺纹及左旋螺纹和右旋螺纹,模态有效。3、加工螺纹时主轴转速S及每次进刀的深度,应根据车床及刀具的具体情况选择合适值。螺纹牙深等于螺纹大径减螺纹小径。对于普通三角螺纹,螺纹牙深等于0.5413P。N40G00X30Z2X0N60G01Z0F0.05X19.8CHF=2.121Z-30X24RND=1Z-46SK04.MPFN10G90G54G95G23N15S500M03T01N17G01X50Z200F5M06T1N20G00X20.2Z2N30G01Z-29.8F0.2X24.4RND=1Z-46X26N50S800M03N70G00X50Z200N90G00X25Z-30N80M06T02S300M03N140M06T03N100G01X17F0.05N110G04F2N120G01X26F0.4N130G00X50Z200N150G00X19.1Z6N160G33X19.1Z-28K1N170G00X30Z6X18.8N230G00X26Z-44N240G01X0.1F0.05N250G00X50Z200N260M05N270M02N180G33Z-28K1N190G00X30Z6X18.72N200G33Z-28K1N210G00X50Z200N220M06T02例5:螺纹切削循环指令LCYC971、螺纹切削循环指令:LCYC97,简化加工程序。加工圆柱螺纹、圆锥螺纹、外螺纹、内螺纹、单头螺纹、多头螺纹,切削进刀深度可自动设定。2、车多头螺纹,螺纹头数会均匀分布在圆周上;螺纹切削循环会自动判别纵向螺纹加工和横行螺纹加工。3、调用LCYC97时,刀具以G00快速移动至编程的螺纹起点+空刀导入量处,螺纹切削循环结束时刀具会快速移动至起刀点处,因此调用LCYC97指令前刀具的位置必须保证刀具不会发生碰撞地到达起刀点。4、加工螺纹时主轴转速S及每次进刀的深度,应根据车床及刀具的具体情况选择合适值。螺纹牙深等于螺纹大径减螺纹小径。对于普通三角螺纹,螺纹牙深等于0.5413P。N10G90G54G95G23S500M03T01N20G00X20.2Z2N30G01Z-29.8F0.2X24.4RND=1Z-46X26N40G00X30Z2X0SK05.MPFN50S800M03N60G01Z0F0.05X19.8CHF=2.121Z-30X23.99RND=1Z-46N70G00X50Z200N80M06T02S300M03N90G00X25Z-30N100G01X17F0.05N110G04F2N120G01X26F0.4N130G00X50Z200N140M06T03N150G00X20Z6R100=19.8R101=0R102=19.8R103=-26R104=2R105=1R106=0R109=6R110=3R111=0.541R112=0R113=3R114=2LCYC97N160G00X50Z200N170M06T02N180G00X26Z-44N190G01X0F0.05N200G00X50Z200N210M05N220M02例6:毛坯切削循环指令LCYC95功能•在坐标轴平行方向加工由子程序设置的轮廓,进行纵向和横向加工,进行内外轮廓的加工。•选择不同的切削工艺方式:粗加工、精加工或者综合加工。只要刀具不会发生碰撞可以在任意位置调用此循环。N10G90G54G95G23S500M03T01N20G00X26Z2N70M06T02S300M03N80G00X25Z-44N90G01X1F0.05N100G00X50Z200N110M05N120M02_CNAME=”JD01”R105=1R106=0.2R108=2.5R109=7R110=2R111=0.2R112=0LCYC95N30G00X26Z2N40S800M03F0.05N50JD01N60G00X50Z200SK06.MPF•JD01.SPF•N10G01X0Z0•N20G03X16Z-8CR=8•N30G01Z-20•X20Z-26•Z-30•X23.99RND=1•Z-46•X26•N40M17例7:切槽循环指令LCYC93LCYC93:对称加工切槽,包括外部切槽和内部切槽。参数含义及数值范围说明R100横向(X向)坐标轴切槽起始点直径R101纵向(Z向)坐标轴切槽起始点R105加工方式,数值1~8R106切槽粗加工时预留的精加工余量R107刀具宽度实际刀宽不能大于该参数R108每次切入深度R114槽底宽度(不考虑倒角)R115槽深R116切槽斜度,范围0°~89.999°0时,矩形槽R117槽沿倒角长度R118槽底倒角长度R119槽底停留时间数值纵向/横向外部/内部起始点位置1纵向外部左边2横向外部左边3纵向内部左边4横向内部左边5纵向外部右边6横向外部右边7纵向内部右边8横向内部右边•CK09.MPF•N10G54G90G95G23•N15S500M03T01D01•N20G00X50Z4•_CNAME=“L01”(用子程序定义粗加工轮廓,参数设置)•R105=1R106=0.3•R108=2.5R109=7•R110=2R111=0.1•R112=0•LCYC95•(调用毛坯切削循环)•N30G00X50Z4•N40S800M03F0.05•N50L01(调用子程序精车)•N60G00X80Z200•N70M06T02D01S260M03•R100=48R101=-34•R105=1R106=0.05•R107=4R108=2•R114=6R115=9•R116=20R117=0•R118=0R119=1•LCYC93(调用切槽程序)•N80G00X50•Z-61•N90G01X0.1F0.05•N100G00X80•Z200•N110M05M02•L01.SPF•N10G01X0Z0•N20G03X36Z-3.448CR=40•N30G01Z-11.448•X41.99•Z-17.448•X48•Z-62•X50•N40M17例8:典型零件编程,工艺卡片填写•N10G54S500M03T01D01•N20G00X19Z2•N30G01Z-41F0.1•N40G03X20.6Z-56CR=15N50G01Z-59.8X24.6CHF=2.121Z-76X26N60G00Z2X14演示N80G00X30Z2X12.4N90G01Z-15.8F0.1X15N100G00Z0•N70G01Z-15.8F0.1•X14.6•X16.6Z-28•Z-30.8•X18.6•Z-41N110S800M03N120G01X0F0.05X11.8CHF=1.768Z-16X14X16Z-28•Z-31X18Z-41N130G03X20Z-56CR=15N140G01Z-60X23.98CHF=2.121Z-76X26F0.5N150G00X80Z200•N160M06T02S300M03•N170G00X15•Z-16•N180G01X9.6F0.05•X15F0.5•N190G00X80Z20011.8-1.1*2=9.6N200M06T03D01S300M03N210G00X12Z8R100=11.8R101=0R102=11.8R103=-12R104=1.25R105=1R106=0R109=6R110=2R111=0.677(0.5413*1.25=0.677)R112=0R113=4R114=1LCYC97N220G00X80Z200N230M06T02D01N240G00X25Z-74.5N250G01X0F0.05N260G00X80Z200N270M05N280M02
本文标题:3---Siemens数控车床实例
链接地址:https://www.777doc.com/doc-5487525 .html