ModbusTCP - read/write Holding registers

Hi all,

I have a 2152 PLC which will be a ModbusTCP client - the Holding registers can be written from the Server side or can be locally modified in the PLC. How do I program this in PLCnext?

  1. ModbusTCP embedded driver does not allow this
  2. ModbusTCP library from the store also has no way to link a PLC variable with ModbusTCP data block.
  3. Is there any way to do indirect / memory addressing in the PLC?