We have an issue with trying to get the Modbus to work.
We have a load cell amplifier set for 5ms turnaround and I have 2 SITcore modules. One is set as a master and the other as a slave.
The SITcore master polls the load cell amp and then writes to a register on the slave. This all worked fine when I was using a Simply Modbus Slave simulator with 0 turnaround delay.
With both the SITcore slave and the amp slave connected on the bus, the slave gives a timeout. The amp replies with the register data.
If we disconnect the amp, the slave now gets the update and has no timeouts. Same for amp only connected, we get the register values. Each time the amp works with the 5ms turnaround. If this is set to zero, we get a timeout when both slaves are connected.
Something seems to be messed up in the slave handling code within the Modbus source. It doesn’t seem to be correctly handling the received messages from the amp slave. It’s as if the buffer is messed up.
I don’t have access to the 2 SITcore devices as they were shipped to the client last week. It was all working fine on the test bench with the Simply Modbus slave simulator as the load cell. I had this same issue many years ago but I thought this had been fixed.