There seems to be a bug in the Modbus handling.
The following is saved in Default.pro file:
[Modbus_connection_0]
Description=EFC 5610
ID=0
Loopinterval=175
Retrycount=10
Type=RTU
Serial_Baudrate=38400
Serial_Comport=COM4
Serial_Databits=8
Serial_Parity=Non
Serial_RS485mode=True
Serial_Stopbits=1
The Timeout value is not saved and is reset every time I restart UCCNC, as a result the Modbus communication is not reliable because the 25ms default value is far too short, so messages simply time out, read values become unreliable and random. Changing timeout to 100ms (even 75ms) solves the problem, but the value is not saved, so next time I restart it is reset to 25ms. This is very annoying. I tried to find out where that 25 comes from so I could manually patch it but it seems impossible.
Is there any possible work-around this? Even if it means some quick and dirty patch, I'd be very happy if this could be fixed somehow.
Also, some times the loaded settings are totally wrong, for example port number field is empty, bps is set to 9600, RS485 is unselected. I don't see a pattern in when this is happening, but there is definitely a pattern in the first part, i.e. the fact that the timeout value is not saved, always reset to 25ms after start of UCCNC.