You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: content/en/docs/appstore/use-content/platform-supported-content/modules/opc-ua-connector.md
+5-2Lines changed: 5 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -121,6 +121,9 @@ The core information of the configuration to connect to an OPC-UA server must be
121
121
122
122
*`SecurityPolicyURI` – This determines what algorithm to use to encrypt and sign the data.
123
123
*`_IsConnected`: This is set to *true* when connection is open.
124
+
*`IsWritingDataValueOnly`: This determines how the connector writes data.
125
+
* If *true* – the connector writes only the DataValue to the node.
126
+
* If *false* – the connector writes the DataValue, SourceTimestamp, and StatusCode to the node.
124
127
125
128
### Identity Token {#identity-token}
126
129
@@ -218,7 +221,7 @@ For more advanced cases, use the [read action](#read-action) as described below.
218
221
219
222
The read action allows you to read specific attributes of a node. The request object for the action is `ReadNodeRequest`, which contains a list of `ReadNodeReadValueIDs`.
220
223
221
-
Each `ReadNodeReadValueID` object specifies the attributes of the nodes you want to read. Upon executing the read action, a `ReadNodeResponse` object is returned. This object contains a list of `ReadNodeResponseResults`, each corresponding to the attributes requested, in the same order they were specified.
224
+
Each `ReadNodeReadValueID` object specifies the attributes of the nodes you want to read. Upon executing the read action, a `ReadNodeResponse` object is returned which has associations with a list of `ReadNodeResponseResults` objects. Each `ReadNodeResponseResults` object has a 1-1 association with a `ReadNodeResponseReadValueId` object so you can match the requested attributes with the results.
222
225
223
226
Each `ReadNodeResponseResult` object contains a `DataValue` attribute. This is the raw payload returned from the OPC-UA Server.
224
227
@@ -249,7 +252,7 @@ The Write action allows you to write to specific attributes on a node. The reque
249
252
250
253
The `WriteNode` objects describe how and what to write to a node.
251
254
252
-
The `Write node` action returns a `WriteNodeResponse` object. The object contains a list of `WriteNodeStatusCode` that contains the statuses of the written attributes in the same order as the request. Check the statuses to know whether the action succeeded.
255
+
The `Write node` action returns a `WriteNodeResponse` object. This object has associations with a list of `WriteNodeStatusCode`objects that contains the statuses of the written attributes. Each `WriteNodeStatusCode` has a 1-1 association with a `WriteResponseWriteValue` object that allows you to match the resulting status code with the requested write action. Check the statuses to see whether the action succeeded.
253
256
254
257
To write the `VALUE` attribute on a `VariableNode`, set the `NodeId` on your `WriteNode` to the right node ID, the `AttributeId` to *ENUM_AttributeId.VALUE*, and the `Payload` to one based on the table above in the [Read Action](#read-action) section and the `VariantType` to the correct type.
0 commit comments