We are developing a new Battery storage system and would like it to be usable with OpenEms. We will use Modbus TCP. Modbus TCP server is not implemented yet, and I tried to use ModbusSlaveSimulator.java and Bridge Modbus/TCP (from Implementing a device :: Open Energy Management System) just for testing purposes. But as I see, only three register addresses can be used, that already implemented in ModbusSlaveSimulator. Any added registers don’t work.
Is it possible to modify ModbusSlaveSimulator for testing purposes, and if not, how can I test written logic without implemented Modbus TCP server?
Thanks for your response! Yes, I tried to add more Dummy-Registers to createProcessImage() method, but wasn’t able to read values from them. I honestly don’t know why.
But we have already implemented Modbus TCP server, so my question is not actual.