Download as docx, pdf, or txt
Download as docx, pdf, or txt
You are on page 1of 4

TABLE OF CONTENTS

NO CONTENTS PAGE
.
1 OBJECTIVE
2 LIST OF EQUIPMENTS
3 THEORY
4 RESULT
5 DISCUSSION
6 CONCLUSION
7 REFERENCES

1
OBJECTIVES

1. To familiarize the design process using PLC.


2. To understand the operation of the timer in traffic light control system.

LIST OF EQUIPMENTS
1. OMRON PLC CPM1A – 1 unit
2. 24 V lamp (Red, Yellow, Green) – 3 unit
3. Push button (ON/OFF) – 2 unit

THEORY

When Push Button ‘ON’ is pressed, green light will be switched on within a preset time for five
second. After five second, the green light will be switched off and yellow light will be switched
on, and after five second, red light will be switched on and yellow light will switched off. This
process will repeat itself until Push Button ‘OFF’ is pressed to stop the operation.

RESULT
I/O ASSIGNMENT

Input Address Output Address


PB (Start) 0000 Lamp (GREEN) 1001
PB (Stop) 0001 Lamp (YELLOW) 1002
Lamp (RED) 1003

MNEMONIC CODE

 LD 0000
 OR TIM 003
 OR 1001
 AND NOT 0001
 AND NOT 1002
 OUT 1001
 LD1001
 TIM 001
 LD TIM 001
 OR 1002
 AND NOT 1003
 OUT 1002
 LD 1002
 TIM 002
 LD TIM 002
 OR 1003
 AND NOT 1001
 OUT 1003
 LD 1003
 TIM 003
 END
3

DISCUSSION
Firstly, we need to design a plc ladder diagram based on the figure given. The ladder
diagram had to make sure that the green lamp lights up and follow by yellow and red. The
normally open switches must be set parallel with each other for the bulb to light up when one of
the switch is press.

Then, a timer must be set for the green lamp to turn off when the yellow lamp is in on
condition. The same steps will be repeat again for the yellow and red lamps. On the designed
ladder diagram, mnemonic code must be set correctly. This step must be done accurately to make
sure it did not interrupt each other and can be run smoothly.

The timer on the yellow light line must be set with normally close on the green light line.
So when the time set is finished, the switch will open automatically. This operation will go on
continuously until the off button is pressed.

CONCLUSION

As conclusion, this lab is done to familiarize the student with the design process using
PLC. It let us to understand the operation of the timer in traffic light control system on the road.
Lastly, we can learnt how to build up the ladder diagram and read it correctly with the
menemonic codes.

You might also like