詳細介紹工控軟件組態王與單片機多機串口通訊的設計原理。分析組態王提供的直接與單片機串口通信方法的優點,給出系統基于RS-485總線傳輸的接口電路原理圖。根據組態王提供的通訊協議和單片機多機串口通訊的原理,給出程序設計流程與思路。
Abstract:
In this paper,the design principle of communication between multi-SCM and KingView by serial ports is described in detail.We analysis the advantage of method supplied by KingView,by which KingView can communicate with serial ports of SCM directly,and provide the system’s interface circuit based on the RS-485transmission line.We provide flow diagram of programming and thinking on the basis of communication protocol supplied by KingView and principle of communication among multi-SCM through serial ports.
標簽:
工控軟件
單片機
串口通訊
多機
上傳時間:
2013-12-19
上傳用戶:tecman