<< Click to Display Table of Contents >>
EU |
This property is used to identify which engineering unit its value represents, 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 Tag_OnStartRunning()
' Adjusts the scale of temperature
' ranging from 0 to 255 at PLC, but it actually means
' 0 to 100 Celsius degrees
EU = "Celsius degrees"
EnableScaling = True
DeviceHigh = 255
DeviceLow = 0
EUHigh = 100
EULow = 0
End Sub