1、第 1 页 共 54 页 论 文 摘 要 以单片机为基础,从最简单的数控到最先进的计算机数控,对数控作一系统 地演示,完成简易数控绘图功能。本系统单机运行实现基本的数控思想;系统与思 想。让学生对数控技术和数控知识有一系统的认识,彻底理解、掌握数控思想。 系统单机运行及与 PC 机联机运行。按照从 PC 机上接收到的信息完成任务。 该系统配备了两套与 PC 机的通信接口,即并口和串口通信。以实验条件和方便 为宜选择其一。在单机运行的情况下以十进制 BCD 拔盘作为输入设备,既符合人 们的认知习惯又简捷直观。并配有七段数码管显示器,以便在执行的过程中显示 运行状况。以软件实现插补,送出进给脉冲驱
2、动步进电机运行,并经机械转换装 置转换为 X, Y 两轴构成的平面绘图系统。并探讨了一种均匀脉冲插补方法。 关键字:数控 单片机 步进电机 通信 插补 显示 第 2 页 共 54 页 Abstract Displaying the NC by the numbers based on SCM from the simplest NC to the advantest CNC to realize the NC plotting function. The radical NC thought realized by this system itself running: CNC thought
3、 realized by its running liked with PC. Let students have a systemic congnition to NC technician knowledge completely understand and mast the NC thought. The system runs singly also acts as the information getting from PC while linked with PC. This system was equipped two sets of communication inter
4、face with PC, the serial and parallel interface, select one of them according to the experiment condition and convenience. The system runs by itself, its inputting device is decimal BCD (Binary-Coded Decimal notation) code turn plate because the device not only according with people s cognitive habit but concise and intuitionist. The system equipped with displayseven fragments LED( Low Emitting Diode),displaying the working state while system running. The feeding pulse,send out from the soft