Author Topic: Modbus RTU write to address  (Read 3095 times)

DjustH

  • Newbie
  • *
  • Posts: 3
    • View Profile
Modbus RTU write to address
« on: August 27, 2014, 11:34:14 AM »
Hi,

I'm using advanced HMI v3.66 to communicate with an Allen Bradley Micro 830 via the Modbus RTU driver. When i try to write to address 400001 and 400002 it always writes the value 1 to the registers. Is this a bug or am i doing something wrong?

ModbusRTUCom1.Write("400001", "16")
ModbusRTUCom1.Write("400002", "4")

Thanks

Archie

  • Administrator
  • Hero Member
  • *****
  • Posts: 5322
    • View Profile
    • AdvancedHMI
Re: Modbus RTU write to address
« Reply #1 on: August 27, 2014, 11:44:48 AM »
This very well could be a bug. That driver is very new and still being debugged. I will check this to see if I can replicate it.

Archie

  • Administrator
  • Hero Member
  • *****
  • Posts: 5322
    • View Profile
    • AdvancedHMI
Re: Modbus RTU write to address
« Reply #2 on: August 27, 2014, 11:01:27 PM »
Version 3.67 has been posted that should fix the writing problem.

DjustH

  • Newbie
  • *
  • Posts: 3
    • View Profile
Re: Modbus RTU write to address
« Reply #3 on: August 28, 2014, 10:03:55 AM »
Nice work, appreciate the quick reply. Just finished downloading and testing version 3.67 and it works great!

Thanks