Author Topic: ModbusRTUCom not working! plz help  (Read 1279 times)

James

  • Newbie
  • *
  • Posts: 4
    • View Profile
ModbusRTUCom not working! plz help
« on: August 04, 2015, 07:30:23 PM »
Hi,

I am trying to read the register of the Electromagnetic flow-meter "https://library.e.abb.com/public/91eead459bb0d349c12577fc0033d2b5/COI_FET2XX_MOD_TBL-EN.pdf ".
Could you please let me know what should be the settings for ModbusRTUcom to make it read its registers. what will be its baudrate or pollrateoverride etc? And what exactly i should be putting it in    Basiclabel   PLCaddressvalue ???


Regards

Archie

  • Administrator
  • Hero Member
  • *****
  • Posts: 5325
    • View Profile
    • AdvancedHMI
Re: ModbusRTUCom not working! plz help
« Reply #1 on: August 05, 2015, 03:55:20 PM »
I see no mention of the baud rate in the manual. You may have to contact the manufacturer.

A typical address would be something like 40001

James

  • Newbie
  • *
  • Posts: 4
    • View Profile
Re: ModbusRTUCom not working! plz help
« Reply #2 on: August 05, 2015, 06:42:39 PM »
Thanks Archie, I got the Baud rate i.e. 4800.

But i am getting this error when i try to read a register.

Throw New MfgControl.AdvancedHMI.Drivers.Common.PLCDriverException("No Reponse from PLC. Ensure driver settings are correct.")

Could you please tell me what can i try to fix it?

Archie

  • Administrator
  • Hero Member
  • *****
  • Posts: 5325
    • View Profile
    • AdvancedHMI
Re: ModbusRTUCom not working! plz help
« Reply #3 on: August 05, 2015, 08:06:55 PM »
It looks like the device is RS-485. What kind of adapter are you using and do you have the right com port set?

James

  • Newbie
  • *
  • Posts: 4
    • View Profile
Re: ModbusRTUCom not working! plz help
« Reply #4 on: August 05, 2015, 08:20:31 PM »
Actually the device has a USB cable attached  that I am using, and is showing me COM2 in my device manager so i using COM2 in ModbusRTU. How can i know its RS-232 or 485? Thanks

Archie

  • Administrator
  • Hero Member
  • *****
  • Posts: 5325
    • View Profile
    • AdvancedHMI
Re: ModbusRTUCom not working! plz help
« Reply #5 on: August 05, 2015, 08:35:59 PM »
Page 2 of the manual you gave a link to refers to the Modbus option as an RS485. I do not see anything about USB in that manual.