@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.
@@ -0,0 +1,707 @@
1
+ [
2
+ {
3
+ "id": "2955fc1f6b699cc8",
4
+ "type": "group",
5
+ "z": "5a915a7ec2edb327",
6
+ "name": "Read OPCUA File",
7
+ "style": {
8
+ "label": true
9
+ },
10
+ "nodes": [
11
+ "bae94b02cb7b2d47",
12
+ "78fe65da913ed5d7",
13
+ "66d620c9e10276f3"
14
+ ],
15
+ "x": 114,
16
+ "y": 979,
17
+ "w": 672,
18
+ "h": 82
19
+ },
20
+ {
21
+ "id": "bae94b02cb7b2d47",
22
+ "type": "OpcUa-Client2-FileOperation",
23
+ "z": "5a915a7ec2edb327",
24
+ "g": "2955fc1f6b699cc8",
25
+ "inputs": 1,
26
+ "output": 1,
27
+ "name": "",
28
+ "endpoint": "c80889511cc51fe9",
29
+ "nodeId": "/ns1:FolderDemo/ns1:subfolder/ns1:Hello1_txt",
30
+ "mode": "Read",
31
+ "encoding": "none",
32
+ "format": "utf8",
33
+ "x": 450,
34
+ "y": 1020,
35
+ "wires": [
36
+ [
37
+ "66d620c9e10276f3"
38
+ ]
39
+ ]
40
+ },
41
+ {
42
+ "id": "78fe65da913ed5d7",
43
+ "type": "inject",
44
+ "z": "5a915a7ec2edb327",
45
+ "g": "2955fc1f6b699cc8",
46
+ "name": "",
47
+ "props": [],
48
+ "repeat": "",
49
+ "crontab": "",
50
+ "once": false,
51
+ "onceDelay": 0.1,
52
+ "topic": "",
53
+ "x": 210,
54
+ "y": 1020,
55
+ "wires": [
56
+ [
57
+ "bae94b02cb7b2d47"
58
+ ]
59
+ ]
60
+ },
61
+ {
62
+ "id": "66d620c9e10276f3",
63
+ "type": "debug",
64
+ "z": "5a915a7ec2edb327",
65
+ "g": "2955fc1f6b699cc8",
66
+ "name": "debug 21",
67
+ "active": true,
68
+ "tosidebar": true,
69
+ "console": false,
70
+ "tostatus": false,
71
+ "complete": "false",
72
+ "statusVal": "",
73
+ "statusType": "auto",
74
+ "x": 680,
75
+ "y": 1020,
76
+ "wires": []
77
+ },
78
+ {
79
+ "id": "c80889511cc51fe9",
80
+ "type": "OpcUa-Endpoint2",
81
+ "name": "",
82
+ "endpoint": "opc.tcp://opcuademo.sterfive.com:26543/UA/SampleServer",
83
+ "securityMode": "None",
84
+ "securityPolicy": "None",
85
+ "userIdentityType": "Anonymous",
86
+ "pkiName": "",
87
+ "useTransport": false,
88
+ "maxChunkCount": 1,
89
+ "maxMessageSize": 8192,
90
+ "receiveBufferSize": 8192,
91
+ "sendBufferSize": 8192,
92
+ "subscriptions": [
93
+ {
94
+ "id": "s0",
95
+ "name": "Default Subscription",
96
+ "isDefault": true,
97
+ "parameters": {
98
+ "publishingEnabled": true,
99
+ "requestedLifetimeCount": "1000",
100
+ "requestedMaxKeepAliveCount": "10",
101
+ "requestedPublishingInterval": "1000",
102
+ "maxNotificationsPerPublish": "0",
103
+ "priority": "100"
104
+ }
105
+ },
106
+ {
107
+ "id": "s1",
108
+ "name": "Slow Subscription",
109
+ "isDefault": true,
110
+ "parameters": {
111
+ "publishingEnabled": true,
112
+ "requestedLifetimeCount": "100",
113
+ "requestedMaxKeepAliveCount": "3",
114
+ "requestedPublishingInterval": "5000",
115
+ "maxNotificationsPerPublish": "100",
116
+ "priority": "10"
117
+ }
118
+ },
119
+ {
120
+ "id": "s2",
121
+ "name": "Fast Subscription",
122
+ "isDefault": true,
123
+ "parameters": {
124
+ "publishingEnabled": true,
125
+ "requestedLifetimeCount": "4000",
126
+ "requestedMaxKeepAliveCount": "50",
127
+ "requestedPublishingInterval": "250",
128
+ "maxNotificationsPerPublish": "100",
129
+ "priority": "200"
130
+ }
131
+ }
132
+ ],
133
+ "namespaceAliases": [
134
+ {
135
+ "namespaceUri": "http://opcfoundation.org/UA/",
136
+ "alias": "ua"
137
+ },
138
+ {
139
+ "namespaceUri": "urn:opcuademo.sterfive.com:NodeOPCUA-Server-for-CTT",
140
+ "alias": "ns1"
141
+ },
142
+ {
143
+ "namespaceUri": "http://opcfoundation.org/UA/DI/",
144
+ "alias": "di"
145
+ },
146
+ {
147
+ "namespaceUri": "http://opcfoundation.org/UA/ADI/",
148
+ "alias": "adi"
149
+ },
150
+ {
151
+ "namespaceUri": "http://opcfoundation.org/UA/AutoID/",
152
+ "alias": "autoId"
153
+ },
154
+ {
155
+ "namespaceUri": "http://opcfoundation.org/UA/MachineVision",
156
+ "alias": "machineVision"
157
+ },
158
+ {
159
+ "namespaceUri": "http://opcfoundation.org/UA/Robotics/",
160
+ "alias": "robotics"
161
+ },
162
+ {
163
+ "namespaceUri": "http://opcfoundation.org/UA/CommercialKitchenEquipment/",
164
+ "alias": "commercialKitchenEquipment"
165
+ },
166
+ {
167
+ "namespaceUri": "http://opcfoundation.org/UA/ISA95-JOBCONTROL_V2/",
168
+ "alias": "isa95JobControl"
169
+ },
170
+ {
171
+ "namespaceUri": "http://opcfoundation.org/UA/Dictionary/IRDI",
172
+ "alias": "irdi"
173
+ },
174
+ {
175
+ "namespaceUri": "http://opcfoundation.org/UA/IA/",
176
+ "alias": "ia"
177
+ },
178
+ {
179
+ "namespaceUri": "http://opcfoundation.org/UA/Machinery/",
180
+ "alias": "machinery"
181
+ },
182
+ {
183
+ "namespaceUri": "http://opcfoundation.org/UA/Machinery/Jobs/",
184
+ "alias": "machineryJobs"
185
+ },
186
+ {
187
+ "namespaceUri": "http://opcfoundation.org/UA/MachineTool/",
188
+ "alias": "machineTool"
189
+ },
190
+ {
191
+ "namespaceUri": "http://opcfoundation.org/UA/PackML/",
192
+ "alias": "packML"
193
+ },
194
+ {
195
+ "namespaceUri": "urn://node-opcua-simulator",
196
+ "alias": "ns2"
197
+ },
198
+ {
199
+ "namespaceUri": "http://sterfive.com/UA/CoffeeMachine/",
200
+ "alias": "ns3"
201
+ }
202
+ ]
203
+ },
204
+ {
205
+ "id": "55d44445df2bfba0",
206
+ "type": "group",
207
+ "z": "5a915a7ec2edb327",
208
+ "name": "Wfite OPCUA File",
209
+ "style": {
210
+ "label": true
211
+ },
212
+ "nodes": [
213
+ "729ceb209a6e2b68",
214
+ "3e05f8d16b8ca137",
215
+ "14e5c2f8a8cfbea1"
216
+ ],
217
+ "x": 114,
218
+ "y": 1079,
219
+ "w": 452,
220
+ "h": 142
221
+ },
222
+ {
223
+ "id": "729ceb209a6e2b68",
224
+ "type": "debug",
225
+ "z": "5a915a7ec2edb327",
226
+ "g": "55d44445df2bfba0",
227
+ "name": "debug 19",
228
+ "active": true,
229
+ "tosidebar": true,
230
+ "console": false,
231
+ "tostatus": false,
232
+ "complete": "false",
233
+ "statusVal": "",
234
+ "statusType": "auto",
235
+ "x": 420,
236
+ "y": 1180,
237
+ "wires": []
238
+ },
239
+ {
240
+ "id": "3e05f8d16b8ca137",
241
+ "type": "OpcUa-Client2-FileOperation",
242
+ "z": "5a915a7ec2edb327",
243
+ "g": "55d44445df2bfba0",
244
+ "inputs": 1,
245
+ "output": 1,
246
+ "name": "",
247
+ "endpoint": "c80889511cc51fe9",
248
+ "nodeId": "/ns1:FolderDemo/ns1:subfolder/ns1:Hello1_txt",
249
+ "mode": "Write",
250
+ "encoding": "none",
251
+ "format": "buffer",
252
+ "x": 450,
253
+ "y": 1120,
254
+ "wires": [
255
+ []
256
+ ]
257
+ },
258
+ {
259
+ "id": "14e5c2f8a8cfbea1",
260
+ "type": "inject",
261
+ "z": "5a915a7ec2edb327",
262
+ "g": "55d44445df2bfba0",
263
+ "name": "",
264
+ "props": [
265
+ {
266
+ "p": "payload"
267
+ }
268
+ ],
269
+ "repeat": "",
270
+ "crontab": "",
271
+ "once": false,
272
+ "onceDelay": 0.1,
273
+ "topic": "",
274
+ "payload": "$now() & \" : Hello World\\n\" ",
275
+ "payloadType": "jsonata",
276
+ "x": 210,
277
+ "y": 1120,
278
+ "wires": [
279
+ [
280
+ "3e05f8d16b8ca137",
281
+ "729ceb209a6e2b68"
282
+ ]
283
+ ]
284
+ },
285
+ {
286
+ "id": "3662b194d80eb5cb",
287
+ "type": "group",
288
+ "z": "5a915a7ec2edb327",
289
+ "name": "Create OPCUA FIle",
290
+ "style": {
291
+ "label": true
292
+ },
293
+ "nodes": [
294
+ "6c8261e5d697482b",
295
+ "b18c4e067c31e356",
296
+ "68b6d0ef6e1b51b3",
297
+ "d96146043d9b7d1b",
298
+ "c15beb47ee105e2a",
299
+ "e3dd35152d86abfd"
300
+ ],
301
+ "x": 114,
302
+ "y": 1439,
303
+ "w": 732,
304
+ "h": 202
305
+ },
306
+ {
307
+ "id": "6c8261e5d697482b",
308
+ "type": "OpcUa-Client2-Call",
309
+ "z": "5a915a7ec2edb327",
310
+ "g": "3662b194d80eb5cb",
311
+ "inputs": 1,
312
+ "output": 4,
313
+ "name": "Create OPCUA File",
314
+ "endpoint": "6c09869f97e2b37c",
315
+ "action": "read",
316
+ "methodId": "/1:FolderDemo.CreateFile",
317
+ "objectId": "/1:FolderDemo",
318
+ "x": 450,
319
+ "y": 1480,
320
+ "wires": [
321
+ [
322
+ "68b6d0ef6e1b51b3"
323
+ ],
324
+ []
325
+ ]
326
+ },
327
+ {
328
+ "id": "b18c4e067c31e356",
329
+ "type": "inject",
330
+ "z": "5a915a7ec2edb327",
331
+ "g": "3662b194d80eb5cb",
332
+ "name": "",
333
+ "props": [
334
+ {
335
+ "p": "payload"
336
+ }
337
+ ],
338
+ "repeat": "",
339
+ "crontab": "",
340
+ "once": false,
341
+ "onceDelay": 0.1,
342
+ "topic": "",
343
+ "payload": "{\"FileName\":\"MyGeneratedFile2.txt\",\"RequestFileOpen\":false}",
344
+ "payloadType": "json",
345
+ "x": 210,
346
+ "y": 1480,
347
+ "wires": [
348
+ [
349
+ "6c8261e5d697482b"
350
+ ]
351
+ ]
352
+ },
353
+ {
354
+ "id": "68b6d0ef6e1b51b3",
355
+ "type": "debug",
356
+ "z": "5a915a7ec2edb327",
357
+ "g": "3662b194d80eb5cb",
358
+ "name": "debug 20",
359
+ "active": true,
360
+ "tosidebar": true,
361
+ "console": false,
362
+ "tostatus": false,
363
+ "complete": "payload",
364
+ "targetType": "msg",
365
+ "statusVal": "",
366
+ "statusType": "auto",
367
+ "x": 740,
368
+ "y": 1540,
369
+ "wires": []
370
+ },
371
+ {
372
+ "id": "d96146043d9b7d1b",
373
+ "type": "OpcUa-Client2-FileOperation",
374
+ "z": "5a915a7ec2edb327",
375
+ "g": "3662b194d80eb5cb",
376
+ "inputs": 1,
377
+ "output": 1,
378
+ "name": "Write to new OPCUA File",
379
+ "endpoint": "6c09869f97e2b37c",
380
+ "nodeId": "/ns1:FolderDemo/ns1:myGeneratedFile_txt",
381
+ "mode": "WriteAppend",
382
+ "encoding": "none",
383
+ "format": "buffer",
384
+ "x": 430,
385
+ "y": 1540,
386
+ "wires": [
387
+ [
388
+ "68b6d0ef6e1b51b3"
389
+ ]
390
+ ]
391
+ },
392
+ {
393
+ "id": "c15beb47ee105e2a",
394
+ "type": "inject",
395
+ "z": "5a915a7ec2edb327",
396
+ "g": "3662b194d80eb5cb",
397
+ "name": "",
398
+ "props": [
399
+ {
400
+ "p": "payload"
401
+ }
402
+ ],
403
+ "repeat": "",
404
+ "crontab": "",
405
+ "once": false,
406
+ "onceDelay": 0.1,
407
+ "topic": "",
408
+ "payload": "$now() & \": Hello World\"",
409
+ "payloadType": "jsonata",
410
+ "x": 210,
411
+ "y": 1540,
412
+ "wires": [
413
+ [
414
+ "d96146043d9b7d1b"
415
+ ]
416
+ ]
417
+ },
418
+ {
419
+ "id": "e3dd35152d86abfd",
420
+ "type": "OpcUa-Client2-Monitor",
421
+ "z": "5a915a7ec2edb327",
422
+ "g": "3662b194d80eb5cb",
423
+ "inputs": 0,
424
+ "output": 2,
425
+ "name": "Monitor File size",
426
+ "endpoint": "c80889511cc51fe9",
427
+ "subscription": "s0",
428
+ "startImmediately": true,
429
+ "nodeId": "/1:FolderDemo/1:myGeneratedFile_txt.Size",
430
+ "samplingInterval": "100",
431
+ "discardOldest": true,
432
+ "queueSize": 10,
433
+ "x": 460,
434
+ "y": 1600,
435
+ "wires": [
436
+ [
437
+ "68b6d0ef6e1b51b3"
438
+ ]
439
+ ]
440
+ },
441
+ {
442
+ "id": "6c09869f97e2b37c",
443
+ "type": "OpcUa-Endpoint2",
444
+ "name": "",
445
+ "endpoint": "opc.tcp://opcuademo.sterfive.com:26543/UA/SampleServer",
446
+ "securityMode": "SignAndEncrypt",
447
+ "securityPolicy": "Basic256Sha256",
448
+ "userIdentityType": "UserName",
449
+ "pkiName": "",
450
+ "useTransport": false,
451
+ "maxChunkCount": 1,
452
+ "maxMessageSize": 8192,
453
+ "receiveBufferSize": 8192,
454
+ "sendBufferSize": 8192,
455
+ "subscriptions": [
456
+ {
457
+ "id": "s0",
458
+ "name": "Default Subscription",
459
+ "isDefault": true,
460
+ "parameters": {
461
+ "publishingEnabled": true,
462
+ "requestedLifetimeCount": "1000",
463
+ "requestedMaxKeepAliveCount": "10",
464
+ "requestedPublishingInterval": "1000",
465
+ "maxNotificationsPerPublish": "0",
466
+ "priority": "100"
467
+ }
468
+ },
469
+ {
470
+ "id": "s1",
471
+ "name": "Slow Subscription",
472
+ "isDefault": true,
473
+ "parameters": {
474
+ "publishingEnabled": true,
475
+ "requestedLifetimeCount": "100",
476
+ "requestedMaxKeepAliveCount": "3",
477
+ "requestedPublishingInterval": "5000",
478
+ "maxNotificationsPerPublish": "100",
479
+ "priority": "10"
480
+ }
481
+ },
482
+ {
483
+ "id": "s2",
484
+ "name": "Fast Subscription",
485
+ "isDefault": true,
486
+ "parameters": {
487
+ "publishingEnabled": true,
488
+ "requestedLifetimeCount": "4000",
489
+ "requestedMaxKeepAliveCount": "50",
490
+ "requestedPublishingInterval": "250",
491
+ "maxNotificationsPerPublish": "100",
492
+ "priority": "200"
493
+ }
494
+ }
495
+ ],
496
+ "namespaceAliases": [
497
+ {
498
+ "namespaceUri": "http://opcfoundation.org/UA/",
499
+ "alias": "ua"
500
+ },
501
+ {
502
+ "namespaceUri": "urn:opcuademo.sterfive.com:NodeOPCUA-Server-for-CTT",
503
+ "alias": "ns1"
504
+ },
505
+ {
506
+ "namespaceUri": "http://opcfoundation.org/UA/DI/",
507
+ "alias": "di"
508
+ },
509
+ {
510
+ "namespaceUri": "http://opcfoundation.org/UA/ADI/",
511
+ "alias": "adi"
512
+ },
513
+ {
514
+ "namespaceUri": "http://opcfoundation.org/UA/AutoID/",
515
+ "alias": "autoId"
516
+ },
517
+ {
518
+ "namespaceUri": "http://opcfoundation.org/UA/MachineVision",
519
+ "alias": "machineVision"
520
+ },
521
+ {
522
+ "namespaceUri": "http://opcfoundation.org/UA/Robotics/",
523
+ "alias": "robotics"
524
+ },
525
+ {
526
+ "namespaceUri": "http://opcfoundation.org/UA/CommercialKitchenEquipment/",
527
+ "alias": "commercialKitchenEquipment"
528
+ },
529
+ {
530
+ "namespaceUri": "http://opcfoundation.org/UA/ISA95-JOBCONTROL_V2/",
531
+ "alias": "isa95JobControl"
532
+ },
533
+ {
534
+ "namespaceUri": "http://opcfoundation.org/UA/Dictionary/IRDI",
535
+ "alias": "irdi"
536
+ },
537
+ {
538
+ "namespaceUri": "http://opcfoundation.org/UA/IA/",
539
+ "alias": "ia"
540
+ },
541
+ {
542
+ "namespaceUri": "http://opcfoundation.org/UA/Machinery/",
543
+ "alias": "machinery"
544
+ },
545
+ {
546
+ "namespaceUri": "http://opcfoundation.org/UA/Machinery/Jobs/",
547
+ "alias": "machineryJobs"
548
+ },
549
+ {
550
+ "namespaceUri": "http://opcfoundation.org/UA/MachineTool/",
551
+ "alias": "machineTool"
552
+ },
553
+ {
554
+ "namespaceUri": "http://opcfoundation.org/UA/PackML/",
555
+ "alias": "packML"
556
+ },
557
+ {
558
+ "namespaceUri": "urn://node-opcua-simulator",
559
+ "alias": "ns2"
560
+ },
561
+ {
562
+ "namespaceUri": "http://sterfive.com/UA/CoffeeMachine/",
563
+ "alias": "ns3"
564
+ }
565
+ ]
566
+ },
567
+ {
568
+ "id": "3b668d0b979f4075",
569
+ "type": "group",
570
+ "z": "5a915a7ec2edb327",
571
+ "name": "Read & Writte Append",
572
+ "style": {
573
+ "label": true
574
+ },
575
+ "nodes": [
576
+ "9ec7abc27f33c47b",
577
+ "65200fe187034ce0",
578
+ "c7a70ef6afb42e48"
579
+ ],
580
+ "x": 114,
581
+ "y": 1239,
582
+ "w": 732,
583
+ "h": 82
584
+ },
585
+ {
586
+ "id": "9ec7abc27f33c47b",
587
+ "type": "OpcUa-Client2-FileOperation",
588
+ "z": "5a915a7ec2edb327",
589
+ "g": "3b668d0b979f4075",
590
+ "inputs": 1,
591
+ "output": 1,
592
+ "name": "",
593
+ "endpoint": "c80889511cc51fe9",
594
+ "nodeId": "/ns1:FolderDemo/ns1:subfolder/ns1:Hello1_txt",
595
+ "mode": "Read",
596
+ "encoding": "none",
597
+ "format": "utf8",
598
+ "x": 450,
599
+ "y": 1280,
600
+ "wires": [
601
+ [
602
+ "65200fe187034ce0"
603
+ ]
604
+ ]
605
+ },
606
+ {
607
+ "id": "65200fe187034ce0",
608
+ "type": "OpcUa-Client2-FileOperation",
609
+ "z": "5a915a7ec2edb327",
610
+ "g": "3b668d0b979f4075",
611
+ "inputs": 1,
612
+ "output": 1,
613
+ "name": "",
614
+ "endpoint": "c80889511cc51fe9",
615
+ "nodeId": "/ns1:FolderDemo/ns1:subfolder/ns1:Hello1_txt",
616
+ "mode": "WriteAppend",
617
+ "encoding": "none",
618
+ "format": "buffer",
619
+ "x": 710,
620
+ "y": 1280,
621
+ "wires": [
622
+ []
623
+ ]
624
+ },
625
+ {
626
+ "id": "c7a70ef6afb42e48",
627
+ "type": "inject",
628
+ "z": "5a915a7ec2edb327",
629
+ "g": "3b668d0b979f4075",
630
+ "name": "",
631
+ "props": [],
632
+ "repeat": "",
633
+ "crontab": "",
634
+ "once": false,
635
+ "onceDelay": 0.1,
636
+ "topic": "",
637
+ "x": 210,
638
+ "y": 1280,
639
+ "wires": [
640
+ [
641
+ "9ec7abc27f33c47b"
642
+ ]
643
+ ]
644
+ },
645
+ {
646
+ "id": "285d857818cafd4b",
647
+ "type": "group",
648
+ "z": "5a915a7ec2edb327",
649
+ "name": "Append new line to file",
650
+ "style": {
651
+ "label": true
652
+ },
653
+ "nodes": [
654
+ "9266cc6c0c7b98fa",
655
+ "c46497cddbcca586"
656
+ ],
657
+ "x": 114,
658
+ "y": 1339,
659
+ "w": 492,
660
+ "h": 82
661
+ },
662
+ {
663
+ "id": "9266cc6c0c7b98fa",
664
+ "type": "inject",
665
+ "z": "5a915a7ec2edb327",
666
+ "g": "285d857818cafd4b",
667
+ "name": "",
668
+ "props": [
669
+ {
670
+ "p": "payload"
671
+ }
672
+ ],
673
+ "repeat": "",
674
+ "crontab": "",
675
+ "once": false,
676
+ "onceDelay": 0.1,
677
+ "topic": "",
678
+ "payload": "$now() & \"Hello World\"",
679
+ "payloadType": "jsonata",
680
+ "x": 210,
681
+ "y": 1380,
682
+ "wires": [
683
+ [
684
+ "c46497cddbcca586"
685
+ ]
686
+ ]
687
+ },
688
+ {
689
+ "id": "c46497cddbcca586",
690
+ "type": "OpcUa-Client2-FileOperation",
691
+ "z": "5a915a7ec2edb327",
692
+ "g": "285d857818cafd4b",
693
+ "inputs": 1,
694
+ "output": 1,
695
+ "name": "",
696
+ "endpoint": "c80889511cc51fe9",
697
+ "nodeId": "/ns1:FolderDemo/ns1:subfolder/ns1:Hello1_txt",
698
+ "mode": "WriteAppend",
699
+ "encoding": "none",
700
+ "format": "buffer",
701
+ "x": 470,
702
+ "y": 1380,
703
+ "wires": [
704
+ []
705
+ ]
706
+ }
707
+ ]