I have connected Arduino to Mango via Modbus RTU protocol. When I had circa 6 - 10 registers set in Mango, it was all working pretty well - not ideally: I even made an empty loop and made Arduino running, while I occasionally got "aborted polls" error. When my number of registers increased to 49 I started to receive errors similar to following:
'Modbus': com.serotonin.modbus4j.exception.ModbusTransportException: com.serotonin.messaging.TimeoutException: request=SerialMessage [modbusMessage=ReadHoldingRegistersRequest [slaveId=1, getFunctionCode()=3, toString()=ReadNumericRequest [startOffset=10, numberOfRegisters=10]]]
With that, Arduino TX and RX diodes turn off and no communication is on the line for usually about 2 minutes and then it works for, like, 30 seconds.
I have tried different update period, quantizing, max read/write register count but nothing is helping so far. I benchmarked it against other SCADA systems and there it works fine, but I would like to keep using Mango for many reasons. Any possible solutions? :)