@things-factory/integration-opc 6.1.120
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +8 -0
- package/README.md +0 -0
- package/dist-server/engine/connector/index.js +5 -0
- package/dist-server/engine/connector/index.js.map +1 -0
- package/dist-server/engine/connector/opc-ua-server.js +124 -0
- package/dist-server/engine/connector/opc-ua-server.js.map +1 -0
- package/dist-server/engine/connector/opc-ua.js +152 -0
- package/dist-server/engine/connector/opc-ua.js.map +1 -0
- package/dist-server/engine/index.js +5 -0
- package/dist-server/engine/index.js.map +1 -0
- package/dist-server/engine/task/index.js +7 -0
- package/dist-server/engine/task/index.js.map +1 -0
- package/dist-server/engine/task/opc-ua-read.js +26 -0
- package/dist-server/engine/task/opc-ua-read.js.map +1 -0
- package/dist-server/engine/task/opc-ua-start-monitor.js +44 -0
- package/dist-server/engine/task/opc-ua-start-monitor.js.map +1 -0
- package/dist-server/engine/task/opc-ua-stop-monitor.js +24 -0
- package/dist-server/engine/task/opc-ua-stop-monitor.js.map +1 -0
- package/dist-server/engine/task/opc-ua-write.js +30 -0
- package/dist-server/engine/task/opc-ua-write.js.map +1 -0
- package/dist-server/index.js +5 -0
- package/dist-server/index.js.map +1 -0
- package/dist-server/tsconfig.tsbuildinfo +1 -0
- package/helps/integration/connector/opc-ua-server.ja.md +22 -0
- package/helps/integration/connector/opc-ua-server.ko.md +22 -0
- package/helps/integration/connector/opc-ua-server.md +22 -0
- package/helps/integration/connector/opc-ua-server.ms.md +22 -0
- package/helps/integration/connector/opc-ua-server.zh.md +22 -0
- package/helps/integration/connector/opc-ua.ja.md +41 -0
- package/helps/integration/connector/opc-ua.ko.md +41 -0
- package/helps/integration/connector/opc-ua.md +41 -0
- package/helps/integration/connector/opc-ua.ms.md +43 -0
- package/helps/integration/connector/opc-ua.zh.md +41 -0
- package/helps/integration/task/opc-ua-read.ja.md +11 -0
- package/helps/integration/task/opc-ua-read.ko.md +11 -0
- package/helps/integration/task/opc-ua-read.md +11 -0
- package/helps/integration/task/opc-ua-read.ms.md +11 -0
- package/helps/integration/task/opc-ua-read.zh.md +11 -0
- package/helps/integration/task/opc-ua-start-monitor.ja.md +14 -0
- package/helps/integration/task/opc-ua-start-monitor.ko.md +14 -0
- package/helps/integration/task/opc-ua-start-monitor.md +14 -0
- package/helps/integration/task/opc-ua-start-monitor.ms.md +14 -0
- package/helps/integration/task/opc-ua-start-monitor.zh.md +14 -0
- package/helps/integration/task/opc-ua-stop-monitor.ja.md +12 -0
- package/helps/integration/task/opc-ua-stop-monitor.ko.md +12 -0
- package/helps/integration/task/opc-ua-stop-monitor.md +12 -0
- package/helps/integration/task/opc-ua-stop-monitor.ms.md +12 -0
- package/helps/integration/task/opc-ua-stop-monitor.zh.md +12 -0
- package/helps/integration/task/opc-ua-write.ja.md +13 -0
- package/helps/integration/task/opc-ua-write.ko.md +13 -0
- package/helps/integration/task/opc-ua-write.md +13 -0
- package/helps/integration/task/opc-ua-write.ms.md +13 -0
- package/helps/integration/task/opc-ua-write.zh.md +13 -0
- package/package.json +30 -0
- package/server/engine/connector/index.ts +2 -0
- package/server/engine/connector/opc-ua-server.ts +145 -0
- package/server/engine/connector/opc-ua.ts +206 -0
- package/server/engine/index.ts +2 -0
- package/server/engine/task/index.ts +4 -0
- package/server/engine/task/opc-ua-read.ts +33 -0
- package/server/engine/task/opc-ua-start-monitor.ts +57 -0
- package/server/engine/task/opc-ua-stop-monitor.ts +31 -0
- package/server/engine/task/opc-ua-write.ts +38 -0
- package/server/index.ts +2 -0
- package/things-factory.config.js +1 -0
- package/translations/en.json +19 -0
- package/translations/ja.json +19 -0
- package/translations/ko.json +19 -0
- package/translations/ms.json +19 -0
- package/translations/zh.json +19 -0
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
# OPC-UA サーバーコネクタ
|
|
2
|
+
|
|
3
|
+
OPC-UA サーバーコネクタを使用すると、OPC-UA サーバーインスタンスを作成し、管理することができます。
|
|
4
|
+
|
|
5
|
+
## パラメータ
|
|
6
|
+
|
|
7
|
+
- **ポート:** OPC-UA サーバーがリッスンするポート番号です。
|
|
8
|
+
- **製品名:** OPC-UA サーバーに関連する製品の名前です。
|
|
9
|
+
- **ビルド番号:** OPC-UA サーバーのビルド番号です。
|
|
10
|
+
- **ビルド日付:** OPC-UA サーバーのビルド日付です。
|
|
11
|
+
|
|
12
|
+
## 機能
|
|
13
|
+
|
|
14
|
+
- OPC-UA サーバーインスタンスを初期化して起動します。
|
|
15
|
+
- サーバーのアドレススペースにオブジェクト、変数、および関数を作成して管理します。
|
|
16
|
+
- 変数と関数のモニタリングを提供します。
|
|
17
|
+
|
|
18
|
+
## 参照リンク
|
|
19
|
+
|
|
20
|
+
- [creating a client](https://github.com/node-opcua/node-opcua/blob/master/documentation/creating_a_client_typescript.md)
|
|
21
|
+
- [creating a server](https://github.com/node-opcua/node-opcua/blob/master/documentation/creating_a_server.md)
|
|
22
|
+
- [node-opcua](https://github.com/node-opcua/node-opcua)
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
# OPC-UA 서버 커넥터
|
|
2
|
+
|
|
3
|
+
OPC-UA 서버 커넥터를 사용하면 OPC-UA 서버 인스턴스를 생성하고 관리할 수 있습니다.
|
|
4
|
+
|
|
5
|
+
## 매개변수
|
|
6
|
+
|
|
7
|
+
- **포트:** OPC-UA 서버가 수신 대기할 포트 번호입니다.
|
|
8
|
+
- **제품명:** OPC-UA 서버와 관련된 제품의 이름입니다.
|
|
9
|
+
- **빌드 번호:** OPC-UA 서버의 빌드 번호입니다.
|
|
10
|
+
- **빌드 날짜:** OPC-UA 서버의 빌드 날짜입니다.
|
|
11
|
+
|
|
12
|
+
## 기능
|
|
13
|
+
|
|
14
|
+
- OPC-UA 서버 인스턴스를 초기화하고 시작합니다.
|
|
15
|
+
- 서버의 주소 공간에 객체, 변수 및 함수를 생성하고 관리합니다.
|
|
16
|
+
- 변수 및 함수의 모니터링을 제공합니다.
|
|
17
|
+
|
|
18
|
+
## 참조링크
|
|
19
|
+
|
|
20
|
+
- [creating a client](https://github.com/node-opcua/node-opcua/blob/master/documentation/creating_a_client_typescript.md)
|
|
21
|
+
- [creating a server](https://github.com/node-opcua/node-opcua/blob/master/documentation/creating_a_server.md)
|
|
22
|
+
- [node-opcua](https://github.com/node-opcua/node-opcua)
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
# OPC-UA Server Connector
|
|
2
|
+
|
|
3
|
+
The OPC-UA Server Connector allows you to create and manage an OPC-UA server instance.
|
|
4
|
+
|
|
5
|
+
## Parameters
|
|
6
|
+
|
|
7
|
+
- **Port:** The port number on which the OPC-UA server will listen.
|
|
8
|
+
- **Product Name:** The name of the product associated with the OPC-UA server.
|
|
9
|
+
- **Build Number:** The build number of the OPC-UA server.
|
|
10
|
+
- **Build Date:** The build date of the OPC-UA server.
|
|
11
|
+
|
|
12
|
+
## Features
|
|
13
|
+
|
|
14
|
+
- Initializes and starts an OPC-UA server instance.
|
|
15
|
+
- Creates and manages objects, variables, and functions in the server's address space.
|
|
16
|
+
- Provides monitoring of variables and functions.
|
|
17
|
+
|
|
18
|
+
## Reference Link
|
|
19
|
+
|
|
20
|
+
- [creating a client](https://github.com/node-opcua/node-opcua/blob/master/documentation/creating_a_client_typescript.md)
|
|
21
|
+
- [creating a server](https://github.com/node-opcua/node-opcua/blob/master/documentation/creating_a_server.md)
|
|
22
|
+
- [node-opcua](https://github.com/node-opcua/node-opcua)
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
# Pemacu Pelayan OPC-UA
|
|
2
|
+
|
|
3
|
+
Pemacu Pelayan OPC-UA membolehkan anda untuk membuat dan menguruskan instan Pelayan OPC-UA.
|
|
4
|
+
|
|
5
|
+
## Parameter
|
|
6
|
+
|
|
7
|
+
- **Port:** Nombor port di mana pelayan OPC-UA akan mendengar.
|
|
8
|
+
- **Nama Produk:** Nama produk yang berkaitan dengan pelayan OPC-UA.
|
|
9
|
+
- **Nombor Binaan:** Nombor binaan pelayan OPC-UA.
|
|
10
|
+
- **Tarikh Binaan:** Tarikh binaan pelayan OPC-UA.
|
|
11
|
+
|
|
12
|
+
## Ciri-ciri
|
|
13
|
+
|
|
14
|
+
- Memulakan dan menjalankan instan Pelayan OPC-UA.
|
|
15
|
+
- Mencipta dan menguruskan objek, pembolehubah, dan fungsi dalam ruang alamat pelayan.
|
|
16
|
+
- Menyediakan pemantauan pembolehubah dan fungsi.
|
|
17
|
+
|
|
18
|
+
## Pautan Rujukan
|
|
19
|
+
|
|
20
|
+
- [creating a client](https://github.com/node-opcua/node-opcua/blob/master/documentation/creating_a_client_typescript.md)
|
|
21
|
+
- [creating a server](https://github.com/node-opcua/node-opcua/blob/master/documentation/creating_a_server.md)
|
|
22
|
+
- [node-opcua](https://github.com/node-opcua/node-opcua)
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
# OPC-UA 服务器连接器
|
|
2
|
+
|
|
3
|
+
OPC-UA 服务器连接器允许您创建和管理 OPC-UA 服务器实例。
|
|
4
|
+
|
|
5
|
+
## 参数
|
|
6
|
+
|
|
7
|
+
- **端口:** OPC-UA 服务器将侦听的端口号。
|
|
8
|
+
- **产品名称:** 与 OPC-UA 服务器相关的产品名称。
|
|
9
|
+
- **构建编号:** OPC-UA 服务器的构建编号。
|
|
10
|
+
- **构建日期:** OPC-UA 服务器的构建日期。
|
|
11
|
+
|
|
12
|
+
## 特性
|
|
13
|
+
|
|
14
|
+
- 初始化并启动 OPC-UA 服务器实例。
|
|
15
|
+
- 在服务器的地址空间中创建和管理对象、变量和函数。
|
|
16
|
+
- 提供变量和函数的监控。
|
|
17
|
+
|
|
18
|
+
## 参考链接
|
|
19
|
+
|
|
20
|
+
- [creating a client](https://github.com/node-opcua/node-opcua/blob/master/documentation/creating_a_client_typescript.md)
|
|
21
|
+
- [creating a server](https://github.com/node-opcua/node-opcua/blob/master/documentation/creating_a_server.md)
|
|
22
|
+
- [node-opcua](https://github.com/node-opcua/node-opcua)
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
# OPC-UA コネクタ
|
|
2
|
+
|
|
3
|
+
[OPC-UA](https://en.wikipedia.org/wiki/OPC_Unified_Architecture) は産業自動化において安全かつ信頼性のあるデータ交換を行うためのプロトコルです。
|
|
4
|
+
|
|
5
|
+
## OPCUA
|
|
6
|
+
|
|
7
|
+
OPC-UA コネクタを使用すると、OPC-UA サーバに接続し、データと対話することができます。
|
|
8
|
+
|
|
9
|
+
## エンドポイント
|
|
10
|
+
|
|
11
|
+
次の形式で OPC-UA サーバの接続情報を指定してください:
|
|
12
|
+
|
|
13
|
+
```
|
|
14
|
+
ホスト名[:ポート] # デフォルトのポート : 4334
|
|
15
|
+
|
|
16
|
+
# 例
|
|
17
|
+
localhost
|
|
18
|
+
localhost:4334
|
|
19
|
+
192.168.0.1
|
|
20
|
+
192.168.0.1:4334
|
|
21
|
+
```
|
|
22
|
+
|
|
23
|
+
## パラメータ
|
|
24
|
+
|
|
25
|
+
- `maxRetry`:最大の接続リトライ回数。
|
|
26
|
+
- `initialDelay`:再接続前の初期遅延時間。
|
|
27
|
+
- `maxDelay`:再接続前の最大遅延時間。
|
|
28
|
+
- `requestedPublishingInterval`:サーバからクライアントにデータ変更通知を送信する要求間隔。
|
|
29
|
+
- `requestedLifetimeCount`:サーバがキュー内に保持するモニタリングアイテム通知数の要求。
|
|
30
|
+
- `requestedMaxKeepAliveCount`:データ変更がない場合の最大 Keep-Alive 間隔数。
|
|
31
|
+
- `maxNotificationsPerPublish`:一度の発行要求あたりの最大通知数。
|
|
32
|
+
- `publishingEnabled`:発行を有効または無効にするか。
|
|
33
|
+
- `priority`:接続の優先度。
|
|
34
|
+
|
|
35
|
+
これらのパラメータを使用して、OPC-UA 接続とデータ交換の操作を設定できます。
|
|
36
|
+
|
|
37
|
+
詳細な情報や推奨値については、ドキュメントや OPC-UA サーバの設定を参照してください。
|
|
38
|
+
|
|
39
|
+
- [creating a client](https://github.com/node-opcua/node-opcua/blob/master/documentation/creating_a_client_typescript.md)
|
|
40
|
+
- [creating a server](https://github.com/node-opcua/node-opcua/blob/master/documentation/creating_a_server.md)
|
|
41
|
+
- [node-opcua](https://github.com/node-opcua/node-opcua)
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
# OPC-UA 커넥터
|
|
2
|
+
|
|
3
|
+
[OPC-UA](https://en.wikipedia.org/wiki/OPC_Unified_Architecture)는 산업 자동화에서 데이터의 안전하고 신뢰성 있는 교환을 위한 프로토콜입니다.
|
|
4
|
+
|
|
5
|
+
## OPCUA
|
|
6
|
+
|
|
7
|
+
OPC-UA 커넥터를 사용하면 OPC-UA 서버에 연결하고 해당 데이터와 상호 작용할 수 있습니다.
|
|
8
|
+
|
|
9
|
+
## 엔드포인트
|
|
10
|
+
|
|
11
|
+
다음 형식으로 OPC-UA 서버 연결 정보를 지정하세요:
|
|
12
|
+
|
|
13
|
+
```
|
|
14
|
+
호스트이름[:포트] # 기본 포트 : 4334
|
|
15
|
+
|
|
16
|
+
# 예시
|
|
17
|
+
localhost
|
|
18
|
+
localhost:4334
|
|
19
|
+
192.168.0.1
|
|
20
|
+
192.168.0.1:4334
|
|
21
|
+
```
|
|
22
|
+
|
|
23
|
+
## 파라미터
|
|
24
|
+
|
|
25
|
+
- `maxRetry`: 연결 재시도 시도 횟수의 최대값.
|
|
26
|
+
- `initialDelay`: 장애 후 다시 연결하기 전 초기 지연 시간.
|
|
27
|
+
- `maxDelay`: 장애 후 다시 연결하기까지의 최대 지연 시간.
|
|
28
|
+
- `requestedPublishingInterval`: 서버에서 클라이언트로 데이터 변경 사항을 보내는 요청된 간격.
|
|
29
|
+
- `requestedLifetimeCount`: 서버가 큐에 유지해야 할 모니터링 항목 알림 수 요청.
|
|
30
|
+
- `requestedMaxKeepAliveCount`: 데이터 변경 없이 최대 Keep-Alive 간격 수.
|
|
31
|
+
- `maxNotificationsPerPublish`: 한 번에 발행 요청당 최대 알림 수.
|
|
32
|
+
- `publishingEnabled`: 발행 활성화 또는 비활성화.
|
|
33
|
+
- `priority`: 연결의 우선순위.
|
|
34
|
+
|
|
35
|
+
이러한 파라미터를 사용하여 OPC-UA 연결 및 데이터 교환 동작을 구성할 수 있습니다.
|
|
36
|
+
|
|
37
|
+
더 자세한 내용 및 권장 값에 대한 정보는 문서 또는 OPC-UA 서버 설정을 참조하시기 바랍니다.
|
|
38
|
+
|
|
39
|
+
- [creating a client](https://github.com/node-opcua/node-opcua/blob/master/documentation/creating_a_client_typescript.md)
|
|
40
|
+
- [creating a server](https://github.com/node-opcua/node-opcua/blob/master/documentation/creating_a_server.md)
|
|
41
|
+
- [node-opcua](https://github.com/node-opcua/node-opcua)
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
# OPC-UA Connector
|
|
2
|
+
|
|
3
|
+
[OPC-UA](https://en.wikipedia.org/wiki/OPC_Unified_Architecture) is a protocol for secure and reliable exchange of data in industrial automation.
|
|
4
|
+
|
|
5
|
+
## OPCUA
|
|
6
|
+
|
|
7
|
+
The OPCUA connector allows you to connect to an OPC-UA server and interact with its data.
|
|
8
|
+
|
|
9
|
+
## Endpoint
|
|
10
|
+
|
|
11
|
+
Specify the OPC-UA server connection information in the following format:
|
|
12
|
+
|
|
13
|
+
```
|
|
14
|
+
hostname[:port] # default port : 4334
|
|
15
|
+
|
|
16
|
+
# Examples
|
|
17
|
+
localhost
|
|
18
|
+
localhost:4334
|
|
19
|
+
192.168.0.1
|
|
20
|
+
192.168.0.1:4334
|
|
21
|
+
```
|
|
22
|
+
|
|
23
|
+
## Parameters
|
|
24
|
+
|
|
25
|
+
- `maxRetry`: Maximum number of connection retry attempts.
|
|
26
|
+
- `initialDelay`: Initial delay before attempting to reconnect after a failure.
|
|
27
|
+
- `maxDelay`: Maximum delay between reconnection attempts.
|
|
28
|
+
- `requestedPublishingInterval`: Requested interval at which the server sends data changes to the client.
|
|
29
|
+
- `requestedLifetimeCount`: Requested number of monitored item notifications the server should keep in the queue.
|
|
30
|
+
- `requestedMaxKeepAliveCount`: Maximum number of keep-alive intervals without data changes.
|
|
31
|
+
- `maxNotificationsPerPublish`: Maximum number of notifications per publish request.
|
|
32
|
+
- `publishingEnabled`: Enable or disable publishing.
|
|
33
|
+
- `priority`: Priority of the connection.
|
|
34
|
+
|
|
35
|
+
These parameters allow you to configure the behavior of the OPC-UA connection and data exchange.
|
|
36
|
+
|
|
37
|
+
Please refer to the documentation or your OPC-UA server's settings for more information on the meanings and recommended values for these parameters.
|
|
38
|
+
|
|
39
|
+
- [creating a client](https://github.com/node-opcua/node-opcua/blob/master/documentation/creating_a_client_typescript.md)
|
|
40
|
+
- [creating a server](https://github.com/node-opcua/node-opcua/blob/master/documentation/creating_a_server.md)
|
|
41
|
+
- [node-opcua](https://github.com/node-opcua/node-opcua)
|
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
# Pemacu OPC-UA
|
|
2
|
+
|
|
3
|
+
[OPC-UA](https://en.wikipedia.org/wiki/OPC_Un
|
|
4
|
+
|
|
5
|
+
ified_Architecture) merupakan protokol untuk pertukaran data yang selamat dan boleh dipercayai dalam automasi industri.
|
|
6
|
+
|
|
7
|
+
## OPCUA
|
|
8
|
+
|
|
9
|
+
Dengan menggunakan Pemacu OPC-UA, anda boleh menyambungkan ke pelayan OPC-UA dan berinteraksi dengan data.
|
|
10
|
+
|
|
11
|
+
## Endpoin
|
|
12
|
+
|
|
13
|
+
Sila tentukan maklumat sambungan pelayan OPC-UA seperti berikut:
|
|
14
|
+
|
|
15
|
+
```
|
|
16
|
+
Nama_Hos[:Port] # Port lalai : 4334
|
|
17
|
+
|
|
18
|
+
# Contoh
|
|
19
|
+
localhost
|
|
20
|
+
localhost:4334
|
|
21
|
+
192.168.0.1
|
|
22
|
+
192.168.0.1:4334
|
|
23
|
+
```
|
|
24
|
+
|
|
25
|
+
## Parameter
|
|
26
|
+
|
|
27
|
+
- `maxRetry`: Bilangan maksimum percubaan semula sambungan.
|
|
28
|
+
- `initialDelay`: Masa kelewatan permulaan sebelum sambungan semula.
|
|
29
|
+
- `maxDelay`: Masa kelewatan maksimum sebelum sambungan semula.
|
|
30
|
+
- `requestedPublishingInterval`: Selang masa yang diminta untuk menghantar notifikasi perubahan data dari pelayan ke pelanggan.
|
|
31
|
+
- `requestedLifetimeCount`: Bilangan notifikasi item pemantauan yang perlu dikekalkan dalam tumpuan oleh pelayan.
|
|
32
|
+
- `requestedMaxKeepAliveCount`: Bilangan selang Keep-Alive maksimum tanpa perubahan data.
|
|
33
|
+
- `maxNotificationsPerPublish`: Bilangan notifikasi maksimum dalam setiap permintaan penerbitan.
|
|
34
|
+
- `publishingEnabled`: Mengaktifkan atau mematikan penerbitan.
|
|
35
|
+
- `priority`优先级:Sambungan 优先级。
|
|
36
|
+
|
|
37
|
+
Dengan menggunakan parameter ini, anda boleh mengkonfigurasi sambungan OPC-UA dan operasi pertukaran data.
|
|
38
|
+
|
|
39
|
+
Untuk maklumat lanjut dan nilai-nilai yang disyorkan, sila rujuk dokumen atau tetapan pelayan OPC-UA.
|
|
40
|
+
|
|
41
|
+
- [creating a client](https://github.com/node-opcua/node-opcua/blob/master/documentation/creating_a_client_typescript.md)
|
|
42
|
+
- [creating a server](https://github.com/node-opcua/node-opcua/blob/master/documentation/creating_a_server.md)
|
|
43
|
+
- [node-opcua](https://github.com/node-opcua/node-opcua)
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
# OPC-UA 连接器
|
|
2
|
+
|
|
3
|
+
[OPC-UA](https://en.wikipedia.org/wiki/OPC_Unified_Architecture) 是工业自动化领域中用于安全可靠的数据交换的协议。
|
|
4
|
+
|
|
5
|
+
## OPCUA
|
|
6
|
+
|
|
7
|
+
使用 OPC-UA 连接器,您可以连接到 OPC-UA 服务器并与其交互以获取数据。
|
|
8
|
+
|
|
9
|
+
## 终端点
|
|
10
|
+
|
|
11
|
+
请按以下格式指定 OPC-UA 服务器连接信息:
|
|
12
|
+
|
|
13
|
+
```
|
|
14
|
+
主机名[:端口] # 默认端口 : 4334
|
|
15
|
+
|
|
16
|
+
# 例子
|
|
17
|
+
localhost
|
|
18
|
+
localhost:4334
|
|
19
|
+
192.168.0.1
|
|
20
|
+
192.168.0.1:4334
|
|
21
|
+
```
|
|
22
|
+
|
|
23
|
+
## 参数
|
|
24
|
+
|
|
25
|
+
- `maxRetry`:最大连接重试次数。
|
|
26
|
+
- `initialDelay`:重新连接之前的初始延迟时间。
|
|
27
|
+
- `maxDelay`:重新连接之前的最大延迟时间。
|
|
28
|
+
- `requestedPublishingInterval`:服务器向客户端发送数据更改通知的请求间隔。
|
|
29
|
+
- `requestedLifetimeCount`:服务器应在队列中保持的监视项通知数的请求。
|
|
30
|
+
- `requestedMaxKeepAliveCount`:没有数据更改的情况下的最大 Keep-Alive 间隔数。
|
|
31
|
+
- `maxNotificationsPerPublish`:每个发布请求中的最大通知数。
|
|
32
|
+
- `publishingEnabled`:启用或禁用发布。
|
|
33
|
+
- `priority`:连接的优先级。
|
|
34
|
+
|
|
35
|
+
使用这些参数,您可以配置 OPC-UA 连接和数据交换的操作。
|
|
36
|
+
|
|
37
|
+
有关更多详细信息和建议值,请参阅文档或 OPC-UA 服务器设置。
|
|
38
|
+
|
|
39
|
+
- [creating a client](https://github.com/node-opcua/node-opcua/blob/master/documentation/creating_a_client_typescript.md)
|
|
40
|
+
- [creating a server](https://github.com/node-opcua/node-opcua/blob/master/documentation/creating_a_server.md)
|
|
41
|
+
- [node-opcua](https://github.com/node-opcua/node-opcua)
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
# OPC-UA モニタリングの開始
|
|
2
|
+
|
|
3
|
+
OPC-UA モニタリングの開始タスクを使用すると、OPC-UA ノードのデータ値の変更を監視するタスクを開始できます。
|
|
4
|
+
|
|
5
|
+
## パラメータ
|
|
6
|
+
|
|
7
|
+
- **ノード:** 監視する OPC-UA ノードの識別子です。
|
|
8
|
+
- **サンプリング間隔:** データ値をサンプリングする間隔(ミリ秒単位)です。
|
|
9
|
+
- **最古のデータの破棄:** 有効にすると、キューがいっぱいの場合に最も古いデータ値が破棄されます。
|
|
10
|
+
- **キューサイズ:** キューが保持できる最大データ値数です。
|
|
11
|
+
|
|
12
|
+
## 返り値
|
|
13
|
+
|
|
14
|
+
監視されたデータ値情報と、追加の詳細情報が含まれます。
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
# OPC-UA 모니터링 시작
|
|
2
|
+
|
|
3
|
+
OPC-UA 모니터링 시작 작업을 사용하면 OPC-UA 노드의 데이터 값 변경을 감지하는 작업을 시작할 수 있습니다.
|
|
4
|
+
|
|
5
|
+
## 매개변수
|
|
6
|
+
|
|
7
|
+
- **노드:** 모니터링하려는 OPC-UA 노드 식별자입니다.
|
|
8
|
+
- **샘플링 간격:** 데이터 값 샘플링 간격(밀리초)입니다.
|
|
9
|
+
- **가장 오래된 값 삭제:** 활성화된 경우 큐가 가득 찰 경우 가장 오래된 데이터 값이 삭제됩니다.
|
|
10
|
+
- **큐 크기:** 큐가 보유할 수 있는 최대 데이터 값 개수입니다.
|
|
11
|
+
|
|
12
|
+
## 반환 값
|
|
13
|
+
|
|
14
|
+
모니터링된 데이터 값 정보 및 추가 세부 정보가 포함됩니다.
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
# OPC-UA Start Monitor
|
|
2
|
+
|
|
3
|
+
The OPC-UA Start Monitor task enables you to initiate the monitoring of an OPC-UA node for changes in data values.
|
|
4
|
+
|
|
5
|
+
## Parameters
|
|
6
|
+
|
|
7
|
+
- **Node:** OPC-UA node identifier that you want to monitor.
|
|
8
|
+
- **Sampling Interval:** The time interval (in milliseconds) between each sampling of the data value.
|
|
9
|
+
- **Discard Oldest:** If enabled, the oldest data value in the queue will be discarded if the queue is full.
|
|
10
|
+
- **Queue Size:** The maximum number of data values that the queue can hold.
|
|
11
|
+
|
|
12
|
+
## Return Value
|
|
13
|
+
|
|
14
|
+
The monitored data value information, along with any additional details.
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
# OPC-UA Mula Memantau
|
|
2
|
+
|
|
3
|
+
Tugas Mula Memantau OPC-UA membolehkan anda memulakan pemantauan nod OPC-UA bagi perubahan dalam nilai data.
|
|
4
|
+
|
|
5
|
+
## Parameter
|
|
6
|
+
|
|
7
|
+
- **Nod:** Pengenal nod OPC-UA yang anda ingin pantau.
|
|
8
|
+
- **Interval Pengambilan Sampel:** Selang masa (dalam milisecon) antara setiap pengambilan sampel nilai data.
|
|
9
|
+
- **Buang Terawal:** Jika diaktifkan, nilai data paling tua dalam tumpukan akan dibuang jika tumpukan penuh.
|
|
10
|
+
- **Saiz Talian Pintu:** Jumlah maksimum nilai data yang tumpukan boleh memegang.
|
|
11
|
+
|
|
12
|
+
## Nilai Pulangan
|
|
13
|
+
|
|
14
|
+
Maklumat nilai data yang dipantau, bersama dengan sebarang maklumat tambahan.
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
# OPC-UA Stop Monitor
|
|
2
|
+
|
|
3
|
+
The OPC-UA Stop Monitor task allows you to stop the monitoring of a previously started OPC-UA node.
|
|
4
|
+
|
|
5
|
+
## Parameters
|
|
6
|
+
|
|
7
|
+
- **Monitor Item:** The identifier of the monitored item that you want to stop.
|
|
8
|
+
- [accessor](../concept/data-accessor.md)
|
|
9
|
+
|
|
10
|
+
## Return Value
|
|
11
|
+
|
|
12
|
+
None.
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
# Penghentian Pemantauan OPC-UA
|
|
2
|
+
|
|
3
|
+
Tugas Penghentian Pemantauan OPC-UA membolehkan anda menghentikan pemantauan nod OPC-UA yang sebelum ini telah dimulakan.
|
|
4
|
+
|
|
5
|
+
## Parameter
|
|
6
|
+
|
|
7
|
+
- **Item Pemantauan:** Pengenal item yang dipantau yang ingin anda hentikan.
|
|
8
|
+
- [accessor](../concept/data-accessor.md)
|
|
9
|
+
|
|
10
|
+
## Nilai Pulangan
|
|
11
|
+
|
|
12
|
+
Tiada.
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
# OPC-UA 書き込み
|
|
2
|
+
|
|
3
|
+
OPC-UA 書き込みタスクを使用すると、データを OPC-UA サーバーに書き込むことができます。
|
|
4
|
+
|
|
5
|
+
## パラメーター
|
|
6
|
+
|
|
7
|
+
- ノード(Node):データを書き込む OPC-UA ノードの識別子です。
|
|
8
|
+
- アクセサ(Accessor):入力データからデータを取得するためのアクセサです。ネストされたプロパティにはドット表記(dot notation)を使用してください。
|
|
9
|
+
- [accessor](../concept/data-accessor.md)
|
|
10
|
+
|
|
11
|
+
## 戻り値
|
|
12
|
+
|
|
13
|
+
書き込まれたデータの内容と、追加の情報が含まれています。
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
# OPC-UA 쓰기
|
|
2
|
+
|
|
3
|
+
OPC-UA 쓰기 작업은 OPC-UA 서버에 데이터를 쓸 수 있게 해줍니다.
|
|
4
|
+
|
|
5
|
+
## 매개변수
|
|
6
|
+
|
|
7
|
+
- 노드(Node): 데이터를 쓸 OPC-UA 노드의 식별자입니다.
|
|
8
|
+
- 엑세서(Accessor): 입력 데이터에서 데이터를 검색하기 위한 엑세서입니다. 중첩된 속성에 대해 점 표기법(dot notation)을 사용하세요.
|
|
9
|
+
- [accessor](../concept/data-accessor.md)
|
|
10
|
+
|
|
11
|
+
## 반환 값
|
|
12
|
+
|
|
13
|
+
쓰여진 데이터의 내용과 추가 정보가 포함됩니다.
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
# OPC-UA Write
|
|
2
|
+
|
|
3
|
+
OPC-UA Write task allows you to write data to an OPC-UA server.
|
|
4
|
+
|
|
5
|
+
## Parameters
|
|
6
|
+
|
|
7
|
+
- Node: The identifier of the OPC-UA node where the data should be written.
|
|
8
|
+
- Accessor: The accessor to retrieve the data from the input data. Use dot notation for nested properties.
|
|
9
|
+
- [accessor](../concept/data-accessor.md)
|
|
10
|
+
|
|
11
|
+
## Return Value
|
|
12
|
+
|
|
13
|
+
The content of the written data, along with any additional information.
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
# Tulis OPC-UA
|
|
2
|
+
|
|
3
|
+
Tugas Tulis OPC-UA membolehkan anda menulis data ke pelayan OPC-UA.
|
|
4
|
+
|
|
5
|
+
## Parameter
|
|
6
|
+
|
|
7
|
+
- Node: Pengenal nod OPC-UA di mana data perlu ditulis.
|
|
8
|
+
- Pencapai: Pencapai untuk mendapatkan data dari input data. Gunakan notasi dot untuk harta berkelompok.
|
|
9
|
+
- [accessor](../concept/data-accessor.md)
|
|
10
|
+
|
|
11
|
+
## Nilai Pulangan
|
|
12
|
+
|
|
13
|
+
Kandungan data yang ditulis, bersama dengan maklumat tambahan.
|
package/package.json
ADDED
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "@things-factory/integration-opc",
|
|
3
|
+
"version": "6.1.120",
|
|
4
|
+
"main": "dist-server/index.js",
|
|
5
|
+
"browser": "client/index.js",
|
|
6
|
+
"things-factory": true,
|
|
7
|
+
"author": "heartyoh <heartyoh@hatiolab.com>",
|
|
8
|
+
"description": "Module to provide opc protocol connection on integration engine",
|
|
9
|
+
"license": "MIT",
|
|
10
|
+
"publishConfig": {
|
|
11
|
+
"access": "public",
|
|
12
|
+
"@things-factory:registry": "https://registry.npmjs.org"
|
|
13
|
+
},
|
|
14
|
+
"repository": {
|
|
15
|
+
"type": "git",
|
|
16
|
+
"url": "git+https://github.com/hatiolab/things-factory.git",
|
|
17
|
+
"directory": "packages/integration-opc"
|
|
18
|
+
},
|
|
19
|
+
"scripts": {
|
|
20
|
+
"build": "tsc --p tsconfig.json",
|
|
21
|
+
"build:server": "npm run clean:server && tsc",
|
|
22
|
+
"clean:server": "rm -rf dist-server",
|
|
23
|
+
"clean": "npm run clean:server"
|
|
24
|
+
},
|
|
25
|
+
"dependencies": {
|
|
26
|
+
"@things-factory/integration-base": "^6.1.119",
|
|
27
|
+
"node-opcua": "^2.110.0"
|
|
28
|
+
},
|
|
29
|
+
"gitHead": "d9026fbb86bb0e66883bc628653aba7d0931babe"
|
|
30
|
+
}
|