Lecture PLC 2020
Lecture PLC 2020
7
Areas of
Application
Manufacturing / Machining
Food / Beverage
Metals
Power
Mining
Petrochemical / Chemical 8
Major Components of PLCs
Programming Device/Com.port
Types:
-Hand held unit with LED / LCD display
-Desktop type with a CRT display
-Compatible computer terminal
10
I/O Modules
• Input Modules: Input Signals can be AC
or DC, Analog or Digital
• Output Modules: Outputs are either AC
or DC Analog Signals (Although it is
possible to ‘Construct’ Digital Outputs)
• Modern PLC’s have Expansion Ports to
Increase the Number of Available Inputs
and Outputs
Examples of I/O Signals
• Inputs:
-Pushbutton (Energizing or Grounding an Input)
-Relay Contact Output
-DC Voltage Level
-Digital Logic Signal (+5V or 0 V, etc)
• Outputs:
-Magnetic contractor
-Relay
-Solenoid valve
-Lamp
-Digital Logic Signal(-24Vac, -120Vac or -120Vdc
PLC Central Processing Unit(CPU)
• The CPU controls and supervises all operations
within the PLC, carrying out programmed instructions
stored in the memory.
• An internal communications highway, or bus system,
carries information to and from the CPU, memory and
I/O units, under control of the CPU.
• Microprocessor. This unit interprets the input
signals and carries out the control actions according
to the program stored in its memory, communicating
the decisions as action signals to the outputs. (5 V)
necessary for the processor and the circuits in the
input and output interface modules. processor.
PLC Power Supply
• The function of the power supply is to
lower the in coming AC voltage to the
desired level, rectify it to direct current,
and then filter and regulate it. The
internal logic of a PLC generally
operates on 5 to 24 volts DC,
depending on the type of controller. This
voltage must be free of voltage spikes
and other electrical noise and be
regulated to within 5% of the required
voltage value.
PLCs Operation
Basic Function of a Typical PLC
• Read all field input devices via the input
interfaces, execute the user program stored in
application memory, then, based on whatever
control scheme has been programmed by the
user, turn the field output devices on or off, or
perform whatever control is necessary for the
process application.
• This process of sequentially reading the inputs,
executing the program in memory, and
updating the outputs is known as scanning.
While the PLC is running, the scanning process
includes the following four phases, which are repeated
continuously as individual cycles of operation:
PHASE 1
Read Inputs
Scan
PHASE 2
Program
Execution
PHASE 3
Diagnostics/
Comm
PHASE 4
Output
Scan
16
PHASE 1 – Input Status scan
PHASE 3– Diagnostics/Communication
Once the program is executed, the CPU performs
diagnostics and communication tasks
17
PHASE 4 - Output Status Scan
•An output status scan is then performed,
whereby the stored output values are
sent to actuators and other field output
devices. The cycle ends by updating the
outputs.
18
As soon as Phase 4 are completed, the entire cycle
begins again with Phase 1 input scan.
19
Specifications
Several factors are used for evaluating the quality and
performance of programmable controllers when selecting
a unit for a particular application. These are listed below.
NUMBER OF I /O PORTS
20
Specifications
OUTPUT-PORT POWER RATINGS
SCAN TIME
21
Specifications
MEMORY CAPACITY
22
Selecting a PLC
Criteria
• Ladder diagram
• Functional Block Diagram
• Sequential Function Chart
• Instruction List etc
PLC Programming software