@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,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,157 @@
1
+ <xs:schema
2
+ xmlns:DI="http://opcfoundation.org/UA/DI/Types.xsd"
3
+ xmlns:xs="http://www.w3.org/2001/XMLSchema"
4
+ xmlns:ua="http://opcfoundation.org/UA/2008/02/Types.xsd"
5
+ xmlns:tns="http://opcfoundation.org/UA/ADI/Types.xsd"
6
+ targetNamespace="http://opcfoundation.org/UA/ADI/Types.xsd"
7
+ elementFormDefault="qualified"
8
+ >
9
+ <xs:import namespace="http://opcfoundation.org/UA/DI/Types.xsd" />
10
+ <xs:import namespace="http://opcfoundation.org/UA/2008/02/Types.xsd" />
11
+
12
+ <xs:simpleType name="ExecutionCycleEnumeration">
13
+ <xs:restriction base="xs:string">
14
+ <xs:enumeration value="IDLE_0" />
15
+ <xs:enumeration value="DIAGNOSTIC_1" />
16
+ <xs:enumeration value="CLEANING_2" />
17
+ <xs:enumeration value="CALIBRATION_4" />
18
+ <xs:enumeration value="VALIDATION_8" />
19
+ <xs:enumeration value="SAMPLING_16" />
20
+ <xs:enumeration value="DIAGNOSTIC_WITH_GRAB_SAMPLE_32769" />
21
+ <xs:enumeration value="CLEANING_WITH_GRAB_SAMPLE_32770" />
22
+ <xs:enumeration value="CALIBRATION_WITH_GRAB_SAMPLE_32772" />
23
+ <xs:enumeration value="VALIDATION_WITH_GRAB_SAMPLE_32776" />
24
+ <xs:enumeration value="SAMPLING_WITH_GRAB_SAMPLE_32784" />
25
+ </xs:restriction>
26
+ </xs:simpleType>
27
+ <xs:element name="ExecutionCycleEnumeration" type="tns:ExecutionCycleEnumeration" />
28
+
29
+ <xs:complexType name="ListOfExecutionCycleEnumeration">
30
+ <xs:sequence>
31
+ <xs:element name="ExecutionCycleEnumeration" type="tns:ExecutionCycleEnumeration" minOccurs="0" maxOccurs="unbounded" />
32
+ </xs:sequence>
33
+ </xs:complexType>
34
+ <xs:element name="ListOfExecutionCycleEnumeration" type="tns:ListOfExecutionCycleEnumeration" nillable="true"></xs:element>
35
+
36
+ <xs:simpleType name="DiagnosticStatusEnumeration">
37
+ <xs:restriction base="xs:string">
38
+ <xs:enumeration value="NORMAL_0" />
39
+ <xs:enumeration value="MAINTENANCE_REQUIRED_1" />
40
+ <xs:enumeration value="FAULT_2" />
41
+ </xs:restriction>
42
+ </xs:simpleType>
43
+ <xs:element name="DiagnosticStatusEnumeration" type="tns:DiagnosticStatusEnumeration" />
44
+
45
+ <xs:complexType name="ListOfDiagnosticStatusEnumeration">
46
+ <xs:sequence>
47
+ <xs:element name="DiagnosticStatusEnumeration" type="tns:DiagnosticStatusEnumeration" minOccurs="0" maxOccurs="unbounded" />
48
+ </xs:sequence>
49
+ </xs:complexType>
50
+ <xs:element name="ListOfDiagnosticStatusEnumeration" type="tns:ListOfDiagnosticStatusEnumeration" nillable="true"></xs:element>
51
+
52
+ <xs:simpleType name="AcquisitionResultStatusEnumeration">
53
+ <xs:restriction base="xs:string">
54
+ <xs:enumeration value="IN_PROGRESS_0" />
55
+ <xs:enumeration value="GOOD_1" />
56
+ <xs:enumeration value="BAD_2" />
57
+ <xs:enumeration value="UNKNOWN_3" />
58
+ <xs:enumeration value="PARTIAL_4" />
59
+ </xs:restriction>
60
+ </xs:simpleType>
61
+ <xs:element name="AcquisitionResultStatusEnumeration" type="tns:AcquisitionResultStatusEnumeration" />
62
+
63
+ <xs:complexType name="ListOfAcquisitionResultStatusEnumeration">
64
+ <xs:sequence>
65
+ <xs:element name="AcquisitionResultStatusEnumeration" type="tns:AcquisitionResultStatusEnumeration" minOccurs="0" maxOccurs="unbounded" />
66
+ </xs:sequence>
67
+ </xs:complexType>
68
+ <xs:element name="ListOfAcquisitionResultStatusEnumeration" type="tns:ListOfAcquisitionResultStatusEnumeration" nillable="true"></xs:element>
69
+
70
+ <xs:complexType name="AxisInformation">
71
+ <xs:annotation>
72
+ <xs:documentation>Structure defining the information for auxiliary axis for array type variables.</xs:documentation>
73
+ </xs:annotation>
74
+ <xs:sequence>
75
+ <xs:element name="EngineeringUnits" type="ua:EUInformation" minOccurs="0" nillable="true" />
76
+ <xs:element name="EURange" type="ua:Range" minOccurs="0" nillable="true" />
77
+ <xs:element name="title" type="ua:LocalizedText" minOccurs="0" nillable="true" />
78
+ <xs:element name="axisScaleType" type="tns:AxisScaleEnumeration" minOccurs="0" />
79
+ <xs:element name="axisSteps" type="ua:ListOfDouble" minOccurs="0" nillable="true" />
80
+ </xs:sequence>
81
+ </xs:complexType>
82
+ <xs:element name="AxisInformation" type="tns:AxisInformation" />
83
+
84
+ <xs:complexType name="ListOfAxisInformation">
85
+ <xs:sequence>
86
+ <xs:element name="AxisInformation" type="tns:AxisInformation" minOccurs="0" maxOccurs="unbounded" nillable="true" />
87
+ </xs:sequence>
88
+ </xs:complexType>
89
+ <xs:element name="ListOfAxisInformation" type="tns:ListOfAxisInformation" nillable="true"></xs:element>
90
+
91
+ <xs:simpleType name="AxisScaleEnumeration">
92
+ <xs:annotation>
93
+ <xs:documentation>Identify on which type of axis the data shall be displayed.</xs:documentation>
94
+ </xs:annotation>
95
+ <xs:restriction base="xs:string">
96
+ <xs:enumeration value="LINEAR_0" />
97
+ <xs:enumeration value="LOG_1" />
98
+ <xs:enumeration value="LN_2" />
99
+ </xs:restriction>
100
+ </xs:simpleType>
101
+ <xs:element name="AxisScaleEnumeration" type="tns:AxisScaleEnumeration" />
102
+
103
+ <xs:complexType name="XVType">
104
+ <xs:annotation>
105
+ <xs:documentation>Structure defining XY value like a list of peaks.</xs:documentation>
106
+ </xs:annotation>
107
+ <xs:sequence>
108
+ <xs:element name="x" type="xs:double" minOccurs="0" />
109
+ <xs:element name="value" type="xs:float" minOccurs="0" />
110
+ </xs:sequence>
111
+ </xs:complexType>
112
+ <xs:element name="XVType" type="tns:XVType" />
113
+
114
+ <xs:complexType name="ListOfXVType">
115
+ <xs:sequence>
116
+ <xs:element name="XVType" type="tns:XVType" minOccurs="0" maxOccurs="unbounded" nillable="true" />
117
+ </xs:sequence>
118
+ </xs:complexType>
119
+ <xs:element name="ListOfXVType" type="tns:ListOfXVType" nillable="true"></xs:element>
120
+
121
+ <xs:complexType name="ComplexType">
122
+ <xs:annotation>
123
+ <xs:documentation>Structure defining double IEEE 32 bits complex value</xs:documentation>
124
+ </xs:annotation>
125
+ <xs:sequence>
126
+ <xs:element name="Real" type="xs:float" minOccurs="0" />
127
+ <xs:element name="Imaginary" type="xs:float" minOccurs="0" />
128
+ </xs:sequence>
129
+ </xs:complexType>
130
+ <xs:element name="ComplexType" type="tns:ComplexType" />
131
+
132
+ <xs:complexType name="ListOfComplexType">
133
+ <xs:sequence>
134
+ <xs:element name="ComplexType" type="tns:ComplexType" minOccurs="0" maxOccurs="unbounded" nillable="true" />
135
+ </xs:sequence>
136
+ </xs:complexType>
137
+ <xs:element name="ListOfComplexType" type="tns:ListOfComplexType" nillable="true"></xs:element>
138
+
139
+ <xs:complexType name="DoubleComplexType">
140
+ <xs:annotation>
141
+ <xs:documentation>Structure defining double IEEE 64 bits complex value</xs:documentation>
142
+ </xs:annotation>
143
+ <xs:sequence>
144
+ <xs:element name="Real" type="xs:double" minOccurs="0" />
145
+ <xs:element name="Imaginary" type="xs:double" minOccurs="0" />
146
+ </xs:sequence>
147
+ </xs:complexType>
148
+ <xs:element name="DoubleComplexType" type="tns:DoubleComplexType" />
149
+
150
+ <xs:complexType name="ListOfDoubleComplexType">
151
+ <xs:sequence>
152
+ <xs:element name="DoubleComplexType" type="tns:DoubleComplexType" minOccurs="0" maxOccurs="unbounded" nillable="true" />
153
+ </xs:sequence>
154
+ </xs:complexType>
155
+ <xs:element name="ListOfDoubleComplexType" type="tns:ListOfDoubleComplexType" nillable="true"></xs:element>
156
+
157
+ </xs:schema>