Prerequisites
Describe the bug
Currently, EVOK does not support defining Digital Outputs (DO) or Relay Outputs (RO) for more than 16 channels.
The implementation uses coils for writing and registers for reading, but it fails to handle cases where the channel index exceeds 16. In such situations, the logic does not properly manage the overflow into the next register/coil block, making it impossible to work with devices that expose more than 16 outputs.
Evok log
No response
Steps to reproduce
- Configure a device with more than 16 DO/RO channels.
- Attempt to access channel 17 (or higher).
- Observe that the operation fails, as EVOK does not process the overflow into the next register.
Expected behavior
EVOK should handle more than 16 DO/RO channels correctly by managing the overflow into subsequent coil/register addresses.
Actual behavior
Attempts to use channels beyond 16 fail, as EVOK only considers the first register/coil block.
Prerequisites
Describe the bug
Currently, EVOK does not support defining Digital Outputs (DO) or Relay Outputs (RO) for more than 16 channels.
The implementation uses coils for writing and registers for reading, but it fails to handle cases where the channel index exceeds 16. In such situations, the logic does not properly manage the overflow into the next register/coil block, making it impossible to work with devices that expose more than 16 outputs.
Evok log
No response
Steps to reproduce
Expected behavior
EVOK should handle more than 16 DO/RO channels correctly by managing the overflow into subsequent coil/register addresses.
Actual behavior
Attempts to use channels beyond 16 fail, as EVOK only considers the first register/coil block.