Serial port R422 and R485 wiring