Académique Documents
Professionnel Documents
Culture Documents
WORK BOOK
PROGRAMMABLE LOGIC
CONTROLLER (PLC)
NAME : ___________________________
NRIC : ___________________________
CLASS : ___________________________
COURSE : ___________________________
INSTRUCTOR: ___________________________
Page |2
INTRODUCTION:
Memory
There are various types of memory unit. It is the areas that hold the operating system and user
memory. The operating system is actually system software that co-ordinates the PLC.Ladder
program, timer and counter values are stored in the use memory. Depending on user’s need,
various types of memory are available for choice:
INPUT DEVICE
OUTPUT DEVICE
Page |4
SHORT ANSWER
Order: Give short answer based on the question given.
i. Timer
ii. Counter
7. Draw the symbol of contactor in normally open and normally close system. Explain the
operation bit condition when the condition contactor is in normally open and in normally
close.
Page |5
LD 00000
LD B
LD NOT 00001
LD AND
B B
LD NOT 00001
LD AND NOT
B B
LD 00003
AND NOT CNT 000
LD B
OR B
LD 00004
OR HR 0000
LD B
OR NOT B
LD 00005
OR NOT LR
0000
Page |6
OUT 10000
OUT
B
OUT 10000
LD AND
LD AND
OR LD
LD LD
OR OR
AND LD
SET RESET HR
ITSELF
SET
TIM 000/127
#0000/9999
TIMER
PULSE
CNT 000/127
#0000/9999
RESET
END
Page |7
LAMP CIRCUIT
Problem description:
Actuation of a push button (S1) is to cause a lamp (H1) to be switched on. The lamp is to be illuminated
as long as the push button is actuated.
Positional sketch:
2. Describing the control task by means of the function table and the Boolean equation
Function Table
S1 H1
0
1
Problem description:
A press stamp 1.0 is to advance only if a push button S1 is actuated and a protective guard is closed. If
one of these conditions is not met, the press tool is to return immediately.
The position of the closed protective guard B1 is monitored by a proximity switch B1. The press tool is
advanced or retracted by means of a spring return solenoid valve (coil Y1).
Positional sketch:
1. Drawing up the electro-pneumatic and the electrical circuit diagram and assembling the
equipment.
Complete the electro-pneumatic circuit diagram
2. Complete the electrical circuit diagram and enter the available input and output addresses for your
PLC.
Circuit diagram, electrical
P a g e | 11
3. Describing the control task by means of the function table and the Boolean equation
Create the function table:
Function Table
S1 B1 Y1
0
1
Problem description:
An apartment bell is to ring if bell button S1 at the front door is pressed or bell button S2 at the apartment
door.
Positional sketch:
1. Complete the electrical circuit diagram and enter the input and output addresses available for your
PLC.
P a g e | 13
2. Describing the control task by means of the function table and the Boolean equation
S1 S1 H1
0
1
Problem description:
A stamping device can be operated from three sides. A work piece is inserted via a guide, whereby it
touches two of the three proximity switches B1,B2 and B3.This causes a pneumatic cylinder1.0 to extend
via a solenoid valve (coil Y1), whereby a recess is to be stamped into the work piece. The stamping cycle
is to be triggered only if two signal generators are addressed. For reasons of safety the cylinder must be
prevented from advancing, if all three proximity sensors are contacted.
Positional sketch:
P a g e | 15
2. Assembling the equipment with the help of the electro-pneumatic and the electrical circuit
diagram
3. Describing the control task by means of the function table and the Boolean equation
B1 B2 B3 Y1
0 0 0
0 0 1
0 1 0
0 1 1
1 0 0
1 0 1
1 1 0
1 1 1
Problem description:
A mixing plant permits a selection between two bulk materials per selector switch
(S2).In switch position 1(S2=0 signal), bulk material A reaches a mixing container, if push button S1 is
actuated simultaneously. Similarly, bulk material is conveyed, if selector switch S2 is in position 2 (S2 =
1 signal) and push button S1 is actuated. Silo A is opened via cylinder 1.0 (solenoid valve Y1), Silo B via
cylinder 2.0 (solenoid valve Y2).
Positional sketch:
2. Assembling the equipment with the help of the electro-pneumatic and the electrical circuit
diagram
Configure the control system
3. Describing the control task by means of the function table and the Boolean equation
MNEMONIC CODE
1. Identify and fix the programs below:
COUNTER
1. Write the mnemonic code for the ladder diagram below, indicate also operations (operating
circuit) for the ladder diagram.
00000
CNT
003 ADDRESS INSTRUCTION DATA
00000
00001 #0010 00001
00002
00003
CNT 03 01000 00004
00005
00006
00007
END
P a g e | 23
2. Write the ladder diagram and mnemonic code use the chart below:
1 2 3
1 2 3 4 5 6 7 8 9 10
P a g e | 24
TIMER
1
5s
5s
2
10s
10s
3
5s
10s
P a g e | 25
4
5s 5s
5s
When the Sensor 1 (S1) scans the metal object 5 (five) times. Pilot Light (L1) will be ON
condition and Pilot Light L2 will be OFF condition. After 5 (five) seconds Pilot Indicator L2 will
be ON and L1 will be OFF and similarly counter will be reset.
Object
Conveyer belt
S1
L1 L2
When the Sensor 1 (S1) scans, immediately Pilot Light (L1) will be ON and after five (5) seconds Pilot
Light (L2) will be ON and L1 will be OFF. Then after five (5) second L3 will be ON and L1 and L2 will
be OFF. This condition will be continuously when S1 will scan.
L3
L2
L1
Directive questions:
1. After the host finishes reading the question.
2. Three players are racing for the most pressing push button in front of them early to
answer questions from host.
3. Buzzer will sound for 10 seconds after pressing the push-button Player.
4. The indicator lights are lit in front of players and just hose will be "reset"
I/O Assignment
DEVICE DATA
PUSH BUTTON 1
PUSH BUTTON 2
PUSH BUTTON 3
RESET
BUZZER
INDICATOR 1
INDICATOR 2
INDICATOR 3
P a g e | 29
LADDER DIAGRAM:
P a g e | 30
MNEMONIC CODE
ADDRESS INSTRUCTION DATA
00000
00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00021
00022
00023
00024
00025
00026
00027
00028
00029
00030
00031
00032
00033
00034
00035
00036
00037
P a g e | 31
Cylinder A a0 a1
Y1 A B Y2
R S
P
P a g e | 32
QUESTION:
1. Sequence: A+ A-
START PUSH BUTTON: When press start push button indicator 1 will be always “on”
STOP PUSH BUTTON: When press push button stop indicator 2 will be blink-blink “2
sec”
Example:
P a g e | 33
I / O ALLOCATION LIST
INPUT
OUTPUT
LADDER DIAGRAM
P a g e | 36
LADDER DIAGRAM
P a g e | 37
Cylinder A a0 a1 Cylinder B b0 b1
Y1 A B Y2 Y3 A B Y4
R S
R S P
P
Cylinder C C0 C1
Y5 A B
R S
P
P a g e | 38
QUESTION:
A bending press is used to form sheet metal. The sheet metal is to be placed in the press by hand.
When the start button is pressed, cylinder A is to clamp the work piece; then cylinder B is to
move out and bend the work piece and then returns, triggering the forward stroke of cylinder C,
which concludes the bending process before returning to its initial position. When cylinder C is
in its initial position, cylinder A is to release the work piece.
Cylinder B
Initial bending Cylinder A
Clamp
Cylinder C
Secondary bending
bending
I / O ALLOCATION LIST
INPUT
OUTPUT
LADDER DIAGRAM
P a g e | 42
LADDER DIAGRAM
P a g e | 43
Cylinder A a0 a1 Cylinder C c0 c1
Y1 A B Y2 Y3 A B Y4
R S
R S P
P
Cylinder B1 b0 b1 Cylinder B2
Y5 A B Y5 A B
R S R S
P P
P a g e | 44
QUESTION
The parts are loaded by hand. Cylinder A clamps. The two cylinders B push the rivets in and
hold them firmly. Cylinder C produces the second half – round head. The completed parts can be
removed by hand.
Cylinder A
Cylinder B
Cylinder B
Cylinder C
I / O ALLOCATION LIST
INPUT
OUTPUT
LADDER DIAGRAM
P a g e | 48
LADDER DIAGRAM
P a g e | 49
Problem description:
The drill on a drilling unit is monitored by means of a drill breakage sensor (B1).If the drill is broken, the
sensor interrupts the circuit. A buzzer (H1) is to sound in this event. The buzzer can only be switched off
via push button S1.
Positional sketch: