摘要
基于单片机开发的测控产品许多都需要与上位计算机进行串行通讯,实现在上位计算机上对现场的数据实时监控。采用组态王上位监控软件的串行通讯协议,设计了基于单片机的串行通讯硬件、软件系统。经过测试,通过此串行系统上位计算机可以实时监控现场的数字输入信号、数字输出信号、模拟输入信号、模拟输出信号等数据。
Many of the measurement and control products based on single-chip microcomputers require serial communication with the upper computer,and the on-site real-time data is monitored on the upper computer.In this paper,a serial communication protocol of King View monitoring software is adopted.The serial communication hardware and software systems based on single-chip microcomputers are designed.It is proved by the experiment that the field digital input signal,digital output signal,analog input signal and analog output signal,etc.can be real time dynamically monitored through this serial communication system.
作者
张立新
张硕生
ZHANG Lixin;ZHANG Shuosheng(Department of Automation,Beijing Institute of Petrochemical Technology,Beijing 102617,China)
出处
《北京石油化工学院学报》
2018年第1期35-38,共4页
Journal of Beijing Institute of Petrochemical Technology
关键词
串行通讯
通讯协议
组态王
单片机
实时监控
serial communication
protocol
king view
single-chip microcomputer
real-time monitor