@t0a5tbr0t/node-red-contrib-opcua 0.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.
Files changed (82) hide show
  1. package/CHANGELOG.md +6 -0
  2. package/LICENSE +20 -0
  3. package/Readme.md +239 -0
  4. package/images/PROSYS-OPC-UA-EXAMPLE2.png +0 -0
  5. package/images/nodeopcua64.png +0 -0
  6. package/images/opcuanode.png +0 -0
  7. package/images/opcuanodeLogo64.png +0 -0
  8. package/opcua/101-opcuaitem.html +106 -0
  9. package/opcua/101-opcuaitem.js +82 -0
  10. package/opcua/102-opcuaclient.html +274 -0
  11. package/opcua/102-opcuaclient.js +2741 -0
  12. package/opcua/103-opcuabrowser.html +71 -0
  13. package/opcua/103-opcuabrowser.js +230 -0
  14. package/opcua/104-opcuaserver.html +261 -0
  15. package/opcua/104-opcuaserver.js +1844 -0
  16. package/opcua/105-opcuaendpoint.html +224 -0
  17. package/opcua/105-opcuaendpoint.js +64 -0
  18. package/opcua/106-opcuaevent.html +110 -0
  19. package/opcua/106-opcuaevent.js +50 -0
  20. package/opcua/107-opcuamethod.html +244 -0
  21. package/opcua/107-opcuamethod.js +521 -0
  22. package/opcua/108-opcuarights.html +223 -0
  23. package/opcua/108-opcuarights.js +156 -0
  24. package/opcua/109-opcuadiscovery.html +51 -0
  25. package/opcua/109-opcuadiscovery.js +180 -0
  26. package/opcua/dump_certificates.js +55 -0
  27. package/opcua/icons/opcuanode.png +0 -0
  28. package/opcua/icons/opcuanodeLogo.png +0 -0
  29. package/opcua/opcua-basics.js +1061 -0
  30. package/opcua/public/vendor/opc-foundation/binary/OPC.ISA95.Types.bsd.xml +141 -0
  31. package/opcua/public/vendor/opc-foundation/binary/Opc.Ua.Adi.Types.bsd.xml +76 -0
  32. package/opcua/public/vendor/opc-foundation/binary/Opc.Ua.Di.Types.bsd.xml +11 -0
  33. package/opcua/public/vendor/opc-foundation/binary/Opc.Ua.Gds.Types.bsd.xml +25 -0
  34. package/opcua/public/vendor/opc-foundation/binary/Opc.Ua.Types.bsd.xml +2391 -0
  35. package/opcua/public/vendor/opc-foundation/csv/AttributeIds.csv +22 -0
  36. package/opcua/public/vendor/opc-foundation/csv/NodeIds.csv +5746 -0
  37. package/opcua/public/vendor/opc-foundation/csv/Opc.Ua.StatusCodes.csv +227 -0
  38. package/opcua/public/vendor/opc-foundation/csv/OpcUaDiModel.csv +1523 -0
  39. package/opcua/public/vendor/opc-foundation/csv/OpcUaGdsModel.csv +400 -0
  40. package/opcua/public/vendor/opc-foundation/csv/ServerCapabilities.csv +13 -0
  41. package/opcua/public/vendor/opc-foundation/csv/ServerCapabilityIdentifiers.csv +13 -0
  42. package/opcua/public/vendor/opc-foundation/csv/StatusCode.csv +227 -0
  43. package/opcua/public/vendor/opc-foundation/csv/StatusCodes.csv +227 -0
  44. package/opcua/public/vendor/opc-foundation/schema/OPC.ISA95.Types.xsd +163 -0
  45. package/opcua/public/vendor/opc-foundation/schema/OPCBinarySchema.xsd +119 -0
  46. package/opcua/public/vendor/opc-foundation/schema/Opc.Ua.Types.xsd +3938 -0
  47. package/opcua/public/vendor/opc-foundation/schema/SecuredApplication.xsd +106 -0
  48. package/opcua/public/vendor/opc-foundation/schema/UANodeSet.xsd +420 -0
  49. package/opcua/public/vendor/opc-foundation/xml/OPC.ISA95.NodeSet2.Nov52013.xml +3293 -0
  50. package/opcua/public/vendor/opc-foundation/xml/Opc.ISA95.NodeSet2.xml +3589 -0
  51. package/opcua/public/vendor/opc-foundation/xml/Opc.Ua.Adi.NodeSet2.xml +8301 -0
  52. package/opcua/public/vendor/opc-foundation/xml/Opc.Ua.Adi.Types.bsd.xml +76 -0
  53. package/opcua/public/vendor/opc-foundation/xml/Opc.Ua.Adi.Types.xsd +157 -0
  54. package/opcua/public/vendor/opc-foundation/xml/Opc.Ua.AutoID.NodeSet2.xml +6062 -0
  55. package/opcua/public/vendor/opc-foundation/xml/Opc.Ua.Di.NodeSet2.xml +5066 -0
  56. package/opcua/public/vendor/opc-foundation/xml/Opc.Ua.Di.PredefinedNodes.xml +11495 -0
  57. package/opcua/public/vendor/opc-foundation/xml/Opc.Ua.Di.Types.bsd +86 -0
  58. package/opcua/public/vendor/opc-foundation/xml/Opc.Ua.Di.Types.bsd.xml +11 -0
  59. package/opcua/public/vendor/opc-foundation/xml/Opc.Ua.Di.Types.xsd +155 -0
  60. package/opcua/public/vendor/opc-foundation/xml/Opc.Ua.Gds.NodeSet.xml +15226 -0
  61. package/opcua/public/vendor/opc-foundation/xml/Opc.Ua.Gds.NodeSet2.xml +6214 -0
  62. package/opcua/public/vendor/opc-foundation/xml/Opc.Ua.Gds.Types.bsd.xml +25 -0
  63. package/opcua/public/vendor/opc-foundation/xml/Opc.Ua.Gds.Types.xsd +30 -0
  64. package/opcua/public/vendor/opc-foundation/xml/Opc.Ua.NodeSet-2.xml +134881 -0
  65. package/opcua/public/vendor/opc-foundation/xml/Opc.Ua.NodeSet-3.xml +134881 -0
  66. package/opcua/public/vendor/opc-foundation/xml/Opc.Ua.NodeSet.xml +134881 -0
  67. package/opcua/public/vendor/opc-foundation/xml/Opc.Ua.NodeSet2.Part10.xml +832 -0
  68. package/opcua/public/vendor/opc-foundation/xml/Opc.Ua.NodeSet2.Part11.xml +793 -0
  69. package/opcua/public/vendor/opc-foundation/xml/Opc.Ua.NodeSet2.Part12.xml +3877 -0
  70. package/opcua/public/vendor/opc-foundation/xml/Opc.Ua.NodeSet2.Part13.xml +344 -0
  71. package/opcua/public/vendor/opc-foundation/xml/Opc.Ua.NodeSet2.Part3.xml +1103 -0
  72. package/opcua/public/vendor/opc-foundation/xml/Opc.Ua.NodeSet2.Part4.xml +3091 -0
  73. package/opcua/public/vendor/opc-foundation/xml/Opc.Ua.NodeSet2.Part5.xml +17092 -0
  74. package/opcua/public/vendor/opc-foundation/xml/Opc.Ua.NodeSet2.Part8.xml +525 -0
  75. package/opcua/public/vendor/opc-foundation/xml/Opc.Ua.NodeSet2.Part9.xml +2049 -0
  76. package/opcua/public/vendor/opc-foundation/xml/Opc.Ua.NodeSet2.Part999.xml +134 -0
  77. package/opcua/public/vendor/opc-foundation/xml/Opc.Ua.NodeSet2.xml +67169 -0
  78. package/opcua/public/vendor/opc-foundation/xml/Opc.Ua.PredefinedNodes.xml +64500 -0
  79. package/opcua/public/vendor/opc-foundation/xml/OpcUaDiModel.xml +1239 -0
  80. package/opcua/utils.js +55 -0
  81. package/package.json +68 -0
  82. package/users.json +22 -0
