|Top Previous Next|
PROPERTY DATA TYPE NOTE
gValue property holds the formatted value that is formed by means of gPrecision and gPLCAddressDataType.
gPrecision property defines the number of characters after decimal point.
Function of this property depends on gPLCAddressDataType setting.
gPLCAddressDataType should be set in accordance with data type of PLC address.
Suppose gPrefixText = ": ", and gUnitText = " Volt"
* : Inconsistent setting
C# code example
gValue is a read only property, can not be set by code.
gNumericLabel.gPrecision = 2;
gNumericLabel.gPLCAddressDataType = gPLCAdressDataType.Integer;