Timeouts after Error #11

Closed
zeeed opened this Issue Aug 9, 2011 · 2 comments

2 participants

@zeeed

On Win 7, rmodbus 1.0.3, ruby 1.8.7.302 with this serial connection:
ModBus::RTUClient.connect('COM4', 115200, { :data_bits => 8, :stop_bits => 1, :parity => SerialPort::EVEN })

Everything works really smoothly until I hit a "ILLEGAL DATA ADDRESS" response from the slave. After that, rmodbus only times out even though the device responds just as before. Increasing the timeout doesn't seem to have an effect. Closing and re-opening the serial connection helps, after that everything works fine again.

@flipback flipback added a commit that referenced this issue Aug 9, 2011
@flipback Fixed issue #11 c3b2d25
@flipback
Owner

Done. Please update your gem and if all right close this issue)
Thanks for report)

@zeeed

kudos for the fastest fix. works great, thank you!

@zeeed zeeed closed this Aug 10, 2011
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment