Contents
A PLC is a user friendly; microprocessor-based specialized equipment that carries out many types of control functions with levels of complexity for use in industrial automation applications. Its objective is to monitor crucial process parameters and adjust process operations accordingly. A PLC can be programmed, controlled and operated by users.
PLC use a programmable memory to store instructions and to implement functions such as logic, sequencing, timing, counting and arithmetic in order to control machines and processes.
In a traditional industrial control system, all control devices are wired directly to each other according to how the system is intended to operate. The PLC replaces the wiring between the devices. Hence, instead of being wired directly to each other, all equipment is wired to the PLC. Then, the control program inside the PLC provides the wiring connection between the devices. The control program is the computer program stored in PLC’s memory that tells the PLC what’s supposed to be going on in the system. If you want a PLC system to behave differently or to control a different process element, you simply have to change the control program. In a traditional industrial control system, making this type of change would involve physically changing the wiring between the devices, which is costly and time-consuming task.
In transitioning from the traditional control systems, the existing push buttons, limit switches and other command components continue to be used and become input devices to the PLC. Likewise, the contactors, relays, solenoids, indicating lamps, etc. become the output devices controlled by the PLC.
In a PLC, switches, sensors or input devices, are realised as contacts and output circuits as coils. The term logic in a PLC is used because programming is primarily concerned with implementing logic and switching operations. The input devices such as sensors, switches and output devices in the system being controlled, e.g. lamp, motor, etc. are connected to the PLC. The operator then enters a sequence of instructions i.e. a control program into the memory of the PLC. The controller then monitors the inputs (contacts) and outputs (coils) according to this control program and carries out the control rule for which it has been programmed.
A PLC consists of the CPU, memory and circuits for inputs and outputs. Input and output circuits deal with receiving input data and sending data to output devices respectively. A PLC may be considered to be a collection of a large member of relays, counters, timers, and data-storage locations. These components (timers, counters, etc.) do not exist physically but are used as logic components.
These components are actually transistors, and they exist physically, they are meant for receiving signals from sensors, switches, etc.
They are logical (simulated) relays and are the main tools of a PLC which eliminate the use of conventional physical relays and hard-wired relay control circuits. They help implement the control logic programs.
Recommended: The Ultimate Guide to Electrical Maintenance
They exist physically, made of transistors, conventional relays, etc. depending upon the application and are used to send on/off signals to lamps, solenoids, etc.
Counters are programmed to count the number of events (pulses). They do not exist physically. These logical components are used for the sake of implementing control programs containing the need of counting up or down or both, a series of events.
They exist logically. They are used to introduce time delay between the occurrences of two events. We have different types of timers e.g. on-delay timers, off-delay timers, etc.
Don’t miss out on key updates, join our newsletter List
These are group of registers, used to store data to carry out arithmetic and logical operations with them.
Typically a PLC has 3 basic functional components. The 3 major parts are:
The CPU controls and processes all the operations within the PLC. It comes with a clock frequency of typically between 1 and 8 MHz. This frequency decides the operating speed of a PLC, and provides the timing and synchronization for all elements in the system. The CPU has 3 subparts:
It contains the microprocessor. It interprets the input signals and carries out mathematic and logic operations to set the control actions, according to the program stored in the memory and then communicate the decision as action signals to the output. In other words, the processor performs the following functions in a PLC:
How to Access Our Premium Articles & Resources Learn More
A PLC uses four buses to carry out communication process, when binary information is transferred from one location to another. These buses are:
This is the area of the CPU in which data and information are stored and retrieved. It holds the system software and user programs.
The memory is used to store different files. File is the collection of words and a word has two bytes; lower byte and higher byte. Eight bits make a word. Bit is the smallest unit of information, either high or low. To store a bit, the smallest unit of memory is known as a memory cell. A register is a group of memory cells e.g. eight memory cells connected in parallel forms an eight-bit register. Therefore, to store a word (2 bytes), two such registers are to be used. To identify memory locations, an addressing scheme which maybe octal or hexadecimal is used.
PLC operating system programs are stored permanently into ROM, whereas information can be stored and retrieved into/from the RAM. The programs and data in RAM can be changed by the user. User programs e.g. ladder logic program can be written into the RAM and a new program can overwrite previously written programs in the same locations. We also have Erasable and Programmable read-only-memory (EPROM), for PLCs modules.
The power supply makes regulated dc voltage with proper filtering circuit to ensure the supply of desired low dc voltage levels to the processor and circuits in the input and output modules.
Related Content: PLC Programming for Beginners
The input/output modules provides the interface between the system and the outside world, allowing for connections to be made through input/output channels to input and output devices.
The input module has terminals into which the outside process electrical signals, generated by the sensors or transducers are fed. The output module has terminals to which output signals are sent to activate relays, solenoids, solid-state switches, motors, indicators, and displays.
It is also through the input/output module that programs are entered from a programming terminal. Every input/output point has a unique address which can be used by the CPU for identifying the device. The input/output channels provide isolation and signal-conditioning functions; hence sensors and actuators can often be directly connected to them without the need for other circuitry.
An electronic system for connecting I/O modules to remote locations can be added if required. The actual operating process under PLC control can be hundreds of meters from the CPU and its I/O modules input and output devices can be classified as giving analog or digital/discrete signals.
For faster switching operation or response, transistor-type output is preferred over relay-type output. Off relay-type output isolates the PLC from the external circuit, but in the transistor type, opto-isolators are used to provide isolation. Triac output with opto-isolator can be used to control external loads which are strictly connected to AC power supply.
Outputs to actuators allow the PLC to change a process. Examples of actuators include:
Examples of sensors used as inputs to PLC include:
Rack is an enclosure with slots on which the CPU, power supply and input/output modules are mounted. The modular type of a PLC design can be used for all sizes of programmable controllers and has various functional units packaged in individual modules which can be plugged into slots according to the requirement. Therefore, it is easy to expand the number of inputs/outputs by just adding more I/O modules or expand the memory by adding more memory units.
The programming terminal connects PLC monitor/programmer to CPU by a cable. PLC programming equipment exists to allow the user to write, edit, and monitor a program, as well as perform various diagnostic procedures. PLC programming arrangements can be a hand-held device, a desktop console, or a personal computer.
Five common PLC programming languages include:
Related: The Basics of Ladder Diagrams for Programming PLCs
The actions carried out by a PLC as shown in diagram below is called the program scan.
The period of the loop is called program scan time. This depends on the size of the PLC program and the speed of the processor.
At the start, the PLC scans the state of all the connected inputs and stores their states in the PLC memory. When PLC program accesses an input, it reads the input state as it was at the start of the program scan. A zone of PLC memory corresponding to the outputs is changed by the execution of the program, and then all the outputs are updated simultaneously at the end of the scan. This action is therefore, read inputs, executes program, update outputs.
PLCs offer the following advantages:
You may also read:
Image: Pexels The electric vehicle (EV) market is accelerating at an unprecedented pace, driven by…
Numerical control is a form of digital control that is employed on machine tools such…
Photo: Pexels Benefits of Installing Solar Panels in Your Home: Save Money and Your Planet…
Pneumatic control valve Control valve sizing refers to the procedure determining the correct size of…
The aim of a typical control system is to force a given set of process…
An object can be used to activate a switch directly, producing an ON or OFF…
View Comments