I have Raspberry PI3 as ModbusTCP Master and 4 devices wich are Modbus slave. I have managed to communicate with them, but somewhere this communication has stop working. If I test Modbus communication to these 4 devices it is working OK (tested with Modscan) but with Raspberry it is not working and I can not find the problem. I have tryed with only one device, but the problem is the same; Keep getting warning Bus is not running (it is running, because i tested it).
Hello!
I have Raspberry PI3 as ModbusTCP Master and 4 devices wich are Modbus slave. I have managed to communicate with them, but somewhere this communication has stop working. If I test Modbus communication to these 4 devices it is working OK (tested with Modscan) but with Raspberry it is not working and I can not find the problem. I have tryed with only one device, but the problem is the same; Keep getting warning Bus is not running (it is running, because i tested it).
Her is my test program from Dropbox
https://www.dropbox.com/s/z5na72bn3433t ... S.rar?dl=0
Best regards
Dear Mr. Burger,
you will find the reason in the error codes.
BR
ThK