Hello,
you're planning to run a ModbusTCP Server with multiple Unit IDs, currently the Modbus TCP App supports one Unit ID, not multiple. And one instance only currently. The library doesn't provide it. I assume, it's because in Modbus TCP normally Unit ID is default 255 and Unit ID is something which was used with Modbus RTU. Is it possible to do the same with different register addresses instead?
With the Modbus TCP App as Client, on adding a new device, it is possible to configure the Unit ID. You have to configure for each Unit ID an individual device. We tested this with a device which supports Unit ID.
with the library CXA_ModbusTCP each function code function block offers an input for the Unit ID for Client functionality.
Please share version of the Modbus TCP App and library CXA_ModbusTCP you used for testing.
... View more