introduction to programmable logic controller

Published on Sep08, 2021 | Category: basic

Share this Page:

PLC Is Programmable Control System Which Reduced Complex Hardwired Relay Logic. Programmable Logic Controller (PLC) Store Instructions To Control Industrial Machines, Systems And Processes. Controlling Process Is Depends On Inputs, Outputs Condition Of System.

Basic Components of PLC Systems

Any PLC Systems will always consist of a processor (CPU), an input output system, a Memory unit, a programming device, a communication system, and a power supply.

img/img/PLCBLOCK.webp

img/img/plcmain.webp

PLC Power supply

The power supply supplies DC power to other modules that plug into the rack. For large PLC systems, this power supply does not normally supply power to the field devices. With larger systems, power to field devices is provided by external alternating current (AC) or direct current (DC) supplies. For some small micro PLC systems, the power supply may be used to power field devices.

img/img/siempower.webp

the central processing unit (CPU)

The central processing unit (CPU) performs basic arithmetic and logical instruction and controlled input and output operation which specified by instruction. PLC have one or more standard or custom microprocessors as well as other integrated circuits that perform the logic, control, and memory functions. Memory requires for storing the results of the logical operations performed by the microprocessor.

img/img/cpuplc.webp

Memory of PLC

Memory located in the same housing as the CPU. Memory is used to store the control program for the PLC system. The information stored in memory determines how the input and output data will be processed. size of memory is depends on the manufacturer of the programmable controller. Memory either volatile or nonvolatile. Volatile memory will lose its programmed contents if all operating power is lost or removed. Random access memory (RAM) is volatile memory of CPU, Nonvolatile memory will retain its data and program even if there is a complete loss of operating power. EEPROM is a nonvolatile memory.

input output system of plc

The Input and Output system provides the physical connection between the process instrument, field instruments, sensor, transmitter etc. and the microprocessor. process equipment switches, thermocouples, push button, level sensor, RTD, temperature controller, pressure transmitter, and position, solenoid valves, motors contactor, measure the physical condition of process and gives feedback to plc by Input and output system, so CPU Performs logical operation. The input devices measure or sense the process value depends on feedback of input devices signal controller execute logical operation and gives the output.

types of input and output

PLC DIGITAL MODULE This type of interface connects field input devices of the ON/OFF nature such as selector switches, pushbuttons, and limit switches. Likewise, output control is limited to devices such as lights, relays, solenoids, and motor starters that require simple ON/OFF switching. The classification of discrete I/O covers bit oriented inputs and outputs. In this type of input or output, each bit represents a complete information element in itself and provides the status of some external contact or advises of the presence or absence of power in a process circuit. Switches, pushbutton, limit switches, proximity switches, lamp, contactor, relay are all examples of discrete sensing devices.

img/img/di.webp

PLC analog MODULE analog devices represent physical quantities that can have an infi nite number of values. Analog input modules normally have multiple input channels that allow 4, 8, or 16 devices to be interface to the PLC. The two basic types of analog input modules are voltage sensing and current sensing. all type of analog input module have Analog-to-Digital Converter (ADC) and analog output module have Digital-to-Analog Converter (DAC). ADC convert analog input to digital signal, and DAC Converts digital signal to analog signal.

img/img/ao.webp

PLC Network Input output

Network module or communication module are used to communication between PLC to PLC, PLC TO PLC's, PLC to field devices, Modbus was digital protocols developed for PLC communication , originally for the Modicon brand of PLC. Modbus was adopted by other PLC and industrial device manufacturers. profibus is another example.

img/img/plcnet.webp

Programming Devices

The programming device such as personal computer (PC) is used to plc programming, downloading and uploading program to plc, monitor of the PLC. Programming devices also a dedicated portable unit. every manufacturer have different software for making a program or communicating plc to personal computer. PLCs have software available so that a PC can be used as the programming device. This software allows users to create, edit, document, store, and troubleshoot ladder logic programs

img/img/rslogix_5.webp

operation of plc

The most basic function programmable controllers perform is to examine the status of inputs and, in response, control some process or machine through outputs. The logical combination of inputs to produce an output or outputs is called control logic. This control plan is stored in memory using a programming device. Once input in memory, the control plan is periodically scanned by the processor usually a high-speed microprocessor in a predetermined sequence.

img/img/PLCscan.webp

The processor controls the operating cycle or processor scan for the PLC. This operating cycle consists of a series of operations that are performed sequentially and repeatedly. During the input scan the PLC examines the external input devices to detect whether a signal is present or absent, that is, an ON or OFF state. The status of these inputs is temporarily stored in an input image table or memory file. During the program scan, the processor scans the instructions in the control program, uses the input status from the input image file, and determines if an output will or will not be energized. The resulting status of the outputs is written to the output image table or memory file. Based on the data in the output image table, the PLC energizes or DE energizes its associated output circuits, thereby controlling external devices. This operating cycle typically takes 1 to 25 milliseconds (thousandths of a second). The input and output scans are normally very short compared to the time required for the program scan.

Book references