Wago 750-652 Serial Interface with Mastervolt Modbus Interface

I am using a Wago PLC to send messages to a Masterbus to Modbus interface. I think I can create a connection but it gives a time-out error. And a can't figure out how to write IDAL and IDB values to PLC configuration. And also I can't figure out how to write a read address in the PLC program. Is there any library to work this in Wago or any helpful solution to communicate them?