Beruflich Dokumente
Kultur Dokumente
3
Advantages and Disadvantages
1. armored for severe conditions 1. Too much work required in
(dust, moisture, heat, cold, connecting wires.
2. have the facility for extensive 2. Difficulty with changes or
input/output (I/O) arrangements replacements.
3. Cost effective for controlling 3. Difficulty in finding errors; requiring
complex systems. skillful work force.
4. Flexible and can be reapplied to
control other systems quickly and
easily.
5. Computational abilities allow more
sophisticated control.
6. Trouble shooting aids make
programming easier and reduce
downtime.
7. Reliable components make these
likely to operate for years before
failure.
Leading Brands Of PLC
AMERICAN 1. Allen Bradley
2. Gould Modicon
3. Texas Instruments
4. General Electric
5. Westinghouse
6. Cutter Hammer
7. Square D
EUROPEAN 1. Siemens
2. Klockner & Mouller
3. Festo
4. Telemechanique
JAPANESE 1. Toshiba
2. Omron
3. Fanuc
4. Mitsubishi
5
PLC
Input
CPU Input
Module
Flag
System
Output
Output Module
User Ladder
Diagram
Working
memory
registers
SWITCHES
Non-locking Locking
P1
P2
Multiple Throw Multiple Pole
Break-before-make Make-before-break
RELAYS
A switch whose operation is activated by an electromagnet is called a "relay"
contact
coil
input
Accumulator
reset
contact
output
Input
Reset
Output
Count 0 12 3 4 5 0 1
TIMER
A timer consists of an internal clock, a count value register, and
an accumulator. It is used for or some timing purpose.
Clock
Accumulator
reset
Register
Clock
contact
Contact
Reset
output
Output
Count 0 1 2 3 4 5
Time 5 seconds.
Relay Ladder Logic
19
Circuit representation in Ladder Logic
R1
TIMER
R1 R2
PB1
LS1 LS2
PR=5
TIMER
5
Motor
R2
R1
AN EXAMPLE OF RELAY LOGIC
Programming a PLC
Oil is consumed
randomly. The tank
needs to be refilled by
turning on a pump.
Two hydrostatic
switches are used to
detect a high and low
level.
AN EXAMPLE OF RELAY LOGIC
Ladder Logic for Tank
AN EXAMPLE OF RELAY LOGIC
Logic for Ladder Solution
#1
Initially the tank is empty.
Therefore, input 0000 is TRUE
and input 0001 is also TRUE
AN EXAMPLE OF RELAY LOGIC
Logic for Ladder Solution
#2
The internal relay is turned on as
the water level rises.
AN EXAMPLE OF RELAY LOGIC
Logic for Ladder Solution
#3
After scan 2 the oil level rises
above the low level sensor and it
becomes open. (i.e. FALSE)
AN EXAMPLE OF RELAY LOGIC
Logic for Ladder Solution
#4
After scan 4 the oil level rises
above the high level sensor at it
also becomes open (i.e. false)
AN EXAMPLE OF RELAY LOGIC
Logic for Ladder Solution
#5
Since there is no more true logic
path output 500 is no longer
energized (true) and therefore
the motor turns off.
AN EXAMPLE OF RELAY LOGIC
Logic for Ladder Solution
#6
After scan 6 the oil level falls
below the high level sensor and
it will become true again.
PROGRAMMING EXAMPLE 1 Bar code reader
microswitch Stopper
Part Conveyor
Robot
Machine