How To?: trigger output with input
Posted: Fri Apr 09, 2021 1:09 am
I'm in the last stages of yet another plasma build and I'm a little embarrassed I can't figure out how to simply turn on an output pin with an input pin.
I know it can be done with a macro, but I've managed to make it 5 years with UCCNC without having to write one yet.
Case 1: Input pin is tied to a selector switch (water pump), and the relay coil is tied to an output pin. Just want to turn it on/off.
Case 2: input pin is tied to a momentary pushbutton (laser pointer), and same thing with the relay coil. Would like to toggle this one on/off (press on, press off).
Neither case requires (or desires) a screen button. They're just physical switches.
I've been pouring over old macro posts, the entire toolbox sub-forum, and reading Robert's excellent Macro Guide. No joy, it still isn't clear to me.
I feel like I should be able use the I/O trigger functions to do something simple like this without a macro, but I'm still lost.
Help anyone?
Thanks,
Ralph
I know it can be done with a macro, but I've managed to make it 5 years with UCCNC without having to write one yet.
Case 1: Input pin is tied to a selector switch (water pump), and the relay coil is tied to an output pin. Just want to turn it on/off.
Case 2: input pin is tied to a momentary pushbutton (laser pointer), and same thing with the relay coil. Would like to toggle this one on/off (press on, press off).
Neither case requires (or desires) a screen button. They're just physical switches.
I've been pouring over old macro posts, the entire toolbox sub-forum, and reading Robert's excellent Macro Guide. No joy, it still isn't clear to me.
I feel like I should be able use the I/O trigger functions to do something simple like this without a macro, but I'm still lost.
Help anyone?
Thanks,
Ralph