已阅读5页,还剩12页未读, 继续免费阅读
版权说明:本文档由用户提供并上传,收益归属内容提供方,若内容存在侵权,请进行举报或认领
文档简介
Unit 5 NC Programming,5.1 Lesson 9 Basic Requirements of NC Machine Control,To control a machine, it is necessary to begin by defining the coordinate of the tool motion. It is necessary to specify whether the motion is a positioning motion (rapid traverse) or a feed motion (cutting). The feed motion includes linear motion and circular motion. These control functions and data requirements are summarized in what follows: Preparatory functions the words specify which unit, which interpolator, absolute or incremental programming, which circular interpolation plane, cutter compensation, and so on., Coordinates define three dimensional (and three rotational) axes. Machining parameters specify feed and speed. Tool control specifies tool diameter, next tool number, tool change, and so on. Cycle functions specify drill cycle, ream cycle, born cycle, mill cycle, and clearance plane. Coolant control specify the coolant condition, that is, coolant on/off, flood, and mist. Miscellaneous control specifies all other control, spindle on/off, spindle rotation direction, pallet change, clamp control, and so on. Interpolators linear, circular interpolation, circle center, and so on.,These control functions are programmed through program words (codes). G-code The G-code is also called preparatory code or word. It is used to prepare the MCU for control functions. Modal functions are those that do not change after they have been specified once, such as unit selection. Non-modal functions are active in the block where they are specified F-code The F-code specifies the feed speed of the tool motion. It is the relative speed between the cutting tool and the work-piece. Feed speed can be changed frequently in a program, as needed. When an F-code is present in a block, it takes effect immediately., S-code The S-code is the cutting speed code. Cutting speed is the specification of the relative surface speed of the cutting edge with respect to the work-piece. It is the result of the tool rotation. Therefore, it is programmed in rpm. The Machine Ability Data Handbook gives these values in surface feet per minute (sfpm), and conversion is required before programming is done.1 The S-code is specified before the spindle is turned on. The S-code does not turn on the spindle. The spindle is turned on by an M-code. To specify a 1000 rpm spindle speed, the program block is:N0010 S1000 M03., T-code The T-code is used to specify the tool number. It is used only when an automatic tool changer is present. It specifies the slot number on the tool magazine in which the next tool is located. Actual tool change does not occur until a tool change M-code is specified. R-code The R-code is used for cycle parameters. When a drill cycle is specified, one must give a clearance height. M-code The M-code is called the miscellaneous word and is used to control miscellaneous functions of the machine. Such functions include turn the spindle on/off, start/stop the machine, turn on/off the coolant, change the tool (Table 5-1).,5.2 Lesson 10 Interpolation Commands of CNC Lathes,Interpolation commands include linear, circular interpolation, circle center interpolation, and so on. Linear interpolation commands For CNC lathes, linear interpolation involves moving the tool along a straight line programmed at the specified feed rate.1 Linear interpolation is used to execute such operations as turning, facing, taper turning, and taper boring.2 In the discussion to follow it is assumed that the center of tool nose radius is programmed.,General syntax G01 X1 Z1 Fn X2 Z2 X3 Z3 Xn Zn In which G01 Specifies the linear interpolation modes. X1 and Z1 specify the absolute coordinates of the center of the tool nose radius at the end of the first line cut, second line cut, third line cut, and so on.,Fn specifies the feed rate of the tool. If not programmed, the system will use the last feed rate programmed. If not specified at the beginning of the program, the system will issue an alarm.3 Circular interpolation commands Circular interpolation for lathe operations involves cutting a circular arc in either a clockwise or a counterclockwise direction. The commands are similar to those used in milling. Assume, again, that the center of the tool nose is programmed. General syntax G02 Xn Zn In Kn Fn,In which G02 specifies circular interpolation in the clockwise direction. Xn and Zn specify the X and Z absolute coordinates of the center of the tool nose radius at the end of the arc cut. In and Kn specify the incremental X and Z distances with or direction from the center of the tool nose radius at the start of the arc to the center of the arc.4 Fn specifies the feed rate of the tool. If not programmed, the system will use the last programmed feed rate.,5.3 Reading Materials 9 Setup Procedure,The setup operation can begin after the fixtures, tooling, program tape, setup sheets, and part blank arrive at the CNC machine. Usually the setup person starts by securing the cutting tools in the tool holders. The tooling assemblies are loaded into the tool magazine according to the order outlined in the setup sheet. The work-holding device is put in place on the machine table.,The part blank is located into the work-holding device as requested by the programmer. After loading the program into the MCU, the setup person then proceeds to enter another important piece of information left blank by the programmer: the location of the part origin or part Xo Yo with respect to machine home. The machine home position or machine zero is a location set once by the machine manufacturer. The CNC machine is homed at the start of the part program setup. When homed, the machine retracts the spindle to its maximum height above the table (machine Zo) and moves the table to a preset machine zero position (machine Xo Yo).,The part origin is the(0,0,0)location of the part XYZ coordinate system. In absolute coordinate programming all tool movements are taken with respect to this origin. See Figure 5-1 for an illustration of these positions. The point from which dimensions are taken on the part print is usual1y considered the part origin. This could be the center of a hole, the edge of the part or a certain predetermined distance from the edge. The setup person must determine the XYZ locations of the part origin from machine home. This is accomplished by placing an edge finder or end mill with known diameter in the spindle and using the MCU s jog buttons to move or “tram” the edge finder probe from machine home to the part edge or hole center. See Figure 5-2.,There are two main methods of programming this location into the MCU. The first is called the fixture offset method. This involves using the MCU keypad to enter the XYZ values directly into the MCU unit. The MLU s fixture offset storage area is opened and the values are placed here. Later, when the part program is run, a fixture offset code in the program directs the MCU to use the XYZ values previously placed in its offset storage area.,5.4 Reading Materials 10 Debugging the Program,The debugging process begins after the part program has been successfully loaded. First, the setup person locks the machine and runs the program using only the output from the MCU. This is done to check if the controller recognizes all the codes in the program. If this test is successful, the program can be run with the machine Z-axis locked. This will guard against any possible collisions between the tool and the work holding or part itself. Next is the so-called “dry” run with the part removed.,During this test the setup person slows down the rapid feeds and speeds up the actual feeds. These tests will indicate whether the program runs and if there are any extraordinary moves which could cause a collision of the work and/or work holding wit
温馨提示
- 1. 本站所有资源如无特殊说明,都需要本地电脑安装OFFICE2007和PDF阅读器。图纸软件为CAD,CAXA,PROE,UG,SolidWorks等.压缩文件请下载最新的WinRAR软件解压。
- 2. 本站的文档不包含任何第三方提供的附件图纸等,如果需要附件,请联系上传者。文件的所有权益归上传用户所有。
- 3. 本站RAR压缩包中若带图纸,网页内容里面会有图纸预览,若没有图纸预览就没有图纸。
- 4. 未经权益所有人同意不得将文件中的内容挪作商业或盈利用途。
- 5. 人人文库网仅提供信息存储空间,仅对用户上传内容的表现方式做保护处理,对用户上传分享的文档内容本身不做任何修改或编辑,并不能对任何下载内容负责。
- 6. 下载文件中如有侵权或不适当内容,请与我们联系,我们立即纠正。
- 7. 本站不保证下载资源的准确性、安全性和完整性, 同时也不承担用户因使用这些下载资源对自己和他人造成任何形式的伤害或损失。
最新文档
- 2026年投资咨询顾问合同
- 2026年护理考研科目试题及答案
- 2026浙江丽水莲都区慈善总会招聘1人考试模拟试题及答案详解
- 2026山东省鲁统市场调查中心有限公司校园招聘4人考试模拟试题及答案详解
- 2026秋季江西省新建经开区中心幼儿园及分园教职工招聘笔试模拟试题及答案详解
- 2026年6月广东南方科技大学附属中学面向2026年应届毕业生招聘教师7人考试模拟试题及答案详解
- 2026年塔城市人民医院医护人员招聘笔试备考题库及答案详解
- 公务员考试(时事热点)经典试题及答案(云南省大理州2026年)
- 2026年农作物植保员职业技能考试题库(含答案)
- 2026年电机二建考试题及答案
- 输电线路污秽度监测与评估
- 批发药品管理法培训课件
- 偏瘫患者抗痉挛体位摆放技术评分标准
- HG∕T 2972-2017 工业用一甲胺
- GB/T 25849-2024移动式升降工作平台设计、计算、安全要求和试验方法
- 2023年广州番禺区小升初六年级英语期末试卷及答案(含听力原文)
- 绿色食品生产记录表黄瓜
- 课本剧林教头风雪山神庙剧本
- “减负、增效、提质”理念下基于学科核心素养的小学英语作业设计优化策略研究 论文
- GB/T 26081-2022排水工程用球墨铸铁管、管件和附件
- GB/T 4851-2014胶粘带持粘性的试验方法
评论
0/150
提交评论