01-26-2023, 08:45 AM
What is the purpose of the multiplier in the Modbus variable settings?
For example, if there is a float variable with a value of 1.0, and its multipliler is set to 0.001, then:
That is, the variable multiplier is only used as a divisor when saving, and is ignored in all other cases. Is this a bug or by design?
For example, if there is a float variable with a value of 1.0, and its multipliler is set to 0.001, then:
- the associated value display widget (with "value conversion" unchecked) will show 1.0;
- open the associated value editor popup (with "value conversion" unchecked), it will also show 1.0;
- change the value to 2.0 and save, the float value will be updated to 2000.0;
- now both the value display and the value editor will show 2000.0, which is very confusing: the value entered when saving (2.0) does not match the value displayed (2000.0) after saving.
That is, the variable multiplier is only used as a divisor when saving, and is ignored in all other cases. Is this a bug or by design?