News:

  • September 12, 2025, 07:21:13 PM

Login with username, password and session length

Author Topic: BX-P-ECOMEX and EtherNet/IP Problems  (Read 1464 times)

plcnut

  • Hero Member
  • *****
  • Posts: 813
    • premiersi.com
BX-P-ECOMEX and EtherNet/IP Problems
« on: June 25, 2025, 10:34:48 AM »
Hello Gentlemen! Long time no see.

I am working on a new system with a BRX (BX-DM1E-36ED23-D), and am trying to use the Ethernet POM for an EtherNet/IP connection to a Murrelektronik Premium EtherNet/IP IO-Link master (54631).
I am able to make the pieces work just fine using the OB (on-board) Ethernet port of the BRX, but I have not been able to make it work using the POM.

I have the OB port and the POM on two separate subnets, but they are both connected to an unmanaged switch while I am testing.
NetEdit shows that both the POM and OB have the same IP address (See screenshot).
This happens even though the POM is on a different subnet.

Any Ideas on what I may be doing wrong?

Also, I would really like to turn up the RPI for the EtherNet/IP adapter to be faster than 10ms. I was curious why the 10ms limit.

Thanks!
- Attachments and other options
Circumstances don't determine who we are, they only reveal it.

~Jason Wolthuis
Premier Systems Integration, LLC
http://premiersi.com

BobO

  • Host Moderator
  • Hero Member
  • *****
  • Posts: 6116
  • Yes Pinky, Do-more will control the world!
Re: BX-P-ECOMEX and EtherNet/IP Problems
« Reply #1 on: June 25, 2025, 10:57:06 AM »
Been a while!!

NetEdit is showing the PLC's internal port settings, not the POM. This is because NetEdit is just for manipulating the IP setup data for internal ports. The ECOM-EX is a secondary NIC on the one-and-only IP stack in the PLC, it is not a coprocessor with it's own stack. It's confusing and unfortunate, but not easy to fix.

"It has recently come to our attention that users spend 95% of their time using 5% of the available features. That might be relevant." -BobO

BobO

  • Host Moderator
  • Hero Member
  • *****
  • Posts: 6116
  • Yes Pinky, Do-more will control the world!
Re: BX-P-ECOMEX and EtherNet/IP Problems
« Reply #2 on: June 25, 2025, 11:02:05 AM »
Also, I would really like to turn up the RPI for the EtherNet/IP adapter to be faster than 10ms. I was curious why the 10ms limit.

Because we would struggle to maintain any determinism at that rate. At best it will take multiple PLC scans and given the IP stack overhead the fastest would likely be 3 or more ms.
"It has recently come to our attention that users spend 95% of their time using 5% of the available features. That might be relevant." -BobO

plcnut

  • Hero Member
  • *****
  • Posts: 813
    • premiersi.com
Re: BX-P-ECOMEX and EtherNet/IP Problems
« Reply #3 on: June 25, 2025, 11:05:51 AM »
Been a while!!

NetEdit is showing the PLC's internal port settings, not the POM. This is because NetEdit is just for manipulating the IP setup data for internal ports. The ECOM-EX is a secondary NIC on the one-and-only IP stack in the PLC, it is not a coprocessor with it's own stack. It's confusing and unfortunate, but not easy to fix.

Ok. That makes sense.

Is the EtherNet/IP connection supposed to work over the POM? Or did I misunderstand the documentation?

Because we would struggle to maintain any determinism at that rate. At best it will take multiple PLC scans and given the IP stack overhead the fastest would likely be 3 or more ms.
That is what I thought. It would be nice to push the envelope a bit though... I understand why you have to do what you do.
Circumstances don't determine who we are, they only reveal it.

~Jason Wolthuis
Premier Systems Integration, LLC
http://premiersi.com

BobO

  • Host Moderator
  • Hero Member
  • *****
  • Posts: 6116
  • Yes Pinky, Do-more will control the world!
