Host Engineering Forum

General Category => Do-more CPUs and Do-more Designer Software => Topic started by: OrionHE on October 20, 2025, 01:07:46 PM

Title: BRX won't read Modbus TCP from a Modbus Gateway
Post by: OrionHE on October 20, 2025, 01:07:46 PM
I have a BX-DM1E-M on a network reading from and writing to several devices using Modbus TCP. Last week I added another device, and Advantech Modbus Gateway, which is reading from an Eaton Power Meter over Modbus RTU and making it available to TCP devices.

The RTU side seems to be configured correctly. I can read from the Power Meter using a program on my PC called Modbus TCP Master. But the BRX won't pull any data in. I get Exception Response 10 (OA hex).

The Modbus Gateway reports getting the requests from the BRX and the PC, but offers a "no route" response to the BRX. Since the BRX is already communicating with several other devices over the same protocol, I know it works. Somehow it isn't playing well with this Gateway, even though the PC works perfectly. The only difference I can see is that the Port number is very low on the BRX, and very high on the PC. I don't know if that's significant, but it possibly aligns with the Exception Response description: "Specialized use in conjunction with gateways, indicates that the gateway was unable to allocate an internal communication path from the input port to the output port for processing the request. Usually means the gateway is misconfigured or overloaded."

Attached should be a screenshot from the Gateway.

What might the issue be?
Title: Re: BRX won't read Modbus TCP from a Modbus Gateway
Post by: BobO on October 20, 2025, 01:50:01 PM
I have a BX-DM1E-M on a network reading from and writing to several devices using Modbus TCP. Last week I added another device, and Advantech Modbus Gateway, which is reading from an Eaton Power Meter over Modbus RTU and making it available to TCP devices.

The RTU side seems to be configured correctly. I can read from the Power Meter using a program on my PC called Modbus TCP Master. But the BRX won't pull any data in. I get Exception Response 10 (OA hex).

The Modbus Gateway reports getting the requests from the BRX and the PC, but offers a "no route" response to the BRX. Since the BRX is already communicating with several other devices over the same protocol, I know it works. Somehow it isn't playing well with this Gateway, even though the PC works perfectly. The only difference I can see is that the Port number is very low on the BRX, and very high on the PC. I don't know if that's significant, but it possibly aligns with the Exception Response description: "Specialized use in conjunction with gateways, indicates that the gateway was unable to allocate an internal communication path from the input port to the output port for processing the request. Usually means the gateway is misconfigured or overloaded."

Attached should be a screenshot from the Gateway.

What might the issue be?

Unit ID?
Title: Re: BRX won't read Modbus TCP from a Modbus Gateway
Post by: OrionHE on October 20, 2025, 02:38:21 PM
I have it set in the BRX to 255. I tried 1, but got a different error indicating no response at all.
Title: Re: BRX won't read Modbus TCP from a Modbus Gateway
Post by: OrionHE on October 20, 2025, 02:54:56 PM
Well, now that it's Monday, I tried Unit ID 1 again, and it's happy. Thanks!