@opcua/for-node-red 2.0.7 → 2.1.0
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/all.js +22450 -21876
- package/examples/coffe-machine.json +261 -0
- package/examples/events.json +0 -0
- package/examples/explore_coffee_machine.json +115 -0
- package/examples/extension-object.json +0 -0
- package/examples/read_extension-object.json +0 -0
- package/examples/read_subree_with_various_output_types.json +173 -0
- package/examples/read_subtree.json +132 -0
- package/examples/read_value_of_a_many_ua-variables_injected_node-id.json +229 -0
- package/examples/read_value_of_a_single_ua-variable_injected_node-id.json +153 -0
- package/package.json +5 -2
- package/source/OpcUa-Client2-Browse/OpcUa-Client2-Browse.css +2 -0
- package/source/OpcUa-Client2-Browse/OpcUa-Client2-Browse.html +101 -0
- package/source/OpcUa-Client2-Browse/OpcUa-Client2-Browse.js +2 -0
- package/source/OpcUa-Client2-Call/OpcUa-Client2-Call.css +1 -1
- package/source/OpcUa-Client2-Call/OpcUa-Client2-Call.html +3 -3
- package/source/OpcUa-Client2-Explore/OpcUa-Client2-Explore.css +2 -0
- package/source/OpcUa-Client2-Explore/OpcUa-Client2-Explore.html +45 -0
- package/source/OpcUa-Client2-Explore/OpcUa-Client2-Explore.js +2 -0
- package/source/OpcUa-Client2-Monitor/OpcUa-Client2-Monitor.css +1 -1
- package/source/OpcUa-Client2-Monitor/OpcUa-Client2-Monitor.html +4 -4
- package/source/OpcUa-Client2-MonitorEvent/OpcUa-Client2-MonitorEvent.css +1 -1
- package/source/OpcUa-Client2-MonitorEvent/OpcUa-Client2-MonitorEvent.html +5 -5
- package/source/OpcUa-Client2-Read/OpcUa-Client2-Read.css +1 -1
- package/source/OpcUa-Client2-Read/OpcUa-Client2-Read.html +102 -7
- package/source/OpcUa-Client2-Write/OpcUa-Client2-Write.css +1 -1
- package/source/OpcUa-Client2-Write/OpcUa-Client2-Write.html +3 -3
- package/source/OpcUa-Endpoint2/OpcUa-Endpoint2.html +2 -2
@@ -0,0 +1,261 @@
|
|
1
|
+
[
|
2
|
+
{
|
3
|
+
"id": "e2c467f6f712d454",
|
4
|
+
"type": "tab",
|
5
|
+
"label": "Flow 2",
|
6
|
+
"disabled": false,
|
7
|
+
"info": "",
|
8
|
+
"env": []
|
9
|
+
},
|
10
|
+
{
|
11
|
+
"id": "45b050115e22c92a",
|
12
|
+
"type": "OpcUa-Client2-Monitor",
|
13
|
+
"z": "e2c467f6f712d454",
|
14
|
+
"inputs": 0,
|
15
|
+
"output": 4,
|
16
|
+
"name": "Monitor TotalMix",
|
17
|
+
"endpoint": "c22bb208bf9b2236",
|
18
|
+
"action": "monitor",
|
19
|
+
"attributeId": "Value",
|
20
|
+
"nodeId": "[TotalMix](ns=1;i=1028)",
|
21
|
+
"methodId": "",
|
22
|
+
"objectId": "[Server](ns=0;i=2253)",
|
23
|
+
"subscription": "s0",
|
24
|
+
"startImmediately": true,
|
25
|
+
"nodeIdForMonitor": "[TotalMix](ns=1;i=1028)",
|
26
|
+
"samplingInterval": 1000,
|
27
|
+
"discardOldest": true,
|
28
|
+
"queueSize": 10,
|
29
|
+
"nodeIdForMonitorEvent": "",
|
30
|
+
"selectClauses": "EventId",
|
31
|
+
"whereClause": "OfType(ConditionType)",
|
32
|
+
"x": 500,
|
33
|
+
"y": 120,
|
34
|
+
"wires": [["80ffd5b08e4b842c"], []]
|
35
|
+
},
|
36
|
+
{
|
37
|
+
"id": "ed0138fb19b768a8",
|
38
|
+
"type": "OpcUa-Client2-Call",
|
39
|
+
"z": "e2c467f6f712d454",
|
40
|
+
"inputs": 1,
|
41
|
+
"output": 4,
|
42
|
+
"name": "FillTank() ",
|
43
|
+
"endpoint": "c22bb208bf9b2236",
|
44
|
+
"methodId": "[FillTank](ns=1;i=1014)",
|
45
|
+
"objectId": "[CoffeeMachine](ns=1;i=1000)",
|
46
|
+
"x": 480,
|
47
|
+
"y": 300,
|
48
|
+
"wires": [[], []]
|
49
|
+
},
|
50
|
+
{
|
51
|
+
"id": "d9ebb8819935670b",
|
52
|
+
"type": "OpcUa-Client2-Call",
|
53
|
+
"z": "e2c467f6f712d454",
|
54
|
+
"inputs": 1,
|
55
|
+
"output": 4,
|
56
|
+
"name": "MakeCoffee",
|
57
|
+
"endpoint": "c22bb208bf9b2236",
|
58
|
+
"methodId": "[Start](ns=1;i=1008)",
|
59
|
+
"objectId": "[CoffeeMachine](ns=1;i=1000)",
|
60
|
+
"x": 490,
|
61
|
+
"y": 360,
|
62
|
+
"wires": [[], []]
|
63
|
+
},
|
64
|
+
{
|
65
|
+
"id": "cd2a38f3b199c836",
|
66
|
+
"type": "inject",
|
67
|
+
"z": "e2c467f6f712d454",
|
68
|
+
"name": "",
|
69
|
+
"props": [
|
70
|
+
{
|
71
|
+
"p": "payload"
|
72
|
+
}
|
73
|
+
],
|
74
|
+
"repeat": "",
|
75
|
+
"crontab": "",
|
76
|
+
"once": false,
|
77
|
+
"onceDelay": 0.1,
|
78
|
+
"topic": "",
|
79
|
+
"payload": "{\"CoffeeType\":1}",
|
80
|
+
"payloadType": "json",
|
81
|
+
"x": 320,
|
82
|
+
"y": 340,
|
83
|
+
"wires": [["d9ebb8819935670b"]]
|
84
|
+
},
|
85
|
+
{
|
86
|
+
"id": "733e1b5f1f748772",
|
87
|
+
"type": "inject",
|
88
|
+
"z": "e2c467f6f712d454",
|
89
|
+
"name": "",
|
90
|
+
"props": [
|
91
|
+
{
|
92
|
+
"p": "payload"
|
93
|
+
},
|
94
|
+
{
|
95
|
+
"p": "topic",
|
96
|
+
"vt": "str"
|
97
|
+
}
|
98
|
+
],
|
99
|
+
"repeat": "",
|
100
|
+
"crontab": "",
|
101
|
+
"once": false,
|
102
|
+
"onceDelay": 0.1,
|
103
|
+
"topic": "",
|
104
|
+
"payload": "{\"CoffeeType\": 2}",
|
105
|
+
"payloadType": "json",
|
106
|
+
"x": 320,
|
107
|
+
"y": 380,
|
108
|
+
"wires": [["d9ebb8819935670b"]]
|
109
|
+
},
|
110
|
+
{
|
111
|
+
"id": "182db6cfc2b7e81e",
|
112
|
+
"type": "inject",
|
113
|
+
"z": "e2c467f6f712d454",
|
114
|
+
"name": "Action",
|
115
|
+
"props": [],
|
116
|
+
"repeat": "",
|
117
|
+
"crontab": "",
|
118
|
+
"once": false,
|
119
|
+
"onceDelay": 0.1,
|
120
|
+
"topic": "",
|
121
|
+
"x": 310,
|
122
|
+
"y": 280,
|
123
|
+
"wires": [["ed0138fb19b768a8"]]
|
124
|
+
},
|
125
|
+
{
|
126
|
+
"id": "266bbc4569282b99",
|
127
|
+
"type": "OpcUa-Client2-Monitor",
|
128
|
+
"z": "e2c467f6f712d454",
|
129
|
+
"inputs": 0,
|
130
|
+
"output": 4,
|
131
|
+
"name": "WaterTank Level",
|
132
|
+
"endpoint": "c22bb208bf9b2236",
|
133
|
+
"attributeId": "Value",
|
134
|
+
"nodeId": "[WaterTankLevel](ns=1;i=1004)",
|
135
|
+
"subscription": "s2",
|
136
|
+
"startImmediately": true,
|
137
|
+
"samplingInterval": 1000,
|
138
|
+
"discardOldest": true,
|
139
|
+
"queueSize": 10,
|
140
|
+
"x": 500,
|
141
|
+
"y": 180,
|
142
|
+
"wires": [["80ffd5b08e4b842c"], []]
|
143
|
+
},
|
144
|
+
{
|
145
|
+
"id": "80ffd5b08e4b842c",
|
146
|
+
"type": "debug",
|
147
|
+
"z": "e2c467f6f712d454",
|
148
|
+
"name": "debug 1",
|
149
|
+
"active": true,
|
150
|
+
"tosidebar": true,
|
151
|
+
"console": false,
|
152
|
+
"tostatus": false,
|
153
|
+
"complete": "{\t \"nodeId\": nodeId,\t \"value\": payload\t}",
|
154
|
+
"targetType": "jsonata",
|
155
|
+
"statusVal": "",
|
156
|
+
"statusType": "auto",
|
157
|
+
"x": 780,
|
158
|
+
"y": 160,
|
159
|
+
"wires": []
|
160
|
+
},
|
161
|
+
{
|
162
|
+
"id": "1c7206622fc789b7",
|
163
|
+
"type": "OpcUa-Client2-Monitor",
|
164
|
+
"z": "e2c467f6f712d454",
|
165
|
+
"inputs": 1,
|
166
|
+
"output": 4,
|
167
|
+
"name": "Pressure23",
|
168
|
+
"endpoint": "c22bb208bf9b2236",
|
169
|
+
"attributeId": "Value",
|
170
|
+
"nodeId": "[/Server.ServerStatus](ns=0;i=2256)",
|
171
|
+
"subscription": "s2",
|
172
|
+
"startImmediately": false,
|
173
|
+
"samplingInterval": "1001",
|
174
|
+
"discardOldest": true,
|
175
|
+
"queueSize": 10,
|
176
|
+
"x": 490,
|
177
|
+
"y": 60,
|
178
|
+
"wires": [[], []]
|
179
|
+
},
|
180
|
+
{
|
181
|
+
"id": "40097102575fd1d1",
|
182
|
+
"type": "OpcUa-Client2-Monitor",
|
183
|
+
"z": "e2c467f6f712d454",
|
184
|
+
"inputs": 0,
|
185
|
+
"output": 4,
|
186
|
+
"name": "ServerCoffeeCount",
|
187
|
+
"endpoint": "c22bb208bf9b2236",
|
188
|
+
"attributeId": "Value",
|
189
|
+
"nodeId": "[/2:DeviceSet/1:CoffeeMachine.2:ParameterSet.9:ServedCoffeeCount](ns=1;i=1006)",
|
190
|
+
"subscription": "s2",
|
191
|
+
"startImmediately": true,
|
192
|
+
"samplingInterval": 1000,
|
193
|
+
"discardOldest": true,
|
194
|
+
"queueSize": 10,
|
195
|
+
"x": 510,
|
196
|
+
"y": 240,
|
197
|
+
"wires": [["80ffd5b08e4b842c"], []]
|
198
|
+
},
|
199
|
+
{
|
200
|
+
"id": "c22bb208bf9b2236",
|
201
|
+
"type": "OpcUa-Endpoint2",
|
202
|
+
"name": "",
|
203
|
+
"endpoint": "opc.tcp://opcuademo.sterfive.com:26543/UA/SampleServer",
|
204
|
+
"securityMode": "None",
|
205
|
+
"securityPolicy": "None",
|
206
|
+
"userIdentityType": "Anonymous",
|
207
|
+
"userName": "",
|
208
|
+
"password": "",
|
209
|
+
"userCertificate": "",
|
210
|
+
"userPrivatekey": "",
|
211
|
+
"certificate": "n",
|
212
|
+
"localfile": "",
|
213
|
+
"localkeyfile": "",
|
214
|
+
"useTransport": true,
|
215
|
+
"maxChunkCount": "1",
|
216
|
+
"maxMessageSize": "8192",
|
217
|
+
"receiveBufferSize": "8192",
|
218
|
+
"sendBufferSize": "8192",
|
219
|
+
"subscriptions": [
|
220
|
+
{
|
221
|
+
"id": "s0",
|
222
|
+
"name": "Default Subscription",
|
223
|
+
"isDefault": true,
|
224
|
+
"parameters": {
|
225
|
+
"publishingEnabled": false,
|
226
|
+
"requestedLifetimeCount": "100",
|
227
|
+
"requestedMaxKeepAliveCount": "10",
|
228
|
+
"requestedPublishingInterval": "1000",
|
229
|
+
"maxNotificationsPerPublish": "0",
|
230
|
+
"priority": "100"
|
231
|
+
}
|
232
|
+
},
|
233
|
+
{
|
234
|
+
"id": "s1",
|
235
|
+
"name": "Slow Subscription",
|
236
|
+
"isDefault": true,
|
237
|
+
"parameters": {
|
238
|
+
"publishingEnabled": false,
|
239
|
+
"requestedLifetimeCount": "100",
|
240
|
+
"requestedMaxKeepAliveCount": "2",
|
241
|
+
"requestedPublishingInterval": "5000",
|
242
|
+
"maxNotificationsPerPublish": "100",
|
243
|
+
"priority": "10"
|
244
|
+
}
|
245
|
+
},
|
246
|
+
{
|
247
|
+
"id": "s2",
|
248
|
+
"name": "Fast Subscription",
|
249
|
+
"isDefault": true,
|
250
|
+
"parameters": {
|
251
|
+
"publishingEnabled": false,
|
252
|
+
"requestedLifetimeCount": "100",
|
253
|
+
"requestedMaxKeepAliveCount": "10",
|
254
|
+
"requestedPublishingInterval": "250",
|
255
|
+
"maxNotificationsPerPublish": "100",
|
256
|
+
"priority": "200"
|
257
|
+
}
|
258
|
+
}
|
259
|
+
]
|
260
|
+
}
|
261
|
+
]
|
File without changes
|
@@ -0,0 +1,115 @@
|
|
1
|
+
[
|
2
|
+
{
|
3
|
+
"id": "f7bedd7b98ba03b1",
|
4
|
+
"type": "tab",
|
5
|
+
"label": "Flow 6",
|
6
|
+
"disabled": false,
|
7
|
+
"info": "",
|
8
|
+
"env": []
|
9
|
+
},
|
10
|
+
{
|
11
|
+
"id": "fa8beb6353889cf4",
|
12
|
+
"type": "inject",
|
13
|
+
"z": "f7bedd7b98ba03b1",
|
14
|
+
"name": "inject path to CoffeeMachine",
|
15
|
+
"props": [
|
16
|
+
{
|
17
|
+
"p": "nodeId",
|
18
|
+
"v": "/2:DeviceSet/1:CoffeeMachine",
|
19
|
+
"vt": "str"
|
20
|
+
}
|
21
|
+
],
|
22
|
+
"repeat": "",
|
23
|
+
"crontab": "",
|
24
|
+
"once": false,
|
25
|
+
"onceDelay": 0.1,
|
26
|
+
"topic": "",
|
27
|
+
"x": 200,
|
28
|
+
"y": 120,
|
29
|
+
"wires": [
|
30
|
+
[
|
31
|
+
"17f4366b5c4476e7"
|
32
|
+
]
|
33
|
+
]
|
34
|
+
},
|
35
|
+
{
|
36
|
+
"id": "17f4366b5c4476e7",
|
37
|
+
"type": "OpcUa-Client2-Explore",
|
38
|
+
"z": "f7bedd7b98ba03b1",
|
39
|
+
"inputs": 1,
|
40
|
+
"output": 4,
|
41
|
+
"name": "",
|
42
|
+
"endpoint": "c22bb208bf9b2236",
|
43
|
+
"nodeId": "",
|
44
|
+
"outputType": "Value",
|
45
|
+
"x": 440,
|
46
|
+
"y": 120,
|
47
|
+
"wires": [
|
48
|
+
[
|
49
|
+
"c5ca5b7775b36081"
|
50
|
+
]
|
51
|
+
]
|
52
|
+
},
|
53
|
+
{
|
54
|
+
"id": "c5ca5b7775b36081",
|
55
|
+
"type": "debug",
|
56
|
+
"z": "f7bedd7b98ba03b1",
|
57
|
+
"name": "debug 6",
|
58
|
+
"active": true,
|
59
|
+
"tosidebar": true,
|
60
|
+
"console": false,
|
61
|
+
"tostatus": false,
|
62
|
+
"complete": "false",
|
63
|
+
"statusVal": "",
|
64
|
+
"statusType": "auto",
|
65
|
+
"x": 620,
|
66
|
+
"y": 120,
|
67
|
+
"wires": []
|
68
|
+
},
|
69
|
+
{
|
70
|
+
"id": "d732a68c93b0642d",
|
71
|
+
"type": "comment",
|
72
|
+
"z": "f7bedd7b98ba03b1",
|
73
|
+
"name": "using Explore node with @opcua/for-node-red",
|
74
|
+
"info": "",
|
75
|
+
"x": 250,
|
76
|
+
"y": 60,
|
77
|
+
"wires": []
|
78
|
+
},
|
79
|
+
{
|
80
|
+
"id": "c22bb208bf9b2236",
|
81
|
+
"type": "OpcUa-Endpoint2",
|
82
|
+
"name": "",
|
83
|
+
"endpoint": "opc.tcp://opcuademo.sterfive.com:26543/UA/SampleServer",
|
84
|
+
"securityMode": "None",
|
85
|
+
"securityPolicy": "None",
|
86
|
+
"userIdentityType": "Anonymous",
|
87
|
+
"userName": "",
|
88
|
+
"password": "",
|
89
|
+
"userCertificate": "",
|
90
|
+
"userPrivatekey": "",
|
91
|
+
"certificate": "n",
|
92
|
+
"localfile": "",
|
93
|
+
"localkeyfile": "",
|
94
|
+
"useTransport": false,
|
95
|
+
"maxChunkCount": "1",
|
96
|
+
"maxMessageSize": "8192",
|
97
|
+
"receiveBufferSize": "8192",
|
98
|
+
"sendBufferSize": "8192",
|
99
|
+
"subscriptions": [
|
100
|
+
{
|
101
|
+
"id": "s0",
|
102
|
+
"name": "Default Subscription",
|
103
|
+
"isDefault": true,
|
104
|
+
"parameters": {
|
105
|
+
"publishingEnabled": false,
|
106
|
+
"requestedLifetimeCount": "100",
|
107
|
+
"requestedMaxKeepAliveCount": "10",
|
108
|
+
"requestedPublishingInterval": "1000",
|
109
|
+
"maxNotificationsPerPublish": "0",
|
110
|
+
"priority": "100"
|
111
|
+
}
|
112
|
+
}
|
113
|
+
]
|
114
|
+
}
|
115
|
+
]
|
File without changes
|
File without changes
|
@@ -0,0 +1,173 @@
|
|
1
|
+
[
|
2
|
+
{
|
3
|
+
"id": "d67ea3e0450ec897",
|
4
|
+
"type": "tab",
|
5
|
+
"label": "Flow 3",
|
6
|
+
"disabled": false,
|
7
|
+
"info": "",
|
8
|
+
"env": []
|
9
|
+
},
|
10
|
+
{
|
11
|
+
"id": "f773b4cba7013f13",
|
12
|
+
"type": "inject",
|
13
|
+
"z": "d67ea3e0450ec897",
|
14
|
+
"name": "/serverStatus",
|
15
|
+
"props": [
|
16
|
+
{
|
17
|
+
"p": "payload"
|
18
|
+
}
|
19
|
+
],
|
20
|
+
"repeat": "",
|
21
|
+
"crontab": "",
|
22
|
+
"once": false,
|
23
|
+
"onceDelay": 0.1,
|
24
|
+
"topic": "",
|
25
|
+
"payload": "{\"ServerStatus\":\"/Server/ServerStatus\"}",
|
26
|
+
"payloadType": "json",
|
27
|
+
"x": 290,
|
28
|
+
"y": 240,
|
29
|
+
"wires": [
|
30
|
+
[
|
31
|
+
"620d4b83c65f0c35"
|
32
|
+
]
|
33
|
+
]
|
34
|
+
},
|
35
|
+
{
|
36
|
+
"id": "620d4b83c65f0c35",
|
37
|
+
"type": "OpcUa-Client2-Read",
|
38
|
+
"z": "d67ea3e0450ec897",
|
39
|
+
"inputs": 1,
|
40
|
+
"output": 4,
|
41
|
+
"name": "Read",
|
42
|
+
"endpoint": "c22bb208bf9b2236",
|
43
|
+
"attributeId": "Value",
|
44
|
+
"nodeId": "",
|
45
|
+
"outputType": "DataValue",
|
46
|
+
"x": 670,
|
47
|
+
"y": 240,
|
48
|
+
"wires": [
|
49
|
+
[
|
50
|
+
"941f8dfb3d27e372"
|
51
|
+
],
|
52
|
+
[]
|
53
|
+
]
|
54
|
+
},
|
55
|
+
{
|
56
|
+
"id": "941f8dfb3d27e372",
|
57
|
+
"type": "debug",
|
58
|
+
"z": "d67ea3e0450ec897",
|
59
|
+
"name": "Debug",
|
60
|
+
"active": true,
|
61
|
+
"tosidebar": true,
|
62
|
+
"console": false,
|
63
|
+
"tostatus": false,
|
64
|
+
"complete": "true",
|
65
|
+
"targetType": "full",
|
66
|
+
"statusVal": "",
|
67
|
+
"statusType": "auto",
|
68
|
+
"x": 850,
|
69
|
+
"y": 240,
|
70
|
+
"wires": []
|
71
|
+
},
|
72
|
+
{
|
73
|
+
"id": "6a077c9b58aea7c7",
|
74
|
+
"type": "inject",
|
75
|
+
"z": "d67ea3e0450ec897",
|
76
|
+
"name": "ScanResult (Value Only)",
|
77
|
+
"props": [
|
78
|
+
{
|
79
|
+
"p": "payload"
|
80
|
+
}
|
81
|
+
],
|
82
|
+
"repeat": "",
|
83
|
+
"crontab": "",
|
84
|
+
"once": false,
|
85
|
+
"onceDelay": 0.1,
|
86
|
+
"topic": "",
|
87
|
+
"payload": "{\"ScanResult\":\"/1:AutoIdDemo/1:ScanResult\"}",
|
88
|
+
"payloadType": "json",
|
89
|
+
"x": 330,
|
90
|
+
"y": 300,
|
91
|
+
"wires": [
|
92
|
+
[
|
93
|
+
"620d4b83c65f0c35"
|
94
|
+
]
|
95
|
+
]
|
96
|
+
},
|
97
|
+
{
|
98
|
+
"id": "0d19d20c9d1a0c1a",
|
99
|
+
"type": "inject",
|
100
|
+
"z": "d67ea3e0450ec897",
|
101
|
+
"name": "ScanResult (DataValue Reversible)",
|
102
|
+
"props": [
|
103
|
+
{
|
104
|
+
"p": "payload"
|
105
|
+
},
|
106
|
+
{
|
107
|
+
"p": "outputType",
|
108
|
+
"v": "DataValueReversible",
|
109
|
+
"vt": "str"
|
110
|
+
}
|
111
|
+
],
|
112
|
+
"repeat": "",
|
113
|
+
"crontab": "",
|
114
|
+
"once": false,
|
115
|
+
"onceDelay": 0.1,
|
116
|
+
"topic": "",
|
117
|
+
"payload": "{\"ScanResult\":\"/1:AutoIdDemo/1:ScanResult\"}",
|
118
|
+
"payloadType": "json",
|
119
|
+
"x": 360,
|
120
|
+
"y": 360,
|
121
|
+
"wires": [
|
122
|
+
[
|
123
|
+
"620d4b83c65f0c35"
|
124
|
+
]
|
125
|
+
]
|
126
|
+
},
|
127
|
+
{
|
128
|
+
"id": "8fcc62a607bfb7ee",
|
129
|
+
"type": "comment",
|
130
|
+
"z": "d67ea3e0450ec897",
|
131
|
+
"name": "OPCUA Read - using a structured object as Payload",
|
132
|
+
"info": "",
|
133
|
+
"x": 390,
|
134
|
+
"y": 160,
|
135
|
+
"wires": []
|
136
|
+
},
|
137
|
+
{
|
138
|
+
"id": "c22bb208bf9b2236",
|
139
|
+
"type": "OpcUa-Endpoint2",
|
140
|
+
"name": "",
|
141
|
+
"endpoint": "opc.tcp://opcuademo.sterfive.com:26543/UA/SampleServer",
|
142
|
+
"securityMode": "None",
|
143
|
+
"securityPolicy": "None",
|
144
|
+
"userIdentityType": "Anonymous",
|
145
|
+
"userName": "",
|
146
|
+
"password": "",
|
147
|
+
"userCertificate": "",
|
148
|
+
"userPrivatekey": "",
|
149
|
+
"certificate": "n",
|
150
|
+
"localfile": "",
|
151
|
+
"localkeyfile": "",
|
152
|
+
"useTransport": false,
|
153
|
+
"maxChunkCount": "1",
|
154
|
+
"maxMessageSize": "8192",
|
155
|
+
"receiveBufferSize": "8192",
|
156
|
+
"sendBufferSize": "8192",
|
157
|
+
"subscriptions": [
|
158
|
+
{
|
159
|
+
"id": "s0",
|
160
|
+
"name": "Default Subscription",
|
161
|
+
"isDefault": true,
|
162
|
+
"parameters": {
|
163
|
+
"publishingEnabled": false,
|
164
|
+
"requestedLifetimeCount": "100",
|
165
|
+
"requestedMaxKeepAliveCount": "10",
|
166
|
+
"requestedPublishingInterval": "1000",
|
167
|
+
"maxNotificationsPerPublish": "0",
|
168
|
+
"priority": "100"
|
169
|
+
}
|
170
|
+
}
|
171
|
+
]
|
172
|
+
}
|
173
|
+
]
|
@@ -0,0 +1,132 @@
|
|
1
|
+
[
|
2
|
+
{
|
3
|
+
"id": "d67ea3e0450ec897",
|
4
|
+
"type": "tab",
|
5
|
+
"label": "Read SubTree",
|
6
|
+
"disabled": false,
|
7
|
+
"info": "",
|
8
|
+
"env": []
|
9
|
+
},
|
10
|
+
{
|
11
|
+
"id": "f773b4cba7013f13",
|
12
|
+
"type": "inject",
|
13
|
+
"z": "d67ea3e0450ec897",
|
14
|
+
"name": "/serverStatus",
|
15
|
+
"props": [
|
16
|
+
{
|
17
|
+
"p": "payload"
|
18
|
+
}
|
19
|
+
],
|
20
|
+
"repeat": "",
|
21
|
+
"crontab": "",
|
22
|
+
"once": false,
|
23
|
+
"onceDelay": 0.1,
|
24
|
+
"topic": "",
|
25
|
+
"payload": "{\"ServerStatus\":\"/Server/ServerStatus\"}",
|
26
|
+
"payloadType": "json",
|
27
|
+
"x": 290,
|
28
|
+
"y": 240,
|
29
|
+
"wires": [
|
30
|
+
[
|
31
|
+
"620d4b83c65f0c35"
|
32
|
+
]
|
33
|
+
]
|
34
|
+
},
|
35
|
+
{
|
36
|
+
"id": "620d4b83c65f0c35",
|
37
|
+
"type": "OpcUa-Client2-Read",
|
38
|
+
"z": "d67ea3e0450ec897",
|
39
|
+
"inputs": 1,
|
40
|
+
"output": 4,
|
41
|
+
"name": "",
|
42
|
+
"endpoint": "c22bb208bf9b2236",
|
43
|
+
"attributeId": "Value",
|
44
|
+
"nodeId": "",
|
45
|
+
"x": 510,
|
46
|
+
"y": 240,
|
47
|
+
"wires": [
|
48
|
+
[
|
49
|
+
"941f8dfb3d27e372"
|
50
|
+
],
|
51
|
+
[]
|
52
|
+
]
|
53
|
+
},
|
54
|
+
{
|
55
|
+
"id": "941f8dfb3d27e372",
|
56
|
+
"type": "debug",
|
57
|
+
"z": "d67ea3e0450ec897",
|
58
|
+
"name": "Debug",
|
59
|
+
"active": true,
|
60
|
+
"tosidebar": true,
|
61
|
+
"console": false,
|
62
|
+
"tostatus": false,
|
63
|
+
"complete": "true",
|
64
|
+
"targetType": "full",
|
65
|
+
"statusVal": "",
|
66
|
+
"statusType": "auto",
|
67
|
+
"x": 690,
|
68
|
+
"y": 240,
|
69
|
+
"wires": []
|
70
|
+
},
|
71
|
+
{
|
72
|
+
"id": "6a077c9b58aea7c7",
|
73
|
+
"type": "inject",
|
74
|
+
"z": "d67ea3e0450ec897",
|
75
|
+
"name": "ScanResult",
|
76
|
+
"props": [
|
77
|
+
{
|
78
|
+
"p": "payload"
|
79
|
+
}
|
80
|
+
],
|
81
|
+
"repeat": "",
|
82
|
+
"crontab": "",
|
83
|
+
"once": false,
|
84
|
+
"onceDelay": 0.1,
|
85
|
+
"topic": "",
|
86
|
+
"payload": "{\"ScanResult\":\"/1:AutoIdDemo/1:ScanResult\"}",
|
87
|
+
"payloadType": "json",
|
88
|
+
"x": 290,
|
89
|
+
"y": 300,
|
90
|
+
"wires": [
|
91
|
+
[
|
92
|
+
"620d4b83c65f0c35"
|
93
|
+
]
|
94
|
+
]
|
95
|
+
},
|
96
|
+
{
|
97
|
+
"id": "c22bb208bf9b2236",
|
98
|
+
"type": "OpcUa-Endpoint2",
|
99
|
+
"name": "",
|
100
|
+
"endpoint": "opc.tcp://opcuademo.sterfive.com:26543/UA/SampleServer",
|
101
|
+
"securityMode": "None",
|
102
|
+
"securityPolicy": "None",
|
103
|
+
"userIdentityType": "Anonymous",
|
104
|
+
"userName": "",
|
105
|
+
"password": "",
|
106
|
+
"userCertificate": "",
|
107
|
+
"userPrivatekey": "",
|
108
|
+
"certificate": "n",
|
109
|
+
"localfile": "",
|
110
|
+
"localkeyfile": "",
|
111
|
+
"useTransport": false,
|
112
|
+
"maxChunkCount": "1",
|
113
|
+
"maxMessageSize": "8192",
|
114
|
+
"receiveBufferSize": "8192",
|
115
|
+
"sendBufferSize": "8192",
|
116
|
+
"subscriptions": [
|
117
|
+
{
|
118
|
+
"id": "s0",
|
119
|
+
"name": "Default Subscription",
|
120
|
+
"isDefault": true,
|
121
|
+
"parameters": {
|
122
|
+
"publishingEnabled": false,
|
123
|
+
"requestedLifetimeCount": "100",
|
124
|
+
"requestedMaxKeepAliveCount": "10",
|
125
|
+
"requestedPublishingInterval": "1000",
|
126
|
+
"maxNotificationsPerPublish": "0",
|
127
|
+
"priority": "100"
|
128
|
+
}
|
129
|
+
}
|
130
|
+
]
|
131
|
+
}
|
132
|
+
]
|