针对NCUC-Bus现场总线技术在嵌入式数控系统中的应用,分析了基于NCUC-Bus的嵌入式数控系统的网络结构、工作原理和对设备驱动的设计要求,搭建了基于ARM+FPGA的NCUC-Bus嵌入式数控系统硬件平台.在嵌入式实时Linux操作系统下,采用RTDM编写NCUC-Bus总线设备驱动程序,解析了驱动程序中用到的关键函数.对驱动程序进行了功能和性能测试后,成功应用到NCUC-Bus嵌入式数控系统中.结果表明在实时Linux操作系统下,设计能有效地操作NCUC-Bus总线设备.%With regard to the application of the NCUC-Bus fieldbus technology in embedded CNC System, Paper analysed network structure and working principle of the embedded NCUC-Bus CNC system, and the design requirements of device driver. Built embedded hardware CNC platform, based on ARM and FPGA. Based on embedded real-time Linux operating system, used RTDM to program the NCUC-Bus device driver, analysed the key functions of program. After testing the function and performance of the driver, successfully applied to the embedded NCUC-Bus fieldbus system. The results showed that design could effectively operate NCUC-Bus device based on real-time Linux operating system.
展开▼