Author Topic: DataSubscriber2 to expose changing modbus register  (Read 934 times)

MrPike

  • Sr. Member
  • ****
  • Posts: 297
    • View Profile
DataSubscriber2 to expose changing modbus register
« on: June 14, 2018, 04:46:32 PM »
Archie,  i need to examine about a 100 registers of a controller via ModbusTCP and I am trying to determine which one has changed without knowing in advance. is there a way for the DS2 to expose which register value(or index)has changed without having to write 100 ElseIf statements?  Maybe one code snippet that can put the value in a msgbox. Thanks.

Phrog30

  • Guest
Re: DataSubscriber2 to expose changing modbus register
« Reply #1 on: July 02, 2018, 07:25:30 AM »
On data changed event e.plcaddress is the item that changed.