You are on page 1of 6

ELECTRICAL ENGINEERING DEPARTMENT

POLITEKNIK UNGKU OMAR

1 2021 SESSION

COURSE CODE : DEJ40033

COURSE NAME : Programmable Logic Controller & Automation

EVALUATION : TEST 1

COURSE SECTION : DEE4A / DEP5A/B/C / DTK5A/B/C

NAME OF COURSE LECTURER : CIK Tan Ee Chin

INSTRUCTIONS:

1. This paper consists of THREE (3) structure question. Answer all questions
within 90 minutes.
2.

REG. NO. NAME CLO QUESTION MARK

1 / 10

1 2 / 15

3 / 25

TOTAL / 50

Prepared by : Tan Ee Chin Review and Approved by :


QUESTION 1
Q 1a. List TWO (2) types of graphic Programming Languages for PLC [CLO1: C1)
(2 marks) )

1b. i. By referring to ladder diagram as shown in figure 1 , name the elements;


A,B,C and D [CLO1:C2] (4 marks)

A
00000 00001 00002
D

00003 00004

B
C

END

Figure 1

A=
B=
C=
D=

ii. Describe the execution conditions to make element D on. [CLO1:C2](4 marks)

__________________________________________________________________________________
QUESTION 2

a. Base on figure 2, write out the mnemonic code for the ladder diagram below [CLO1:
C3] ( 7 marks)

00001 01002
00002 Tim 001

Tim 002 Tim 001, 12S

00002 Tim001 Tim 002, 20S

00003

00001 01002 Cnt

006
CNT006
5 kali

Figure 2

b. The light (01) will turn ON after switch (00) is pressed 4 times, It will turn OFF
immediately when switch (01) is pressed and released. But after 3 minute the lamp will turn
On again automatically. Construct the control program in the form of ladder diagram for the
process mentioned above. [CLO1:C3] (8 marks]
Question 3a

LS1 LS2
Green lamp
Start
PB1

Stop
PB2 Red lamp

Motor

10.00 Motor Right


HOME 10.01 Motor Left

i. Press and release start button, motor will move to the right and stop when it
touches limit switch LS2.
ii. After 10 seconds, motor will move to the left until it touches Limit switch
LS1 and stops.
iii. After 15 seconds, motor will move to the right again
iv. Process i and ii are repeated
v. The green lamp will turn On while motor is moving and when it stops red
lamp will turn on.
vi. When the stop button is pressed, motor and lamp will all turn OFF.

i. Identify and assign an address for each input and output device that need to be
connected to PLC . :[ CLO 1:C2 ](4marks )

ii. Draw a ladder diagram and mnemonic code to execute the task above [ CLO 1:C3]
( 14 marks)
b). Base on the ladder program below, analyze the bit status (logic 0 or 1) for the
input and output devices. [CLO1:C4] (7 marks]

INPUT MODULE OUTPUT MODULE


CPU 24V
24V S2 S3
S1 0 JMP(02) 0
#00H1 H1
S4 H1
S2 1 1 H2
H2
2 S2 2
S3 H3
3 H3 3
S1 S4
S4 H4
4 S4 4
JMP(03)
H5
S5 #00
5
S2 S5 5
H4 H6

6 H5 6 H7
S6
7 JME(05) H6
S7 S7 S6 #00

H6
Switch S3 and
S4 are pressed S2 H7 H5

H6
Figure 3

Input Device Bit Status ( 0 or 1) Output Device Bit Status ( 0 or 1)

S1 H1

S2 H2

S3 H3

S4 H4

S5 H5

S6 H6

S7 H7

You might also like