12-11-2018 12:02 PM
I have a LabVIEW Modbus RTU master, using an IO-server.
I have four registers in the S400001 ++ range (signed int-16) that I want to read/write to.
The master-application runs on one pc and the slave-simulator runs on a different pc.
They are connected using RS485 via USB/RS485 adapters.
The slave-simulator is WinModbus which has always received/transmitted expected results.
The problem (or issue) now is the amount of registers beeing polled by the master. I am polling four individual registers each second, but the slave responds with
each second...
Does anybody know if this behaviour is expected ?
Has anyone experienced the same behaviour ?
12-12-2018 05:24 AM
Hello Ron,
This might be expected behavior, however it's hard to tell without more information. Can you provide a screenshot of WinModbus showing what the exact requests are that you find suspicious? Please note that there are different types of requests, e.g. checking for component indices, "new data" flags, and actual data.
With four registers once per second from here:
The problem (or issue) now is the amount of registers beeing polled by the master. I am polling four individual registers each second,
Do you refer to the way you configured your I/O server? Or is that how you connect to the I/O server from your LabVIEW application?
12-12-2018 11:20 AM
Hi ikaiser.
My first two registers have addresses 44097 and 44116, and hence they are within the "poll for 20" range. I guess LabVIEW decides the more efficient way of reading both these in one call.
Thanks for responding