Machsupport Forum

Mach Discussion => General Mach Discussion => Topic started by: skartalov on January 30, 2009, 03:49:39 PM

Title: Assigning on-screen buttons to external push buttons
Post by: skartalov on January 30, 2009, 03:49:39 PM
Hi,
I was wonder how to assign a external push button to a function as on-screen button.

For example: I have 4 push buttons, connected to pins 2,3,4,5 ot LPT2.

How to assign them functions like:
1) Program Run (ALT-R)
2) Stop (ALT-S)
3) Hold (Spc)
4) Goto Zero

Thanks!

Title: Re: Assigning on-screen buttons to external push buttons
Post by: Hood on January 30, 2009, 03:58:49 PM
Go to ports and pins and set up OEM Triggers with the pins you have the buttons attached to, then go to Config menu then System Hotkeys and enter the OEM code of the Mach button you wish to use with each trigger.
OEM for  Programme Run is 1000
OEM for Stop is 1003
OEM for Hold is   1001
OEM for GoToZ is 1017

Hood
Title: Re: Assigning on-screen buttons to external push buttons
Post by: skartalov on January 31, 2009, 08:41:11 AM
Thanks a lot!

I did as you said, so now it works fine for me!

:-)