Fixed BUG - when Modbus Master mapped to Counter only send 1 byte to Comfort Counter. With the new version, 16 bits are sent to the mapped Comfort counter in signed format -32568 to + 32767 range
Fixed Bug Modbus Slave check max size to stop overwrite modbus parameters
Slave Mode Fixed bug in Sensors processing
Slave Mode write holding register send 2 bytes to counter instead of 1 byte
Slave Mode for counter, if UCM Counter is not initialised from CM9001, send request for counter so Counters are updated. Also update sensors from CM9001 if UCM sensor is not initialised.
Monitor Mode size of bytes 64 was 48 max bytes. ignore bytes after buffer full but allow partial message up to 48 to be sent, without clogging up the Comfort RS485 bus in Monitor mode
start poll timeout at reset for ucm/modbus master to fix problem that polling does not start sometimes.
dont delay 1.5 secs betwen each poll . introduce pollcycle time delay 1.5 secs between polling cycles but poll immediately after reply except line 0
Flag updated from Comfort sends write holding register as well as write coil. Previous only write Coil is mapped to coil, but sdid not write hokding regisyter if mapped to Holdning regster. Flag will write coil 0000 or 0xff00, write holding register as 0000 or 0001
Slave Mode for Input registers, modbus addess 00 to 0x1f are sensor registers not alarms so external modbus master with input registers can work with our ucm modbus slave
Last edited on Sunday Dec 27th, 2020 08:32 am by slychiu