詳細介紹工控軟件組態王與單片機多機串口通訊的設計原理。分析組態王提供的直接與單片機串口通信方法的優點,給出系統基于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
介紹基于ISA總線與KH-9300的數據采集板卡的設置,詳細說明8254定時計數器及8259中斷控制器的結構特點、工作方式、控制字等,探討中斷類型、中斷處理程序、中斷矢量表及其填寫。重點講述使用TorboC編寫中斷服務程序的方法,應注意的主要問題及程序測試的結果。 Abstract: The settings of KH-9300 data acquisition board based on the ISA bus is introduced,the structural characteristics,working methods,control characters of the timing counter 8254 and interruptioncontroller 8259 are explained in detail.The interruption type,interrupt handling programs,interruption vector table and its filling also are discussed.Further,great emphasis is put on the method of interrupt service program compiled by Torbo C,the main issues that should be noted,and the results of program testing.
上傳時間: 2013-11-14
上傳用戶:qq527891923
摘要:本文介紹了一種基于單片機和測量電壓真有效值方案設計的智能數字交流毫伏表。它能精確測量任意波形的低頻模擬周期信號并同時顯示其有效值和分貝值。具有智能量程轉換功能。 關鍵詞:單片機 數字毫伏表 真有效值 智能量程轉換
上傳時間: 2013-11-09
上傳用戶:gaoqinwu
以FPGA為數字邏輯平臺,借助繼電器矩陣和多路模擬開關,以ADS1211為核心,在單片機控制下,聯合實現手持式虛擬/智能存儲示波表中數字多用表功能,實驗表明該設計是行之有效的。文中介紹了數字多用表的系統結構,重點討論了其測量電路和智能控制方案。 Abstract: The digital multimeter in virtual/intellect digital-oscillorgaph was fulfilled, which was controlled by singlechip computer by relay matrix and analogue switches,in which FPGA was used for digital logical plot-form, ADS1211 for kernel chip, the experiment showed the design was feasible, the system struction was present-ed in the paper, measure circuit and intellect control plan of digital multimeter were mainly given.
上傳時間: 2013-11-02
上傳用戶:瓦力瓦力hong
普通查表原理 查表時,執行CALL指令后,下一條指令的地址被自動壓入堆棧中,然后跳轉到數據表處,執行TJMP指令,PC指針跳轉到PC11~PC8,TBR(TABLE BRANCH REGISTER),AC(累加器)所指向的地址,該地址的數據通過RTNW指令返回,其中,高4位數據保存到TBR寄存器中,低4位數據保存到累加器AC中。返回時PC指針會自動被堆棧中保存的PC數據覆蓋。
上傳時間: 2014-12-27
上傳用戶:zhaoman32
摘要:數字電壓表抗干擾能力強、測量速度快、測量準確度高。本系統采AT89C51單片機、A/D轉換器ADC0808和共陽極數碼管為主要硬件,詳細分析了數字電壓表Proteus軟件仿真電路設計及編程方法。關鍵詞:數字電壓表;單片機;A/D轉換器
上傳時間: 2013-10-26
上傳用戶:tiantwo
MCS-51系列單片機指令系統表數據傳送類指令
上傳時間: 2014-12-27
上傳用戶:13817753084
摘要:本文首先簡要說明了同步表在船舶電站中的用途,以及實船上同步表各個部分的功能和操作方法;文中介紹了在輪機模擬器上對于電站同步表的一種新的仿真模型以及該模擬器對同步表的要求,這一仿真模型和模擬器需求是文中介紹的基于單片機的同步表的基礎;根據這一模型,詳細介紹了用通用單片機STC89C51實現輪機模擬器電站系統上的同步表的系統構成,以及模擬實現同步表各項功能的的硬件和軟件方法,并在文中給出了詳細的軟件流程圖和部分硬件原理圖以及配套的軟件代碼;在文章最后,簡要介紹了本文實現的基于單片機的同步表的特點以及其在輪機模擬器上實際應用的表現。關鍵詞:船舶電站;同步表;單片機;模擬
上傳時間: 2013-11-23
上傳用戶:lili123
STK單片機選型表
上傳時間: 2013-11-21
上傳用戶:魚哥哥你好
C8051F330低成本智能單相交流電壓表方案(取代傳統動圈表) 該方案采用的http://www.elecfans.com/soft/33/2010/單片機集成度高,資源豐富。與其它類型的http://www.elecfans.com/soft/33/2010/單片機相比,所需要外加的外圍器件最少,是做智能單相電流電壓表最理想的一款http://www.elecfans.com/soft/33/2010/單片機。
上傳時間: 2013-10-27
上傳用戶:z754970244