1. Power supply: The power supply is used to convert AC power into DC power required by the PLC. Currently, most PLCs use switching power supplies.
2. Central Processing Unit: The Central Processing Unit (CPU) is the control center of the PLC and its core component; its performance determines the PLC's performance. The CPU consists of a controller, an arithmetic logic unit (ALU), and registers. These circuits are all integrated onto a single chip and connected to the memory's input/output interface circuits via address and control buses. The CPU's function is to process and run user programs, perform logical and mathematical operations, and control the entire system to ensure its smooth operation.
3. Memory: Memory is a semiconductor circuit with memory function. Its function is to store system programs, user programs, logic variables, and other information. Among them, the system program is the program that controls the PLC to perform various functions. It is written by the PLC manufacturer and stored in read-only memory (ROM), which cannot be accessed by the user.
4. Input Unit: The input unit is the input interface connecting the PLC to the controlled device. It acts as a bridge for signals to enter the PLC and its function is to receive signals from the master control element and the detection element. Input types include DC input, AC input, and AC/DC input.
5. Output Unit: The output unit is also the connection component between the PLC and the controlled device. Its function is to transmit the PLC's output signals to the controlled device, that is, to convert the weak electrical signals sent by the central processing unit into level signals to drive the actuators of the controlled device. Output types include relay output, transistor output, and thyristor output.
In addition to the components mentioned above, PLC programmable logic controllers (PLCs) may have various external devices depending on the model. These external devices assist in programming, monitoring, and network communication. Commonly used external devices include programmers, printers, cassette recorders, and computers.