Author Topic: OmronEthernetFINSCom to CJ2M PLC problems  (Read 991 times)

CPJLS

  • Newbie
  • *
  • Posts: 6
    • View Profile
OmronEthernetFINSCom to CJ2M PLC problems
« on: June 06, 2019, 10:58:16 AM »
Hi,

I follwed the initial setup instructions but can't seem to get any communication via UDP to a CJ2M plc over ethernet (OmronEthernetFINSCom).
Tried various changes to the node table in CX programmer and setings within VS2019. I think they are correct as any changes away from the current setup result in EIP transport errors.
Wireshark (trace attached) shows a 0x2108 (write not possible) error being returned.

Anyone have any ideas?

Thanks

Archie

  • Administrator
  • Hero Member
  • *****
  • Posts: 5322
    • View Profile
    • AdvancedHMI
Re: OmronEthernetFINSCom to CJ2M PLC problems
« Reply #1 on: June 06, 2019, 12:14:32 PM »
This is a long shot, but try setting your TragetNodeAddress to 201

CPJLS

  • Newbie
  • *
  • Posts: 6
    • View Profile
Re: OmronEthernetFINSCom to CJ2M PLC problems
« Reply #2 on: June 06, 2019, 12:22:04 PM »
Thanks for the quick reply.
Changing to 201 gives the same error and same result in wireshark.

Archie

  • Administrator
  • Hero Member
  • *****
  • Posts: 5322
    • View Profile
    • AdvancedHMI
Re: OmronEthernetFINSCom to CJ2M PLC problems
« Reply #3 on: June 06, 2019, 01:06:18 PM »
I tried this on a CP1H and compared the FINS request packet. They were exactly the same except for the source node (which is based of IP address) and serviceID (which is incremented for each packet). But it works for the CP1H, so there must be some setting in your PLC.

Archie

  • Administrator
  • Hero Member
  • *****
  • Posts: 5322
    • View Profile
    • AdvancedHMI
Re: OmronEthernetFINSCom to CJ2M PLC problems
« Reply #4 on: June 06, 2019, 01:12:13 PM »
I don't think the version matters since the packets appear to be the same, but what version of AdvancedHMI are you using?

I did find this thread from a while ago where some problems were worked out and the CJ2M was then working:

https://www.advancedhmi.com/forum/index.php?topic=795.0

CPJLS

  • Newbie
  • *
  • Posts: 6
    • View Profile
Re: OmronEthernetFINSCom to CJ2M PLC problems
« Reply #5 on: June 07, 2019, 08:57:59 AM »
I've reset all data areas on the PLC and re-initialised to factory settings.
I set the IP address of the PLC and PC to be the same as in your example.
Attached are the 2 wireshark traces, one with node address set to 0 in the VS control and the other set to 30.
Different error messages being returned for each then with the previous examples.

I'm using 3.99r1 and I created a new copy of the project from the zip and built it from scratch to eliminate any errors from there.

Thanks

Archie

  • Administrator
  • Hero Member
  • *****
  • Posts: 5322
    • View Profile
    • AdvancedHMI
Re: OmronEthernetFINSCom to CJ2M PLC problems
« Reply #6 on: June 07, 2019, 09:20:35 AM »
You are quite a few versions behind with 3.99r. I am testing on the latest beta version of 3.99y. Try that version:

https://www.advancedhmi.com/forum/index.php?topic=2058.165

CPJLS

  • Newbie
  • *
  • Posts: 6
    • View Profile
Re: OmronEthernetFINSCom to CJ2M PLC problems
« Reply #7 on: June 10, 2019, 04:41:26 AM »
Works perfectly now! Thanks very much!