(Programmable logic controller is widely used in the field of industrial control. It forms a monitoring system with the computer as the lower computer and the upper computer respectively in the industrial control. Based on the introduction of two communication methods with the computer, this article gives the programs of the upper computer and the lower computer when using these two methods to communicate.)