詳細(xì)介紹工控軟件組態(tài)王與單片機(jī)多機(jī)串口通訊的設(shè)計原理。分析組態(tài)王提供的直接與單片機(jī)串口通信方法的優(yōu)點,給出系統(tǒng)基于RS-485總線傳輸?shù)慕涌陔娐吩韴D。根據(jù)組態(tài)王提供的通訊協(xié)議和單片機(jī)多機(jī)串口通訊的原理,給出程序設(shè)計流程與思路。
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.
介紹以P87LPC764型單片機(jī)為核心的延時型漏電繼電器設(shè)計方案。該方案可供用戶選擇實現(xiàn)額定動作電流和5倍額定動作電流下不同的延時動作時間,并有重合閘設(shè)定選擇功能。解決了以往傳統(tǒng)分立元件帶來的延時時間離散性大且不易實現(xiàn)的弊端。
Abstract:
In this paper, the delay leakage relay based on P87LPC764 is introduced in detail. This system provides different relay times at rating current and 5× rating current for users and also offers superposition brake set selection function. So that it resolves many traditional problems.
為解決輸油管道溫度壓力參數(shù)實時監(jiān)測的問題,設(shè)計了以C8051F930單片機(jī)作為控制核心的超低功耗輸油管道溫度壓力遠(yuǎn)程監(jiān)測系統(tǒng)?,F(xiàn)場儀表使用高精度電橋采集數(shù)據(jù),通過433 MHz短距離無線通信網(wǎng)絡(luò)與遠(yuǎn)程終端RTU進(jìn)行通信,RTU通過GPRS網(wǎng)絡(luò)與PC上位機(jī)進(jìn)行遠(yuǎn)程數(shù)據(jù)傳輸,在上位機(jī)中實現(xiàn)數(shù)據(jù)存儲和圖形化界面顯示,從而實現(xiàn)輸油管道溫度壓力參數(shù)的實時監(jiān)測和異常報警。經(jīng)實驗證明,該系統(tǒng)的12位數(shù)據(jù)采集精度滿足設(shè)計要求,漏碼率小于1%,正常工作時間超過5個月,能實時有效地監(jiān)測輸油管道的溫度壓力參數(shù),節(jié)省大量人工成本,有效預(yù)防管道參數(shù)異常造成的經(jīng)濟(jì)損失和環(huán)境污染。
Abstract:
In order to solve the problems on real-time monitoring of pipeline temperature and pressure parameters, the ultra-low power remote pipeline temperature and pressure monitoring system was designed by using the single chip processor C8051F930 as the control core. The high-precision electric bridge was used in field instruments for data collection, the 433MHz short-range wireless communication network was used to make communication between field instrument and RTU, the GPRS was used by the RTU to transmit data to the PC host computer, and the data was stored and displayed in the PC host computer, so the real-time monitoring and exception alerts of pipeline temperature and pressure parameters were achieved. The experiment proves that the system of which error rate is less than 1% over five months working with the 12-bit data acquisition accuracy can effectively monitor the pipeline temperature and pressure parameters in real time, it saves a lot of labor costs and effectively prevents environmental pollution and economic losses caused by abnormal channel parameters.