跳到主要内容
版本:v3

TwinCAT ADS → OIAnalytics

Beforehand

This use case shows how to set up an ADS connector and how to send the resulting CSV files into OIAnalytics.

Details regarding the configurations can be located on the North OIAnalytics and South ADS connectors pages.

South ADS

Ensure that you are familiar with the network configuration required to access the ADS server from the OIBus machine, as detailed in the connector documentation.

Let's consider two implementation scenarios:

  1. OIBus directly installed in the PLC, which includes the ADS router.
  2. OIBus installed on a separate machine, or on the same machine but without direct access to the ADS router, which can be accessed via another local network.

Local ADS

Lorem ipsum

Local ADS -> OIAnalytics use case

Lorem ipsum

ADS local settings

Remote ADS

Lorem ipsum

Remote ADS -> OIAnalytics use case

Lorem ipsum

ADS remote settings

Testing connection

You can verify the connection by testing the settings using the Test settings button.

Items

Ensure that you are aware of all the addresses you intend to request. You have the option to associate an address with a name to identify the corresponding data. The ADS connector is frequently employed for accessing PLCs, and there are scenarios where multiple PLCs with the same namespace need to be accessed.

ADS item settings

To streamline this process, OIBus allows you to import items from a CSV file, which can be the result of exporting from another ADS connector. However, note that the names will be the same between the two connectors. To distinguish them, utilize the PLC name field.

The PLC name will be appended in front of all item names, providing a unique identifier.

北方OIAnalytics

您需要了解的信息

验证OIAnalytics平台是否可以从安装了OIBus的机器访问。为此,请在网络浏览器的地址栏中输入OIAnalytics URL。如果页面正确加载,则可以访问OIAnalytics。如果不行,请确保您的网络防火墙允许连接。

连接问题可能是由于端口规则(HTTPS / 443,虽然非常不可能)或域名规则。咨询您的IT团队以添加允许通信的规则。

准备工作

在OIAnalytics平台内,导航至配置设置。 在用户管理部分,创建具有以下访问权限的概要文件:

  • 值:查询 | 更新
  • 文件上传:更新资源

然后为具有此类概要文件的用户创建用户,并为其生成访问密钥。 注意安全地存储密钥和秘密:它们将被用来设置北方OIAnalytics连接器。

北方连接器

创建OIAnalytics北方连接器并填写相关字段。 保存前,请使用测试设置按钮检查连接。