c语言如何控制上位机界面大小,电机上位机控制及界面设计参考.doc
電機上位機控制及界面設計參考
PAGE 1
電機上位機控制及界面設計
吳牛俊
(自動化與電氣工程學院 指導教師:周克寧)
摘要:隨著計算機、電子、通訊技術的飛速發展,人們對于車間現場設備的運行管理控制,可視化操作等綜合水平提出了新的要求。
為了滿足這新的要求,本畢業設計本著“不在現場,遠離現場”的原則,以C語言作為開發語言,VC為開發環境,針對某充電機產品編寫了應用程序,將充電機的現場設備界面通過串口通信技術,與上位機界面有機的結合起來,以實現計算機的遠程監控功能。此外,該上位機應用軟件還實現了查看充電機存儲在U盤中的運行記錄文件的功能。
在本畢業論文通過這個項目的開發過程,闡述了編程環境的選擇,串口通訊實現遠程測試的方法,通過文件操作讀取U盤數據的技巧。探討如何在PC平臺與工控機平臺間建立遠程測試和歷史數據讀取和分析的一般方法。
關鍵詞:人機界面;串口通信;Visual C++6.0;文件操作
Abstract:With the development of computer, electronics, communications technology, the people are requiring that the the operation and management of the equipment control,and the Visualization operation must develop too.
To meet these new requirements, the design of the graduates base on that "not on the scene, the scene away from the principle of" and use the C language and VC environment programming the charger procedures. The design uses the communications technology to put the charger field equipment interface and PC interface combination.And it can be achieved RMON. In addition, the PC application software also can view the test records stored in the U disk.
This paper through the project development process describes the following points.First is The choice of programming environments.Second is Serial Communication remote test method.Third is the skills of reading the test records stored in the U disk.Discussion on general methods that through the PC platform with the establishment of industrial computer platform for remote testing and reading historical data and analysis
Keywords:Human-machine interface; Serial Communication;;Visual C++6.0;File
1 緒 論
1.1 背 景
隨著計算機、電子、通訊技術的飛速發展,人們對于車間現場設備的運行管理控制,可視化操作等綜合水平提出了新的要求。
隨著計算機的運算速度不斷升級功能日漸強大,在車間現場測控中扮演了越來越重要的角色。利用計算機軟件通過運用先進的通訊技術監控遠程現場設備的運行狀況和運行參數。這將大大提高生產效率,保證生產安全。出于節省人工,提高效率或者安全生產方面的考慮很多環節需要遠程監控車間設備的運行情況,這就離不開通訊技術的應用。這里所說的通信是只計算機與遠程設備之間的信息交換。由于串行通信是在一根傳輸線上一位一位的傳送信息,所用的傳輸線少,并且可以借助現成的電話網進行信息傳送,因此,特別適合于遠距離傳輸。對于那些與計算機相距不遠的人機交換設備和串行存儲的外部設備如終端、打印機、邏輯分析儀、磁盤等,采用串行方式交換數據也很普遍。
同時,隨著人們對車間現場設備智能化的要求的提高,越來越多的設備采
總結
以上是生活随笔為你收集整理的c语言如何控制上位机界面大小,电机上位机控制及界面设计参考.doc的全部內容,希望文章能夠幫你解決所遇到的問題。
- 上一篇: eclipse中linux打包,Ecli
- 下一篇: c语言malloc引用类型作参数,C语言