The HYDROMETER driver does not map the variables to the correct registers according the configured variable offset.
Summary
When a variable with according offset is advised for every register in the zenon runtime, the HYDROMETER driver maps the register values correctly to the appropriate variable offsets. When only having a few variables advised in the zenon runtime to the appropriate registers, the mapping of variable offsets to registers is done incorrectly as follows:
The variable with the lowest offset (independent if e. g. 5, 10, or 100) is mapped to the first register. The remaining variables are mapped to the second, third, fourth register and so on according ascending order of their variable offsets.
Description
When a variable with according offset is advised for every register in the zenon runtime, the HYDROMETER driver maps the register values correctly to the appropriate variable offsets. When only having a few variables advised in the zenon runtime to the appropriate registers, the mapping of variable offsets to registers is done incorrectly as follows:
The variable with the lowest offset (independent if e. g. 5, 10, or 100) is mapped to the first register. The remaining variables are mapped to the second, third, fourth register and so on according ascending order of their variable offsets.
Solution
This issue has been addressed by improving the mapping mechanism of variable offsets to registers.
Issue Number: 37157
Fixed on Date: 3.10.2016
Versions: 7.11 0 BUILD 32428