Trigger on both open and close for same pin?
-
I have a filament sensor that is a BB actuated switch. When the filament enters the body, it pushes the BB out of the way, closing the switch and the trigger fires. I currently have this automatically loading the filament.
I would also like this to trigger when the switch opens so it will pause the print.
Is there a way to do this?
-
This post is deleted! -
@arnold_r_clark all of my circuitry is on a PCB, so I'd have to redesign it.
-
@gnydick The "s" parameter of M581 can be set to work when the pin goes from active to inactive or vice versa. So you should be able to do what you want with a single pin and two triggers.
-
@deckingman ahhh! Thank you.