Author Topic: Reading Multiple registers  (Read 1271 times)

HMT

  • Newbie
  • *
  • Posts: 3
    • View Profile
Reading Multiple registers
« on: October 15, 2014, 12:05:27 AM »
Hi, I have a HMI now created in AdvancedHMI using the modbus TCP driver.  My customer is requesting that it datalogs a set of 100 registers to xml.  I can write the XML in VB no problem but how do I use the Modbus TCP driver to gather a block of 100 registers?  If possible I would like to read the 100 registers into a byte array then I can use to code to store the data in XML.

Alternatively I could write a separate executable to go on the HMI and datalog using a modbus TCP driver, but would this conflict with the AdvancedHMI comms?

Thanks
Heather
« Last Edit: October 15, 2014, 02:34:32 AM by HMT »