You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When defining a ModbusTag with array size > 1, the ModbusOptimizer.processReadResponses(...)ModbusTagCoil logic returns only the first bit as the result. The array logic works correctly for registers, but the customized coil logic is missing the array handling:
What it should do is check for the for the modbusTag.getNumberOfElements() and generate the PlcList when needed. My current development version fixes this as follows:
What happened?
When defining a
ModbusTag
with array size > 1, theModbusOptimizer.processReadResponses(...)
ModbusTagCoil
logic returns only the first bit as the result. The array logic works correctly for registers, but the customized coil logic is missing the array handling:plc4x/plc4j/drivers/modbus/src/main/java/org/apache/plc4x/java/modbus/base/optimizer/ModbusOptimizer.java
Lines 210 to 216 in a7ab2cf
What it should do is check for the for the
modbusTag.getNumberOfElements()
and generate thePlcList
when needed. My current development version fixes this as follows:Version
v0.13.0-SNAPSHOT
Programming Languages
Protocols
The text was updated successfully, but these errors were encountered: