Beruflich Dokumente
Kultur Dokumente
Chapter five
Programmable Logic
Controller
(PLC)
Discrete/Continuous Control
System
Input
parameter
(set point )
Controller
Control element
/Actuator
Feedback
sensor
process
Output
variable
Digital Controllers
Traditional (Hardwired).
Digital Logic (Electronic).
Microcontroller.
Programmable Logic Controller (PLC).
Traditional Controller
(Hardwired)
Hard-wired Controller
Disadvantages
Very low reliability.
Inflexibility (very hard to expand and
modify).
No communication, data collection, and
data handling capabilities.
Very hard to troubleshoot.
Very large size.
PLC Advantages
Relatively low cost.
High reliability: The program takes the
place of much of external wiring that would
normally be required for controlling the
process.
Flexibility/programmability: It is easier to
create and change a program in the PLC
than to wire and rewire a control circuit.
PLC Advantages
Communication capabilities: PLC can
communicate with other controllers,
computers, and/or equipments to perform
several functions.
Fast scan and response time.
Easier to troubleshoot: PLCs have
diagnostics and override functions that
allow users to easily track and correct
software and hardware problems.
PLC Advantages
Special interfaces have allowed certain
devices to be connected directly to the
controller, such as thermocouples and
strain gauges
Powerful instructions have been provided
and advanced functional block instructions
have been implemented
PLC Advantages
Expandability/modular
Ease of use in an industrial environment
Ease of installation
Used less space (small size)
PLC Applications
Automotive.
Chemical and Petrochemical.
Glass Processing.
Manufacturing and Machining.
Materials Handling.
Metals.
Power.
Rubber and Plastic.
PLC
Hardware components.
Principle of operation/scan cycle.
Response time.
Modes of operation.
Types and classifications.
Specifications.
Connections.
Programming languages.
Programming Instructions (logic functions, set/reset,
timers, and counters).
Examples/Applications.
PLC
Ladder Diagram
A very commonly used method to program PLCs.
Ladder diagram is equivalent to drawing a control
circuit of traditional controller.
Ladder diagram consists of two vertical lines.
Circuit elements connected as horizontal lines.
Each rung on the ladder defines one operation in the
control process.
A ladder diagram is read from left to right, and from
top to bottom.
Each rung must start with an input(s) and must end
with at least one output.
Logic circuits
Logic equations (Boolean expressions)
Truth tables
Timing diagrams
Commutative Law.
Associative Law.
Distributive Law.
DeMorgans Theorem.
Basic Rules.
Example:
Write a PLC program that will turn on a light if one or
other of two switches is closed, and the light will be
turned off when a reset switch is closed. If both
switches are closed simultaneously, the light will be
turned off and an alarm light will operate which can
only by shut off by closing the reset switch.
Inputs
Outputs
Light: Q0.1
Alarm: Q0.2
Example:
A pump is to be used to fill two storage tanks. The
pump is manually started by the operator from a
start/stop station. When the first tank is full, the
control logic must be able to automatically stop flow
to the first tank and direct flow to the second tank
through the use of sensors and electric solenoid
valves. When the second tank is full, the pump must
shut down automatically. Indicator lamps are to be
included to signal when each tank is full. Prepare a
typical PLC program for this control process.
Inputs
Outputs
Tank (1) full sensor (N.O): I0.1 Solenoid 2 (tank 2): Q0.2
Tank (2) full sensor (N.O): I0.2