Author Topic: Project problem with ModbusRTUCom1  (Read 2779 times)

Vicky

  • Newbie
  • *
  • Posts: 2
    • View Profile
Project problem with ModbusRTUCom1
« on: July 23, 2014, 07:20:41 PM »
Hi, Could you please help me out...
I am trying to talk using COM port and Modbus.. And everything works fine when I try to run my program...   I am using   

ModbusRTUcom1   Baudrate   9600
Port COm3
Station add  1

and trying to get value on basic label using   PLCaddressvalue  as       30001   its works all nice when I just run my program but   when I publish      Basic label shows me   

JUst       "     d    "       ... Why is that so...  when I change my PLCaddvalue as   30000 then its give same error in runtime too... but it works nice with 30001 except after publish... how to solve it??? any references to add in publish properties?  Please help   Thanks           
« Last Edit: July 23, 2014, 08:22:04 PM by Vicky »

Archie

  • Administrator
  • Hero Member
  • *****
  • Posts: 5322
    • View Profile
    • AdvancedHMI
Re: Problem During Publish the project using ModbusRTUCom1
« Reply #1 on: July 23, 2014, 07:39:38 PM »
I recommend avoiding the use of Publish. The recommended practice is to copy the complete solution to the target device and create a shortcut to AdvancedHMI\bin\debug\AdvancedHMI.exe

Just an FYI, the ModbusRTU driver was recently released before it was fully tested, so it has some known issues.
« Last Edit: July 23, 2014, 09:22:43 PM by Archie »

Vicky

  • Newbie
  • *
  • Posts: 2
    • View Profile
Re: Problem During Publish the project using ModbusRTUCom1
« Reply #2 on: July 23, 2014, 08:16:08 PM »
Wow Awesome...    Thank you Thanks a lot... It workssss     :) ;)