Professional Documents
Culture Documents
1
Introduction to PLCs
2
Introduction to PLCs
3
Introduction to PLCs
History of PLC
PLC is recognized as first being introduced by Bedford Associates in 1968.
Because it is programmable, the PLC also allows quicker changes to the equipment’s
control behavior.
4
Introduction to PLCs
PROGRAMMABLE – The PLC is taught the rules to how it should use LOGIC
the input conditions to create an outcome through its programming
software. Being programmable makes it versatile, so if needs or conditions
change, the PLC can be reprogrammed to meet the changes.
PROGRAMMABLE
5
Introduction to PLCs
Internals of PLC
FOUR INTERNAL AREAS
CPU– Decision making, controls
other areas.
Communication Ports –
load user’s program from PC, also
exchange data with external Working of PLC – The input and
devices, including other PLCs. output connections interface to the real
Input/Output – handles world devices. Conditions and status of the
interface of signals to real world inputs are monitored, decisions made by
devices the user’s control program loaded into the
memory through the communication
ports and executed by the CPU, and
6
outputs activated based on the outcome.
Introduction to PLCs
Internals of PLC
7
Introduction to PLCs
Siemen’s LOGO PLC
8
Introduction to PLCs
Wiring of PLC
9
Introduction to PLCs
Ladder Diagrams for PLCs
A PLC is programmed using application software running on a PC. The most
widely used programming method, carried over from relay-based control
system, is Ladder Logic Diagram.
A Ladder Logic Diagram is made up of contacts, coils and other functions that
are arranged as rungs on a ladder.
In the ladder shown above, the Output Q1 is driven by three Inputs I1, I2, I3 in
series. Input I1 is Normally Open (NO) and I2 and I3 are Normally Closed (NC).
When I1 is energized(on), it closes, completes the path and Q1 is energized(on). On
the other hand, if I2 or I3 is energized, they open and breaks the path, output Q1
becomes de-energized (off). The parallel line below the first rung showing Q1 as the
input is called a ‘Latch’ which will be explained later slides.
10
Introduction to PLCs
Ladder Diagrams for PLCs
11
Introduction to PLCs
Ladder Diagrams for PLCs
12
Introduction to PLCs
Ladder Diagrams for PLCs
13
Introduction to PLCs
Ladder Diagrams for PLCs
14
Introduction to PLCs
Ladder Diagrams for PLCs
15
A Ladder Diagram
Output X is driven by four Inputs A,
B, C and D.
16
Introduction to PLCs
Program Scan
It is helpful when programming a PLC to
understand how the Ladder Logic program is
‘scanned’. Once the PLC is in RUN mode, the CPU
executes in the order shown in the flow diagram.
18
Conventions followed in Drawing Ladder
Diagrams for PLCs
19
Introduction to PLCs
Ladder Diagrams for PLCs
20
Introduction to PLCs
Ladder Diagrams for PLCs
Latching:
Operating a circuit even after de-
energizing the main input.
A Latch circuit preserves states.
A Latch circuit is un-clocked.
23
Introduction to PLCs
Ladder Diagrams for PLCs
25
TIMER
Types of timers :
• ON delay timer
• OFF delay timer
Introduction to PLCs
Ladder Diagrams for PLCs
Counter: A counter function can be used in the ladder to up-count
(zero up to some set value) or down-count (some set value down
to zero) and then reset the output device/event.
WGA_PLC_0209201
Ladder program
Low High
Level Internal PLC Coil
Level
Motor Contact
Internal PLC Relay
END
Exercises
https://www.sanfoundry.com/100-plc-programming-examples/
http://plc-scada-dcs.blogspot.com/2013/12/basic-plc-ladder-
programming-training.html#axzz5Jz5HikJd
http://www.plcacademy.com/ladder-logic-examples/
30