摘要
在分析QNX设备驱动程序体系结构和Modbus协议的基础上,提出QNX操作系统串行接口设备驱动程序设计的一般方法,用C语言设计Modbus在QNX下的串口通信程序,经过和西门子S7-200PLC长时间的严格通信测试,结果表明该方法实时性强、稳定性好、可靠性高,取得令人满意的通信效果。
This paper presents a general design method on serial interface device driver, which is based on the analysis of Modbus protocol and QNX Operating System(QNX OS) device driver architecture. It specifies serial port communication in C program under QNX OS, and tests its communication with SIEMENS S7-200 PLC. The test result proves that the method is real-time, stable and reliable.
出处
《计算机工程》
CAS
CSCD
北大核心
2009年第12期245-247,253,共4页
Computer Engineering
基金
浙江省科技计划基金资助项目(2006C31016
021101039)