Welcome, Guest. Please login or register.
Did you miss your activation email?
May 27, 2012, 09:41:49 AM

Login with username, password and session length
Search:     Advanced search
* Home Help Search Calendar Links Login Register
+  Machsupport Forum
|-+  Mach Discussion
| |-+  VB and the development of wizards
| | |-+  Run Macro When Axis is Zeroed
Pages: 1   Go Down
Print
Author Topic: Run Macro When Axis is Zeroed  (Read 336 times)
0 Members and 1 Guest are viewing this topic.
Kently
Active Member

Offline Offline

Posts: 60


View Profile
« 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
Logged
BR549
Active Member

Offline Offline

Posts: 2,555


View Profile
« Reply #1 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
Logged
Kently
Active Member

Offline Offline

Posts: 60


View Profile
« Reply #2 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!
Logged
Pages: 1   Go Up
Print
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.16 | SMF © 2011, Simple Machines Valid XHTML 1.0! Valid CSS!