Lecture-12-Programmable Logic Controllers
Lecture-12-Programmable Logic Controllers
Controllers (PLC)
Automation and Robotics
Purpose of Programmable
Logic Controllers (PLCs)
● Initially designed to
replace relay logic boards
○ Sequence device
actuation
○ Coordinate activities
● Accepts input from a
series of switches
● Sends output to devices
or relays
Features of PLC
● PLCs have several key features that make them well-suited for
use in industrial environments. These include:
○ Input/Output (I/O) capabilities: PLCs have a variety of
input and output ports that allow them to interface with
sensors and actuators, such as temperature sensors,
pressure sensors, and motor starters.
○ Programming capabilities: PLCs can be programmed
using a variety of languages, such as ladder logic, which is a
graphical programming language that is well-suited for use
in industrial environments. This allows PLCs to be easily
adapted to changing process requirements.
Features of PLC
○ Real-time control: PLCs are able to control processes in
real-time, which is essential for many industrial processes.
○ Communication capabilities: PLCs can communicate with
other devices and systems, such as supervisory control and
data acquisition (SCADA) systems and other PLCs, via a
variety of communication protocols, such as Ethernet and
Modbus
PLC
What devices does a PLC interact with?
● INPUT RELAYS-(contacts)
○ These are connected to the outside world.
○ They physically exist and receive signals from
switches, sensors, etc.
○ Typically they are not relays but rather they are
transistors.
What devices does a PLC interact with?
● TIMERS
○ They come in many varieties and increments
○ The most common type is an on-delay type
○ Others include off-delay and both retentive and
non-retentive types
○ Increments vary from 1ms through 1s
Terminology for Switches
Throw - number of states
3) Program control,
4) Arithmetic,
5) Data manipulation,
Contacts: Coil:
a. Normally open -| |-
a. Energize Coil -( )-
b. Normally closed -|/|-
b. De-energize -(/)-
c. Off-on transitional -|↑|-
c. Latch -(L)-
d. On-off transitional -|↓|-
d. Unlatch -(U)-
Timers and Counters
Sequencer