@opcua/for-node-red 3.9.0 → 3.11.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.
@@ -0,0 +1,394 @@
1
+ [
2
+ {
3
+ "id": "4d0662110a70dfcb",
4
+ "type": "tab",
5
+ "label": "Basic Coffee Machine Example",
6
+ "disabled": false,
7
+ "info": "",
8
+ "env": []
9
+ },
10
+ {
11
+ "id": "7bf406833c0a55cd",
12
+ "type": "group",
13
+ "z": "4d0662110a70dfcb",
14
+ "name": "Actions - Method calls",
15
+ "style": {
16
+ "label": true
17
+ },
18
+ "nodes": [
19
+ "da5dfe5add0d7eae",
20
+ "a85a34ab27d500da",
21
+ "f25106cd2f3aaeab",
22
+ "6711bf218b4c99f7",
23
+ "d0a02fbadf14facf"
24
+ ],
25
+ "x": 194,
26
+ "y": 299,
27
+ "w": 392,
28
+ "h": 162
29
+ },
30
+ {
31
+ "id": "55bc07480aecf6e0",
32
+ "type": "group",
33
+ "z": "4d0662110a70dfcb",
34
+ "style": {
35
+ "stroke": "#999999",
36
+ "stroke-opacity": "1",
37
+ "fill": "none",
38
+ "fill-opacity": "1",
39
+ "label": true,
40
+ "label-position": "nw",
41
+ "color": "#a4a4a4"
42
+ },
43
+ "nodes": [
44
+ "ed3618c3cbde4434",
45
+ "0f3f55e5ade17a71",
46
+ "873689bcfaf4cd1c",
47
+ "862669554266d21c",
48
+ "ae44316b28c1977b",
49
+ "9848b2b87c07857a"
50
+ ],
51
+ "x": 194,
52
+ "y": 19,
53
+ "w": 692,
54
+ "h": 262
55
+ },
56
+ {
57
+ "id": "ed3618c3cbde4434",
58
+ "type": "OpcUa-Client2-Monitor",
59
+ "z": "4d0662110a70dfcb",
60
+ "g": "55bc07480aecf6e0",
61
+ "inputs": 0,
62
+ "output": 4,
63
+ "name": "Monitor TotalMix",
64
+ "endpoint": "c22bb208bf9b2236",
65
+ "subscription": "s0",
66
+ "startImmediately": true,
67
+ "nodeId": "/di:DeviceSet/own:CoffeeMachineA.cke:Parameters.cke:TotalMix",
68
+ "samplingInterval": 1000,
69
+ "discardOldest": true,
70
+ "queueSize": 10,
71
+ "x": 500,
72
+ "y": 120,
73
+ "wires": [
74
+ [
75
+ "873689bcfaf4cd1c"
76
+ ]
77
+ ]
78
+ },
79
+ {
80
+ "id": "da5dfe5add0d7eae",
81
+ "type": "OpcUa-Client2-Call",
82
+ "z": "4d0662110a70dfcb",
83
+ "g": "7bf406833c0a55cd",
84
+ "inputs": 1,
85
+ "output": 4,
86
+ "name": "FillTank() ",
87
+ "endpoint": "c22bb208bf9b2236",
88
+ "methodId": "/di:DeviceSet/own:CoffeeMachineA.di:MethodSet.ns3:FillTank",
89
+ "objectId": "/di:DeviceSet/own:CoffeeMachineA",
90
+ "x": 480,
91
+ "y": 340,
92
+ "wires": [
93
+ [],
94
+ []
95
+ ]
96
+ },
97
+ {
98
+ "id": "a85a34ab27d500da",
99
+ "type": "OpcUa-Client2-Call",
100
+ "z": "4d0662110a70dfcb",
101
+ "g": "7bf406833c0a55cd",
102
+ "inputs": 1,
103
+ "output": 4,
104
+ "name": "MakeCoffee",
105
+ "endpoint": "c22bb208bf9b2236",
106
+ "methodId": "/di:DeviceSet/own:CoffeeMachineA.di:MethodSet.ns3:Start",
107
+ "objectId": "/di:DeviceSet/own:CoffeeMachineA",
108
+ "x": 490,
109
+ "y": 400,
110
+ "wires": [
111
+ [],
112
+ []
113
+ ]
114
+ },
115
+ {
116
+ "id": "f25106cd2f3aaeab",
117
+ "type": "inject",
118
+ "z": "4d0662110a70dfcb",
119
+ "g": "7bf406833c0a55cd",
120
+ "name": "Americano",
121
+ "props": [
122
+ {
123
+ "p": "payload"
124
+ }
125
+ ],
126
+ "repeat": "",
127
+ "crontab": "",
128
+ "once": false,
129
+ "onceDelay": 0.1,
130
+ "topic": "",
131
+ "payload": "{\"CoffeeType\":\"Americano\"}",
132
+ "payloadType": "json",
133
+ "x": 300,
134
+ "y": 380,
135
+ "wires": [
136
+ [
137
+ "a85a34ab27d500da"
138
+ ]
139
+ ]
140
+ },
141
+ {
142
+ "id": "6711bf218b4c99f7",
143
+ "type": "inject",
144
+ "z": "4d0662110a70dfcb",
145
+ "g": "7bf406833c0a55cd",
146
+ "name": "Mocha",
147
+ "props": [
148
+ {
149
+ "p": "payload"
150
+ }
151
+ ],
152
+ "repeat": "",
153
+ "crontab": "",
154
+ "once": false,
155
+ "onceDelay": 0.1,
156
+ "topic": "",
157
+ "payload": "{\"CoffeeType\": \"Mocha\"}",
158
+ "payloadType": "json",
159
+ "x": 310,
160
+ "y": 420,
161
+ "wires": [
162
+ [
163
+ "a85a34ab27d500da"
164
+ ]
165
+ ]
166
+ },
167
+ {
168
+ "id": "d0a02fbadf14facf",
169
+ "type": "inject",
170
+ "z": "4d0662110a70dfcb",
171
+ "g": "7bf406833c0a55cd",
172
+ "name": "FillTank",
173
+ "props": [],
174
+ "repeat": "",
175
+ "crontab": "",
176
+ "once": false,
177
+ "onceDelay": 0.1,
178
+ "topic": "",
179
+ "x": 310,
180
+ "y": 340,
181
+ "wires": [
182
+ [
183
+ "da5dfe5add0d7eae"
184
+ ]
185
+ ]
186
+ },
187
+ {
188
+ "id": "0f3f55e5ade17a71",
189
+ "type": "OpcUa-Client2-Monitor",
190
+ "z": "4d0662110a70dfcb",
191
+ "g": "55bc07480aecf6e0",
192
+ "inputs": 0,
193
+ "output": 4,
194
+ "name": "WaterTank Level",
195
+ "endpoint": "c22bb208bf9b2236",
196
+ "subscription": "s0",
197
+ "startImmediately": true,
198
+ "nodeId": "/di:DeviceSet/own:CoffeeMachineA.cke:Parameters.ns3:WaterTankLevel",
199
+ "samplingInterval": 1000,
200
+ "discardOldest": true,
201
+ "queueSize": 10,
202
+ "x": 500,
203
+ "y": 180,
204
+ "wires": [
205
+ [
206
+ "873689bcfaf4cd1c"
207
+ ]
208
+ ]
209
+ },
210
+ {
211
+ "id": "873689bcfaf4cd1c",
212
+ "type": "debug",
213
+ "z": "4d0662110a70dfcb",
214
+ "g": "55bc07480aecf6e0",
215
+ "name": "debug 1",
216
+ "active": true,
217
+ "tosidebar": true,
218
+ "console": false,
219
+ "tostatus": false,
220
+ "complete": "payload",
221
+ "targetType": "msg",
222
+ "statusVal": "",
223
+ "statusType": "auto",
224
+ "x": 780,
225
+ "y": 160,
226
+ "wires": []
227
+ },
228
+ {
229
+ "id": "862669554266d21c",
230
+ "type": "OpcUa-Client2-Monitor",
231
+ "z": "4d0662110a70dfcb",
232
+ "g": "55bc07480aecf6e0",
233
+ "inputs": 1,
234
+ "output": 4,
235
+ "name": "ServerStatus.State",
236
+ "endpoint": "c22bb208bf9b2236",
237
+ "subscription": "s0",
238
+ "startImmediately": false,
239
+ "nodeId": "/Server.ServerStatus.State",
240
+ "samplingInterval": "1001",
241
+ "discardOldest": true,
242
+ "queueSize": 10,
243
+ "x": 510,
244
+ "y": 60,
245
+ "wires": [
246
+ [
247
+ "873689bcfaf4cd1c"
248
+ ]
249
+ ]
250
+ },
251
+ {
252
+ "id": "ae44316b28c1977b",
253
+ "type": "OpcUa-Client2-Monitor",
254
+ "z": "4d0662110a70dfcb",
255
+ "g": "55bc07480aecf6e0",
256
+ "inputs": 0,
257
+ "output": 4,
258
+ "name": "ServerCoffeeCount",
259
+ "endpoint": "c22bb208bf9b2236",
260
+ "subscription": "s0",
261
+ "startImmediately": true,
262
+ "nodeId": "/di:DeviceSet/own:CoffeeMachineA.cke:Parameters.ns3:ServedCoffeeCount",
263
+ "samplingInterval": 1000,
264
+ "discardOldest": true,
265
+ "queueSize": 10,
266
+ "x": 510,
267
+ "y": 240,
268
+ "wires": [
269
+ [
270
+ "873689bcfaf4cd1c"
271
+ ]
272
+ ]
273
+ },
274
+ {
275
+ "id": "9848b2b87c07857a",
276
+ "type": "inject",
277
+ "z": "4d0662110a70dfcb",
278
+ "g": "55bc07480aecf6e0",
279
+ "name": "",
280
+ "props": [],
281
+ "repeat": "",
282
+ "crontab": "",
283
+ "once": false,
284
+ "onceDelay": 0.1,
285
+ "topic": "",
286
+ "x": 290,
287
+ "y": 60,
288
+ "wires": [
289
+ [
290
+ "862669554266d21c"
291
+ ]
292
+ ]
293
+ },
294
+ {
295
+ "id": "c22bb208bf9b2236",
296
+ "type": "OpcUa-Endpoint2",
297
+ "name": "",
298
+ "endpoint": "opc.tcp://opcuademo.sterfive.com:26541",
299
+ "securityMode": "None",
300
+ "securityPolicy": "None",
301
+ "userIdentityType": "Anonymous",
302
+ "pkiName": "",
303
+ "useTransport": false,
304
+ "maxChunkCount": "1",
305
+ "maxMessageSize": "8192",
306
+ "receiveBufferSize": "8192",
307
+ "sendBufferSize": "8192",
308
+ "subscriptions": [
309
+ {
310
+ "id": "s0",
311
+ "name": "Default Subscription",
312
+ "isDefault": true,
313
+ "parameters": {
314
+ "publishingEnabled": true,
315
+ "requestedLifetimeCount": "100",
316
+ "requestedMaxKeepAliveCount": "10",
317
+ "requestedPublishingInterval": "1000",
318
+ "maxNotificationsPerPublish": "0",
319
+ "priority": "100"
320
+ }
321
+ }
322
+ ],
323
+ "namespaceAliases": [
324
+ {
325
+ "namespaceUri": "http://opcfoundation.org/UA/",
326
+ "alias": "ua"
327
+ },
328
+ {
329
+ "namespaceUri": "~urn:.*",
330
+ "alias": "own"
331
+ },
332
+ {
333
+ "namespaceUri": "http://opcfoundation.org/UA/DI/",
334
+ "alias": "di"
335
+ },
336
+ {
337
+ "namespaceUri": "http://opcfoundation.org/UA/ADI/",
338
+ "alias": "adi"
339
+ },
340
+ {
341
+ "namespaceUri": "http://opcfoundation.org/UA/AutoID/",
342
+ "alias": "autoId"
343
+ },
344
+ {
345
+ "namespaceUri": "http://opcfoundation.org/UA/MachineVision",
346
+ "alias": "machineVision"
347
+ },
348
+ {
349
+ "namespaceUri": "http://opcfoundation.org/UA/Robotics/",
350
+ "alias": "robotics"
351
+ },
352
+ {
353
+ "namespaceUri": "http://opcfoundation.org/UA/CommercialKitchenEquipment/",
354
+ "alias": "cke"
355
+ },
356
+ {
357
+ "namespaceUri": "http://opcfoundation.org/UA/ISA95-JOBCONTROL_V2/",
358
+ "alias": "isa95JobControl"
359
+ },
360
+ {
361
+ "namespaceUri": "http://opcfoundation.org/UA/Dictionary/IRDI",
362
+ "alias": "irdi"
363
+ },
364
+ {
365
+ "namespaceUri": "http://opcfoundation.org/UA/IA/",
366
+ "alias": "ia"
367
+ },
368
+ {
369
+ "namespaceUri": "http://opcfoundation.org/UA/Machinery/",
370
+ "alias": "machinery"
371
+ },
372
+ {
373
+ "namespaceUri": "http://opcfoundation.org/UA/Machinery/Jobs/",
374
+ "alias": "machineryJobs"
375
+ },
376
+ {
377
+ "namespaceUri": "http://opcfoundation.org/UA/MachineTool/",
378
+ "alias": "machineTool"
379
+ },
380
+ {
381
+ "namespaceUri": "http://opcfoundation.org/UA/PackML/",
382
+ "alias": "packML"
383
+ },
384
+ {
385
+ "namespaceUri": "urn://node-opcua-simulator",
386
+ "alias": "ns2"
387
+ },
388
+ {
389
+ "namespaceUri": "http://sterfive.com/UA/CoffeeMachine/",
390
+ "alias": "ns3"
391
+ }
392
+ ]
393
+ }
394
+ ]
@@ -0,0 +1,182 @@
1
+ [
2
+ {
3
+ "id": "f7bedd7b98ba03b1",
4
+ "type": "tab",
5
+ "label": "OPCUA CoffeeMachine Example ",
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": "/di:DeviceSet/own:CoffeeMachineA",
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
+ "excludeEmpty": true,
46
+ "followOrganizes": true,
47
+ "x": 440,
48
+ "y": 120,
49
+ "wires": [
50
+ [
51
+ "c5ca5b7775b36081"
52
+ ]
53
+ ]
54
+ },
55
+ {
56
+ "id": "c5ca5b7775b36081",
57
+ "type": "debug",
58
+ "z": "f7bedd7b98ba03b1",
59
+ "name": "debug 6",
60
+ "active": true,
61
+ "tosidebar": true,
62
+ "console": false,
63
+ "tostatus": false,
64
+ "complete": "payload",
65
+ "targetType": "msg",
66
+ "statusVal": "",
67
+ "statusType": "auto",
68
+ "x": 620,
69
+ "y": 120,
70
+ "wires": []
71
+ },
72
+ {
73
+ "id": "d732a68c93b0642d",
74
+ "type": "comment",
75
+ "z": "f7bedd7b98ba03b1",
76
+ "name": "using Explore node with @opcua/for-node-red",
77
+ "info": "",
78
+ "x": 250,
79
+ "y": 60,
80
+ "wires": []
81
+ },
82
+ {
83
+ "id": "c22bb208bf9b2236",
84
+ "type": "OpcUa-Endpoint2",
85
+ "name": "",
86
+ "endpoint": "opc.tcp://opcuademo.sterfive.com:26541",
87
+ "securityMode": "None",
88
+ "securityPolicy": "None",
89
+ "userIdentityType": "Anonymous",
90
+ "pkiName": "",
91
+ "useTransport": false,
92
+ "maxChunkCount": "1",
93
+ "maxMessageSize": "8192",
94
+ "receiveBufferSize": "8192",
95
+ "sendBufferSize": "8192",
96
+ "subscriptions": [
97
+ {
98
+ "id": "s0",
99
+ "name": "Default Subscription",
100
+ "isDefault": true,
101
+ "parameters": {
102
+ "publishingEnabled": true,
103
+ "requestedLifetimeCount": "100",
104
+ "requestedMaxKeepAliveCount": "10",
105
+ "requestedPublishingInterval": "1000",
106
+ "maxNotificationsPerPublish": "0",
107
+ "priority": "100"
108
+ }
109
+ }
110
+ ],
111
+ "namespaceAliases": [
112
+ {
113
+ "namespaceUri": "http://opcfoundation.org/UA/",
114
+ "alias": "ua"
115
+ },
116
+ {
117
+ "namespaceUri": "~urn:.*",
118
+ "alias": "own"
119
+ },
120
+ {
121
+ "namespaceUri": "http://opcfoundation.org/UA/DI/",
122
+ "alias": "di"
123
+ },
124
+ {
125
+ "namespaceUri": "http://opcfoundation.org/UA/ADI/",
126
+ "alias": "adi"
127
+ },
128
+ {
129
+ "namespaceUri": "http://opcfoundation.org/UA/AutoID/",
130
+ "alias": "autoId"
131
+ },
132
+ {
133
+ "namespaceUri": "http://opcfoundation.org/UA/MachineVision",
134
+ "alias": "machineVision"
135
+ },
136
+ {
137
+ "namespaceUri": "http://opcfoundation.org/UA/Robotics/",
138
+ "alias": "robotics"
139
+ },
140
+ {
141
+ "namespaceUri": "http://opcfoundation.org/UA/CommercialKitchenEquipment/",
142
+ "alias": "cke"
143
+ },
144
+ {
145
+ "namespaceUri": "http://opcfoundation.org/UA/ISA95-JOBCONTROL_V2/",
146
+ "alias": "isa95JobControl"
147
+ },
148
+ {
149
+ "namespaceUri": "http://opcfoundation.org/UA/Dictionary/IRDI",
150
+ "alias": "irdi"
151
+ },
152
+ {
153
+ "namespaceUri": "http://opcfoundation.org/UA/IA/",
154
+ "alias": "ia"
155
+ },
156
+ {
157
+ "namespaceUri": "http://opcfoundation.org/UA/Machinery/",
158
+ "alias": "machinery"
159
+ },
160
+ {
161
+ "namespaceUri": "http://opcfoundation.org/UA/Machinery/Jobs/",
162
+ "alias": "machineryJobs"
163
+ },
164
+ {
165
+ "namespaceUri": "http://opcfoundation.org/UA/MachineTool/",
166
+ "alias": "machineTool"
167
+ },
168
+ {
169
+ "namespaceUri": "http://opcfoundation.org/UA/PackML/",
170
+ "alias": "packML"
171
+ },
172
+ {
173
+ "namespaceUri": "urn://node-opcua-simulator",
174
+ "alias": "ns2"
175
+ },
176
+ {
177
+ "namespaceUri": "http://sterfive.com/UA/CoffeeMachine/",
178
+ "alias": "ns3"
179
+ }
180
+ ]
181
+ }
182
+ ]