基于FANUC系统的宏程序应用.doc
文本预览下载声明
毕 业 论 文
论文题目 基于FANUC系统宏程序
系 别 工程系
专 业
班 级
学 号
学生姓名
指导教师(签名)
完成时间 201 年 月
摘要
宏程序是对数控系统的功能扩展,即在功能平台上进行开发,开发出的程序宏程序。宏程序是数控系统中一种具有计算能力和决策能力的数控程序参数化编程。从数控宏指令的特点、加工零件的范围着手,用户宏程序B的数学应用基础变量赋值、运算、循环、转移等功能非模态指令G65、G66/G67,G和M代码指令的调用解决自动编程中无法进行参数化编程的难题,编制出椭圆O8001、双曲线O8002、抛物线O8003走刀指令用户宏程序B可以使用数学函数参数编程,实现编程的参数化,无需进行大量繁琐的计算具有通用性,参数易于修改程序可循环使用等特点在相似的工序中修改相关参数即可实现宏程序多次使用关键词: 宏程序 参数化 自动编程Abstract
Macro program for CNC system is a kind of function extension, which in its function of platform development, the developed program called macro program. Macro program in NC system is capable of computing ability and decision-making ability of NC program, also called the parametric programming.
Papers from the first NC Macro characteristics, the range of processing parts of hands, the user macro program B applied mathematics foundation, variable assignment, arithmetic, circulation, transfer and other functions, and modeless command G65, G66/G67, G and M code call instructions. Then, based on FANUC CNC system macro program, solve the automatic programming can be parameterized programming problem, developed in NC lathe machining of ellipse, hyperbola, parabola O8001O8002three O8003two times curve cutting instruction, implementation of non circular curve for two times the development of.
User macro program B can use mathematical functions to perform parameter programming, programming parameter, without the need for a large number of tedious calculation. Secondly, it also has the versatility, easy to modify the parameters, procedures can be recycled for use characteristics. In a similar process, modify the relevant parameters can be realized by using macro program for many times.
Key words: macro program parametric automatic programming
目录
第章 宏程序数学基础应用
第章 用户宏程序转移和循环
2.1变量
2.2算术与逻辑运算
2.3 转移与循环
第章 宏程序功能
3.1 用户宏程序A
3.2用户宏指令B
3.3 宏程序语句的处理以及使用限制
第章 宏程序在数控车的应用
4.1 数控
显示全部