Author Topic: Problem with ModbusTCPCom and DataSubscriber2  (Read 3526 times)

robkwan

  • Newbie
  • *
  • Posts: 44
    • View Profile
Re: Problem with ModbusTCPCom and DataSubscriber2
« Reply #15 on: September 20, 2019, 10:09:16 AM »
The register numbers provided in the earlier post contain single and group. The group is just me too lazy to type them all. I subscribe programmatically rather than using the collector at design. And all registers are subscribed individually, hence I have "else if" for each one in the change event. I have Excel spreadsheet to track all the registers, then I column copy & paste to the tag cs file. It is easier for me to manage register number update with the single register method.

Godra

  • Hero Member
  • *****
  • Posts: 1446
    • View Profile
Re: Problem with ModbusTCPCom and DataSubscriber2
« Reply #16 on: September 20, 2019, 12:47:07 PM »
I have no other suggestions for you.

If you check Archie's reply in this topic:

https://www.advancedhmi.com/forum/index.php?topic=2505.0

it might suggest that too many subscriptions could have something misbehave or misfire.