Introduction To PLC
Introduction To PLC
INTRODUCTION TO PLC
UNIT5
INTRODUCTION TO PLC
OBJECTIVES
Explain and draw the logic function LD, OR, AND, AND
NOT, LD NOT, OUT, TIM, CNT
E3145/5/2
INTRODUCTION TO PLC
INPUT
(Source :
Manual
OMRON (1999),
Beginner Guide
To PLC)
E3145/5/4
INTRODUCTION TO PLC
PLCs were used mainly in the motor industries in the early 1970s
where they replaced large relay panels. Not only do PLCs take up much
lesser space than the relay system, they are also more reliable in operation
over longer periods. One important point to take note is that PLCs are very
flexible in terms of modifying or changing the control sequences. It is now
possible to change or modify the control system without having to connect or
disconnect a single wire. It is simply done by changing the program
(software), using a program console or graphic programming panel attached
to the programmer logic controller.
Industry demands on PLCs are increasing rapidly and this has
encouraged manufacturers to develop whole families of microprocessors-
based systems having various level of performance. Available PLCs now
range from small self-contained units to sophisticated modular systems with
a range of add-on function modules for tasks such as analog input/output
and communications. This modular system allows the expansion or
upgrading of a control system with minimum costs and interruption.
In 1968, a group of engineers from General Motors developed the
concept of PLC with an initial specification. The PLC must be :
1) Easy to program and reprogram
2) Easy to maintain and repair
3) More reliable in an industrial environment
4) Smaller in size than its relay equivalent
5) Cost-competitive
E3145/5/5
INTRODUCTION TO PLC
YEARS DESCRIPTION
1968 The concept of PLC was developed
1969 A hardware CPU controller was used with logic
instructions. It comes with 1K of memory and 128 I/O
points
1974 Using several processors within a PLC with add-on
timers and counters functions. Arithmetic operations
are also included. This PLC has 12K of memory and
1024 I/O points
1976 Remote I/O systems were introduced.
1977 Microprocessor-based PLC was introduced
1980 Intelligent I/O modules were developed
1983 Small low-cost PLCs were introduced
1985 onwards With networking capabilities
Activity 5A
PART 1
Questions 1 to 5 have four options: A, B, C or D. Choose the correct
answer from the options given.
5.2 Which of the following is most likely to be the voltage level used
internally in a PLC, excluding the voltage levels that might occur during
conditioning in output/input channels:
A 5V
B 24V
C 110V
D 240V
PART 2
Feedback To Activity 5A
PART 1
5.1 D
5.2 A
5.3 D
PART 2
INPUT
For example, let’s assume that when a switch turns on we want to turn
a solenoid on for 5 seconds and then turn it off regardless of how long the
switch is on for. We can do this with a simple external timer. But what if the
process included 10 switches and solenoids? We would need 10 external
timers. What if the process also needed to count how many times the
switches individually turned on? Thus we need a lot of external counters.
E3145/5/10
INTRODUCTION TO PLC
As you can see the more bigger process you need, we have a PLC.
We can simply program the PLC to count its inputs and turn the solenoids for
the specified time.
There are so many applications where PLCs are used in the various
industries. Below is the list of applications :
i. conveyor system
ii. swimming pool
iii. traffic light system
iv. lift control system
v. food processing
vi. pick and place robot control
vii. packaging machine
viii. security control system
ix. car manufacturing plant
x. printing industries
xi. air condition control
xii. cement manufacturing
Activity 5B
Feedback To Activity 5B
5.6
INPUT
In addition, PLCs
consists of three
functional areas :
processing, memory
and input/output.
E3145/5/16
INTRODUCTION TO PLC
1. The vertical lines of the diagram represent the power rails between which
circuits are connected.
2. Each rung on the ladder defines one operation in the control process.
3. A ladder diagram is read from left to right and from top to bottom, Figure
5.3 shows the scanning motion employed by the PLC. The top rung is
read from left to right. Then the second rung down is read from left to
E3145/5/17
INTRODUCTION TO PLC
right and so on. When the PLC is in its run mode, it goes through the
entire ladder program to the end, the end rung of program being clearly
denoted, and then promptly resumes at the start. This procedure of going
through all the rungs of the program is termed a cycle.
4. Each rung must start with an input or inputs and must end with at least
one output. The term input is used for a control action, such as closing
the contacts of a switch, used as an input to the PLC. The term output is
used for a device connected to the output of a PLC, e.g. a motor.
5. Electrical devices are shown in their normal condition. Thus a switch
which is normally open until some object closes it, is shown as open on
the ladder diagram. A switch that is normally closed is shown closed.
6. A particular device can appear in more than one rung of a ladder. For
example, we might have a relay which switches on one or more devices.
The same letters and/or numbers are used to label the device in each
situation.
E3145/5/18
INTRODUCTION TO PLC
7. The inputs and outputs are all identified by their addresses, the notation
used depending on the PLC manufacturer. This is the address of the
input or output in the memory of the PLC. The OMRON series of PLCs
precedes input elements by an 00 and output elements by an 01 and
uses the following numbers :
Inputs 00000 - 00011 (12 possible inputs)
Outputs 01000 - 01007 ( 8 possible outputs)
Meanwhile the Mitsubishi F series of PLCs precedes input elements by an
X and output elements by a Y and uses the following numbers :
Ladder symbols
Outputs device
Combines a normally
AND NOT closed condition in series
(AND NOT) with a previous condition.
Combines a normally
OR NOT closed condition in parallel
(OR NOT) with a previous condition.
Creates a 0-1 s
decrementing timer that
TIMER TI starts from the set value
(TIM) M (SV) when the execution
1. AND function
00000 LD 00000
00001 AND 00001
00002 AND 00002
00003 OUT 01000
2. OR function
ADDRESS
00000 INSTRUCTIONS DATA
00000 LD 00000
01000
00001 OUT 01000
0000200001 LD NOT 00001
00003 OUT 01001
01001
00002
7. END function
ADDRESS
00000 00001INSTRUCTIONS DATA
00000 LD 00000
01005
00001 AND NOT 00001
00002 OUT 01005
00003 END (01)
END
E3145/5/25
INTRODUCTION TO PLC
Activity 5C
PART 1
5.7 Decide whether each of these statements is True (T) or False (F).
Figure shows a ladder diagram rung for which:
(i) The input contacts are normally open
(ii) There is an output when there is an input to the
contacts
A (i) T (ii) T
B (i) T (ii) F
C (i) F (ii) T
D (i) F (ii) T
PART 2
5.8 Draw a block diagram showing in very general terms the main units in
a PLC.
5.10 What is the address of the input or output in the memory of the PLC
manufacturer below :
(i) OMRON series
(ii) MITSUBISHI F series
E3145/5/26
INTRODUCTION TO PLC
5.11 Draw the ladder symbols to represent the circuit components and
function in a control system such as :
Feedback To Activity 5C
PART 1
5.7 A
PART 2
e) Outputs device
E3145/5/30
INTRODUCTION TO PLC
KEY FACTS
2. PLC system has five basic components : processor unit, memory, the
power supply unit, input/output interface section and the programming
device.
E3145/5/31
INTRODUCTION TO PLC
SELF-ASSESSMENT
You are approaching success. Try all the questions in this self-assessment
section and check your answers with those given in the Feedback on Self-
Assessment given on the next page. If you face any problems, discuss it
with your lecturer. Good luck.
Q5-3
(a) Draw the logic instructions below:
(i) AND NOT
(ii) TIM
(iii) OUTPUT
(iv) OR
(v) OR NOT
(vi) LOAD NOT
(b) Draw the ladder rungs to represent: Two switches which are
normally open and both have to be closed for a motor to operate.
00004
00005
E3145/5/32
INTRODUCTION TO PLC
Feedback To Self-Assessment
Have you tried the questions????? If “YES”, check your answers now.
Q5-3
(a)
i.
ii. TI
M
iii.
E3145/5/33
INTRODUCTION TO PLC
iv.
v.
vi.
vii.
(b)
E3145/5/34
INTRODUCTION TO PLC
(c)