Author Topic: Modbus On 30000 and 40000 ranges  (Read 1913 times)

mariley2250

  • Newbie
  • *
  • Posts: 31
    • View Profile
Modbus On 30000 and 40000 ranges
« on: March 16, 2016, 11:22:44 PM »
Hi,

I seem to be unable to get values from registers 30000 and 40000 through advancedhmi.. I can get the values when i use Modbus Poll but it seems to hang when using advnacedhmi..

anyone else with same problem

marcus

Archie

  • Administrator
  • Hero Member
  • *****
  • Posts: 5322
    • View Profile
    • AdvancedHMI
Re: Modbus On 30000 and 40000 ranges
« Reply #1 on: March 17, 2016, 09:19:58 AM »
Using version 3.99d and a Modbus simulator I did this quick test to verify the driver works as expected:

- Add a ModbusTCPCom to the form
- Set the IPAddress (in my case to 127.0.0.1 since the simulator is on the same PC)
- Add a BasicLabel to the form
- Set PLCAddressValue to 40001
- Set PLCAddressKeypad to 40001
- Run the application
- Click on the BasicLabel to get a keypad, then enter a new value

The BasicLabel would then change to the new value and it would also show in the simulator

mariley2250

  • Newbie
  • *
  • Posts: 31
    • View Profile
Re: Modbus On 30000 and 40000 ranges
« Reply #2 on: March 17, 2016, 04:52:53 PM »
I have tried this solution but the value does not update.. It works with any value above 30002 but just not the first for some reason.

Thanks

mariley2250

  • Newbie
  • *
  • Posts: 31
    • View Profile
Re: Modbus On 30000 and 40000 ranges
« Reply #3 on: March 17, 2016, 04:54:35 PM »
acutally i believe it has something to do with the offset..

on the inputs there is an offset of 1.