Programmable relay stores some typical relay logic control program in internal memory in advance and realize some simple logic control and sequence control function by the user program combination and calls. Its integrated internal software function and programming software can replace the traditional relay logic circuit, such as the logic circuit composed of relay, contactor and timer, and has a strong anti-interference ability. Therefore, programmable relay is widely used in industrial automation control system, small machinery and devices, building electrical and other fields. It is applicable to the control of intelligent residence system, lighting system, heating and ventilation system, door, window, fence and moving door.