Can Onboard connect with BACnet MS/TP and Modbus TCP devices if they are connected to IP routers?

Yes, if the devices are exposed through their controllers.