Machsupport Forum

Mach Discussion => VB and the development of wizards => Topic started by: Kently on November 22, 2010, 11:13:56 PM

Title: Run Macro When Axis is Zeroed
Post by: Kently on November 22, 2010, 11:13:56 PM
How can I run a macro whenever an axis is zeroed using the "Zero" buttons on the "Program Run" screen? These buttons cannot be edited with the Edit Button Script command.

Thanks,
Kent
Title: Re: Run Macro When Axis is Zeroed
Post by: BR549 on November 22, 2010, 11:27:54 PM
Change the button to a script button then add in the zeroaxis to the script and then run the macro

(;-)TP
Title: Re: Run Macro When Axis is Zeroed
Post by: Kently on November 24, 2010, 11:07:15 AM
I am just now learning about the screen editor. I didn't knowhow those buttons were being used like that. Your suggestion worked great.

Thanks!