Modbus tcp server on different ports, 750-899

Hello everyone,

Which library do I need for my 750-899/… PLC if I want to listen different ports for Modbus TCP requests.
The point is internal modbus server process all requests on 502 port, while I need to discriminate requests from different ports and redirect them to different IEC104 devices.

Thanks for help in advance!

I think you want to make a Modbus Server using a different port for each server ?
You will need the “ETHERNET_TERMINAL_MODBUSSLAVE” of the library “ModbusEthernet_04”

Hi,

thanks for your reply, but where to get this library ? I dont’ see it in the available libraries, when I open the PLC library manager,
My PLC info:

Product description: Controller MODBUS TCP G4 2ETH SD Tele T
Order number: 750-890/0025-0001
MAC address: 00:30:DE:6C:22:62
Firmware revision: 01.06.04(11)
Firmware loader revision: 01.03.02(04)

Codesys_CUV1WuzQKn

Go up a folder level to “Libraries” and then back down into the “Application” folder. You should find it there.

ModbusEthernet_04 provides only master, i.e. modbus tcp client, while I need the server part (listener). I’ve checked the repository here , but the closest relevant is the WagoLibEthernet_01.lib - with tcp server, now trying to use it.

Will be gratefull for solution on Modbus Server functional block or similar solution

sorry, checked the file content, yes, there is a modbus tcp slave there, will try. Thank you for help!