Changes

Activity:AccessOPCUAVariable (Activity)

34 bytes added, 10:22, 4 March 2015
The AccessOPCUAVariable reads or writes a single OPC UA Variable that was previously configured within an [[CreateOPCUAConnection (Activity)|OPC Connection]].
 
= Description =
{{ActivityInfoBox
| title = Configure OPC UA Variable
}}
The AccessOPCUAVariable reads or writes a single OPC UA Variable that was previously configured within an [[CreateOPCUAConnection (Activity)|OPC Connection]]. ===Arguments===
{| class="wikitable sortable" | width = "50%"
|}
===Usage===
This activity is used to read or write a value of a single OPC variable within an [[CreateOPCUAScope (Activity)|OPC Scope]]. if ''Value'' is supplied with null, it will read the value of the variable. If ''Value'' is supplied with something else than null, it will attempt to write it to the variable.
If it is used outside of a scope activity, it has to be supplied with a valid OPC connection object as produced by an [[CreateOPCUAConnection (Activity)|OPC connection]] somewhere else in the workflow.
==Example==
The CreateOPCUAScope activity, as used in the larger example "Read value from OPC variable":
[[File:UI_Activity_CreateOPCUAConnection_Example.png|x700px]]
 
<headertabs />
==See also==
10,686
edits