摘要
简要介绍了数传无线电台通过RS-232总线与计算机的串口连接,并以四线制半双工方式的工作机制通信。详细探讨了数传电台与工控组态软件MCGS(MonitorandControlGeneratedSys-tem)通信的三种方式。第一种是编制电台设备驱动程序挂接在MCGS中实现通信;第二、三种方法是在VB环境下编制电台数据采集程序,其中第二种方法是利用对象链接与嵌入OLE(ObjectsLinkingandEmbedding)自动化操作MCGS;第三种方法是利用动态数据交换DDE(DynamicDataExchange)连接方法与MCGS进行数据交换实现通信。实际运行表明,三种方法均可实现数传电台与MCGS通信,且各有适用场合。
The working mechanism of data radio transceiver is introduced briefly,which com-municates with computer serial port via RS - 232 and adopts four - wire half duplex mode. Three de-velopment ways of data communication between data radio transceiver and configuration software MCGS(Monitor and Control Generated System) are discussed in detail:developing transceiver device driver of MCGS;developing transceiver data acquisition program with VB applying OLE(Objects Linking and Embedding) for automatic operation of MCGS and applying DDE(Dynamic Data Exchange) for data exchange. Practice shows the three ways fit for different occasions.
出处
《电力自动化设备》
EI
CSCD
北大核心
2005年第6期38-40,共3页
Electric Power Automation Equipment