<< Click to Display Table of Contents >>
EU |
Identifies the engineering unit represented by this value, such as degrees, meters, or KW/h. The default value of this property is empty. The next script contains an example of using this property.
Sub Element_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