Professional Documents
Culture Documents
Labsheet 4
Labsheet 4
2.0 OUTCOME:
4.0 THEORY
IEC 1131-3 is the international standard for programmable controller programming
languages. The following is a list of programming languages specified by this standard:
i. Ladder Diagram (LD)
ii. Instruction List (IL)
iii. Structured Text (ST)
iv. Sequential Function Chart (SFC)
v. Function Block Diagram (FBD)
One of the primary benefits of the standard is that it allows multiple languages to be used
within the same programmable controller. This allows the program developer to select
the language best suited to each particular task.
1
DGC50093 – Process Instrumentation And Control Practical 4
elements. Ladder diagram also shows the control circuit and the display function and a
combination of the sequence of operations for each branch of the horizontal lines
separately.
Figure 4.3: Ladder Diagram showcase series,parallel and Normally Closed input/Output condition
2
DGC50093 – Process Instrumentation And Control Practical 4
5. PROCEDURES:
5.1 For program the Ladder Diagram
d. Click Add new device and choose the right controller S71200 with CPU 1212C
DC/DC/RLY with order number 6ES7212-1HE40-0XB0 and click ADD button.
3
DGC50093 – Process Instrumentation And Control Practical 4
6.0 Practical
6.1 Practical A Series Instruction
6.1.1 Condition :
When S1 and S2 are switched to on, L1 will turn on. When S1 and S2 are switched to off, the
L1 will turn Off.
a) Determine input/output and data:
b) Draw Ladder(+)
Diagram : (-)
END
d
4
DGC50093 – Process Instrumentation And Control Practical 4
5
DGC50093 – Process Instrumentation And Control Practical 4
c) Result :
i. click monitoring ON/OFF
Screenshot the result diagram and paste into the result form in lab sheet.
6
DGC50093 – Process Instrumentation And Control Practical 4
6.1.2 Condition
When SW1 and SW2 and SW3 switch to ‘ON’, L2 will turn ‘ON’. When SW1 and SW2
and SW3switch ‘OFF’, then L2 will turn ‘Off’
a) Determine input/output:
(2 marks)
(2 marks)
c) Result :
(2 marks)
Process Instrumentation & Control
7
DGC50093 – Process Instrumentation And Control Practical 4
S1 L1
S2
Diagram 2 input in parallel
6.2.1 Condition
When S1 or S2 is switched to ON, L1 will turn ON. When S1 and S2 are switched to OFF
then L1 will turn OFF.
a) Determine input/output:
(2 marks)
(2 marks)
c) Result :
8
DGC50093 – Process Instrumentation And Control Practical 4
L1
6.3.1 Condition
When the PLC program is RUN, L2 will turn on first. When S1 is switched to ON, L1 will
turn ON hence L2 will turn OFF.
a) Determine input/output:
(2 marks)
(2 marks)
c) Result :
(2 marks)
9
DGC50093 – Process Instrumentation And Control Practical 4
TON
IN Q
TIM001
T#5s
PT ET
6.4.1 Condition
When the Push Button, PB1 is push to ON, the L1 will be turn ON after delay 5 seconds.
PB2 is used to reset the Timer.
a) Determine input/output:
(2 marks)
T#5s i
PT
h
ET
m e
END il o
a n
r -
t d
o el
a a
n y
“ ti
Process Instrumentation & Control u m
p e 1
” r’ 0
c s
DGC50093 – Process Instrumentation And Control Practical 4
c) Result :
(2 marks)
(2 marks)
1
1
DGC50093 – Process Instrumentation And Control Practical 4
%DB4
TIM2
IN Q L1
L1 L2
T#5s PT ET
END
c) Result :
(2 marks)
1
2
DGC50093 – Process Instrumentation And Control Practical 4
A counter is a PLC instruction that either increments (counts up) or decrements (counts
down) an integer number value when prompted by the transition of a bit from 0 to 1
(“false” to “true”).
CTU
PB1
i0.1
CU Motor 1 CTU – counter UP
D0.0 CU – counter up input
PB2
R – reset input
R Q PV – preset value for set the count value needed
i0.2 Q - output
CV - counter current value
5 PV CV
PLC panel:
1
3
DGC50093 – Process Instrumentation And Control Practical 4
Packaging Control System where 10 tinned foods be packed in a box. Sensor 1(SE1) is
used to sense the presence of tin on a running Tin Conveyor. When SE1 is On, a counter
used in the system will start to count. Upon 10 counts, Tin Conveyor controlled by Motor
(M1) will stop. The PB is used to reset the counter.
a) Determine input/output:
(2 marks)
b) Draw Ladder Diagram
1
4
DGC50093 – Process Instrumentation And Control Practical 4
(2 marks)
7.0 DISCUSSION
Vehicles can only move in one direction at a time. When start push button is pressed, vehicle
from south L1 is MOVING and vehicle from north L4 will STOP at the same time. After 10
seconds, vehicle from north L3 is MOVING and vehicle from south L2 will STOP, This process
is continuous until the reset push button is pressed.
1
5
DGC50093 – Process Instrumentation And Control Practical 4
a) Determine input/output:
(2 marks)
b) Draw Ladder Diagram
(5 marks)
(5 marks)
1
6