Sensors
The sensors created by the command CreateOrUpdateSensors contains several custom properties used to store information about the OPC UA node it represents, and to implement the reporting technique defined for it (subscription or polling).
In details, the custom properties that are always present on a Sensor, and are related to the OPC UA object are:
-
BrowseName: The one defined in the OPC UA server.
-
Example: Extruder1
-
- NodeId: The nodeId defined in the OPC UA server.
-
Example: ns=2;s=Extruder1
-
-
ParentNodeId: The NodeId of the parent node, as defined in the OPC UA server.
-
Example: ns=0;i=85
-
SubscriptionInfo
In case of subscription, a custom property for each monitored item in the OPC UA server in subscription mode. In details, the key of the property will be in the form SubscriptionInfo-<NodeId> of the tag monitored, and the value will be a JSON-formatted string containing the details of the subscription and also of the capability and property in the SensorType.
The following is an example of a custom property for the node Head1 under the Extruder object.
PollingInfo
In case of polling, a custom property for each monitored item in the OPC UA server in subscription mode. In details, the key of the property will be in the form PollingInfo-<property in the SensorType>, and the value will be a JSON-formatted string containing the NodeId, the capability in the SensorType, and periodicInterval value.
The following is an example of a custom property for the node Head1 under the Extruder object.