Ladder Logic Fundamentals - Overblogdata.over-blog-kiwi.com/0/62/...ladder-logic-fundamental-controls.pdf · Lecture – Ladder Logic Fundamentals MME 486 – Fall 2006 4 of 35 History
Post on 09-Apr-2018
252 Views
Preview:
Transcript
MME 486 – Fall 2006Lecture – Ladder Logic Fundamentals 1 of 35
Ladder Logic Fundamentals
Industrial Control SystemsFall 2006
MME 486 – Fall 2006Lecture – Ladder Logic Fundamentals 2 of 35
Purpose of Industrial Controls
• In general, the purpose of an industrial control system is to control a process or mechanical system
• Examples include:– Beer brewing, camshaft machining, press
loading, automobile body welding, tube cutting, foam curing, water pump assembly, automobile painting, truck frame coating, etc.
MME 486 – Fall 2006Lecture – Ladder Logic Fundamentals 3 of 35
Components of Control
Process or Machine to be Controlled
Feedback from Process or Machine
OperatorInputs
•Product
orDesired
Behaviour
MME 486 – Fall 2006Lecture – Ladder Logic Fundamentals 4 of 35
History
• Before the use of computers, industrial control systems were implemented as mechanical, pneumatic/hydraulic or electric circuits
• Hardwired switches and electromechanical relays implemented the desired control logic
• Today, relay panels are still used in applications with low complexity.
• More often, I/O devices interface with a PLC that implements the desired logic.
MME 486 – Fall 2006Lecture – Ladder Logic Fundamentals 5 of 35
Relay Panel
http://www.maple-leaf.ca/indrelaybasedcontrol.html
MME 486 – Fall 2006Lecture – Ladder Logic Fundamentals 6 of 35
Control Supply Transformers
• Unlike high voltage (i.e. 240 VAC, 480 VAC, 575 VAC) output devices such as motors, the control systems are powered by lower voltage levels.
• Depending on the application, the control voltage can be 24 VDC or 120 VAC.
• The control logic supply is usually derived from the higher line voltages using a transformer.
MME 486 – Fall 2006Lecture – Ladder Logic Fundamentals 7 of 35
Control Supply Transformers
3 phasePower
ControlTransformer
HV in
LV out
MME 486 – Fall 2006Lecture – Ladder Logic Fundamentals 8 of 35
Fuses• Control circuits are always fuse protected • This will prevent damage to the control
transformer in the event of a short circuit
MME 486 – Fall 2006Lecture – Ladder Logic Fundamentals 9 of 35
Fuses• Fuses should be immune to current
transients (slow blow)• Must be rated at a current that is less
than or equal to the rated secondary current of the control transformer
• The fusing of control circuits can be complex. There are many different fuse types with trip characteristics available.
MME 486 – Fall 2006Lecture – Ladder Logic Fundamentals 10 of 35
Typical Diagram of Control Circuit Power
3 phasePower
ControlTransformer
MME 486 – Fall 2006Lecture – Ladder Logic Fundamentals 11 of 35
Ladder Logic
3 phasePower
ControlTransformer
All control circuitryoccurs between thepower and supply
and ground.These are the "rungs"
of the ladder
MME 486 – Fall 2006Lecture – Ladder Logic Fundamentals 12 of 35
Boolean (combinational) Logic and Relay Logic
• Switches and relays in a machine perform some type of control operation “logical function” such as AND, OR, NOT as found in digital circuits
• Coils, N/O and N/C contacts can be wired to perform logical functions
• No storage of previous states
MME 486 – Fall 2006Lecture – Ladder Logic Fundamentals 13 of 35
Ladder Logic - AND Function
• Binary 1 represents the presence of a signal or the occurrence of some event, while binary 0 representsthe absence of the signal or nonoccurrence of the event.
• For example, the closing of a switch would represent alogic 1, while an open switch represents a logic 0.
MME 486 – Fall 2006Lecture – Ladder Logic Fundamentals 14 of 35
Ladder Logic – AND Function
A BCR1
Both A AND B must be closed to energize CR1
MME 486 – Fall 2006Lecture – Ladder Logic Fundamentals 15 of 35
Application of AND Logic• Press operation• The machine can be only cycled by pressing
two switches simultaneously using two hands
MME 486 – Fall 2006Lecture – Ladder Logic Fundamentals 16 of 35
Ladder Logic - OR Function
MME 486 – Fall 2006Lecture – Ladder Logic Fundamentals 17 of 35
Ladder Logic – OR Function
• The lamp is on if SWITCH1 OR SWITCH 2 is closed.
MME 486 – Fall 2006Lecture – Ladder Logic Fundamentals 18 of 35
Ladder Logic – NOT Function
• The output is the inverse of the input
MME 486 – Fall 2006Lecture – Ladder Logic Fundamentals 19 of 35
Ladder Logic – NOT Function
• The light is on when the switch is open
L1SW1
MME 486 – Fall 2006Lecture – Ladder Logic Fundamentals 20 of 35
Ladder Logic – XOR Function
A
BY
011101110000YBA
MME 486 – Fall 2006Lecture – Ladder Logic Fundamentals 21 of 35
Ladder Logic – XOR Function
YA B
BA
MME 486 – Fall 2006Lecture – Ladder Logic Fundamentals 22 of 35
Sequential Logic
• Previous state used along with state present inputs to determine output. present state
• SR, D, and T flip flops
MME 486 – Fall 2006Lecture – Ladder Logic Fundamentals 23 of 35
The SR Latch• The SR latch has 2 stable states, on and off• The S, or set input is used to turn on the
output. The R, or reset input is used to turn off the output.
S
R
Q
Q
S
R
Q
Q
Race11101010
Q(t-1)00QRS
MME 486 – Fall 2006Lecture – Ladder Logic Fundamentals 24 of 35
The SR Latch• Occasionally, it is necessary to latch a relay ON when the activating
device goes OFF.• An SR latch may be formed by a NO and NC switch.• The start button is the set input, while the stop button is the reset
input.• The physical act of pushing the start or stop button is analogous to
applying a logic 1 to the S, or R inputs respectively.
MME 486 – Fall 2006Lecture – Ladder Logic Fundamentals 25 of 35
The T Flip Flop
• Sometimes it is useful to have a momentary contact switch the output on during the first switch contact, and switch the output off during the second switch contact.
MME 486 – Fall 2006Lecture – Ladder Logic Fundamentals 26 of 35
T Flip-Flop Proposed Circuit
Output appears on CR2
CR2
CR1PB CR2
PB
PB
PB
CR1
CR1
CR2
MME 486 – Fall 2006Lecture – Ladder Logic Fundamentals 27 of 35
T Flip-Flop
• Homework – Verify that the circuit on the previous page works through an analysis of the circuit states.
• Explain the operation of the circuit.
MME 486 – Fall 2006Lecture – Ladder Logic Fundamentals 28 of 35
Anti-Tie Down and Anti-Repeat
• The machine must not have the capability to be cycled by tying down one of the two RUN switches and using the second to operate the machine
• In most cases this is an extremely hazardous practice
• Anti-tie down and anti-repeat solve this problem
MME 486 – Fall 2006Lecture – Ladder Logic Fundamentals 29 of 35
Anti-Tie Down and Anti-Repeat
• Both switches must be pressed at the same time within small time window
• If one switch is pressed then the other is pressed after the time is expired, the machine will not cycle
• We need:– Two switches– TON relay
MME 486 – Fall 2006Lecture – Ladder Logic Fundamentals 30 of 35
Anti-Tie Down and Anti-Repeat
MME 486 – Fall 2006Lecture – Ladder Logic Fundamentals 31 of 35
Master Control Relays (MCRs)• Used to enable or
disable entire sections of control circuit (rungs)
MME 486 – Fall 2006Lecture – Ladder Logic Fundamentals 32 of 35
MCR's – Emergency Stops• Typically, MCR's are used in Emergency Stop
(E-Stop) circuits to disable power to a circuit or machine in the event of a fault, or an operator initiated stop.
MCR
MCR
MCR
StartE-Stop E-Stop E-Stop
MME 486 – Fall 2006Lecture – Ladder Logic Fundamentals 33 of 35
Control Zones
• Used to apply control to specific sections of the control circuitry
MME 486 – Fall 2006Lecture – Ladder Logic Fundamentals 34 of 35
Motor Starter Wiring• A 3 phase motor can be started in the following manner:
ph. A
ph. B
ph. C
3 Phase MotorCR1
CR1
CR1StartOL
CR1
Stop
CR1
OL
OL
OL
MME 486 – Fall 2006Lecture – Ladder Logic Fundamentals 35 of 35
Motor Starter Wiring – Single Phase Motors
• Homework: Investigate how a three phase motor starter can be used to control a single phase motor.
top related