Hello Guest it is April 18, 2024, 11:58:03 PM

Author Topic: TCP Modbus doesn't refresh holding registers?  (Read 3976 times)

0 Members and 1 Guest are viewing this topic.

Offline PtD

*
  •  9 9
    • View Profile
TCP Modbus doesn't refresh holding registers?
« on: January 05, 2017, 04:58:18 PM »
Hi,

I have set up an Arduino as TCP Modbus slave, and I have programmed it to increase the value of the holding registers every 2 seconds. I can connect to it just fine, I get the registers read and all seems perfect... Except that Mach3 only reads the up-to-date value of the holding registers only when I press "Apply" in the "Setup TCP Modbus" dialog. I have a brain that writes these values in user DROs, and the DROs have the values from the moment of pressing "Apply", they never change, unless I open the setup dialog and press "Apply" again.

In the TCP Modbus test dialog the values are updated every time when I press "Read".

Is this the expected behavior, or I'm missing something?

Mach3 version is R3.043.066, I am a licensed user. Configuration screens are attached below.

Thanks in advance.