【教程】Matrikon OPC使用教程连载(一)

MatrikonOPC介绍:

Matrikon是基于OPC UA和基于OPC的控制自动化数据互操作性产品的供应商,提供自动化厂商的高级OPC UA开发工具包,适用于从嵌入式设备到云应用的所有产品线。对于终端用户客户,Matrikon提供了关键数据工具,以最好地促进企业广泛的数据共享。产品主要包含:各类 MatrikonOPC ServersMatrikonOPC Archiving and Analytics套包MatrikonOPC Data Management套包MatrikonOPC Security套包MatrikonOPC UA (Unified Architecture)等产品。

本文档旨在作为使用以下MatrikonOPC工具的指南(所有这些工具必须安装在本地计算机上):

  • MatrikonOPC Server for DDE (用于DDE的MatrikonOPC Server)

  • MatrikonOPC Explorer

  • MatrikonOPC Server for Simulation and Testing(用于仿真和测试的MatrikonOPC Server)

  • MatrikonOPC Data Manager(MatrikonOPC数据管理器)

上面列出的应用程序都可以下载用于测试目的。注意:要完成本教程,还必须在本地计算机上安装 Microsoft Excel。

MatrikonOPC工具概述:

OPC架构图(图1)描述了OPC软件应用程序如何相互连接。每个框表示单独的软件应用程序。每条线表示连接。

图1 - OPC架构

在图1中,过程控制系统的安排如下:

  1. Microsoft Excel 充当数据源。所有过程控制数据都从 Microsoft Excel 中读取并写入。

  2. MatrikonOPC Server for DDE 将 Microsoft Excel 连接到OPC客户端。

  3. MatrikonOPC Explorer充当数据接收器。它读取数据和命令,并将数据写回 Microsoft Excel。

  4. MatrikonOPC Server for Simulation and Testing模拟与样本设备或样本应用程序的连接。它传输由MatrikonOPC Explorer读取的模拟数据。

  5. MatrikonOPC Data Manager具有连接两个OPC Server的OPC客户端功能。样本标记值在 MatrikonOPC Server for Simulation and Testing 和 MatrikonOPC Server for DDE 之间共享。

下载和安装MatrikonOPC工具

本教程中使用的所有MatrikonOPC软件均可作为免费评估版提供,可通过以下链接下载:

MatrikonOPC Explorer:

http://matrikonopc.com/products/opc-desktop-tools/opc-explorer.aspx

MatrikonOPC Server for DDE:

http://www.matrikonopc.com/opc-drivers/168/base-driver-details.aspx

MatrikonOPC Server for Simulation and Testing:

http://matrikonopc.com/products/opc-drivers/opc-simulation-server.aspx

MatrikonOPC Data Manager:

http://www.matrikonopc.com/products/opc-data-management/opc-data-manager.aspx

要安装每个软件包,请下载并运行每个可执行文件。按照每个安装附带的说明进行操作。

注意:

  1. MatrikonOPC Server for DDE 和 MatrikonOPC Data Manager仅用于演示目的,并提供免费的30天全功能演示许可证。演示期结束后,软件将停止运行,直到安装了注册版本。

  2. MatrikonOPC Explorer 和 MatrikonOPC Server for Simulation and Testing是功能齐全的OPC测试工具,这些应用程序无需许可。

教程概述

本教程中的练习描述了每个MatrikonOPC应用程序的功能,同时通过配置MatrikonOPC Server for DDE的过程提供指导。通过本教程提供必要的知识,通过突出显示连接任何OPC软件应用程序时可能出现的问题,帮助解决OPC软件实施问题。

使用以下步骤配置 MatrikonOPC Server for DDE:

  1. 使用Microsoft Excel创建示例数据。有关更多信息,请参阅 配置数据源

  2. 配置DDE服务器(使用MatrikonOPC Server for DDE)和 Microsoft Excel 之间的连接。有关更多信息,请参阅 配置OPC服务器

  3. 配置MatrikonOPC Explorer,使用 MatrikonOPC Server for DDE 从 Microsoft Excel 读取和写入值。有关更多信息,请参阅使用OPC客户端(MatrikonOPC Explorer)

  4. 将 MatrikonOPC Explorer 连接到 MatrikonOPC Server for Simulation and Testing。然后使用 MatrikonOPC Data Manager 连接两个OPC服务器。有关更多信息,请参阅在两个OPC服务器之间交换数据

未完待续......


猜你喜欢

转载自blog.51cto.com/14084744/2326586