Re: BX-P-ECOMEX and EtherNet/IP Problems
« Reply #4 on: June 25, 2025, 11:14:49 AM »
Is the EtherNet/IP connection supposed to work over the POM? Or did I misunderstand the documentation?

Yes, it should. It is not?

That is what I thought. It would be nice to push the envelope a bit though... I understand why you have to do what you do.

It would take a coprocessor. Always a balance of free vs high performance.
"It has recently come to our attention that users spend 95% of their time using 5% of the available features. That might be relevant." -BobO

plcnut

  • Hero Member
  • *****
  • Posts: 813
    • premiersi.com
Re: BX-P-ECOMEX and EtherNet/IP Problems
« Reply #5 on: June 25, 2025, 11:33:15 AM »
Is the EtherNet/IP connection supposed to work over the POM? Or did I misunderstand the documentation?

Yes, it should. It is not?


It is not working with the POM.
Circumstances don't determine who we are, they only reveal it.

~Jason Wolthuis
Premier Systems Integration, LLC
http://premiersi.com

BobO

  • Host Moderator
  • Hero Member
  • *****
  • Posts: 6116
  • Yes Pinky, Do-more will control the world!
Re: BX-P-ECOMEX and EtherNet/IP Problems
« Reply #6 on: June 25, 2025, 12:15:46 PM »
It is not working with the POM.

How is it failing?

Have you Wireshark-ed it?

Can you show your IP config for both ports as well as the config for your target device(s)?
"It has recently come to our attention that users spend 95% of their time using 5% of the available features. That might be relevant." -BobO

plcnut

  • Hero Member
  • *****
  • Posts: 813
    • premiersi.com
Re: BX-P-ECOMEX and EtherNet/IP Problems
« Reply #7 on: June 25, 2025, 12:31:39 PM »
Here are screenshots of the settings and config.

I am working on Wireshark now.

BTW: It works perfectly if I swap the IP addresses of the POM and OB ports.
Circumstances don't determine who we are, they only reveal it.

~Jason Wolthuis
Premier Systems Integration, LLC
http://premiersi.com

BobO

  • Host Moderator
  • Hero Member
  • *****
  • Posts: 6116
  • Yes Pinky, Do-more will control the world!
Re: BX-P-ECOMEX and EtherNet/IP Problems
« Reply #8 on: June 25, 2025, 12:42:49 PM »
Put a non-empty netmask into the POM and don't specify a gateway. It is a single shared stack, multiple gateways are not supported, so routed traffic goes to the first configured one.
"It has recently come to our attention that users spend 95% of their time using 5% of the available features. That might be relevant." -BobO

plcnut

  • Hero Member
  • *****
  • Posts: 813
    • premiersi.com
Re: BX-P-ECOMEX and EtherNet/IP Problems
« Reply #9 on: June 25, 2025, 12:52:00 PM »
Put a non-empty netmask into the POM and don't specify a gateway. It is a single shared stack, multiple gateways are not supported, so routed traffic goes to the first configured one.
That was it!
I must have fat-keyed the mask and never noticed it was wrong.

Thank you so much!
Circumstances don't determine who we are, they only reveal it.

~Jason Wolthuis
Premier Systems Integration, LLC
http://premiersi.com

BobO

  • Host Moderator
  • Hero Member
  • *****
  • Posts: 6116
  • Yes Pinky, Do-more will control the world!
Re: BX-P-ECOMEX and EtherNet/IP Problems
« Reply #10 on: June 25, 2025, 01:10:40 PM »
That was it!
I must have fat-keyed the mask and never noticed it was wrong.

Thank you so much!

Technically that might have worked. 255.255.255.255 defines a network of just the host, where everything outside of it must be routed. Specifying your EIP adapter as the gateway would be a creative (if unconventional) way of creating a point to point. However with our single stack, only the first gateway is relevant, so no.
"It has recently come to our attention that users spend 95% of their time using 5% of the available features. That might be relevant." -BobO