Matrikon OPC使用教程連載-工具概述
MatrikonOPC介紹:
Matrikon是基于OPC UA和基于OPC的控制自動(dòng)化數(shù)據(jù)互操作性產(chǎn)品的供應(yīng)商,提供自動(dòng)化廠商的高級(jí)OPC UA開發(fā)工具包,適用于從嵌入式設(shè)備到云應(yīng)用的所有產(chǎn)品線。對(duì)于終端用戶客戶,Matrikon提供了關(guān)鍵數(shù)據(jù)工具,以最好地促進(jìn)企業(yè)廣泛的數(shù)據(jù)共享。產(chǎn)品主要包含:各類 MatrikonOPC Servers,MatrikonOPC Archiving and Analytics套包,MatrikonOPC Data Management套包,MatrikonOPC Security套包,MatrikonOPC UA (Unified Architecture)等產(chǎn)品。
本文檔旨在作為使用以下MatrikonOPC工具的指南(所有這些工具必須安裝在本地計(jì)算機(jī)上):
- MatrikonOPC Server for DDE (用于DDE的MatrikonOPC Server)
- MatrikonOPC Explorer
- MatrikonOPC Server for Simulation and Testing(用于仿真和測(cè)試的MatrikonOPC Server)
- MatrikonOPC Data Manager(MatrikonOPC數(shù)據(jù)管理器)
上面列出的應(yīng)用程序都可以下載用于測(cè)試目的。注意:要完成本教程,還必須在本地計(jì)算機(jī)上安裝 Microsoft Excel。
MatrikonOPC工具概述:
OPC架構(gòu)圖(圖1)描述了OPC軟件應(yīng)用程序如何相互連接。每個(gè)框表示單獨(dú)的軟件應(yīng)用程序。每條線表示連接。
圖1 - OPC架構(gòu)
在圖1中,過程控制系統(tǒng)的安排如下:
- Microsoft Excel 充當(dāng)數(shù)據(jù)源。所有過程控制數(shù)據(jù)都從 Microsoft Excel 中讀取并寫入。
- MatrikonOPC Server for DDE 將 Microsoft Excel 連接到OPC客戶端。
- MatrikonOPC Explorer充當(dāng)數(shù)據(jù)接收器。它讀取數(shù)據(jù)和命令,并將數(shù)據(jù)寫回 Microsoft Excel。
- MatrikonOPC Server for Simulation and Testing模擬與樣本設(shè)備或樣本應(yīng)用程序的連接。它傳輸由MatrikonOPC Explorer讀取的模擬數(shù)據(jù)。
- MatrikonOPC Data Manager具有連接兩個(gè)OPC Server的OPC客戶端功能。樣本標(biāo)記值在 MatrikonOPC Server for Simulation and Testing 和 MatrikonOPC Server for DDE 之間共享。
下載和安裝MatrikonOPC工具
本教程中使用的所有MatrikonOPC軟件均可作為免費(fèi)評(píng)估版提供,可通過以下鏈接下載:
MatrikonOPC Explorer:
MatrikonOPC Server for DDE:
MatrikonOPC Server for Simulation and Testing:
MatrikonOPC Data Manager:
要安裝每個(gè)軟件包,請(qǐng)下載并運(yùn)行每個(gè)可執(zhí)行文件。按照每個(gè)安裝附帶的說明進(jìn)行操作。
注意:
- MatrikonOPC Server for DDE 和 MatrikonOPC Data Manager僅用于演示目的,并提供免費(fèi)的30天全功能演示許可證。演示期結(jié)束后,軟件將停止運(yùn)行,直到安裝了注冊(cè)版本。
- MatrikonOPC Explorer 和 MatrikonOPC Server for Simulation and Testing是功能齊全的OPC測(cè)試工具,這些應(yīng)用程序無需許可。
教程概述
本教程中的練習(xí)描述了每個(gè)MatrikonOPC應(yīng)用程序的功能,同時(shí)通過配置MatrikonOPC Server for DDE的過程提供指導(dǎo)。通過本教程提供必要的知識(shí),通過突出顯示連接任何OPC軟件應(yīng)用程序時(shí)可能出現(xiàn)的問題,幫助解決OPC軟件實(shí)施問題。
使用以下步驟配置 MatrikonOPC Server for DDE:
- 使用Microsoft Excel創(chuàng)建示例數(shù)據(jù)。有關(guān)更多信息,請(qǐng)參閱 配置數(shù)據(jù)源。
- 配置DDE服務(wù)器(使用MatrikonOPC Server for DDE)和 Microsoft Excel 之間的連接。有關(guān)更多信息,請(qǐng)參閱 配置OPC服務(wù)器。
- 配置MatrikonOPC Explorer,使用 MatrikonOPC Server for DDE 從 Microsoft Excel 讀取和寫入值。有關(guān)更多信息,請(qǐng)參閱使用OPC客戶端(MatrikonOPC Explorer)。
- 將 MatrikonOPC Explorer 連接到 MatrikonOPC Server for Simulation and Testing。然后使用 MatrikonOPC Data Manager 連接兩個(gè)OPC服務(wù)器。有關(guān)更多信息,請(qǐng)參閱在兩個(gè)OPC服務(wù)器之間交換數(shù)據(jù)。
未完待續(xù)......