Update cookies preferences
Promotic

AccessPath - property of the ExtOpcDa object

Description:
Access path to the variable in the OPC server.
Syntax:
String AccessPath
Values:
Returns the access path to the variable in the OPC server.
Note:
Property access for read only. The value of this property is defined in the "AccessPath" configurator of this object.
Example1:
Examples for obtaining this property in the script.
JavaScriptVBScriptSelect and copy to clipboard

value = pMe.Pm("/data/#vars/Temperature/#ext/opcc").AccessPath;

// or
value = pMe.Pm("/data/#vars/Temperature").Extension("opcc").AccessPath;

// or
value = pMe.Pm("/data").Item("Temperature").Extension("opcc").AccessPath;
Example2:
The example for obtaining this property by Macro expression from another data extension via pVar variable.
Example3:

History:
Pm8.03.00: Created
PROMOTIC 9.0.28 SCADA system documentation MICROSYS, spol. s r.o.

Send page remarkContact responsible person
© MICROSYS, spol. s r.o.