@@ -0,0 +1,141 @@
1
+ <opc:TypeDictionary
2
+ xmlns:opc="http://opcfoundation.org/BinarySchema/"
3
+ xmlns:ua="http://opcfoundation.org/UA/2008/02/Types.bsd"
4
+ xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
5
+ xmlns:tns="http://www.OPCFoundation.org/UA/2013/01/ISA95"
6
+ DefaultByteOrder="LittleEndian"
7
+ TargetNamespace="http://www.OPCFoundation.org/UA/2013/01/ISA95"
8
+ >
9
+ <opc:Import Namespace="http://opcfoundation.org/UA/" Location="Opc.Ua.BinarySchema.bsd"/>
10
+
11
+ <opc:OpaqueType Name="DecimalString">
12
+ </opc:OpaqueType>
13
+
14
+ <opc:OpaqueType Name="DateString">
15
+ </opc:OpaqueType>
16
+
17
+ <opc:OpaqueType Name="TimeString">
18
+ </opc:OpaqueType>
19
+
20
+ <opc:OpaqueType Name="DurationString">
21
+ </opc:OpaqueType>
22
+
23
+ <opc:OpaqueType Name="NormalizedString">
24
+ </opc:OpaqueType>
25
+
26
+ <opc:OpaqueType Name="Decimal">
27
+ </opc:OpaqueType>
28
+
29
+ <opc:StructuredType Name="CurrencyCode" BaseType="ua:ExtensionObject">
30
+ <opc:Field Name="namespaceUri" TypeName="opc:String" />
31
+ <opc:Field Name="unitId" TypeName="opc:Int32" />
32
+ <opc:Field Name="NoOfcharId" TypeName="opc:Int32" />
33
+ <opc:Field Name="charId" TypeName="opc:Byte" LengthField="NoOfcharId" />
34
+ <opc:Field Name="displayName" TypeName="ua:LocalizedText" />
35
+ <opc:Field Name="Description" TypeName="ua:LocalizedText" />
36
+ </opc:StructuredType>
37
+
38
+ <opc:OpaqueType Name="CDTAmountDecimal">
39
+ </opc:OpaqueType>
40
+
41
+ <opc:OpaqueType Name="CDTBinaryObject">
42
+ </opc:OpaqueType>
43
+
44
+ <opc:OpaqueType Name="CDTCode">
45
+ </opc:OpaqueType>
46
+
47
+ <opc:OpaqueType Name="CDTDateTime">
48
+ </opc:OpaqueType>
49
+
50
+ <opc:OpaqueType Name="CDTGraphic">
51
+ </opc:OpaqueType>
52
+
53
+ <opc:OpaqueType Name="CDTIdentifier">
54
+ </opc:OpaqueType>
55
+
56
+ <opc:OpaqueType Name="CDTMeasureDecimal">
57
+ </opc:OpaqueType>
58
+
59
+ <opc:OpaqueType Name="CDTMeasureDouble">
60
+ </opc:OpaqueType>
61
+
62
+ <opc:OpaqueType Name="CDTMeasureFloat">
63
+ </opc:OpaqueType>
64
+
65
+ <opc:OpaqueType Name="CDTMeasureInt16">
66
+ </opc:OpaqueType>
67
+
68
+ <opc:OpaqueType Name="CDTMeasureInt32">
69
+ </opc:OpaqueType>
70
+
71
+ <opc:OpaqueType Name="CDTMeasureInt64">
72
+ </opc:OpaqueType>
73
+
74
+ <opc:OpaqueType Name="CDTOrdinal">
75
+ </opc:OpaqueType>
76
+
77
+ <opc:OpaqueType Name="CDTPicture">
78
+ </opc:OpaqueType>
79
+
80
+ <opc:OpaqueType Name="CDTRateDecimal">
81
+ </opc:OpaqueType>
82
+
83
+ <opc:OpaqueType Name="CDTRateDouble">
84
+ </opc:OpaqueType>
85
+
86
+ <opc:OpaqueType Name="CDTRateFloat">
87
+ </opc:OpaqueType>
88
+
89
+ <opc:OpaqueType Name="CDTRateInt32">
90
+ </opc:OpaqueType>
91
+
92
+ <opc:OpaqueType Name="CDTSound">
93
+ </opc:OpaqueType>
94
+
95
+ <opc:OpaqueType Name="CDTVideo">
96
+ </opc:OpaqueType>
97
+
98
+ <opc:EnumeratedType Name="ISA95EquipmentElementLevelEnum" LengthInBits="32">
99
+ <opc:EnumeratedValue Name="Enterprise" Value="0" />
100
+ <opc:EnumeratedValue Name="Site" Value="1" />
101
+ <opc:EnumeratedValue Name="Area" Value="2" />
102
+ <opc:EnumeratedValue Name="ProcessCell" Value="3" />
103
+ <opc:EnumeratedValue Name="Unit" Value="4" />
104
+ <opc:EnumeratedValue Name="ProductionLine" Value="5" />
105
+ <opc:EnumeratedValue Name="WorkCell" Value="6" />
106
+ <opc:EnumeratedValue Name="ProductionUnit" Value="7" />
107
+ <opc:EnumeratedValue Name="StorageZone" Value="8" />
108
+ <opc:EnumeratedValue Name="StorageUnit" Value="9" />
109
+ <opc:EnumeratedValue Name="WorkCenter" Value="10" />
110
+ <opc:EnumeratedValue Name="WorkUnit" Value="11" />
111
+ <opc:EnumeratedValue Name="EquipmentModule" Value="12" />
112
+ <opc:EnumeratedValue Name="ControlModule" Value="13" />
113
+ <opc:EnumeratedValue Name="Other" Value="14" />
114
+ </opc:EnumeratedType>
115
+
116
+ <opc:StructuredType Name="ISA95TestResultMeasurementDataType" BaseType="ua:ExtensionObject">
117
+ <opc:Field Name="Id" TypeName="ua:NodeId" />
118
+ <opc:Field Name="TestResultDescription" TypeName="ua:LocalizedText" />
119
+ <opc:Field Name="Date" TypeName="opc:DateTime" />
120
+ <opc:Field Name="Result" TypeName="ua:Variant" />
121
+ <opc:Field Name="ResultUnitOfMeasure" TypeName="ua:EUInformation" />
122
+ <opc:Field Name="Expiration" TypeName="opc:DateTime" />
123
+ </opc:StructuredType>
124
+
125
+ <opc:StructuredType Name="ISA95TestResultDataType" BaseType="ua:ExtensionObject">
126
+ <opc:Field Name="Id" TypeName="ua:NodeId" />
127
+ <opc:Field Name="TestResultDescription" TypeName="ua:LocalizedText" />
128
+ <opc:Field Name="Date" TypeName="opc:DateTime" />
129
+ <opc:Field Name="Result" TypeName="ua:Variant" />
130
+ <opc:Field Name="ResultUnitOfMeasure" TypeName="opc:String" />
131
+ <opc:Field Name="Expiration" TypeName="opc:DateTime" />
132
+ </opc:StructuredType>
133
+
134
+ <opc:StructuredType Name="ISA95AssetAssignmentDataType" BaseType="ua:ExtensionObject">
135
+ <opc:Field Name="Id" TypeName="ua:NodeId" />
136
+ <opc:Field Name="AssinmentDescription" TypeName="ua:LocalizedText" />
137
+ <opc:Field Name="StartTime" TypeName="opc:DateTime" />
138
+ <opc:Field Name="EndTime" TypeName="opc:DateTime" />
139
+ </opc:StructuredType>
140
+
141
+ </opc:TypeDictionary>
@@ -0,0 +1,76 @@
1
+ <opc:TypeDictionary
2
+ xmlns:DI="http://opcfoundation.org/UA/DI/"
3
+ xmlns:opc="http://opcfoundation.org/BinarySchema/"
4
+ xmlns:ua="http://opcfoundation.org/UA/2008/02/Types.bsd"
5
+ xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
6
+ xmlns:tns="http://opcfoundation.org/UA/ADI/"
7
+ DefaultByteOrder="LittleEndian"
8
+ TargetNamespace="http://opcfoundation.org/UA/ADI/"
9
+ >
10
+ <opc:Import Namespace="http://opcfoundation.org/UA/DI/" Location="Opc.Ua.Di.BinarySchema.bsd"/>
11
+ <opc:Import Namespace="http://opcfoundation.org/UA/" Location="Opc.Ua.BinarySchema.bsd"/>
12
+
13
+ <opc:EnumeratedType Name="ExecutionCycleEnumeration" LengthInBits="32">
14
+ <opc:EnumeratedValue Name="IDLE" Value="0" />
15
+ <opc:EnumeratedValue Name="DIAGNOSTIC" Value="1" />
16
+ <opc:EnumeratedValue Name="CLEANING" Value="2" />
17
+ <opc:EnumeratedValue Name="CALIBRATION" Value="4" />
18
+ <opc:EnumeratedValue Name="VALIDATION" Value="8" />
19
+ <opc:EnumeratedValue Name="SAMPLING" Value="16" />
20
+ <opc:EnumeratedValue Name="DIAGNOSTIC_WITH_GRAB_SAMPLE" Value="32769" />
21
+ <opc:EnumeratedValue Name="CLEANING_WITH_GRAB_SAMPLE" Value="32770" />
22
+ <opc:EnumeratedValue Name="CALIBRATION_WITH_GRAB_SAMPLE" Value="32772" />
23
+ <opc:EnumeratedValue Name="VALIDATION_WITH_GRAB_SAMPLE" Value="32776" />
24
+ <opc:EnumeratedValue Name="SAMPLING_WITH_GRAB_SAMPLE" Value="32784" />
25
+ </opc:EnumeratedType>
26
+
27
+ <opc:EnumeratedType Name="DiagnosticStatusEnumeration" LengthInBits="32">
28
+ <opc:EnumeratedValue Name="NORMAL" Value="0" />
29
+ <opc:EnumeratedValue Name="MAINTENANCE_REQUIRED" Value="1" />
30
+ <opc:EnumeratedValue Name="FAULT" Value="2" />
31
+ </opc:EnumeratedType>
32
+
33
+ <opc:EnumeratedType Name="AcquisitionResultStatusEnumeration" LengthInBits="32">
34
+ <opc:EnumeratedValue Name="IN_PROGRESS" Value="0" />
35
+ <opc:EnumeratedValue Name="GOOD" Value="1" />
36
+ <opc:EnumeratedValue Name="BAD" Value="2" />
37
+ <opc:EnumeratedValue Name="UNKNOWN" Value="3" />
38
+ <opc:EnumeratedValue Name="PARTIAL" Value="4" />
39
+ </opc:EnumeratedType>
40
+
41
+ <opc:StructuredType Name="AxisInformation" BaseType="ua:ExtensionObject">
42
+ <opc:Documentation>Structure defining the information for auxiliary axis for array type variables.</opc:Documentation>
43
+ <opc:Field Name="EngineeringUnits" TypeName="ua:EUInformation" />
44
+ <opc:Field Name="EURange" TypeName="ua:Range" />
45
+ <opc:Field Name="title" TypeName="ua:LocalizedText" />
46
+ <opc:Field Name="axisScaleType" TypeName="tns:AxisScaleEnumeration" />
47
+ <opc:Field Name="NoOfaxisSteps" TypeName="opc:Int32" />
48
+ <opc:Field Name="axisSteps" TypeName="opc:Double" LengthField="NoOfaxisSteps" />
49
+ </opc:StructuredType>
50
+
51
+ <opc:EnumeratedType Name="AxisScaleEnumeration" LengthInBits="32">
52
+ <opc:Documentation>Identify on which type of axis the data shall be displayed.</opc:Documentation>
53
+ <opc:EnumeratedValue Name="LINEAR" Value="0" />
54
+ <opc:EnumeratedValue Name="LOG" Value="1" />
55
+ <opc:EnumeratedValue Name="LN" Value="2" />
56
+ </opc:EnumeratedType>
57
+
58
+ <opc:StructuredType Name="XVType" BaseType="ua:ExtensionObject">
59
+ <opc:Documentation>Structure defining XY value like a list of peaks.</opc:Documentation>
60
+ <opc:Field Name="x" TypeName="opc:Double" />
61
+ <opc:Field Name="value" TypeName="opc:Float" />
62
+ </opc:StructuredType>
63
+
64
+ <opc:StructuredType Name="ComplexType" BaseType="ua:ExtensionObject">
65
+ <opc:Documentation>Structure defining double IEEE 32 bits complex value</opc:Documentation>
66
+ <opc:Field Name="Real" TypeName="opc:Float" />
67
+ <opc:Field Name="Imaginary" TypeName="opc:Float" />
68
+ </opc:StructuredType>
69
+
70
+ <opc:StructuredType Name="DoubleComplexType" BaseType="ua:ExtensionObject">
71
+ <opc:Documentation>Structure defining double IEEE 64 bits complex value</opc:Documentation>
72
+ <opc:Field Name="Real" TypeName="opc:Double" />
73
+ <opc:Field Name="Imaginary" TypeName="opc:Double" />
74
+ </opc:StructuredType>
75
+
76
+ </opc:TypeDictionary>
@@ -0,0 +1,11 @@
1
+ <opc:TypeDictionary
2
+ xmlns:opc="http://opcfoundation.org/BinarySchema/"
3
+ xmlns:ua="http://opcfoundation.org/UA/2008/02/Types.bsd"
4
+ xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
5
+ xmlns:tns="http://opcfoundation.org/UA/DI/"
6
+ DefaultByteOrder="LittleEndian"
7
+ TargetNamespace="http://opcfoundation.org/UA/DI/"
8
+ >
9
+ <opc:Import Namespace="http://opcfoundation.org/UA/" Location="Opc.Ua.BinarySchema.bsd"/>
10
+
11
+ </opc:TypeDictionary>
@@ -0,0 +1,25 @@
1
+ <opc:TypeDictionary
2
+ xmlns:opc="http://opcfoundation.org/BinarySchema/"
3
+ xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
4
+ xmlns:ua="http://opcfoundation.org/UA/"
5
+ xmlns:tns="http://opcfoundation.org/UA/GDS/"
6
+ DefaultByteOrder="LittleEndian"
7
+ TargetNamespace="http://opcfoundation.org/UA/GDS/"
8
+ >
9
+ <!-- This File was generated on 2015-08-17 and supports the specifications supported by version 1.1.335.1 of the OPC UA deliverables. -->
10
+ <opc:Import Namespace="http://opcfoundation.org/UA/" Location="Opc.Ua.BinarySchema.bsd"/>
11
+
12
+ <opc:StructuredType Name="ApplicationRecordDataType" BaseType="ua:ExtensionObject">
13
+ <opc:Field Name="ApplicationId" TypeName="ua:NodeId" />
14
+ <opc:Field Name="ApplicationUri" TypeName="opc:String" />
15
+ <opc:Field Name="ApplicationType" TypeName="ua:ApplicationType" />
16
+ <opc:Field Name="NoOfApplicationNames" TypeName="opc:Int32" />
17
+ <opc:Field Name="ApplicationNames" TypeName="ua:LocalizedText" LengthField="NoOfApplicationNames" />
18
+ <opc:Field Name="ProductUri" TypeName="opc:String" />
19
+ <opc:Field Name="NoOfDiscoveryUrls" TypeName="opc:Int32" />
20
+ <opc:Field Name="DiscoveryUrls" TypeName="opc:String" LengthField="NoOfDiscoveryUrls" />
21
+ <opc:Field Name="NoOfServerCapabilities" TypeName="opc:Int32" />
22
+ <opc:Field Name="ServerCapabilities" TypeName="opc:String" LengthField="NoOfServerCapabilities" />
23
+ </opc:StructuredType>
24
+
25
+ </opc:TypeDictionary>