Machsupport Forum

Mach Discussion => General Mach Discussion => Topic started by: jmalarke on May 27, 2015, 12:17:54 AM

Title: Tie external button to custom macro
Post by: jmalarke on May 27, 2015, 12:17:54 AM
I am trying to have an external button trigger a user macro and I cannot for the life of me figure out how to get it working.  I've ready probably 50 different forum posts/webpages/etc and still can't seem to get anything to work.  I've tried to get this working with the default MACH3 screenset, as well as the 2010 screenset.

I have the input tied to my Smoothstepper and I can see it change in the diagnostics page when I press it so I know the wiring is good.  I currently have it assigned to "Input #1" but it doesn't necessarily need to stay there.   

There are a couple of these I would like to get working eventually, but for now I am trying to use the 2010 screenset's Z-axis auto zero macro which lives in the file M889.m1s.  It works fine if I click on the button on the screen.

Is there a simple, step by step guide on how to get this working?  I feel like I must be missing something, because it seems like this should be easy to set up.