AllowRead

<< Click to Display Table of Contents >>

 

AllowRead

Boolean Configure this property to define whether this OPC Block must or must not be read by the OPC Driver. If this property is set to True, then the Driver automatically updates OPC Block Element's Value and Bits (from Bit00 to Bit31) properties in time spans. Otherwise, this OPC Block is not read if this property is set to False. Default value of this property is True. Example:

Sub Button1_Click()
  ' Stops tag reading
  Set obj = Application.GetObject("Driver1.tag")
  obj.AllowRead = False
End Sub

Was this page useful?