Difference between revisions of "Activity:AccessOPCUAVariable (Activity)"
m (moved (.*)(Activity)) to AccessOPCUAVariable (Activity)) |
|||
Line 1: | Line 1: | ||
+ | The AccessOPCUAVariable reads or writes a single OPC UA Variable that was previously configured within an [[CreateOPCUAConnection (Activity)|OPC Connection]]. | ||
+ | |||
+ | = Description = | ||
{{ActivityInfoBox | {{ActivityInfoBox | ||
| title = Configure OPC UA Variable | | title = Configure OPC UA Variable | ||
Line 10: | Line 13: | ||
}} | }} | ||
− | + | ===Arguments=== | |
− | + | ||
− | ==Arguments== | + | |
{| class="wikitable sortable" | width = "50%" | {| class="wikitable sortable" | width = "50%" | ||
Line 29: | Line 30: | ||
|} | |} | ||
− | ==Usage== | + | ===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. | 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. | 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": | The CreateOPCUAScope activity, as used in the larger example "Read value from OPC variable": | ||
[[File:UI_Activity_CreateOPCUAConnection_Example.png|x700px]] | [[File:UI_Activity_CreateOPCUAConnection_Example.png|x700px]] | ||
+ | |||
+ | <headertabs /> | ||
==See also== | ==See also== |
Revision as of 10:22, 4 March 2015
The AccessOPCUAVariable reads or writes a single OPC UA Variable that was previously configured within an OPC Connection.