Untitled
Untitled
Untitled
PLC Course
مقرر الحاكمات المنطقية المبرمجة
Lec 2
1) sensors (sensor is a device that detects and responds to some type of input from the
engines, Conveyor systems, Assembly systems, Cranes, Air craft engines,…, etc.)
1) Sensors
• Sensors that detect conditions such as water level and temperature sensors.
2) Actuators
• The motor that spin the tub
3) Plant
• The machine body that contains the inner drum to be loaded with clothes and water
4) Controller
• Embedded controller (microprocessor/microcontroller based) on an integrated circuit
• It tells the washing machine what to do, based on the selections you make, such as the
wash cycle and water temperature.
The electric water valve
The Plant
The Controller
What Is A Programmable Logic Controller
(PLC)?
➢ Elevators
➢ Escalators
➢ Traffic Control
➢ Robot:
▪Toxic chemical materials spraying robot
➢ Most of the time the escalator in high traffic works at the normal rated operating
state. In the absence of passengers, it is still working at the same rated speed
operation with energy consumption (also the life time is reduced).
➢ PLC controls the speed of the escalator when no one uses the escalator to save
energy and increase its life time.
Production Line
Production Line
Washing Robot Spraying Robot
Common PLC’s Manufacturers
➢ Siemens
➢ ABB
➢ Schneider (Modicon)
➢ Rockwell (Allen-Bradley)
➢ LG
➢ Mitsubishi
➢ Omron
➢ Toshiba
Mitsubishi Schneider Siemens
LG Allen-Bradley ABB
The Considerations of Choosing a PLC
➢ Does the PLC have enough memory to run the user program?
➢ Will the PLC be able to manage the required number of inputs and
outputs of the application?
(2) Execute
(1)Read (3)Write
PLC Operation
LD X1
OR X2
ANI X3
OUT Y
Ladder diagram
Instruction List
Example: A PLC program using different
Programming Languages
Main Components of PLCs
Main Components of PLCs
There are a wide range of PLCs with different sizes, but all contain six basic
components:
1) Input Module (receive signals from input devices = sensors of the PLC)
2) Output Module (send the control action to output devices = actuator of the
PLC)
4) Memory
5) Power Supply
➢ The memory is the area of the PLC where all the sequences of instructions,
or programs, are stored and executed by the processor to provide the desired
control of field devices.
➢ The memory sections that contain the control programs can be changed, or
reprogrammed, to suite the manufacturing line procedure changes or new
system start-up requirements.
Memory
memories:
➢ The executive section is the part of the PLC’s memory where the system’s
available instruction software is stored (i.e., relay instructions, block
transfer functions, math instructions, etc.).
➢ The User Program Area provides a storage area for the user-programmed
instructions that form the application control program.
➢ The Data Table Area is composed of several areas, each having a specific
function and usage as illustrated in the following figure.
The usage of Data Table Area
➢ The power supply, then, has the function of supplying well-regulated power
and protection for other PLC system components as it contains (low
voltage transformer - bridge rectifier circuit – filter – voltage regulator).
➢ The filter in the power supply circuit is used to remove the remaining AC
pulses or ripples.
➢ Most PLCs, however, require a 120 VAC or 220 VAC power source, while
a few controllers will accept 24 VDC.
Input Devices
➢ Toggle Switch
➢ Push button Switch
➢ Selector Switch
➢ Temperature Switch
➢ Limit Switch
➢ Liquid Level Switch
➢ Relay Contacts
➢ Photoelectric Sensors (Photo Sensors )
➢ Pressure Switch
Toggle Switch Push Button Switch Selector Switch
Temperature Switch Limit Switch Liquid Level Switch
Photo Sensor
Pressure Switch
Input Devices
➢ Temperature Switch:
• The bending of the strip can then be used to actuate a switch contact
mechanism.
Input Devices
➢ Limit Switches:
• These limit switches closely like toggle or selector hand switches fitted
with a lever pushed by the machine part.
• Often, the levers are tipped with a small roller bearing, preventing the
lever from being worn off by repeated contact with the machine part.
• Most applications use the limit switch to detect the position.
Input Devices
• Level switches can also be designed to detect the level of solid materials
such as wood chips, grain, coal, or animal feed in a storage silo, bin, or
hopper.
Input Devices
➢ Pressure Switch:
➢ Pressure Switch: