Port 1 Quantum 534 Port2 SLC5/03

I need help with creating the cfg file and also cabling for the following configuration.

Quantum 534 processor modbus port1 going to Digi one IAP port1. (need to know the pin connections on modbus port1 and also pin connection on digi one IAP port 1)

SLC5/03 processor serial port has a CP3 cable connected to Digi one IAP port#2.

Computer with static IP address connected to digi one iap RJ45 port modbus/tcp.

does anyone have a config file to download to the digi module and also the modbus pin outs.