The system debugging needs to build all the hardware, power on after the detection is correct, then write the PLC program, watch the effect, control the sensor manually, observe the control reaction, if there is any abnormality, the program and wiring problems need to be considered. In the debugging process of this system, most of the problems are the control program. There is no fixed routine in the debugging process. Some people rely on their experience. In general, we carry out troubleshooting according to the following steps: to detect the signal indicator light of PLC interface separately; to check the hardware and modify the program; to detect the stability and reliability of the function realization; to finish debugging; to this end The system has been debugged and modified. The final result is that the communication between the master station and the slave station is normal, the indicator light of the master station is normal, the key control of the master station is normal, the touch screen display and control of the master station are normal, the slave station can execute the command of the master station normally, and the slave station can collect data normally.