Question

Thread Starter

RG23

Joined Dec 6, 2010
304
I want to use one normally open contact to work as ON button

one normally closed contact to work as OFF button

one relay

one light source

+5V supply and ground

the same +5V is the power supply for light source also

Now my question is as follows:

When I hit ON the light should stay ON unless I hit OFF

Once I hit OFF the light should stay OFF unless I hit ON

How should I connect these contacts alongwith the relay to achieve the above?

If anyone has an idea please let me know

Thanks
 
Last edited:

Ron H

Joined Apr 14, 2005
7,063
I want to use one normally open contact to work as ON button

one normally closed contact to work as OFF button

one relay

one light source

+5V supply and ground

the same +5V is the power supply for light source also

Now my question is as follows:

When I hit ON the light should stay ON unless I hit OFF

Once I hit OFF the light should stay OFF unless I hit ON

How should I connect these contacts alongwith the relay to achieve the above?

If anyone has an idea please let me know

Thanks
Is this homework? You can lie, but God will get you.:D
 

BSomer

Joined Dec 28, 2011
434
Sorry but I could not figure out even using your hint

crutschow's
hint requires the use of a DPDT relay. One set of contacts will be used for his hint. The other set of contacts will be used for your application.

This is my hint. :D

How much experience do you have working with relays and electronics? I could give the answer but will you have learned anything? Experimentation, in my opinion, is part of the fun of learning. :)
 

Thread Starter

RG23

Joined Dec 6, 2010
304
no its not homework

i am trying to learn ladder logic

came across this question

but in your solution once the NO contact opens i think the coil will get de-energised and the relay contact will open

then how will 5V appear across lamp????
 

Thread Starter

RG23

Joined Dec 6, 2010
304
How much experience do you have working with relays and electronics? I could give the answer but will you have learned anything?
_______________________________________________________________

I have never worked with relays before
 

Ron H

Joined Apr 14, 2005
7,063
no its not homework

i am trying to learn ladder logic

came across this question

but in your solution once the NO contact opens i think the coil will get de-energised and the relay contact will open

then how will 5V appear across lamp????
The NO switch energizes the relay when it is depressed. The relay contacts close, keeping the relay on and lighting the lamp. The NC contacts release the relay, breaking the circuit.
 

BSomer

Joined Dec 28, 2011
434
Well since it is ladder logic you could use an (OTL) and (OTU) instructions for your output.
OTL = Output Latch
OTU = Output Unlatch

The OTL and OTU instructions will use the same address.

Does this help?
 

Thread Starter

RG23

Joined Dec 6, 2010
304
i read the relay concept again

you are right thanks a lot

Is there any specific tutorial you would recommend to learn ladder logic?

I want to be good in plc programming

Thanks again
 
Top