What is a Programmable Logic Controller?
Knowledge

What is a Programmable Logic Controller?

PLC is an electronic computing control system. Designed with the principle of a simple storage program and convenient expansion, it provides sequence/position control, timing counting, input/output control, and other instructions, and is used in the field of industrial automation control.
Published: Dec 12, 2022
What is a Programmable Logic Controller?

What is a PLC Programmable Controller?

A Programmable Logic Controller (PLC) is a digital logic controller used for automatic control, which can load electronic control instructions into memory for storage and execution at any time. PLC can receive input and send and output various types of electronic signals, which can be used to control or supervise almost all devices, automatic mechanical equipment, or power monitoring. PLC has the characteristics of versatility, convenient use, wide adaptability, high reliability, strong anti-interference ability, and simple program editing.

Knowledge and programming of basic and advanced instructions for using programmable logic controllers (PLC). Familiarity with related application skills, analogy and temperature control, NC servo positioning, industrial communication, etc. Flexible use of its powerful functions enables machines and equipment to operate automatically and intelligently. And use to control or supervise almost all kinds of mechanical and electrical systems.

The initial programmable logic controller only has the function of circuit logic control. With continuous development, these computer modules with simple functions have already included logic control, timing control, analog control, multi-machine communication, etc. Function. Before the emergence of programmable logic controllers, it is generally necessary to use hundreds of relays and counters to form an automation system with the same function. But now, the programmed simple programmable logic controller modules have replaced these large installations. The system program of the programmable logic controller is initialized before leaving the factory, and the user can edit the corresponding user program according to his own needs to meet different automatic production requirements.

Now the programmable logic controller used in the industry is quite close to the composition of a lightweight computer, and even a programmable automation controller (PAC). Integrates a personal computer (using an embedded operating system) and a PLC has appeared, which can pass digital or Analog I/O modules to control machinery, manufacturing processes, and other electronic systems that control modules. Programmable logic controllers are used in the current industrial control field. In the field of industrial control, the application of PLC control technology has become an indispensable member of the industry.

What is the Definition of PLC?

PLC has the characteristics of versatility, convenient use, wide adaptability, high reliability, strong anti-interference ability, and simple programming. A Programmable Logic Controller is an electronic system that operates digitally and is designed for use in industrial environments. It uses a type of programmable memory for internal storage of programs, execution of user-oriented instructions such as logic operations, sequence control, timing, counting, and arithmetic operations, and controls various types of devices through digital or analog input/output machinery or production process. The programmable logic controller and its related external devices are designed according to the principle that it is easy to integrate with the industrial control system and expand its functions.

Features of PLC:
  • Easy to program, the program can be modified on-site.
  • It is easy to maintain and adopts a modular structure.
  • The reliability is higher than the relay control device.
  • The volume is smaller than the relay control device.
  • Data can be directly sent to the computer.
  • Cost competitive with relay controls.
  • The input can be AC 115V.
  • The output is AC 115V, above 2A, which can directly drive solenoid valves, contactors, etc.
  • When expanding, the original system only needs to be slightly changed.
  • The capacity of the user program memory can be expanded.

The Inner Workings of a PLC:

Although many names such as relays, timers, and counters are often used in the ladder diagram programs used by PLCs, the PLC does not physically have this hardware but uses memory and program programming to do logic control editing, and through the output, the element is connected to an external mechanical device for physical control. The hardware space required by the controller can be reduced. The way PLC executes the ladder diagram program is to read the program code line by line into the CPU by scanning, and finally execute the control operation.

  1. Step 1: Enter Status Check
    The PLC first checks the state of each point switch or sensor connected to the input element and writes the state to the corresponding position Xn in the memory.
  2. Step 2: Program Execution
    Load the ladder diagram program line by line into the CPU for calculation. If the state of the contacts needs to be input during the program execution, the CPU will query and fetch it directly from the memory. The operation result of the output coil is stored in the corresponding position in the memory, and will not be reflected in the output terminal Yn for the time being.
  3. Step 3: Output status update
    Update the output status in step 2 to the PLC output contact, and return to step 1.

