Thanks to visit codestin.com
Credit goes to www.scribd.com

0% found this document useful (0 votes)
22 views3 pages

Sheet 5 - Solution

The document describes various timer and motor control scenarios using on-delay and off-delay timers. It details how pressing buttons A and B affects the status of motors and lamps over specified wait times. Additionally, it includes examples of a flasher circuit and a sensor-based motor control system that activates under certain conditions.

Uploaded by

Ahmed Mahmoud
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
22 views3 pages

Sheet 5 - Solution

The document describes various timer and motor control scenarios using on-delay and off-delay timers. It details how pressing buttons A and B affects the status of motors and lamps over specified wait times. Additionally, it includes examples of a flasher circuit and a sensor-based motor control system that activates under certain conditions.

Uploaded by

Ahmed Mahmoud
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 3

1)

a) “T1” is an on-delay timer.


Timer ”the
A B status of its Motor Lamp
contact”
Pressed & no
Unpressed Not active off On
wait time
Pressed &
Unpressed active on Off
wait 5 sec
Pressed & Pressed & no
Not active off On
released wait time
Pressed & Pressed & wait
Not active off on
released 5 sec

b) “T1” is an off-delay timer.

A B Timer Motor Lamp


Pressed & no
Unpressed active on off
wait time
Pressed &
Unpressed active on off
wait 5 sec
Pressed & Pressed & no
active on off
released wait time
Pressed & Pressed & wait Not
off on
released 5 sec active

2)
A B Motor1 T1 Motor2 T2
Pressed & no wait Not Not active
Unpressed on off
time active
Pressed & wait 10 sec Unpressed on active on Not active
Not Active (exactly
Pressed & wait 20 sec Unpressed off off
active at 20 sec)
Pressed at Not Not active
Pressed & released off off
any time active

When start “A” is pressed, motor 1 is on and motor 2 is off. After 10 sec, motor 1 is still on,
and motor 2 is on. After another 10 sec, both motors turn off. Also, when stop “B” is pressed,
both motors turn off.
3)

A B Motor1 T1 Motor2 T2
Pressed & no wait Not active
Unpressed 1 Not active 0
time
Active Not active
Pressed & wait 10
Unpressed 0 (exactly at 1
sec
10 Sec)
Active
Pressed & wait 20
Unpressed 0 Not active 0 (exactly at 20
sec
Sec)
Pressed Not active
Pressed & released after “A” 0 Not active 0
by 5 sec
Pressed Not active
Pressed & released after “A” 0 Not active 1
by 15 sec

When start “A” is pressed, motor 1 is on and motor 2 is off. After 10 sec, motor 1 is off, and
motor 2 is on. After another 10 sec, both motors turn off.
When stop “B” is pressed, motor 1 turns off immediately. However, for motor 2, if “B” is
pressed before 10 sec passes (T1 will not be activated), motor 2 will still be off.
But if “B” is pressed after 10 sec passes and before 20 sec (T1 was activated and C2 is on and
has its latch contact on), motor 2 will still be on till T2 is activated.

4)
A B Motor1 T1 Motor2 T2
Pressed & no wait Not active
Unpressed 1 Not active 0
time
Pressed & wait 10 Not active
Unpressed 0 Active 1
sec
Pressed & wait 20 Active
Unpressed 1 Not active 0
sec
Pressed & wait 30 Not active
Unpressed 0 Active 1
sec
Pressed Not active
Pressed & released after “A” 0 Not active 0
by 5 sec
Pressed Not active
Pressed & released after “A” 0 Not active 1
by 15 sec

Same idea as example 3) but the cycle is repeated. After each 10 sec, one of the motor turns on,
while the other turns off.
5)

Motor
A B T1 Motor2
1
Pressed & no wait time Unpressed 1 active 0
Pressed & wait 2 sec Unpressed 1 active 0
Pressed &
Pressed & released 0 active 1
no wait time
Pressed & Not
Pressed & released 0 0
wait 2 sec active

When pressing A, motor 1 turns on and motor 2 still off. When pressing B, motor 1 turns off
but motor 2 turns on for 2 sec, then it turns off.

6)

A B C1 T1 Lamp T2
Not Not active
Pressed & no wait time Unpressed 1 0
active
Pressed & wait 1 sec Unpressed 1 active 1 Not active
Not active
Pressed & wait 2 sec Unpressed 1 0
active
Pressed & wait 3 sec Unpressed 1 active 1 Not active
Pressed at Not Not active
Pressed & released 0 0
any time active

A flasher circuit that turns the lamp on for 1 sec and then turns it off for 1 sec, and so on (the
cycle is repeated).
7)
Sensor Counter Timer Motor
3 objects Not active Not active off
5 objects & Active Not active on
no wait time
5 objects & Active Active off
wait 20 sec

Motor is normally off, when the sensor detects 5 objects the motor turns on immediately,
and after 20 sec it will turn off again.

You might also like