摘要
介绍了单片机与PC机之间的串行通信和RS232串行通信总线标准,以称重仪表作为下位机,以计算机作为上位机,以RS232作为两者之间的通信总线。利用VC++的MSComm控件开发上位机程序,实现了称重仪表与计算机的串行通信。
This paper analyses the serial communication between weighting instrument and computer. Weighting instrument is client machine, and the computer is host machine. They are connected by RS- 232 bus. MSComm control of Microsoft Visual C + + 6.0 is used to develop host machine program. By setting the weighting instrument communication parameter, computer can automatically read data of weighting instrument.
出处
《工业仪表与自动化装置》
2008年第1期51-54,共4页
Industrial Instrumentation & Automation