Installing momentary button to run M81 PS_OFF macro
-
I currently have a Duet Wifi, a 24v PSU connected through a SSR and momentary button that when pressed for 3 seconds it turns the printer on, runs M80 and holds until I shutdown the printer by the web interface. I would like to incorporate a 2nd momentary button that when pressed it'll run M81 shutting down the printer.
How would I go about reassigning an unused pin so when the button is pressed it runs the M81 macro shutting down the printer?
*note i'm also using a DueX2 so I'm limited on pins.
-
afaik you can only assign triggers to endstops not arbitrary pins.
https://duet3d.dozuki.com/Wiki/Gcode#Section_M581_Configure_external_trigger
-
I was able to get it working. thanks