thiagoralves / OpenPLC_v3

OpenPLC Runtime version 3
1.06k stars 432 forks source link

Mutiple Modbus RTU on Raspberry Pi #150

Closed eriklagerwall closed 2 years ago

eriklagerwall commented 3 years ago

After last update "Fix issue with multiple RTU connected to same port" reading Modbus register fails with the following message i Runtime Logs "Modbus Read Holding Registers failed on MB device XXX: Bad file descriptor".

There is no issue with only one slave device but when I configure two both fails. I did have som issues before the update with timeouts but after it´s not reading registers at all.

Running on Raspberry Pi 3 with RTU devices connected to UART-pins.