@opcua/for-node-red 3.10.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.
- package/all.js +1 -1
- package/examples/coffee-machine-2.json +79 -186
- package/examples/coffee-machine.json +394 -0
- package/examples/explore-demo.json +182 -0
- package/examples/file-operation.json +707 -0
- package/examples/job_manager.json +465 -231
- package/package.json +1 -1
- package/source/OpcUa-Client2-Browse/OpcUa-Client2-Browse.html +1 -1
- package/source/OpcUa-Client2-Call/OpcUa-Client2-Call.html +1 -1
- package/source/OpcUa-Client2-Explore/OpcUa-Client2-Explore.html +1 -1
- package/source/OpcUa-Client2-ExtensionObject/OpcUa-Client2-ExtensionObject.html +1 -1
- package/source/OpcUa-Client2-FileOperation/OpcUa-Client2-FileOperation.html +1 -1
- package/source/OpcUa-Client2-HistoryRead/OpcUa-Client2-HistoryRead.html +1 -1
- package/source/OpcUa-Client2-Monitor/OpcUa-Client2-Monitor.html +1 -1
- package/source/OpcUa-Client2-MonitorEvent/OpcUa-Client2-MonitorEvent.html +1 -1
- package/source/OpcUa-Client2-Read/OpcUa-Client2-Read.html +1 -1
- package/source/OpcUa-Client2-Write/OpcUa-Client2-Write.html +1 -1
- package/source/OpcUa-Endpoint2/OpcUa-Endpoint2.html +1 -1
@@ -2,7 +2,7 @@
|
|
2
2
|
{
|
3
3
|
"id": "8914237e0d8e46c7",
|
4
4
|
"type": "tab",
|
5
|
-
"label": "
|
5
|
+
"label": "Advanced Coffee Machine Example",
|
6
6
|
"disabled": false,
|
7
7
|
"info": "",
|
8
8
|
"env": []
|
@@ -215,6 +215,57 @@
|
|
215
215
|
"w": 592,
|
216
216
|
"h": 82
|
217
217
|
},
|
218
|
+
{
|
219
|
+
"id": "665736b8cbeb246d",
|
220
|
+
"type": "group",
|
221
|
+
"z": "8914237e0d8e46c7",
|
222
|
+
"name": "Synopsis",
|
223
|
+
"style": {
|
224
|
+
"stroke": "#ffbfbf",
|
225
|
+
"fill": "#e3f3d3",
|
226
|
+
"label": true
|
227
|
+
},
|
228
|
+
"nodes": [
|
229
|
+
"2c7b916b70107153",
|
230
|
+
"eeaa86a8240214df",
|
231
|
+
"42fea19e7e56afbc",
|
232
|
+
"072413d285aeb40e",
|
233
|
+
"f64d872549983d6f",
|
234
|
+
"143a262a2cbfe451",
|
235
|
+
"a1492e996fe8302a"
|
236
|
+
],
|
237
|
+
"x": 194,
|
238
|
+
"y": 1719,
|
239
|
+
"w": 1012,
|
240
|
+
"h": 162
|
241
|
+
},
|
242
|
+
{
|
243
|
+
"id": "a9f1eb481f74dde3",
|
244
|
+
"type": "group",
|
245
|
+
"z": "8914237e0d8e46c7",
|
246
|
+
"name": "Collect data to CSV",
|
247
|
+
"style": {
|
248
|
+
"stroke": "#3f93cf",
|
249
|
+
"fill": "#bfdbef",
|
250
|
+
"label": true
|
251
|
+
},
|
252
|
+
"nodes": [
|
253
|
+
"b577d7342c008353",
|
254
|
+
"529de43bbcc8ddd4",
|
255
|
+
"73a7a87a437b298c",
|
256
|
+
"239601af1e96d917",
|
257
|
+
"ccd602507a4abc68",
|
258
|
+
"b694d72cbaef5d85",
|
259
|
+
"af5560e53daca7e6",
|
260
|
+
"96aded34d2e12af9",
|
261
|
+
"14863b828843ebb1",
|
262
|
+
"6022bc4dbfcea9ed"
|
263
|
+
],
|
264
|
+
"x": 204,
|
265
|
+
"y": 1219,
|
266
|
+
"w": 1122,
|
267
|
+
"h": 169.5
|
268
|
+
},
|
218
269
|
{
|
219
270
|
"id": "517edf10f355e464",
|
220
271
|
"type": "group",
|
@@ -304,57 +355,6 @@
|
|
304
355
|
"w": 632,
|
305
356
|
"h": 122
|
306
357
|
},
|
307
|
-
{
|
308
|
-
"id": "665736b8cbeb246d",
|
309
|
-
"type": "group",
|
310
|
-
"z": "8914237e0d8e46c7",
|
311
|
-
"name": "Synopsis",
|
312
|
-
"style": {
|
313
|
-
"stroke": "#ffbfbf",
|
314
|
-
"fill": "#e3f3d3",
|
315
|
-
"label": true
|
316
|
-
},
|
317
|
-
"nodes": [
|
318
|
-
"2c7b916b70107153",
|
319
|
-
"eeaa86a8240214df",
|
320
|
-
"42fea19e7e56afbc",
|
321
|
-
"072413d285aeb40e",
|
322
|
-
"f64d872549983d6f",
|
323
|
-
"143a262a2cbfe451",
|
324
|
-
"a1492e996fe8302a"
|
325
|
-
],
|
326
|
-
"x": 194,
|
327
|
-
"y": 1719,
|
328
|
-
"w": 1012,
|
329
|
-
"h": 162
|
330
|
-
},
|
331
|
-
{
|
332
|
-
"id": "a9f1eb481f74dde3",
|
333
|
-
"type": "group",
|
334
|
-
"z": "8914237e0d8e46c7",
|
335
|
-
"name": "Collect data to CSV",
|
336
|
-
"style": {
|
337
|
-
"stroke": "#3f93cf",
|
338
|
-
"fill": "#bfdbef",
|
339
|
-
"label": true
|
340
|
-
},
|
341
|
-
"nodes": [
|
342
|
-
"b577d7342c008353",
|
343
|
-
"529de43bbcc8ddd4",
|
344
|
-
"73a7a87a437b298c",
|
345
|
-
"239601af1e96d917",
|
346
|
-
"ccd602507a4abc68",
|
347
|
-
"b694d72cbaef5d85",
|
348
|
-
"af5560e53daca7e6",
|
349
|
-
"96aded34d2e12af9",
|
350
|
-
"14863b828843ebb1",
|
351
|
-
"6022bc4dbfcea9ed"
|
352
|
-
],
|
353
|
-
"x": 204,
|
354
|
-
"y": 1219,
|
355
|
-
"w": 1122,
|
356
|
-
"h": 169.5
|
357
|
-
},
|
358
358
|
{
|
359
359
|
"id": "5ddf1b5952313443",
|
360
360
|
"type": "OpcUa-Client2-Monitor",
|
@@ -366,7 +366,7 @@
|
|
366
366
|
"endpoint": "9593045b235c321c",
|
367
367
|
"subscription": "s2",
|
368
368
|
"startImmediately": true,
|
369
|
-
"nodeId": "/di:DeviceSet/ns1:
|
369
|
+
"nodeId": "/di:DeviceSet/ns1:CoffeeMachineA.kitchen:Parameters.sterfive:WaterTankLevel",
|
370
370
|
"samplingInterval": "250",
|
371
371
|
"discardOldest": true,
|
372
372
|
"queueSize": 10,
|
@@ -389,8 +389,8 @@
|
|
389
389
|
"name": "Make Coffee",
|
390
390
|
"endpoint": "9593045b235c321c",
|
391
391
|
"action": "read",
|
392
|
-
"methodId": "/di:DeviceSet/ns1:
|
393
|
-
"objectId": "/di:DeviceSet/ns1:
|
392
|
+
"methodId": "/di:DeviceSet/ns1:CoffeeMachineA.di:MethodSet.sterfive:MakeCoffee",
|
393
|
+
"objectId": "/di:DeviceSet/ns1:CoffeeMachineA",
|
394
394
|
"x": 1450,
|
395
395
|
"y": 220,
|
396
396
|
"wires": [
|
@@ -434,8 +434,8 @@
|
|
434
434
|
"name": "FillTank",
|
435
435
|
"endpoint": "9593045b235c321c",
|
436
436
|
"action": "read",
|
437
|
-
"methodId": "/di:DeviceSet/ns1:
|
438
|
-
"objectId": "/di:DeviceSet/ns1:
|
437
|
+
"methodId": "/di:DeviceSet/ns1:CoffeeMachineA.di:MethodSet.sterfive:FillTank",
|
438
|
+
"objectId": "/di:DeviceSet/ns1:CoffeeMachineA",
|
439
439
|
"x": 1450,
|
440
440
|
"y": 320,
|
441
441
|
"wires": [
|
@@ -474,7 +474,7 @@
|
|
474
474
|
"endpoint": "9593045b235c321c",
|
475
475
|
"subscription": "s2",
|
476
476
|
"startImmediately": true,
|
477
|
-
"nodeId": "/di:DeviceSet/ns1:
|
477
|
+
"nodeId": "/di:DeviceSet/ns1:CoffeeMachineA.kitchen:Parameters.kitchen:BoilerTempWater",
|
478
478
|
"samplingInterval": "100",
|
479
479
|
"discardOldest": true,
|
480
480
|
"queueSize": 10,
|
@@ -817,7 +817,7 @@
|
|
817
817
|
"output": 4,
|
818
818
|
"name": "",
|
819
819
|
"endpoint": "9593045b235c321c",
|
820
|
-
"nodeId": "/di:DeviceSet/ns1:
|
820
|
+
"nodeId": "/di:DeviceSet/ns1:CoffeeMachineA.kitchen:Parameters",
|
821
821
|
"outputType": "AliasedBrowsePath",
|
822
822
|
"excludeEmpty": false,
|
823
823
|
"followOrganizes": true,
|
@@ -891,64 +891,6 @@
|
|
891
891
|
]
|
892
892
|
]
|
893
893
|
},
|
894
|
-
{
|
895
|
-
"id": "060ff48047273061",
|
896
|
-
"type": "OpcUa-Client2-Read",
|
897
|
-
"z": "8914237e0d8e46c7",
|
898
|
-
"d": true,
|
899
|
-
"inputs": 1,
|
900
|
-
"output": 4,
|
901
|
-
"name": "",
|
902
|
-
"endpoint": "9593045b235c321c",
|
903
|
-
"attributeId": "Value",
|
904
|
-
"nodeId": "/di:DeviceSet/ns1:CoffeMachineB.kitchen:Parameters.sterfive:HeaterStatus",
|
905
|
-
"outputType": "DataValue",
|
906
|
-
"x": 390,
|
907
|
-
"y": 2140,
|
908
|
-
"wires": [
|
909
|
-
[
|
910
|
-
"4bd4451ace94e0bd"
|
911
|
-
],
|
912
|
-
[]
|
913
|
-
]
|
914
|
-
},
|
915
|
-
{
|
916
|
-
"id": "4bd4451ace94e0bd",
|
917
|
-
"type": "debug",
|
918
|
-
"z": "8914237e0d8e46c7",
|
919
|
-
"d": true,
|
920
|
-
"name": "debug 9",
|
921
|
-
"active": false,
|
922
|
-
"tosidebar": true,
|
923
|
-
"console": false,
|
924
|
-
"tostatus": false,
|
925
|
-
"complete": "false",
|
926
|
-
"statusVal": "",
|
927
|
-
"statusType": "auto",
|
928
|
-
"x": 580,
|
929
|
-
"y": 2140,
|
930
|
-
"wires": []
|
931
|
-
},
|
932
|
-
{
|
933
|
-
"id": "b299f3e38929cbba",
|
934
|
-
"type": "inject",
|
935
|
-
"z": "8914237e0d8e46c7",
|
936
|
-
"d": true,
|
937
|
-
"name": "",
|
938
|
-
"props": [],
|
939
|
-
"repeat": "",
|
940
|
-
"crontab": "",
|
941
|
-
"once": false,
|
942
|
-
"onceDelay": 0.1,
|
943
|
-
"topic": "",
|
944
|
-
"x": 210,
|
945
|
-
"y": 2140,
|
946
|
-
"wires": [
|
947
|
-
[
|
948
|
-
"060ff48047273061"
|
949
|
-
]
|
950
|
-
]
|
951
|
-
},
|
952
894
|
{
|
953
895
|
"id": "f64d872549983d6f",
|
954
896
|
"type": "debug",
|
@@ -966,55 +908,6 @@
|
|
966
908
|
"y": 1760,
|
967
909
|
"wires": []
|
968
910
|
},
|
969
|
-
{
|
970
|
-
"id": "581f8c4a67bdef2d",
|
971
|
-
"type": "OpcUa-Client2-Call",
|
972
|
-
"z": "8914237e0d8e46c7",
|
973
|
-
"d": true,
|
974
|
-
"inputs": 1,
|
975
|
-
"output": 4,
|
976
|
-
"name": "FillTank",
|
977
|
-
"endpoint": "9593045b235c321c",
|
978
|
-
"action": "read",
|
979
|
-
"methodId": "/di:DeviceSet/ns1:CoffeMachineC.di:MethodSet.sterfive:FillTank",
|
980
|
-
"objectId": "/2:DeviceSet/1:CoffeMachineC",
|
981
|
-
"x": 930,
|
982
|
-
"y": 2120,
|
983
|
-
"wires": [
|
984
|
-
[],
|
985
|
-
[]
|
986
|
-
]
|
987
|
-
},
|
988
|
-
{
|
989
|
-
"id": "8f72fb35eecaaca4",
|
990
|
-
"type": "inject",
|
991
|
-
"z": "8914237e0d8e46c7",
|
992
|
-
"d": true,
|
993
|
-
"name": "",
|
994
|
-
"props": [
|
995
|
-
{
|
996
|
-
"p": "payload"
|
997
|
-
},
|
998
|
-
{
|
999
|
-
"p": "topic",
|
1000
|
-
"vt": "str"
|
1001
|
-
}
|
1002
|
-
],
|
1003
|
-
"repeat": "",
|
1004
|
-
"crontab": "",
|
1005
|
-
"once": false,
|
1006
|
-
"onceDelay": 0.1,
|
1007
|
-
"topic": "",
|
1008
|
-
"payload": "",
|
1009
|
-
"payloadType": "date",
|
1010
|
-
"x": 780,
|
1011
|
-
"y": 2120,
|
1012
|
-
"wires": [
|
1013
|
-
[
|
1014
|
-
"581f8c4a67bdef2d"
|
1015
|
-
]
|
1016
|
-
]
|
1017
|
-
},
|
1018
911
|
{
|
1019
912
|
"id": "49367ab61a7d3443",
|
1020
913
|
"type": "OpcUa-Client2-Monitor",
|
@@ -1026,7 +919,7 @@
|
|
1026
919
|
"endpoint": "9593045b235c321c",
|
1027
920
|
"subscription": "s0",
|
1028
921
|
"startImmediately": true,
|
1029
|
-
"nodeId": "/di:DeviceSet/ns1:
|
922
|
+
"nodeId": "/di:DeviceSet/ns1:CoffeeMachineA.kitchen:Parameters.sterfive:MilkTankLevel",
|
1030
923
|
"samplingInterval": "100",
|
1031
924
|
"discardOldest": true,
|
1032
925
|
"queueSize": 10,
|
@@ -1181,7 +1074,7 @@
|
|
1181
1074
|
"endpoint": "9593045b235c321c",
|
1182
1075
|
"subscription": "s0",
|
1183
1076
|
"startImmediately": true,
|
1184
|
-
"nodeId": "/di:DeviceSet/ns1:
|
1077
|
+
"nodeId": "/di:DeviceSet/ns1:CoffeeMachineA.kitchen:Parameters.sterfive:CoffeeBeanLevel",
|
1185
1078
|
"samplingInterval": "100",
|
1186
1079
|
"discardOldest": true,
|
1187
1080
|
"queueSize": 10,
|
@@ -1457,7 +1350,7 @@
|
|
1457
1350
|
"endpoint": "9593045b235c321c",
|
1458
1351
|
"subscription": "s2",
|
1459
1352
|
"startImmediately": true,
|
1460
|
-
"nodeId": "/di:DeviceSet/ns1:
|
1353
|
+
"nodeId": "/di:DeviceSet/ns1:CoffeeMachineA.kitchen:Parameters.kitchen:BoilerTempWater",
|
1461
1354
|
"samplingInterval": "100",
|
1462
1355
|
"discardOldest": true,
|
1463
1356
|
"queueSize": 10,
|
@@ -1478,7 +1371,7 @@
|
|
1478
1371
|
"endpoint": "9593045b235c321c",
|
1479
1372
|
"subscription": "s2",
|
1480
1373
|
"startImmediately": true,
|
1481
|
-
"nodeId": "/di:DeviceSet/ns1:
|
1374
|
+
"nodeId": "/di:DeviceSet/ns1:CoffeeMachineA.kitchen:Parameters.kitchen:BoilerTempWater",
|
1482
1375
|
"samplingInterval": "250",
|
1483
1376
|
"discardOldest": true,
|
1484
1377
|
"queueSize": 10,
|
@@ -1499,7 +1392,7 @@
|
|
1499
1392
|
"endpoint": "9593045b235c321c",
|
1500
1393
|
"subscription": "s2",
|
1501
1394
|
"startImmediately": true,
|
1502
|
-
"nodeId": "/2:DeviceSet/1:
|
1395
|
+
"nodeId": "/2:DeviceSet/1:CoffeeMachineA.3:Parameters.4:PumpStatus",
|
1503
1396
|
"samplingInterval": "100",
|
1504
1397
|
"discardOldest": true,
|
1505
1398
|
"queueSize": 10,
|
@@ -1604,7 +1497,7 @@
|
|
1604
1497
|
"endpoint": "9593045b235c321c",
|
1605
1498
|
"subscription": "s2",
|
1606
1499
|
"startImmediately": true,
|
1607
|
-
"nodeId": "/di:DeviceSet/ns1:
|
1500
|
+
"nodeId": "/di:DeviceSet/ns1:CoffeeMachineA.kitchen:Parameters.sterfive:HeaterStatus",
|
1608
1501
|
"samplingInterval": "250",
|
1609
1502
|
"discardOldest": true,
|
1610
1503
|
"queueSize": 10,
|
@@ -1888,7 +1781,7 @@
|
|
1888
1781
|
"endpoint": "9593045b235c321c",
|
1889
1782
|
"subscription": "s2",
|
1890
1783
|
"startImmediately": true,
|
1891
|
-
"nodeId": "/2:DeviceSet/1:
|
1784
|
+
"nodeId": "/2:DeviceSet/1:CoffeeMachineA.3:Parameters.3:CurrentState",
|
1892
1785
|
"samplingInterval": "100",
|
1893
1786
|
"discardOldest": true,
|
1894
1787
|
"queueSize": 10,
|
@@ -1928,8 +1821,8 @@
|
|
1928
1821
|
"name": "Start",
|
1929
1822
|
"endpoint": "9593045b235c321c",
|
1930
1823
|
"action": "read",
|
1931
|
-
"methodId": "/di:DeviceSet/ns1:
|
1932
|
-
"objectId": "/di:DeviceSet/ns1:
|
1824
|
+
"methodId": "/di:DeviceSet/ns1:CoffeeMachineA.di:MethodSet.sterfive:Start",
|
1825
|
+
"objectId": "/di:DeviceSet/ns1:CoffeeMachineA",
|
1933
1826
|
"x": 1450,
|
1934
1827
|
"y": 420,
|
1935
1828
|
"wires": [
|
@@ -2007,8 +1900,8 @@
|
|
2007
1900
|
"name": "Stop",
|
2008
1901
|
"endpoint": "9593045b235c321c",
|
2009
1902
|
"action": "read",
|
2010
|
-
"methodId": "/di:DeviceSet/ns1:
|
2011
|
-
"objectId": "/di:DeviceSet/ns1:
|
1903
|
+
"methodId": "/di:DeviceSet/ns1:CoffeeMachineA.di:MethodSet.sterfive:Stop",
|
1904
|
+
"objectId": "/di:DeviceSet/ns1:CoffeeMachineA",
|
2012
1905
|
"x": 1440,
|
2013
1906
|
"y": 520,
|
2014
1907
|
"wires": [
|
@@ -2201,9 +2094,9 @@
|
|
2201
2094
|
"id": "9326ae6929032e87",
|
2202
2095
|
"type": "comment",
|
2203
2096
|
"z": "8914237e0d8e46c7",
|
2204
|
-
"name": "Coffee Machine",
|
2097
|
+
"name": "Coffee Machine ( visit http://127.0.0.1:1880/dashboard/CoffeeMachineSynopsis )",
|
2205
2098
|
"info": "# Coffee Machine *\n\nThis example demostrate how to \ncreate a Dashboard that interacts \nwith a OPCUA CoffeeMachine\n\n",
|
2206
|
-
"x":
|
2099
|
+
"x": 460,
|
2207
2100
|
"y": 40,
|
2208
2101
|
"wires": []
|
2209
2102
|
},
|
@@ -2216,7 +2109,7 @@
|
|
2216
2109
|
"output": 4,
|
2217
2110
|
"name": "",
|
2218
2111
|
"endpoint": "9593045b235c321c",
|
2219
|
-
"nodeId": "/di:DeviceSet/ns1:
|
2112
|
+
"nodeId": "/di:DeviceSet/ns1:CoffeeMachineA.kitchen:Parameters",
|
2220
2113
|
"outputType": "Value",
|
2221
2114
|
"excludeEmpty": false,
|
2222
2115
|
"followOrganizes": false,
|
@@ -2319,7 +2212,7 @@
|
|
2319
2212
|
"output": 4,
|
2320
2213
|
"name": "",
|
2321
2214
|
"endpoint": "9593045b235c321c",
|
2322
|
-
"nodeId": "/di:DeviceSet/ns1:
|
2215
|
+
"nodeId": "/di:DeviceSet/ns1:CoffeeMachineA.kitchen:Parameters",
|
2323
2216
|
"outputType": "NodeId",
|
2324
2217
|
"excludeEmpty": false,
|
2325
2218
|
"followOrganizes": false,
|
@@ -2555,7 +2448,7 @@
|
|
2555
2448
|
"output": 4,
|
2556
2449
|
"name": "",
|
2557
2450
|
"endpoint": "9593045b235c321c",
|
2558
|
-
"nodeId": "/di:DeviceSet/ns1:
|
2451
|
+
"nodeId": "/di:DeviceSet/ns1:CoffeeMachineA.sterfive:Recipes",
|
2559
2452
|
"referenceTypeId": "HasChild",
|
2560
2453
|
"includeSubtypes": false,
|
2561
2454
|
"browseDirection": "Forward",
|
@@ -2802,8 +2695,8 @@
|
|
2802
2695
|
"name": "Make",
|
2803
2696
|
"endpoint": "9593045b235c321c",
|
2804
2697
|
"action": "read",
|
2805
|
-
"methodId": "/2:DeviceSet/1:
|
2806
|
-
"objectId": "/2:DeviceSet/1:
|
2698
|
+
"methodId": "/2:DeviceSet/1:CoffeeMachineA.2:MethodSet.4:MakeCoffee",
|
2699
|
+
"objectId": "/2:DeviceSet/1:CoffeeMachineA",
|
2807
2700
|
"x": 1430,
|
2808
2701
|
"y": 1140,
|
2809
2702
|
"wires": [
|
@@ -2822,7 +2715,7 @@
|
|
2822
2715
|
"endpoint": "9593045b235c321c",
|
2823
2716
|
"subscription": "s1",
|
2824
2717
|
"startImmediately": true,
|
2825
|
-
"nodeId": "/di:DeviceSet/ns1:
|
2718
|
+
"nodeId": "/di:DeviceSet/ns1:CoffeeMachineA.di:DeviceHealth",
|
2826
2719
|
"samplingInterval": 1000,
|
2827
2720
|
"discardOldest": true,
|
2828
2721
|
"queueSize": 10,
|
@@ -3390,4 +3283,4 @@
|
|
3390
3283
|
"widgetGap": "12px"
|
3391
3284
|
}
|
3392
3285
|
}
|
3393
|
-
]
|
3286
|
+
]
|