摘要
提出了基于RS-485和Modbus通信协议的分布式伺服测角系统的体系结构,详细讨论了用VC并结合W in32API函数和多线程技术开发Modbus串口通信类以及利用此通信类实现PC与富士触摸屏的通信;试用结果表明该系统结构简单、易于实现、通信实时性较强。
A distributed angle servo - measuring system based on RS -485 bus and Modbus protocol was proposed. The method to realize serial communication class based on Modbus protocol by utilizing Win32 API fun'ctions and multithread technic was discussed. As an example, a communication between PC and FUJITSU POD (programmable operation display) using the serial communication class was realized. The trial shows that the system is sample, easy to realize and has an enhanced real - time communication capability.
出处
《机床与液压》
北大核心
2007年第1期157-159,179,共4页
Machine Tool & Hydraulics
基金
陕西省自然科学基金项目(2003E211)