JS07 3 Junctions Traffic Light - Harummi

Download as pdf or txt
Download as pdf or txt
You are on page 1of 11

DPP C2(c)-1

Kolej Kemahiran Tinggi MARA


Pasir Mas, Kelantan.

JOB SHEET

NAME : NUR HARUMMI ADNI BINTI MOHD SHUKRI

PROGRAM : DIPLOMA IN ELECTRONIC TECHNOLOGY INDUSTRY (DEI)

SESSION : JUL – DEC 2023 SEMESTER : 4

DFT 40013 – PROGRAMMABLE


CODE/SUBJECT : LOGIC CONTROLLER SHEET NO : JS07

WAN MOHD HALIMIN BIN WAN


LECTURER : ISMAIL
DURATION : 6 hours

TOPIC : DOWNLOAD OF PC AND PLC SYSTEM

SUB-TOPIC : Traffic light 3 junction


After completing the unit, students should be able to:-
i. To identify and understand what is PLC, it
components and funtionality.
ii. To construct ladder diagram, Boolean and
LEARNING sequential function chart to communicate with
OUTCOME : PLC. iii. To develop PLC program using it
internal components such as a timer, counter and
rerlay.

1. Programmable Logic Controller (PLC).


2. Power supply unit.
TOOLS / 3. Connection cable (RS-232C).
EQUIPMENTS / 4. Personal computer.
MATERIALS : 5. Electrical wire

Page 1 of 11
DPP C2(c)-1

TRAFFIC LIGHT THREE JUNCTION CONTROL SYSTEM

DRAWING AND
DATA

Figure 1a

The 3 junction traffic light control requirement:

The student has to complete practical project for the traffic light
three junctions by using PLC’s OMRON CPM2A in the time given.
INSTRUCTION : Push button START, STOP and TIMERs are used in control
system to control the outputs of traffic lights. Each set of traffic light
have three lights, colored in RED, YELLOW, and GREEN. Design
a ladder diagram by following the problem given.

Page 2 of 11
DPP C2(c)-1

PROCEDURE

STEP KEY POINT

Safety :
 Make sure the wearing is suitable for the
work.
 Avoid wear the metal materials.
 Avoid playing while doing work.

1. Draw the logic a) Write the equation for the truth table 3 junction
traffic light.

b) Prepare and identify all the material and


equipment that will be used in this practical
lab.
(See the TEM list)
2. Operate a PLC
a) Check PLC trainer to make sure it working. 
Power on the PLC trainer.
 Make sure the PWR indicator is ON.
 Writing a simple ladder program into
PLC trainer to test their input and output
 Power ON the PLC trainer

3. Write ladder programming into PLC using


CX Programmer b) Write the ladder diagram follow the table
below based on Figure 1a.

4. Hard wiring installation


a) Construct the wiring installation and
interface to PLC.
 Connect component input/output to PLC
trainer
 Switch ON the PC
 Clear the program
 Write the ladder diagram using the
Personal Computer(PC)
Note:
 PLC memory must be clear first before
enter the new program.
5. Transfer program
a) Work online
b) Transfer to PLC
c) Operating mode
d) Run

Page 3 of 11
DPP C2(c)-1

PROCEDURE

STEP KEY POINT

6. Test / run the PLC output Test the programming functioning.


i. Switch ON the computer
ii. Switching the addressed input (depend
on how many input are used) to each it’s
combination.
iii. Record your result. Describe shortly the
ladder operation. State your answer in
the result column.
iv. Ask your instructor to prove your
experiment by getting their signature. If
any of the PLC trainers is not working
properly, consult with your instructor.

a) Repeat the STEP 2(a), 2(b) and 3(a) by


changing the Figure 1a

b) Housekeeping
After you had finished your experiment, take
down the circuit and return all the equipment
to its proper place.

Page 4 of 11
DPP C2(c)-1

RESULT :

Truth Table and Equation:

Page 5 of 11
DPP C2(c)-1

Ladder Diagram:

Page 6 of 11
DPP C2(c)-1

Page 7 of 11
DPP C2(c)-1

Page 8 of 11
DPP C2(c)-1

QUESTION/DISCUSSION :

1. What is program to be key-in into PLC to clear its memory?

2. List and explain all types of memory used in PLC?

3. What is PROGRAM MODE, MONITOR MODE & RUN MODE used for?

4. Draw a block diagram of PLC?

5. How many input and output that CPM2A PLC have? List all the input and output address?

ANSWER :

1. To clear the memory or reset the PLC, you'll typically use the "Memory Reset" or "Clear Memory"
function within CX-Programmer. These options can usually be found in the programming
software's menu or toolbar. Look for options like "Clear PLC Memory," "Memory Reset," or
"Initialize PLC." This function will erase the program and data from the PLC memory.

2. All types of memory used in PLC:


a) RAM (Random Access Memory)
This is volatile memory used for temporary storage of data and programs. It is fast and can be
read and written to quickly, but it requires power to maintain its contents.

b) ROM (Read-Only Memory)


This is non-volatile memory used to store the PLC's operating system, firmware, and other
permanent data. It can only be read, not written to.

c) EPROM (Erasable Programmable Read-Only Memory)


This is non-volatile memory that can be programmed and erased multiple times using
specialized equipment. It is often used for firmware updates and program storage.

d) EEPROM (Electrically Erasable Programmable Read-Only Memory)


This is non-volatile memory that can be programmed and erased electronically, without the
need for specialized equipment. It is often used for storing configuration data and small
programs.

e) Flash Memory
This is non-volatile memory that can be programmed and erased electronically, similar to
EEPROM. It is often used for firmware updates and program storage.

f) Battery Backup Memory


This is non-volatile memory that is maintained by a battery backup system. It is often used for
storing critical data and programs that must be preserved in the event of a power failure.

Page 9 of 11
DPP C2(c)-1

3. PROGRAM MODE, MONITOR MODE & RUN MODE used for:

PROGRAM MODE:
- Used to create, edit, and debug PLC programs offline. It provides a development
environment for creating ladder logic, function block diagrams, or structured text
programs that will be downloaded to the target PLC.

MONITOR MODE:
- Used for online monitoring, testing, and troubleshooting of the PLC and its programs. This
mode allows you to interact with a connected PLC in real time to monitor variables, I/O
states, and program execution.

RUN MODE:
- Used for executing the PLC program on the connected PLC hardware. It activates the
program logic, enabling the PLC to control connected devices and process inputs and
outputs based on the programmed logic.

4. Block Diagram of PLC

5. CPM2A PLC have 12 input and 8 output.

Input Address: X0.00, X0.01, X0.02, X0.03, X0.04, X0.05, X0.06, X0.07, X0.08, X0.09, X0.10,
X0.11

Output Address: Y0.00, Y0.01, Y0.02, Y0.03, Y0.04, Y0.05, Y0.06, Y0.07

Page 10 of 11
DPP C2(c)-1

REFERENCE :

1. Programmable Controllers -Ian G. Warnock


nd
2. Programmable Logic Controllers (2 . Edition) -McGraw-Hill, Frank D. Petruzella
3. Instruction Manual CPM2* -OMRON
4. Electronic Principles -Malvino
5. Principles of Pneumatic & Electro Pneumatics -FESTO DIDACTIC

Checked by :

Signature :

Name :
Designation :
Date :

Page 11 of 11

You might also like