I think I have a different problem.
I’ve sniffed COM1 on both my computer, and I’ve got this result:
Master sends this telegram (I’m reading Holding Register 0..66 from
address 1 to 53):
1, 3, 0, 0, 0, 65, 197, 251
Because my slave doesn’t answer, my master sends the same telegram 4
times:
1, 3, 0, 0, 0, 65, 197, 251
1, 3, 0, 0, 0, 65, 197, 251
1, 3, 0, 0, 0, 65, 197, 251
1, 3, 0, 0, 0, 65, 197, 251
Then I get a Timeout exception, and I pass to my next slave address,
it sends 4 times the same telegram, gets, timeout…
My slave never answers to any request, then after some seconds it get
“Function code 0 not supported” exception.
I’ve made the same test with Modbus simulator, and it works ok, after
1st telegram it relays with all data, then my master passes to next
slave address, slave relays, everything is ok.
I’ve tried with different COM1 configuration (Handshake, RTS (it is
enable on the simulator).
I’ve got always the same result (no nmodbus master-slave RTU
comunication).
On 25 Nov, 15:24, David Harris <
davidrosshar...@gmail.com> wrote:
> Check a few threads down for my solution to this, and a further
> analysis of the real problem:
>
>
http://groups.google.com/group/nmodbus-discuss/browse_thread/thread/2...