These three steps are called the scan cycle of the PLC, and the time required to complete them is the response time of the PLC. If the time of the PLC input signal is less than this response time, there is a possibility of misreading. After each program execution and before the next program execution, the output and input status will be updated once, so this mode of operation is called output and input end program end regeneration.

PLC Hardware Structure:

PLC is divided into box type and module type. But their composition is the same. For the box-type PLC, there is a CPU board, I/O board, display panel, memory block, power supply, etc. Of course, it is divided into several models according to the CPU performance, and according to the number of I/O points. There are several specifications. For modular PLCs, there are CPU modules, I/O modules, memory, power modules, backplanes, or racks. Regardless of the structure type of PLC, it belongs to the bus-type open structure, and its I/O capabilities can be expanded and combined according to user needs.

  • Power module:
    The power supply in some PLCs is combined with the CPU module, and some are separated. Its purpose is to provide working power for the integrated circuits of the PLC modules. Some also provide 24V working power for the input circuit. If the power supply is an AC power supply, it is usually 220VAC or 110VAC, and if it is a DC power supply, it is usually 24V.
  • Central processing unit:
    The CPU in the PLC is the core of the PLC. It receives and stores user programs and data according to the functions given by the PLC system program, collects the status or data sent by the on-site input device by scanning, and stores them in the planned temporary. At the same time, it can diagnose the working status of the power supply and the internal circuit of the PLC, the syntax errors in the programming process, etc. After entering the operation, read the instructions one by one from the user program memory, and then generate corresponding control signals according to the tasks specified by the instructions after analysis, to direct the relevant control circuits. Like a personal computer, it is mainly composed of arithmetic units, The controller, registers, and the data, control, and status buses that realize the connection between them, as well as peripheral chips, bus interfaces, and related circuits. Determine the scale of the control, work speed, memory capacity, etc.
  • Memory:
    Memory is used to store programs and data and is an indispensable component of PLC. The program instructions and data that have been written and edited are stored inside the PLC. Usually, it can be expanded by using a dedicated memory card such as RAM or EEPROM, but the expansion capacity varies with each brand and model.
  • I/O unit:
    The external functions of the PLC are mainly connected with the outside world through various input/output modules. The specifications and quantities of the modules are determined according to the number of I/O points. The I/O modules can be more or less, but the maximum number is limited by the CPU. The ability to manage basic configurations that are limited by the maximum number of backplane or rack slots. The I/O module integrates the I/O circuit of the PLC, its input register reflects the state of the input signal, and the output points reflect the state of the output latch. The input unit is used to connect and capture the signal action of the input element and send the data to the memory through the internal bus, and the CPU processes the driver instruction part. PLC input module The architecture of the PLC system and the selection of input module products depend on the level of the input signal to be monitored. Variable signals from different types of monitored sensors and process controls can cover input signal ranges from ±10mV to ±10V. The output unit is an interface used to drive external loads. The main principle is that the CPU processes the program instructions written in the PLC to judge the drive output unit and then controls the external loads, such as indicator lights, electromagnetic contactors, relays, air/oil pressure valves, etc. PLC output modules are used in industrial environments to control brakes, valves, motors, etc. PLC system analog output ranges include ±5V, ±10V, 0V to 5V, 0V to 10V, 4 to 20mA, or 0 to 20mA, etc.
  • Communication:
    Most PLCs have the function of expandable communication network modules. Simple PLCs are connected by BUS cable or RS-232, while higher-level PLCs are connected by USB or Ethernet. It enables the exchange of information between PLCs, between PLCs and personal computers, and other intelligent devices to form a unified whole and realize decentralized and centralized control. Now almost all new PLC products have the function of a communication network. It has an RS-232 interface like a computer. Through twisted pairs, coaxial cable, or optical cable, information can be exchanged within a few kilometers or even tens of kilometers. The communication network between PLCs is dedicated to each manufacturer. For communication between PLCs and computers, some manufacturers use industrial standard busbars and approach standard communication protocols. This will make PLCs of different models. PLCs It is convenient to communicate and network with the computer. PLC communication protocol specifications can be divided into RS-232, RS-422, RS-432, RS-485, IEEE 1394, and IEEE-488 (GPIB). The most commonly used communication protocols in the world are MODBUS-ASCII mode and MODBUS-RTU mode.

