摘要
探讨了基于RS-485总线的串行通信温度数据采集处理系统,给出了系统的硬件电路及主从机自定义的通信协议,并应用VC++6.0中的MSComm控件来实现PC机对现场温度的实时采集及动态显示。同时使用ADO访问ACCESS数据库实现数据存储、查询。在相关温度控制场合具有较强的实用性。
This paper designs a serial communication system of temperature data collection based on RS-485 bus,presents a hardware design and a communication protocol in master-slave machine,and uses VC + + 6. 0 in MSComm to conduct real time data collection and dynamic display. Meanwhile,data storage and inquiry can be finished by utilization of ADO to access database found by ACCESS. The system can be applicable to relevant temperature control field.
出处
《南京工业职业技术学院学报》
2015年第1期5-8,共4页
Journal of Nanjing Institute of Industry Technology