Here's the topology:
There are several devices that may have different baudrates, parity,...
The slaves are connected to the "multi-master" computer through USB (hubs); each device gets it's own Com port. On each serial port a Modbus Master is created, basically each device gets it's own master. So each master communicates via a single serial port with only one device; but Masters run in parallel in respect to each other.
Everything seems to work ok for 1,2 maybe 3 connected devices; afterwards it all gets faulted; leaving the ports in odd states. Also, sometime reads are hanging forever.
Questions:
1. Does anyone took this approach? Any recommendations?
2. Should I suspect the serial ports implementation; the modbus implementation or both?
There are several devices that may have different baudrates, parity,...
The slaves are connected to the "multi-master" computer through USB (hubs); each device gets it's own Com port. On each serial port a Modbus Master is created, basically each device gets it's own master. So each master communicates via a single serial port with only one device; but Masters run in parallel in respect to each other.
Everything seems to work ok for 1,2 maybe 3 connected devices; afterwards it all gets faulted; leaving the ports in odd states. Also, sometime reads are hanging forever.
Questions:
1. Does anyone took this approach? Any recommendations?
2. Should I suspect the serial ports implementation; the modbus implementation or both?