Been using the modbus binding (1.12.0.SNAPSHOT) for more than a year now with no issues, however I’m just now starting to send data the other way (OH2 writing data to the PLC, instead of just reading it).
I can write values to the PLC just fine if I use uint16 register types. However when the register is floating point, the PLC just gets senseless data (like 4.591846E -39 for example).
modbus config is like so:
# Outdoor Temp PLC
tcp.slave57.connection=192.168.1.18:502:0
tcp.slave57.id=2
tcp.slave57.start=28750
tcp.slave57.length=2
tcp.slave57.type=holding
tcp.slave57.valuetype=float32_swap
Trying to write decimal temperature values like 56.6 for example. They can be read from the PLC no problem, however writing values to the PLC doesn’t. Also, if I change length to just 1, the data the PLC gets is unchanged, making me think it’s not properly sending both registers.