Modbus RTU/ASCII Over TCP

Hello, Phoenix Contact’s community!
I’m trying to communicate the variable frequency driver (specifically FC 302 Danfoss) to Axc F 2152. As the gateway, I am using the IE-CS-2TX-1RS232/485 from Weidmuller. I have been facing a problem where the data transmitted from the gateway is in „Modbus RTU/ASCII Over TCP,“ not Modbus TCP. I realized this because when I use Simply Modbus TCP Client, I only get values when I choose the Modbus over TCP option, which means that the request structure is not the same as Modbus TCP; thus, every time that I request data using the Modbus TCP library, it gets the timeout error.
Therefore, I am wondering if there is any library or function that can help me accomplish this communication. I look forward to hearing back. Have a great day!

Sincerely,
Omar Jhovany Tarin Gutierrez

I’m fairly sure that the behaviour in this case is a result of using a Serial to Ethernet gateway rather than a Modbus Serial to Modbus TCP gateway like this one from Phoenix Contact:
https://www.phoenixcontact.com/en-pc/products/interface-converters-gw-modbus-tcp-rtu-1e-1db9-2702764
I’m not aware of a PLCnext Engineer function block library that will help in this case. The simplest and most reliable solution is probably to use a device like the one above.

You’re right, I was not aware of this.
Thank you so much, you just freed me from breaking my head! Have a great day!