Value

<< Click to Display Table of Contents >>

 

Value

Variant Updated whenever a new value is read from the OPC UA server, according to the specification of the ItemID property of the OPC UA Block Tag where this object is inserted, and considering the Index property, which specifies the position of this Element in OPC UA Block Tag's array. The data type of this property (integer, floating point, text, etc.) depends on the Driver to which it is linked and its configuration.

This property is only updated this way if the AllowRead property of the OPC UA Block Tag to which this OPC UA Block Element belongs is set to True, according to the scan time defined in the Scan property of the OPC UA Subscription that contains the OPC UA Block Tag. If the AllowWrite property of the OPC UA Block Tag object is set to True, users can write values to a device simply by setting a new value to the Value property.

This is also the default property of OPC UA Block Element objects. Therefore, a reference by value to an OPC UA Block Element object does not need to explicit the Value property to access this value. If this property is not being updated, check if the Index property is correctly configured (its value must be between zero and the size of the OPC UA Block Tag minus one).

Was this page useful?