Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Unit ID of MODBUS response is ignored?
#3
Quote:Go to the Modbus Connection settings. Is the checkbox "Permanent connection" checked?
Change the state of this checkbox. Then try again.

Yes, "Permanent connection" is checked. If I uncheck it and try again, as of now, this error has not occurred.
P.S: But "Alternative URL or IP" will no longer work with the option unckecked.

Quote:I want to check it, but id is not so easy.

Is it possible to utilize the Transaction ID? Generate a unique transaction ID for each request, and cache the request until it is timed out. Whenever a response is received, look for a cached request with the same transaction ID, if found and their Unit IDs also match, process the response and complete the request, otherwise, discard the response.
Reply


Messages In This Thread
RE: Unit ID of MODBUS response is ignored? - by azuo_lee - 01-26-2023, 08:20 AM

Forum Jump:


Users browsing this thread: 2 Guest(s)