Trying to reset a loop when external lights change

Hi everyone, new here,

I Have this tower light (red, orange, green) for a cnc machine i'm using and i'm trying to figure out a way to reset a loop when the light changes from orange (busy) to green (ready) basically when it's green i want to start a 3 min timer and ring an alarm once it's up. If a job is ran within that time the loop is reset. Currently the lights work with a Orange, Green, Red wire (+), Black wire (-) so the controller sends a +v to orange and black is always hooked up to (-v). is there any way to be in the middle and detect that voltage on specific wires and trigger the loop reset ? as far as voltage go it's +24v.

Thank you!

LEDs have about 3V. A safe connection to a 24V output can be established using an optocoupler.

Not sure i understand. i'm not trying to turn on or off a light, thats already handled. What i'm trying to do is detect when voltage is going through a specific wire maybe with a relay ? and when that happens I would like to reset a timer. Basically if the machine is IDLE for more than X amount of time I'd like to ring an alarm.

You can detect voltage or current. Direct or insulated. I assumed that you want to detect a +24V voltage.

yes right, how would i go about doing that ?

Search the forum for "optocoupler".

This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.