Convert Modbus RTU To Modbus TCP

Still unclear. Will the pi connect serially and permit another modbus client to access the DataKom? Is the DataKom a master/client or slave/server?

What will the modbus TCP be? master/client or slave/server?

How are devices connected?