Hi. I recently got myself a raspberry PI. I was thinking of running a web server with modbus communication in Mango M2M. I have a FTDI usb/serial converter connected to my PI. The problem is that i am getting this error message constantly after a few minutes of polling:
"com.serotonin.modbus4j.exception.ModbusTransportException: com.serotonin.modbus4j.sero.messaging.TimeoutException: request=SerialMessage [modbusMessage=ReadCoilsRequest [slaveId=1, getFunctionCode()=1, toString()=ReadBinaryRequest [startOffset=0, numberOfBits=1]]]"
I have been running the same communication with Mango M2M in Windows 10 for a long time with the same FTDI converter and it has been working perfectly. So the problem seem to be in Linux/Rasbian OS .
I have been googling this problem but havent find anything that have been working properly
My modbus RTU setting are:
Updaterate: 30s
Timeout: 500ms
Retries: 2
Has anyone any idea what the problem is?
Thanks in advance //Mikael