D
I am looking for some help with a system that I need to make some changes to. The system currently includes two PCs both running modbus master software (Modbus RTU). The two modbus masters are trying to read exactly the same data from 15 slave devices. The two PCs are connected to the slave devices through independant serial links (i.e. the slave devices have two com ports), but the slave devices only have one UART, so only one PC can communicate with them at a time. At the moment only one of the masters is running at any one time (one is enabled and the other dsiabled), which works OK, but we have to have complicated logic to make sure that only one of the masters is enabled.
What I would like to do is allow both masters to be enabled all of the time, but have some device that sits in between the masters and the slaves that synchronises the communications so that the slave devices think they are only communicating to one master at any one time. There would need to be some kind of buffering/time slicing happening on the device as we need both masters to be getting updates from the slaves as quickly as possible.
I hope I have described my problem sufficiently. Any help with this would be grately appreciated.
Regards
Dave
What I would like to do is allow both masters to be enabled all of the time, but have some device that sits in between the masters and the slaves that synchronises the communications so that the slave devices think they are only communicating to one master at any one time. There would need to be some kind of buffering/time slicing happening on the device as we need both masters to be getting updates from the slaves as quickly as possible.
I hope I have described my problem sufficiently. Any help with this would be grately appreciated.
Regards
Dave
