控制工程
控製工程
공제공정
CONTROL ENGINEERING OF CHINA
2003年
z1期
64-66,93
,共4页
单片机%串行通讯%VB%MSComm
單片機%串行通訊%VB%MSComm
단편궤%천행통신%VB%MSComm
PC机和多台单片机之间串行通讯在监控系统中的应用是非常广泛的.基于一个医疗监控系统实例,讨论了如何利用PC机和多台单片机的串行通讯实现实时监控.结合MCS-96系列单片机的通讯方式2、3,灵活运用通讯帧中的第九位数据位,即奇偶校验位,即可实现PC机和多台单片机的高效、准确的串行通讯.该监控系统PC机部分的程序是应用VB语言编写的,其中应用到串行通讯控件MSComm,介绍了MSComm控件的属性、方法、事件,并给出了PC机、单片机串行通讯部分的流程图和源代码.整个系统经过测试,已投入使用,效果良好.
PC機和多檯單片機之間串行通訊在鑑控繫統中的應用是非常廣汎的.基于一箇醫療鑑控繫統實例,討論瞭如何利用PC機和多檯單片機的串行通訊實現實時鑑控.結閤MCS-96繫列單片機的通訊方式2、3,靈活運用通訊幀中的第九位數據位,即奇偶校驗位,即可實現PC機和多檯單片機的高效、準確的串行通訊.該鑑控繫統PC機部分的程序是應用VB語言編寫的,其中應用到串行通訊控件MSComm,介紹瞭MSComm控件的屬性、方法、事件,併給齣瞭PC機、單片機串行通訊部分的流程圖和源代碼.整箇繫統經過測試,已投入使用,效果良好.
PC궤화다태단편궤지간천행통신재감공계통중적응용시비상엄범적.기우일개의료감공계통실례,토론료여하이용PC궤화다태단편궤적천행통신실현실시감공.결합MCS-96계렬단편궤적통신방식2、3,령활운용통신정중적제구위수거위,즉기우교험위,즉가실현PC궤화다태단편궤적고효、준학적천행통신.해감공계통PC궤부분적정서시응용VB어언편사적,기중응용도천행통신공건MSComm,개소료MSComm공건적속성、방법、사건,병급출료PC궤、단편궤천행통신부분적류정도화원대마.정개계통경과측시,이투입사용,효과량호.