Author Topic: Cannot connect NX1P2 to AdvancedHMI  (Read 2218 times)

JoaoMartins13

  • Newbie
  • *
  • Posts: 5
    • View Profile
Cannot connect NX1P2 to AdvancedHMI
« on: April 09, 2021, 04:29:56 AM »
Hello guys,

I'm trying to connect my Omron PLC NX1P2 to the AdvancedHMI. I'm just trying to do now the first steps of the initial video.
The connection is in EthernetIP and the IP of PLC is 192.168.250.1.
I don't know what is missing, can someone help me?
Here images of my properties.

The error message in English is Incorrectly formatted input string

Thank you


Archie

  • Administrator
  • Hero Member
  • *****
  • Posts: 5322
    • View Profile
    • AdvancedHMI
Re: Cannot connect NX1P2 to AdvancedHMI
« Reply #1 on: April 09, 2021, 08:39:01 AM »
In PLCAddressValue for DigitalPanelMeter, you have "Value". This needs to be a PLC address such as D0

JoaoMartins13

  • Newbie
  • *
  • Posts: 5
    • View Profile
Re: Cannot connect NX1P2 to AdvancedHMI
« Reply #2 on: April 09, 2021, 11:32:13 AM »
I've changed to D0, but it's not working too, I have the message attached in the image.

Archie

  • Administrator
  • Hero Member
  • *****
  • Posts: 5322
    • View Profile
    • AdvancedHMI
Re: Cannot connect NX1P2 to AdvancedHMI
« Reply #3 on: April 09, 2021, 11:35:07 AM »
Can you ping the address 192.168.250.1 ?

JoaoMartins13

  • Newbie
  • *
  • Posts: 5
    • View Profile
Re: Cannot connect NX1P2 to AdvancedHMI
« Reply #4 on: April 09, 2021, 07:18:12 PM »
Yes, may be is the target node address that is wrong.

Archie

  • Administrator
  • Hero Member
  • *****
  • Posts: 5322
    • View Profile
    • AdvancedHMI
Re: Cannot connect NX1P2 to AdvancedHMI
« Reply #5 on: April 09, 2021, 07:34:50 PM »
Can you run a Wireshark capture to see if the PLC is responding with anything?

JoaoMartins13

  • Newbie
  • *
  • Posts: 5
    • View Profile
Re: Cannot connect NX1P2 to AdvancedHMI
« Reply #6 on: April 12, 2021, 04:08:46 AM »
Here is the wireshark capture.

Archie

  • Administrator
  • Hero Member
  • *****
  • Posts: 5322
    • View Profile
    • AdvancedHMI
Re: Cannot connect NX1P2 to AdvancedHMI
« Reply #7 on: April 12, 2021, 07:44:50 AM »
The requests are going out, but the PLC is not responding. Can you see any possible problems with the network address, node, etc. ?

Archie

  • Administrator
  • Hero Member
  • *****
  • Posts: 5322
    • View Profile
    • AdvancedHMI
Re: Cannot connect NX1P2 to AdvancedHMI
« Reply #8 on: April 12, 2021, 07:55:17 AM »
I do see in the Wireshark where the destination Unit is 0, but in the screen capture you provided it is 250

I seem to recall on one of the Omron controllers where the Unit No. had to be the same as the last number of the IP address.
« Last Edit: April 12, 2021, 07:57:42 AM by Archie »

JoaoMartins13

  • Newbie
  • *
  • Posts: 5
    • View Profile
Re: Cannot connect NX1P2 to AdvancedHMI
« Reply #9 on: April 12, 2021, 12:19:09 PM »
In the sysmac studio I can't change the value.
But in Visual Basic is possible to do.
The image in the attachment shows the node address with 250. It is supose to work now?

Archie

  • Administrator
  • Hero Member
  • *****
  • Posts: 5322
    • View Profile
    • AdvancedHMI
Re: Cannot connect NX1P2 to AdvancedHMI
« Reply #10 on: April 12, 2021, 02:35:17 PM »
Can you run another Wireshark to see if the PLC is now responding?

Alpaslan

  • Newbie
  • *
  • Posts: 26
    • View Profile
Re: Cannot connect NX1P2 to AdvancedHMI
« Reply #11 on: April 22, 2021, 08:27:25 AM »
check your targetnode address. as i know it must be 0 not 250
One step at a time baby, One step at a time.