Professional Documents
Culture Documents
Lab Sheet 2 (Timer Application in PLC)
Lab Sheet 2 (Timer Application in PLC)
Lab Sheet 2 (Timer Application in PLC)
COURSE LEARNING CLO 2: Develop the PLC program based on the automation
OUTCOME requirements. (P4, PLO4)
PREPARED BY:
CHECKED BY:
VERIFIED BY:
1.0 OBJECTIVE:
At the end of this task, students should be able to:
i. To familiarized with the I/O ports and Timer application in PLC.
ii. To write the programming for Timer application in PLC.
iii. To convert the ladder diagram to mnemonic code or mnemonic code to ladder diagram.
3.0 THEORY
CPMIA have 128 timers/counters that can be used for any applications.
For the timer, the numbers (N) are counted from 000 to 128.
Set Value (SV) is between 0000 to 9999.
Each number for TIM / CNT can be used as the definer for only one instruction of the
TIMER or COUNTER.
Example:-
TIMER is activated when the execution condition is ON and will be reset to the set value
(SV) when the execution condition is OFF.
Set value (SV) for the TIMER is the BCD value between #0000 to #9999. For example, if
the TIMER is set to 5 seconds, thus the set value (SV) is #0050.
Example:
Page 3 of 7
JKM/LAB/DJM3072/RAMA_DIS2018/P: 02
1. Below is the basic Ladder Diagram for timer to trigger an output after 8 seconds of activation.
Page 4 of 7
JKM/LAB/DJM3072/RAMA_DIS2018/P: 02
LAB TASKS:
Operational Procedures
When the BS (00000) push button is pushed, rung 1 will be closed circuit and relay (20000) will be
energized. At the same time, relay contact for relay (20000) will be N.C. making a self-holding circuit for
rung 1. At rung 2, timer (TIM 001) is set for 20 seconds and will start timing. After 20 seconds, the lamp
(01000) will be ON because rung 3 will be in closed-circuitry. When the lamp (01000) is ON for 20
seconds, a signal impulse is given to lamp contact (01000) energizing timer (TIM 002) simultaneously.
After 20 seconds, the lamp (01000) will be OFF for 20 seconds. This process will continue repeating
until the BS (00001) push button is pushed.
Construct the ladder diagram and program the mnemonic coding for a lamp to be ON for 20 seconds
and to be OFF for 20 seconds using two TIMER’s.
Questions:-
2. Design the Ladder Diagram and try programming the ladder diagram by using CX
Programmer.
Page 5 of 7
JKM/LAB/DJM3072/RAMA_DIS2018/P: 02
Operational Procedures
When the BS (00000) push button is pushed, rung 1 will be in closed circuitry and relay (20000) will be
energized. At the same time, relay contact for relay (20000) will be N.C. making a self-holding circuit for
rung 1. At this time, lamp (01000) is already ON. At rung 2, relay contact (20000) and timer contact (TIM
003) which is in the N.C. conditions causing timer (TIM 001) which is set for 50 seconds to start timing.
After 50 seconds, the lamp (01000) will be OFF, due to the change condition of timer contact (TIM 001)
from N.C. to N.O. condition. No contact at rung 5, lamp (01000) is OFF. Simultaneously, lamp (01001)
will be ON for 50 seconds. After 50 seconds, timer contact (TIM 002) in rung 6 will change to N.O.
condition causing an open circuitry. Lamp (01001) will be OFF. Now, timer (TIM 003) starts timing for 50
seconds and lamp (01002) is ON. After 50 seconds, lamp (01002) will be OFF and lamp (01000) is ON
and this process will continue repeating until the BS (00001) push button is pushed.
Draw the ladder diagram according to the mnemonic coding for the traffic signal as below:-
Page 6 of 7
JKM/LAB/DJM3072/RAMA_DIS2018/P: 02
Question:-
1. Draw the ladder diagram according to the given mnemonic coding for the traffic signal as given
above.
2. Test your ladder diagram by using CX Simulator.
Refer to CX-PROGRAMMER INTRODUCTION GUIDE and CX-SIMULATOR INTRODUCTION GUIDE to get more understanding
on PLC (OMRON) programming.
Page 7 of 7