audi0615 - 2020-04-10


I am trying to implement Modbus TCP Master/Slave only with IEC Code with help of OSCAT MB_CLIENT, MB_SERVER function blocks.
However, Unlike Codesys Modbus Configurator, OSCAT FB does not provide any interface to ethernet adapters.

1) Does this mean which adpater will be used would be determined by operating system? (by ip address in adapter setting)

2) Is it possible to make multiple Modbus TCP Slaves (Servers) on the same device with same ip address but with different port numbers?

Your help would be appreciated.