Abstract. With the SIEMENS S7-200 PLC and HMI based on KingView being the master, a slave station of STM32F103C8T6 microcontroller is developed based on MODBUS protocol. The establishment and program designing of communication protocol using RS485/RS232 between master and slave is introduced firstly. Then the process of debugging between the microcontroller and PC, the microcontroller and the PLC is elaborated. Thus serial communication is implemented based on MODBUS protocol in RTU mode. The system will be applied in central air-conditioning control system. A good control effect will be obtained as the controlling strategy and main algorithm can be computed in the STM32 slave station.