The main parts of a PLC are,
1) Central Processing Unit consisting of a microprocessor, and memory unit. A microprocessor is essentially a logic solver. Memory unit is used to store operating system of PLC, user program and temporary data.
2) Power supply: A switched mode power supply is used which generates the required dc levels to power the internal circuit
3) Programmer/ Monitor: Programmer/monitor is device used to load program into PLC from a hand held terminal or a PC
4) I/O modules: The IO modules are for connecting outside world digital/analog input/output devices to PLC.
5) Analog I/O module: These for connecting analog input signals derived from different sensors and transducers
Block Diagram of PLC:-
A simplified block diagram of a PLC shown in above Fig. It has three major units/sections.
I/O (Input/Output) Modules.
CPU (Central Processing Units).
Programmer/Monitor.
The input section converts the field signals supplied by input devices/sensors to logic-level signals that the PLC's CPU can read. The Processor Section reads these inputs, Processes the signal, and prepares the output signals. The output section converts the logic level output signals coming from processor section to high level signals and used to actuate various output field devices. The programmer/monitor is used to enter the user's program into memory and to monitor the execution of the program.
1) I/O Section:- The I/O section establish the interfacing between physical devices in the real world outside the PLC and the digital arena inside the PLC. The input module has bank of terminals for physically connecting input devices, like push buttons, limit switches etc. to a PLC. the role of an input module is to translate signals from input devices into a form that the PLC's CPU can understand. The Output module also has bank of terminals that physically connect output devices like solenoids, motor starters, indicating lamps etc. to a PLC. The role of an output module is to translate signals from the PLC's CPU into a form that the output device can use.
The tasks of the I/O section can be classified as:
Conditioning Isolation Termination Indication
An electronic system for connecting I/O modules to remotely located I/O devices can be added if needed. The actual operating process under PLC Control can be thousands of feet from the CPU and its I/O modules.
2) CPU Section:- The Central Processing Unit, the brain of the system is the control portion of the PLC. It has three Subparts.
Memory System Processor Power Supply
Memory System:- The memory is the area of the CPU in which data and information is stored and retrieved.The total memory area can be subdivided into the following four Sections.
I/O Image Memory User Memory
Executive Memory
Processor:- The processor, the heart of CPU is the computerized part of the CPU in the form of Microprocessor / Micro controller chip. It supervises all operation in the system and performs all tasks necessary to fulfill the PLC function.
It reads the information i.e status of externally connected input devices with input module.
It stores this information in memory for later use.
It carries out mathematical and logic operations as specified in application program.
After solving the user's program, it writes the result values in the memory.
It sends data out to external devices like output module, so as to actuate field hardware.
It performs peripheral and external device communication.
It Performs self diagnostics.
Power Supply:- The power supply provides power to memory system, processor and I/O Modules.
It converts the higher level AC line Voltage to various operational DC values.
for electronic circuitry.
It filters and regulates the DC voltages to ensure proper computer operations.
3) Programmer/Monitor:- The Programmer/Monitor (PM) is a device used to communicate with the circuits of the PLC.The programming unit allows the engineer/technicians to enter the edit the program to be executed. In its simplest form it can be hand-held device with membrane keypad for program entry, and a display device (LED or LCD) for viewing program steps of functions.