摘要
为了提高开放式数控系统的跨平台能力,结合开放式数控系统的结构特点,分析实现跨平台面临的主要问题,提出了开放式数控系统跨平台的一种解决方案。该方案主要通过软件源码的可移植性扩展、平台无关的通信机制和硬件抽象层技术(HAL)的使用来实现开放式数控系统跨不同软硬件平台的能力。并利用该方案成功获得了跨x86平台和龙芯平台的数控系统,同时还实现了对多种伺服及I/O控制方式的兼容,增强了原有的系统的灵活性和可扩展性。
To increase the cross-platform capability of open CNC system, combine with the structural characteristics of the open CNC system, the main problems faced by the cross-platform process is analyzed, and then a viable solution is provided. Portabi- lity expansion of software source code, the use of platform-independent communication mechanism and hardware abstraction lay- er technology are adopted mainly (HAL) to achieve the capacity of the open CNC system across different hardware and software platforms. A CNC system that across x86 platform is successfully gotten and Loongson platform by using this solution, which also com- patible with a variety of servo and I/0 control mode, and the flexibility and scalability of the existing system is enhanced.
出处
《计算机工程与设计》
CSCD
北大核心
2013年第4期1232-1237,共6页
Computer Engineering and Design
基金
国家科技重大专项"核高基"课题基金项目(2012ZX01029-001-002)
国家科技支撑计划基金项目(2012BAF13B08)
关键词
开放式数控系统
跨平台
可移植性
平台无关
硬件抽象层
open CNC
cross-platform
portability
platform-independent
hardware abstraction layer