Author Topic: Modbus TCP - Config IP adress  (Read 859 times)

ldsangr3

  • Newbie
  • *
  • Posts: 3
    • View Profile
Modbus TCP - Config IP adress
« on: July 19, 2017, 05:11:50 PM »
I am using Modbus tcp and config this with 192.168.1.2..

the communication failed, I use WiresHark, and the communication show  192.168.0.255
Why ??
And the procotol UDP, not Modbus TCP
what is wrong ??
thanks guys
« Last Edit: July 19, 2017, 05:40:38 PM by ldsangr3 »

Archie

  • Administrator
  • Hero Member
  • *****
  • Posts: 5260
    • View Profile
    • AdvancedHMI
Re: Modbus TCP - Config IP adress
« Reply #1 on: July 19, 2017, 05:27:07 PM »
What is your IP, subnet, and gateway set to for your PC?

ldsangr3

  • Newbie
  • *
  • Posts: 3
    • View Profile
Re: Modbus TCP - Config IP adress
« Reply #2 on: July 19, 2017, 05:43:00 PM »
Device is a Thinget HMI config with 192.168.1.2

Pc...192.168.1.3
sub 255.255.255.0
Gateway 192.168.0.1

Archie

  • Administrator
  • Hero Member
  • *****
  • Posts: 5260
    • View Profile
    • AdvancedHMI
Re: Modbus TCP - Config IP adress
« Reply #3 on: July 19, 2017, 06:17:56 PM »
Your gateway is not in the same subnet which may be giving it problems. Try changing your gateway to 192.168.1.1

ldsangr3

  • Newbie
  • *
  • Posts: 3
    • View Profile
Re: Modbus TCP - Config IP adress
« Reply #4 on: July 21, 2017, 10:21:39 AM »
Thanks for you help...
Make these changes, but I think the ip I was watching keeps popping up so I think it corresponds to another process in my pc :(   ..... 192.168.1.255

However, I do not see in wireshark the HMI advance communication,  the app say invalid address input string not was not in a correct format...

But I'm not sure if there is communication because I can not see this in the wireshark

Archie

  • Administrator
  • Hero Member
  • *****
  • Posts: 5260
    • View Profile
    • AdvancedHMI
Re: Modbus TCP - Config IP adress
« Reply #5 on: July 21, 2017, 10:42:09 AM »
What Modbus address are you putting in the PLCAddress property?