News:

  • April 29, 2026, 04:22:38 AM

Login with username, password and session length

Author Topic: Passing Modbus on POM  (Read 13576 times)

eman5oh

  • Sr. Member
  • ****
  • Posts: 59
Passing Modbus on POM
« on: December 17, 2024, 07:47:11 AM »
How does one send and receive modbus data via a BX-P-ECOMLT?  I see you select @POM in the MWX and MRX instructions, but I can't seem to get it to work? I looked for documentation on this as well and came up empty, can someone point me in the right direction?

Thanks!

franji1

  • Bit Weenie
  • Host Moderator
  • Hero Member
  • *****
  • Posts: 3806
    • Host Engineering
Re: Passing Modbus on POM
« Reply #1 on: December 17, 2024, 08:38:18 AM »
How does one send and receive modbus data via a BX-P-ECOMLT?  I see you select @POM in the MWX and MRX instructions, but I can't seem to get it to work? I looked for documentation on this as well and came up empty, can someone point me in the right direction?

Thanks!

The ECOMLT only supports Modbus/TCP as a Server.  The ECOMEX POM can be a Modbus/TCP Client (or Server).

eman5oh

  • Sr. Member
  • ****
  • Posts: 59
Re: Passing Modbus on POM
« Reply #2 on: December 17, 2024, 09:20:50 AM »
I have the ECOMEX as well and could not get that one to work either, how do direct he MRX or MWX to use the PCOM?

franji1

  • Bit Weenie
  • Host Moderator
  • Hero Member
  • *****
  • Posts: 3806
    • Host Engineering
Re: Passing Modbus on POM
« Reply #3 on: December 17, 2024, 09:59:24 AM »
I have the ECOMEX as well and could not get that one to work either, how do direct he MRX or MWX to use the PCOM?

Basically, the ECOMEX is a second subnet on the "internal ethernet port".  So, in the MRX/MWX choose the @IntModTCPClient.  If you have properly configured subnets, then the IP Address of the Slave device will direct the TCP out the proper subnet hose.

Say the top port is configured as
192.168.10.5 subnet 255.255.0.0
and the ECOMEX is configured as
10.0.1.22 SUBNEET 255.255.0.0

If your MRX tries to talk to a slave at address
192.168.10.42
it will go out the top port.

If your MRX tries to talk to a slave at address
10.0.1.99
it will go out the ECOMEX POM port.

Just make sure the two subnets (Top port and the ECOMEX POM) are DISJOINT and have NO ADDRESS OVERLAP.

The ECOMEX is technically not an ECOM "module", it is an extension of the onboard Ethernet.  Hence, it can be used as a CLIENT (not just a server) for various other TCP protocols on the CPU (EMail, Ethernet I/O, EtherNet/IP, et. al.).  The IP address routing "just works".

eman5oh

  • Sr. Member
  • ****
  • Posts: 59
Re: Passing Modbus on POM
« Reply #4 on: December 17, 2024, 11:57:40 AM »
Thanks, that makes sense. I had overlap in the subnets. Is how these work documented anywhere?

franji1

  • Bit Weenie
  • Host Moderator
  • Hero Member
  • *****
  • Posts: 3806
    • Host Engineering
Re: Passing Modbus on POM
« Reply #5 on: December 17, 2024, 12:28:39 PM »
Thanks, that makes sense. I had overlap in the subnets. Is how these work documented anywhere?

Look at the details on the specific BX-P-ECOMEX POM in Help Topic DMD0497 Pluggable Option Module (POM) Configuration.  That specific POM is discussed towards the bottom of the page.

FYI, the @POM option in the MRX/MWX is for the Serial (Modbus/RTU) based POMs.  Sorry for the confusion.

eman5oh

  • Sr. Member
  • ****
  • Posts: 59
Re: Passing Modbus on POM
« Reply #6 on: December 17, 2024, 12:55:04 PM »
Thanks, that makes sense. I had overlap in the subnets. Is how these work documented anywhere?

Look at the details on the specific BX-P-ECOMEX POM in Help Topic DMD0497 Pluggable Option Module (POM) Configuration.  That specific POM is discussed towards the bottom of the page.

FYI, the @POM option in the MRX/MWX is for the Serial (Modbus/RTU) based POMs.  Sorry for the confusion.

Thank you, the help is much appreciated!