1、1 课课 程程 设设 计计 设计题目:设计题目: 单单片机片机 CNC 装置装置设计设计 学生姓名:学生姓名: 学学 号:号: 专业班级:专业班级:机械设计制造及其自动化机械设计制造及其自动化 09-5 班班 指导老师:指导老师: 2012 年年 06 月月 28 日日 2 摘要摘要 随着电子技术的发展,数控(NC)系统有了较大的发展,经历了从硬件数控 系统(NC)到计算机数控(CNC)的阶段。CNC 区别于早期的 NC,无论在控制性 能还是在编辑操作方面,其功能都远远多与早期的 NC。CNC 的主要功能:1. 承 担加工程序的输入及编辑。2. 能识别和运行多种国际上标准化的指令代码。随 着
2、CNC 的发展, 这些加工指令代码越来越多。 3. 能提供高性能的进给控制功能。 4.人机对话相当方便。 5.能进行多机通讯及 DNC 的加工。 6. 具备一定的故障诊断、 反馈控制功能。以上这些功能仅仅是 CNC 功能的主要部分。随着现代是数控的发 展,很多新的功能将不断增加及完善。 本设计主要是设计一个单片机 CNC 装置, 要求能实现 CNC 的基本功能、 位置 控制及信号处理功能, 为实现要求, 分析系统应扩展一定容量的 RAM、EPROM、实 现三轴的进给运动、 一个主轴控制, 一定数量的辅助动作、 一定数量的信息输入、 一定量的按键及显示器。 关键词:关键词:单片机、CNC、数控
3、AbstractAbstract With the development of electronic technique, hardware numerical control system (NC) system developed greatly, experienced from NC to computer control system(CNC). Distinguish from the early stage of NC, no matter the control performance or edit operation, its function is far more t
4、han the early NC. The main functions of CNC is : 1. Taking the input and editing of the programs. 2. The ability to analyze several kinds of international standardized instruction codes. With the developing of CNC, manufacturing codes are becoming more and more. 3. Providing high-powered feed controlling function. 4. Providing convenient man-machine conversation. 5. The ability to conduct multi-machine communication and the process of DNC. 6. The abil