EUHigh

<< Click to Display Table of Contents >>

 

EUHigh

Number Defines the highest value to set to the Value property, adjusting the scale to the device's value before setting it. Likewise, at the moment of a writing the inverse operation is performed before sending the value to the Driver. This conversion only occurs when the EnableScaling property is set to True. Default value of this property is 1000. Example:

Sub Tag_OnStartRunning()
  ' Performs a scale adjustment of an
  ' Element's temperature
  ' ranging from 0 to 255 on OPC server,
  ' but it actually means
  ' 0 to 100 Celsius degrees
  EU = "Celsius degrees"
  EnableScaling = True
  DeviceHigh = 255
  DeviceLow = 0
  EUHigh = 100
  EULow = 0
End Sub

Was this page useful?