Hello @somapa,
the first thing is to configure the Siemens PLC as the ModbusTCP slave. Unfortunately we don't have any direct experience with it, so you have to look for help somewhere else. But you can verify the settings with e.g. qModMaster.

The second step is to configure generic Modbus slave device in Mervis and we have a tutorial for that: https://kb.unipi.technology/en:sw:01-mervis:connecting-to-modbus-slave-device-hidden

If, in any case, you wouldn't be able to set the Siemens as ModbusTCP slave, you can set the Mervis as ModbusTCP slave and let the Siemens update the registers. You can read more about how to set the Mervis as ModbusTCP slave here: https://kb.unipi.technology/en:sw:01-mervis:setting-modbus-server-hidden

Best regards,
Martin