Integer value
The second one is an integer value. You can choose the word type (16-bit signed, g_WD_Val) or long type (32-bit signed, g_N_Val). Then decide if converting this integer value before displaying, for example, you can convert -32768 ~ +32767 to -10.0 ~ +10.0 and then display it. You may also specify the number of decimal places. For example, if the converted value is 5.1234 and is set up to show 2 decimal places, it shows 5.12. If it’s not converted, and the decimal places is 2, the original integer value 9,876 will show 98.76.
Another Function for the "g_WD_Val" and "g_N_Val" is to set up the up-limit and lower-limit values. User can set up it to display a text or a different background and foreground color, or to blink if the value is over the limitation, so that to attract the user’s more attention.
|