The External Device of PLC:

  • Programming device: There are simple programmers and intelligent graphic programmers, which are used for programming, making some settings for the system, and monitoring the working status of the PLC and the system controlled by the PLC. The programmer is an indispensable component for PLC development and application, monitoring operation, inspection, and maintenance, but it does not directly participate in on-site control operations.
  • Monitoring device: Data monitor and graphics monitor. Monitor the data directly or monitor the data through the screen.
  • Storage device: There are memory cards, storage tapes, floppy disks, or read-only memory, which are used to permanently store user data so that user programs are not lost, such as EPROM, EEPROM writers, etc.
  • Input and output devices: Used to receive signals or output signals, generally there are barcode readers, potentiometers for inputting analog quantities, printers, etc.

The Internal Components of the PLC:

In the programming process of PLC, it will use the internal memory to plan many components that are often used in sequential control programs. These components include input relays, output relays, auxiliary relays, counters, timers, data registers, and other main components.

  • Input contact and output contacts: Used for status transmission between PLC and external components. External components can be connected, as well as push button switches, selector switches, photoelectric switches, digital switches, etc. If excessive current is used, the internal contact components will be damaged.
  • Auxiliary relay: Used to replace the relay in traditional sequence control. Traditional relays include contacts and coils. PLC uses internal memory to memorize the status of auxiliary relays.
  • Counter: Used in the program to count the number of repetitions.
  • Timer: Used to count the duration of an action.
  • Data register: Used to store the value of characters or character data.
Published by Dec 12, 2022 Source :wikipedia

Further reading

You might also be interested in ...

