Difference between revisions of "Activity:ConfigureOpcUa...Item (Activity)"
Line 18: | Line 18: | ||
! Argument!! Type !! Direction !! Purpose | ! Argument!! Type !! Direction !! Purpose | ||
|- align="left" | |- align="left" | ||
− | | BrowsePath|| | + | | BrowsePath|| {{String_MSDN}}|| In || Specifies the browse path of the item on the server e.g. "/2:Plant1/2:Machine1/2:Unit1/2:Sensor1"). For a more detailed descriptions please refer to the OPC UA specification. |
|- align="left" | |- align="left" | ||
− | | AutoRead|| | + | | AutoRead|| {{Boolean_MSDN}}|| In || Specifies the variable to be read from the server automatically after a connection to the server has been established. |
|- align="left" | |- align="left" | ||
− | | Subscribe|| | + | | Subscribe|| {{Boolean_MSDN}}|| In || Specifies that the variable should automatically be entered into a subscription with the server to be updated with any changes to its value. |
|- align="left" | |- align="left" | ||
− | | Interval|| | + | | Interval|| {{TimeSpan_MSDN}}|| In || Specifies the publishing interval to be used for the subscription. All variables using the same publishing interval are grouped together in a subscription for each publishing interval. |
|- align="left" | |- align="left" | ||
| IndexRange|| OpcUaIndexRange|| In || For arrays, specifies the index range to be read or written. If left null, the entire array will be transferred. | | IndexRange|| OpcUaIndexRange|| In || For arrays, specifies the index range to be read or written. If left null, the entire array will be transferred. | ||
|- align="left" | |- align="left" | ||
− | | Result|| | + | | Result|| {{Boolean_MSDN}}|| Out || True if successful, false if failed |
|} | |} | ||
Revision as of 14:47, 8 January 2015
Configure OPC UA Variable | |
---|---|
Name | ConfigureOPCUAVariable |
Purpose | Configure a single OPC UA variable |
Category | UBIK OPC UA Interface |
Returns | True if successful |
Version | 2.4.1+ |
The ConfigureOPCUAVariable registers a single variable within an OPC UA Connection. Only registered variables can be accessed later on with AccessOPCUAVariable activities.
Contents
Arguments
Argument | Type | Direction | Purpose |
---|---|---|---|
BrowsePath | String | In | Specifies the browse path of the item on the server e.g. "/2:Plant1/2:Machine1/2:Unit1/2:Sensor1"). For a more detailed descriptions please refer to the OPC UA specification. |
AutoRead | Boolean | In | Specifies the variable to be read from the server automatically after a connection to the server has been established. |
Subscribe | Boolean | In | Specifies that the variable should automatically be entered into a subscription with the server to be updated with any changes to its value. |
Interval | TimeSpan | In | Specifies the publishing interval to be used for the subscription. All variables using the same publishing interval are grouped together in a subscription for each publishing interval. |
IndexRange | OpcUaIndexRange | In | For arrays, specifies the index range to be read or written. If left null, the entire array will be transferred. |
Result | Boolean | Out | True if successful, false if failed |
Usage
This activity is used to configure a single variable for later access within an OPC scope, only configured variables will be accessible.
Example
The ConfigureOPCUAVariable activity, as used in the larger example "Read value from OPC variable":