本文给出了结合现行数控系统通用规范而自行开发设计的数控系统控制程序、通讯接口及硬件电路。
In this text, the NC system control program, communication interface and circuit diagram designed by self are released, which combine with CNC ISO standard.
设计了单片机端的控制程序,包括步进电机控制、编码器数据采集、RS232通讯、键盘读入、液晶显示屏输出等部分。
The controlling program in MCU part is designed, and it includes the part of step-motor controlling, data collection of the coders, RS232 communication, keyboard input, and LCD output.
整个系统可通过JTAG口和RS232串行通讯口进行现场编程烧录,能方便地调整电路的工作状态或实现硬件控制程序的升级、更新。
The JTAG port and the RS232 serial port are designed to program in-situ. In teams of them, it is easily to adjust the circuit's working parameters or to update the control program.
程序存储单元为存有加工控制程序和与上位计算机交换数据的通讯程序的存储单元。
The procedure storage unit is a storage unit comprising a processing control procedure and a communication procedure which is used for interchanging data with the host computer.
程序存储单元为存有加工控制程序和与上位计算机交换数据的通讯程序的存储单元。
The procedure storage unit is a storage unit comprising a processing control procedure and a communication procedure which is used for interchanging data with the host computer.
应用推荐