ModBus::TCPClient.connect('192.168.1.38', 502) do |cl|
cl.with_slave(1) do |slave|
puts slave.holding_registers[933..934].to_s
end
end
This sends the perfect request to my device except, like the title states, it starts with transaction id 1. For some reason, the device only answers id 0 requests. Is there a way to force rmodbus to start at 0?