Programmable Logic Controller referred to as PC or PLC is an electronic system operated by digital operations, specially designed for application in an industrial environment. It uses a memory that can be programmed to execute instructions for storing logical operations and sequence control, timing, counting and arithmetic operations, and through digital or analog input (I) and output (O) interfaces, controls various Type of mechanical equipment or production process. PLC is developed on the basis of electrical control technology and computer technology, and gradually developed into a new type of industrial control device with microprocessor as the core and integrating automation technology, computer technology and communication technology. PLC has been widely used in the automatic control of various production machinery and production processes.