版权说明:本文档由用户提供并上传,收益归属内容提供方,若内容存在侵权,请进行举报或认领
文档简介
1、第7单元 你能编写数控程序吗?When students are at school, they all know more and more machines are now controlled by computers. How can the computers direct the machines? Today they will follow Lisa to find it out.当学生们在学校时,他们都知道越来越多的机床被计算机控制。计算机是怎样控制机床的?今天他们会跟随丽莎去找到答案。calculation ,klkjlen n. 计算define difain v. 下定
2、义geometry dimitri n. 几何trim trim v. 修剪manual programming 手工编程computer-assisted programming 计算机辅助编程complicated kmplikeitid adj. 复杂的plot plt n. 图表,曲线machining cycle 加工循环Word Address Format 字地址格式block blk n. 程序段element elimnt n. 要素prefix pri:fiks v. 把放在前character krikt n. 字符convey knvei v. 传送register r
3、edist n. 寄存器sequence si:kwns n. 顺序label leibl v. 标注drill dril v. 钻孔parameter prmit n. 参数miscellaneous function address 辅助功能地址The advantages of CAM system programming:B. 程序员无需做数学计算。C. 提供一些基本的加工程序。E. 能用同一基本语言为不同的机床编程。Three basic steps to CAM system programming:A. 程序员必须提供一般信息。D. 定义加工操作F. 工件的几何形状必须被定义并被
4、修整以符合工件形状。manual laborcomputer-assisted programmingcorrectLisa is introducing the students to the programmer in the company.丽莎正在将学生们介绍给公司的程序员。Lisa: This is Sam, the programmer. Sam, they are the interns.丽莎:这位是山姆,程序员。山姆,他们是实习生。Students: Pleased to meet you.学生们: 很高兴认识你。Sam: Pleased to meet you too.山姆:
5、也很高兴认识你们。Jack: Is it difficult to write a program?杰克:编写程序难吗?Sam: That depends.山姆:看具体情况。David: What types of program do you usually write?大卫:你通常会写哪种类型的程序?Sam: There are mainly two types of programming, manual and computer-assisted.山姆:主要有两种程序,手工和计算机辅助。David: What is manual programming?大卫:什么是手工编程?Sam:
6、It means the programmer prepares the program and input it to the NC system.山姆:它是指程序员准备好程序,并将程序输入数控系统。Jack: How about computer-assisted programming?杰克:计算机辅助编程怎么样?Sam: Its different from manual programming. After the programmer inputs simple instruction, the computer creates the program.山姆:它跟手工编程不同。在程
7、序员输入简单指令后,计算机自动生成程序。Students: We see. Thank you!学生们:我们明白了。谢谢!Mike: May I ask you what you are doing now?麦克:我能问一下你在做什么吗Sam: Yes. Im developing a manual program of the machining cycle.山姆:可以。我在写一个加工循环的手工程序。Mike: A manual program? Why dont you use CAM system programs?麦克:手工程序?为什么不用计算机辅助制造(CAM)系统程序Sam: We
8、ll, this work is simple and only a few machine tools are used, a manual program is enough.山姆:嗯,这个工作很简单,只用到几个刀具,手工程序足够了。Mike: Does it mean CAM system programs will be used in more complicated work?麦克:这是否意味着计算机辅助制造系统程序将在更复杂的工作中使用?Sam: Generally speaking, yes.山姆:一般来说,是的。Mike: What is that man doing? is
9、 he creating programs?麦克:那个人在做什么?他在写程序吗?Sam: Yes. He is creating a program at the CNC machine. This is called conversational programming. The programmer will see whether various inputs are correct. When finished, the programmer may see a tool path plot of what will happen during the machining cycle.
10、山姆:是的。他在数控机床上写程序。这叫会话式编程。程序员会看到各种输入是否正确。结束后,程序员可能会看到加工循环过程中的刀具路径图。Mike: Wow. Its amazing.麦克:哇,真神奇。The entire information about an operation is called a block. There are 3 types of formats for representing the blockFixed sequential Format, Word address format, and Tab Sequential Format.一个操作的完整信息叫做程序段
11、。程序段有三种格式:固定顺序格式,字地址格式,分隔符顺序格式。Word Address Format is mostly used. In this format, each element of information is prefixed by a letter. And the controller conveys the letter to a particular register. 字地址格式最常用。在这种格式中,每个信息元素前面带有一个字母。控制器将这个字母转到特定寄存器。Sequence is not necessary in this format because all
12、information is labeled by a letter. Repetition is not necessary either since the controller can take it from the earlier block.在这个格式中顺序是不必要的,因为所有信息都用字母标记了。也不需要重复,因为控制器能从前面的程序段获取需要的信息。This will help the programmer not to make mistakes and shorten the program. This will also save time in preparing the
13、 program. An example of this type is as follows:这能帮助程序员不犯错和缩短程序。这也可以节约编程的时间。这种程序例子如下:N37 G81 X0 Y0 Z50000 S5000 F100 M03*N38 X100 Y100*In this example, G81 means to drill. The other necessary parameters for carrying out the operation would follow.在这个例子中,G81表示钻孔。执行操作所需的其他必要参数跟着后面。The following are th
14、e letter addresses used in programming:下面是程序中的字地址:NOperation sequence number address 操作顺序数字地址GPreparatory function address准备功能地址X, Y, Z, A, B, C, Dimension address尺寸地址SSpindle speed address主轴转速地址TTool address刀具地址M Miscellaneous function address辅助功能地址开头是程序段的序号,以字母N和四位数字表示;接着一般是准备功能指令,由字母G和两位数字组成;机床运动
15、的目标坐标值,如用、等指定运动坐标值;工艺性指令,F代码为进给速度指令,S代码为主轴转速指令,T为刀具号指令,M代码为辅助机能指令。 LF 为ISO标准中的程序段结束符号(在EIA标准中为CR,在某些数控系统中,程序段结束符用符号“*”或“;”表示)。en- + rich (adj.) enrich(v.)en- + large (adj.) enlarge(v.)dark(adj.) + -en darken(v.)short(adj.) + -en shorten(v.)en作前缀或后缀表“变成,使成为”,放在形容词前或后使之转化为动词。判断,改错1. The entire information about an operation is called a block.2. Yes.3. Yes.4. Sequence is not necessary in this format because all information is labeled
温馨提示
- 1. 本站所有资源如无特殊说明,都需要本地电脑安装OFFICE2007和PDF阅读器。图纸软件为CAD,CAXA,PROE,UG,SolidWorks等.压缩文件请下载最新的WinRAR软件解压。
- 2. 本站的文档不包含任何第三方提供的附件图纸等,如果需要附件,请联系上传者。文件的所有权益归上传用户所有。
- 3. 本站RAR压缩包中若带图纸,网页内容里面会有图纸预览,若没有图纸预览就没有图纸。
- 4. 未经权益所有人同意不得将文件中的内容挪作商业或盈利用途。
- 5. 人人文库网仅提供信息存储空间,仅对用户上传内容的表现方式做保护处理,对用户上传分享的文档内容本身不做任何修改或编辑,并不能对任何下载内容负责。
- 6. 下载文件中如有侵权或不适当内容,请与我们联系,我们立即纠正。
- 7. 本站不保证下载资源的准确性、安全性和完整性, 同时也不承担用户因使用这些下载资源对自己和他人造成任何形式的伤害或损失。
最新文档
- NR-11c-生命科学试剂-MCE-9201
- 6-O-Sulfo-β-cyclodextrin-sodium-生命科学试剂-MCE-5754
- 2025年度高端火锅店品牌连锁合作协议
- 二零二五年度经济补偿协议书-产品责任赔偿协议
- 2025年度员工解除劳动合同关系协议书(技术岗位)
- 施工单位关于项目验收的联络函
- 小额金融科技化营销战略-以农村贷款市场为例
- 《用正比例解决问题》教学设计(人教版六年级数学下册)
- 个人雇佣合同协议模板
- 上海市短期劳务合同模板
- 2025民政局离婚协议书范本(民政局官方)4篇
- 2024年03月四川农村商业联合银行信息科技部2024年校园招考300名工作人员笔试历年参考题库附带答案详解
- 小学一年级数学上册口算练习题总汇
- 睡眠专业知识培训课件
- 润滑油知识-液压油
- 2024年江苏省中医院高层次卫技人才招聘笔试历年参考题库频考点附带答案
- 临床思维能力培养
- 人教版高中物理必修第三册第十章静电场中的能量10-1电势能和电势练习含答案
- 2024年四川省巴中市级事业单位选聘15人历年高频难、易错点练习500题附带答案详解
- 《中国香文化》课件
- 盖房四邻签字协议书范文
评论
0/150
提交评论