摘要
从应用的角度利用VisualBasic6.0中的Microsoft Communication控件和MODBUS的RTU协议,成功实现了以80C196KC单片机为核心处理器的发电机原动系统仿真器与PC机之间的串行通信功能。通信采用RS485总线标准,选用MAX485作为单片机与PC之间的接口芯片,串口通信采用中断方式接收和发送数据。设计的系统经实验检验,满足实时监控要求。
This paper succeeded in realizing the serial communication function between PC and prime mover simulation sys- tem. It adopted 80C196KC single-chip computer as the key processor and utilized Microsoft communication controlling part in Visu- alBasic6.0 and RTU agreement of MODBUS. Communication adopted RS - 485 bus standard. The interface chip of communication was MAX485. Serial communication used interruption way to receive and send the data. The experimental results showed that the real-time control required by the equipment can be implemented by using the designed system.
出处
《仪表技术与传感器》
CSCD
北大核心
2009年第9期36-38,41,共4页
Instrument Technique and Sensor
基金
湖南省自然科学基金项目(01JJY2106)
湖南省科技攻关项目(05GK3507)