Patent ID: 9008805
Filing Date: 2015-04-14
Classification: G05B

Abstract:
1. A programmable logic controller (PLC), comprising: a single-chip comprising a single-chip timer, a hardware watchdog, a 11.0592M crystal, and an A/D converter module, and having an EEPROM and a system program burned into the EEPROM; a DC power module comprising an anti jamming circuit, a first output port, and a second output port, the first output port and the second output port being respectively connected to the anti jamming circuit, the single-chip being connected to the first output port; a relay output module connected to the second output port; an I/O module for receiving and sending digital signals; and a pulse output module; wherein the system program comprises a programming module and a control module, the programming module comprises a main function, and a function subroutine library, the main function calls the subroutines of the function subroutine library to execute control commands generated by user programming data, the control module scans input signals from the I/O module during predetermined periods, and then generates output signals to control output of the relay output module and the pulse output module.