Author Topic: Write Multiple holding register with modbustcp  (Read 1182 times)

mkeller2876

  • Newbie
  • *
  • Posts: 2
    • View Profile
Write Multiple holding register with modbustcp
« on: August 20, 2018, 02:05:47 PM »
Hi,

I'm trying to write a block of 63 registers. I have an array of integers setup. I can't get the right conversion to string to work with the modbustcpcom1.beginwrite statement. Basically I need to go from 16 bit unsigned integers to  string to be able to write.

Thanks
Mike

larryhts

  • Jr. Member
  • **
  • Posts: 98
    • View Profile
Re: Write Multiple holding register with modbustcp
« Reply #1 on: September 20, 2018, 09:37:22 AM »
Mike,    What type of device are you trying to write to? I use the ModbusTCP driver all the time to read and write data from a database to PLC's.  Could you explain a little more on what you are trying to do?