Share this

Detailed Explanation of the Working Principle and Characteristics of PLC Programmable Logic Controllers

2026-04-06 04:20:34 · · #1

A programmable logic controller (PLC) is a digital electronic system specifically designed for industrial applications. It employs a programmable memory that stores instructions for performing logical operations, sequential control, timing, counting, and arithmetic operations, controlling various types of machinery or production processes through digital or analog inputs and outputs.

PLC working principle

Once a programmable logic controller (PLC) is put into operation, its operation generally consists of three stages: input sampling, user program execution, and output refresh. The completion of these three stages constitutes one scan cycle. Throughout the entire operation, the PLC's CPU repeatedly executes these three stages at a certain scan rate.

I. Input Sampling

During the input sampling phase, the programmable logic controller (PLC) sequentially reads all input states and data in a scanning manner and stores them in the corresponding cells of the I/O image area. After input sampling is completed, the process transitions to the user program execution and output refresh phases. During these two phases, even if the input states and data change, the states and data of the corresponding cells in the I/O image area will not change. Therefore, if the input is a pulse signal, the width of the pulse signal must be greater than one scan cycle to ensure that the input can be read under any circumstances.

II. User Program Execution

During the user program execution phase, the programmable logic controller (PLC) always scans the user program (ladder diagram) sequentially from top to bottom. When scanning each ladder diagram, it always first scans the control circuit composed of each contact on the left side of the ladder diagram, and performs logical operations on the control circuit composed of contacts in the order of left to right and top to bottom. Then, based on the result of the logical operation, it refreshes the state of the corresponding bit in the system RAM storage area of ​​the logic coil; or refreshes the state of the corresponding bit in the I/O image area of ​​the output coil; or determines whether to execute the special function instruction specified by the ladder diagram.

That is, during the execution of the user program, only the state and data of the input points in the I/O image area will not change, while the state and data of other output points and soft devices in the I/O image area or system RAM storage area may change. Moreover, the program execution result of the ladder diagram above will affect the ladder diagram below that uses these coils or data; conversely, the state or data of the logic coils of the ladder diagram below can only affect the program above it in the next scan cycle.

During program execution, if immediate I/O instructions are used, I/O points can be accessed directly. Even when using I/O instructions, the value of the input process image register is not updated; the program directly retrieves values ​​from the I/O module. The output process image register is updated immediately, which is somewhat different from immediate input.

III. Output Refresh

After the user program scan is complete, the programmable logic controller (PLC) enters the output refresh phase. During this period, the CPU refreshes all output latch circuits according to the corresponding states and data in the I/O image area, and then drives the corresponding peripherals through the output circuits. This is when the PLC actually outputs.

Based on the above description, the characteristics of the PLC working process can be summarized as follows:

1. The PLC adopts a centralized sampling and centralized output working mode, which reduces the impact of external interference.

2. The working process of a PLC is a cyclic scanning process. The length of the cyclic scanning time depends on factors such as the instruction execution speed and the length of the user program.

3. The output's effect on the input exhibits a lag. PLCs employ a centralized sampling and output operation mode. After the sampling phase ends, changes in the input state will not be received until the next sampling cycle. Therefore, the length of this lag time primarily depends on the cycle length. Other factors affecting the lag time include input filtering time and the lag time of the output circuit.

4. The contents of the output image register depend on the results of the user program's scan execution.

5. The contents of the output latch are determined by the data in the output image register during the previous output refresh.

6. The current actual output state of the PLC is determined by the content of the output latch.

Programmable logic controllers (PLCs) used in industry today are comparable to or nearly equivalent to the mainframe of a compact computer. Their advantages in scalability and reliability have led to their widespread application in various industrial control fields. Whether in computer-directed control systems, centralized distributed control systems (DCS), or fieldbus control systems (FCS), PLCs are used extensively. Many manufacturers produce PLCs, such as Siemens, Schneider Electric, Mitsubishi, and Delta; almost every company involved in industrial automation offers PLC products.

Read next

CATDOLL 133CM Nanako Shota Doll

Height: 133cm Male Weight: 28kg Shoulder Width: 31cm Bust/Waist/Hip: 64/59/73cm Oral Depth: 3-5cm Vaginal Depth: N/A An...

Articles 2026-02-22
CATDOLL 133CM Sasha Shota Doll

CATDOLL 133CM Sasha Shota Doll

Articles
2026-02-22
CATDOLL 108CM Cici

CATDOLL 108CM Cici

Articles
2026-02-22