Programmable Logic Controller
Programmable Logic Controller
Programmable Logic Controller
- 104 -
www.iji-cs.org
(Abstract)A PLC (Programmable Logic Controllers) is a digitally operating electronic apparatus which uses a programmable
memory for the internal storage of instructions by implementing specific functions such as logic sequencing, timing, counting,
and arithmetic to control, through digital or analog input/output modules, various types of machines or processes. It is an easily
understood programming language .It can hold data for a long time i.e. for a indefinite time but requires excessive work in connecting wires. PLCs are used in many industries and machines. Unlike general-purpose computers, the PLC is designed for multiple inputs and output arrangements, extended temperature ranges, immunity to electrical noise, and resistance to vibration and
impact. Programs to control machine operation are typically stored in battery-backed-up or non-volatile memory. A PLC is an
example of a hard real time system since output results must be produced in response to input conditions within a bounded time,
otherwise unintended operation will result.
Keywords: PLC, Central Processing Unit, NEMA, Sinking, Sources
1.1 History
PLC development began in 1968 in response to a request from
an US car manufacturer and were first installed in the industry
in 1969.These could be used in the 70s to send and receive
varying voltages and entered in the analog world along with
communications abilities. In 80s there was an attempt to standardize communications with manufacturing automation protocol (MAP), reduction in the size of the PL and making them
software programmable through symbolic programming on
personal computers instead of dedicated programming terminals or handheld programmers. In the 90s there was a gradual
reduction in the introduction of new protocols and the modernization of the physical layers of some of the more popular
protocols that survived the 1980s [2].The latest standard IEC
1131-3 has tried to merge PLC programming languages under
one international standard. We now have PLCs that are programmable in function block diagrams, instruction lists, C and
structured text all at the
same time.
2. PLC Hardware
2.1 Hardware Components of a PLC System
PLC has following hardware components:
(i) Central Processing Unit (CPU)
CPU makes a great number of check-ups of the PLC controller
itself so as eventual errors would be discovered early.
- 105 -
Fig.1 S7-300
can count up, down or both up and down. Since they are simulated they are limited in their counting speed.
Some manufacturers use hardware based highspeed counters .
(iv)Timers
Timers also do not physically exist. These are of many varieties and increments.The most common type is an on-delay
type.Others include off-delay and both retentive and nonretentive types. Increments vary from 1ms through 1s.
(v) Output Relays
These are connected to the outside world. They physically
exist and send on/off signals to solenoids, lights, etc.
They can be transistors, relays, or triacs depending upon the
model chosen.
(vi) Data Storage
Typically there are registers assigned to simply store
data .temporarily for math or data manipulation.They can be
used to store data when power is removed from the PLC.
4. PLC Programming
4.1 Programming Languages
Programming languages include loading of a program into
PLC systems in machine code and a sequence of binary code
numbers to represent the program instructions.
A computer program called an assembler can be used to translate the mnemonics into machine code. High level Languages
used are C, BASIC, etc.
- 106 -
(i)Programming Console
(ii)PC
(iii) Hand Programmer
- 107 -
9. PLC Applications
Following is the information on drawing numbers for automatic gates using PLC (Fig.4):
1. Area Sensor (If there are objects, the sensor output OFF)
2. Area Sensor (If there are objects, the sensor output OFF)
3. Area Sensor (If there are objects, the sensor output OFF)
4. Area Sensor (If there are objects, the sensor output OFF)
5. Electric Motor and Gearbox
6. Limit Switch for Open gate condition
7. Limit Switch for Closed gate conditions
8. Gate
- 108 -
- 109 -
13. Conclusion
PLC is an easily understood programming language .It can
hold data for a long time i.e. for a indefinite time but requires
excessive work in connecting wires. The functionality of the
PLC has evolved over the years to include sequential relay
control, motion control, process control, distributed control
systems and networking. The data handling, storage,
processing power and communication capabilities of some
modern PLCs are approximately equivalent to desktop
computers. PLC-like programming combined with remote I/O
hardware, allow a general-purpose desktop computer to
overlap some PLCs in certain applications. Regarding the
practicality of these desktop computer based logic controllers,
it is important to note that they have not been generally
accepted in heavy industry because the desktop computers run
on less stable operating systems than do PLCs, and because the
desktop computer hardware is typically not designed to the
same levels of tolerance to temperature, humidity, vibration,
and longevity as the processors used in PLCs. In addition to
the hardware limitations of desktop based logic, operating
systems such as Windows do not lend themselves to
deterministic logic execution, with the result that the logic may
not always respond to changes in logic state or input status
with the extreme consistency in timing as is expected from
PLCs. Still, such desktop logic applications find use in less
critical situations, such as laboratory automation and use in
small facilities where the application is less demanding and
critical, because they are generally much less expensive than
PLCs.
REFRENCES