- 1
- 0
- 约2.46万字
- 约 32页
- 2018-08-22 发布于贵州
- 举报
数控机床课程设计说明书论文
任务书
课程设计题目:
对于给定的一段NC代码,用VB或其他高级语言编写程序解释、插补,在PC机上仿真数控装置,进行图形描绘、坐标值显示、步进电机控制模拟显示及信号输出、冷却液和主轴开关量控制模拟显示及信号输出。
具体要求如下:
(1)NC代码中包含的代码类型有:
G90 G54 G
(2)要求根据NC代码屏幕模拟加工过程,图形显示位置,坐标值显示,辅助功能状态显示(冷却液和主轴开关量控制模拟显示)。
(3)PC机模拟加工过程中,要求有实时的驱动三轴步进电机的控制信号、控制冷却液和主轴转动的开关量输出控制信号。假设信号从计算机并行打印口的数据线输出,端口地址为0X378。并行数据线分配如下(低电平有效);
表一 并行口数据线信号
数据线
信号
D0
D1
D2
D3
D4
D5
D6
D7
定义
PulseX
DirX
PulseY
DirY
PulseZ
DirZ
主轴控制信号
冷却液控制信号
内容摘要
仿真就是通过对系统模型的实验去研究一个已有的或设计中的系统,分析复杂的动态对象,仿真是一种有效的方法,可以减少风险,缩短设计和制造的周期并节约投资。计算机仿真就是借助计算机,利用系统模型对实际系统进行实验研究的过程。它随着计算机技术的发展而迅速地发展,在仿真中它有越来越重要的地位。
计算机仿真技术的发展趋势主要表现在两个方面:应用领域的扩大和仿真计算机的智能化。计算机仿真技术不仅在传统的工程技术领域(航空、航天、化工等方面)继续发展,而且扩大到社会经济、生物等许多非工程领域,此外,并行处理、人工智能、知识库和专家系统等技术的发展正影响着仿真计算机的发展。
数控加工仿真利用计算机来模拟实际的加工过程,是验证数控加工程序的可靠性和预测切削过程的有力工具,以减少工件的试切,提高生产效率。
仿真软件界面友好,基本实现了设计任务的要求,通过本软件可以知道在仿真加工刀具的坐标、各轴的工作情况以及辅助电机(冷却液的控制情况)
本仿真程序应用的是脉冲插补算法。在仿真过程中应用了两种插补方法:直线插补,圆弧插补(包括顺时方向插补和逆时方向插补)。
本仿真程序可以实现如下指令的判别和执行:G01,G02, G03, G04,G05,M03,M05,M08 ,M09, M30.
Abstract
Looked from the project angle that, the simulation was through studiesto the system model experiment to have or in the design system,analyzed the complex dynamic object, the simulation is one effectivemethod, might reduce the risk, reduced design and the manufacturecycle and saves the investment. The computer simulation draws support from the computer, conducts the experimental study using the system model to the actual system the process. It but rapidly develops along with the computer technology development, it has the more and more important status in the simulation.
This simulated program applies is the pulse inserts makes up the algorithm. Applied two kinds in the simulation process to insert makes up the method: The straight line inserts makes up, the circular arc inserts makes up (including inserts along the time direction
makes up with counter time direction inserts makes up).
This simulated program may realize the following instruction distinction and the execution: G01,G02, G03, G04,G05, M05, M08, M09,
原创力文档

文档评论(0)