设计一种基于USB通讯的PC—-ARM9数控系统,采用“上位机+下位机”结构模式。PC机作为上位机负责G代码文件的生成和管理、G代码译码、界面的搭建等任务;以“ARM+CPLD+FP-GA”构建的运动控制器作为下位机,负责粗精插补和开关量UO管理等任务。重点介绍了系统的硬件架构和软件流程。
A PC - ARM9 CNC system based on the communication of USB is designed and built. The CNC adopts the mode of "host computer + slave computer". PC works as the host computer to generate and manage G code file, decode G code, build the interface and so on. The motion controller based on "ARM+CPLD+ FPGA" works as the slave computer to implement contour coarse and fine interpolation,I/O management and so on. The hardware framework and software process of thesystem are described in the paper.