Headline
Knowledge
Scaling and Corrosion in Plastic Machinery Cooling Systems: Causes, Risks, and Preventive Measures
Scaling and corrosion are persistent risks in plastic machinery cooling systems. This article outlines their causes, their effect on heat transfer and flow stability, and practical maintenance measures manufacturers can use to reduce efficiency loss, blockage risk, and long-term equipment damage.
Headline
Knowledge
Chemical Packaging Lines Evolve as Safety and Precision Demands Increase
As chemical manufacturers face stricter safety regulations and complex material requirements, packaging lines are evolving from standalone machines into fully integrated production systems. This article explores key considerations including filling technology selection, equipment durability under chemical exposure, workplace safety, and the shift toward complete system solutions. Understanding these factors helps manufacturers improve accuracy, ensure safety, and enhance overall production efficiency in hazardous chemical packaging environments.
Headline
Knowledge
Improving Multi-Computer Workflow Efficiency with a 4-Port USB-C KM Switch
How mouse roaming, 10Gbps USB sharing, and flexible control help streamline modern multi-system environments
Headline
Knowledge
How Anti-Static And Protective Films Reduce Surface Damage In Sensitive Manufacturing
In sensitive manufacturing, many costly defects do not begin with machine failure or operator error. They begin with static charge, airborne particles, micro-scratches, adhesive residue, and unnoticed surface contamination. These issues are often underestimated because they appear as scattered defects rather than one major failure. Yet in electronics, optics, display processing, and coated surface production, even small flaws can reduce yield, increase rework, slow inspection, and weaken final product quality.
Headline
Knowledge
What Buyers Should Know Before Choosing a Automatic Plastic Blow Molding Machine
For buyers, factory owners, and packaging manufacturers, selecting an automatic blow molding machine is no longer just a matter of comparing output speed or initial price. In real production environments, the performance of a plastic blowing machine is often determined by the quality and coordination of its core components. A machine may appear competitive on paper, yet still create costly problems once production begins. Uneven wall thickness, unstable parison formation, excessive scrap, slow cooling, and difficult maintenance are all issues that can usually be traced back to the design of several key modules. This is why experienced buyers tend to look beyond catalog specifications and focus instead on the machine’s screw, die head, clamping system, and cooling design. These components do more than support production. They directly influence product quality, material efficiency, energy use, maintenance frequency, and overall return on investment.
Headline
Knowledge
What Buyers Overlook When Choosing a Wire Harness Manufacturer
A practical guide to evaluating engineering support, quality control, customization and sourcing risk
Headline
Knowledge
How High-Efficiency Gear Motors and Brushless Motors Support ESG and Energy Savings
Industrial motor efficiency directly affects a factory’s electricity use, carbon footprint, maintenance burden, and long-term operating cost. For factory owners, procurement teams, and equipment designers, choosing a more efficient gear motor or Brushless Motor is not only a technical upgrade. It is also a practical way to improve ESG performance, reduce energy waste, and strengthen return on investment. In most industrial facilities, motors are among the largest sources of electricity consumption. When motors run continuously in conveyors, packaging lines, automated machinery, food processing systems, and material handling equipment, even a modest improvement in efficiency can produce significant annual savings. That is why motor efficiency is increasingly linked to ESG strategy, cost control, and supply chain competitiveness.
Headline
Knowledge
Die Casting Vs. Forging: How To Choose Based On Strength, Geometry, And Volume
Choosing between die casting and forging affects far more than part cost. It influences structural performance, design flexibility, tooling strategy, machining requirements, lead time, and long-term production efficiency. When the wrong process is selected too early, projects often run into redesigns, extra machining, or higher-than-expected production costs. The right decision depends on how much strength is required, how complex the part geometry is, and whether the target is lower-volume production or stable high-volume output.
Headline
Knowledge
How Material Design Affects Fitness And Rehabilitation Rubber Products
In fitness and rehabilitation products, material design has a direct effect on performance, comfort, durability, hygiene, and long-term user trust. A resistance band that stretches unevenly, a grip that becomes slippery, or a flexible component that tears too early can quickly lead to complaints, returns, and lower confidence in the product. The key challenge is not simply choosing an elastic material. It is selecting and validating a material system that can perform consistently under repeated stretching, skin contact, sweat exposure, and ongoing mechanical stress.
Headline
Knowledge
Choosing the Right Coating for Paper Cups and Food Containers
Selecting the right coating for paper cups and food containers affects far more than leak resistance. For foodservice brands, importers, product teams, and packaging decision-makers, coating choice directly shapes heat resistance, grease performance, sealing behavior, disposal options, compliance risk, and overall cost. A paper cup or food container may look similar on the outside, but the coating often determines whether it performs well in real service conditions or creates problems after launch. That is why coating specifications should be defined early rather than treated as a minor detail after size, structure, or artwork are approved.
Headline
Knowledge
Understanding Lathe Types: Differences Between Manual, Engine, and CNC
When manufacturers evaluate different lathe types, the decision usually goes beyond machine specifications alone. Choosing between a **manual lathe**, an engine lathe, and a CNC lathe can influence production flexibility, machining consistency, labor requirements, and long-term investment efficiency. For many workshops, factories, and industrial buyers, understanding these differences is essential to selecting equipment that truly fits the job. In metalworking, the wrong machine choice can create avoidable problems. A machine that is too simple may limit output, while a machine that is too advanced may increase cost without delivering enough return. That is why buyers often need a clear, practical comparison rather than a purely technical definition. This article explains the differences between manual, engine, and CNC lathes, where each one performs best, and how buyers can choose the right type based on actual production needs.
Headline
Knowledge
Biometric, RFID or Face Recognition: Which Access Controller Fits Your Site Best?
What procurement and technical teams should review when selecting an access controller for security, throughput and long-term fit.
Agree