replace modbus serial with tcp