You use PA9 and PA10 pin plus a control pin control cabinet MAX485 chip, and then go MODBUS communication protocol!