Machsupport Forum

Mach Discussion => Mach4 General Discussion => Topic started by: --colin-- on August 10, 2021, 04:19:26 PM

Title: Keyboard to set Feed Hold
Post by: --colin-- on August 10, 2021, 04:19:26 PM
How do I set a "Feed Hold" or "Stop" function using keyboard entry?  I want the Esc key to cause my machine to stop.  I had this working in Mach3 but can't figure out how to do it in Mach4.  I'm using port 1, pin 13 as an E-Stop.  Is there a way to trip this with a keyboard entry?
Title: Re: Keyboard to set Feed Hold
Post by: DazTheGas on August 10, 2021, 04:35:15 PM
There is a keyboard plugin that comes with mach4 that will do that for you.

DazTheGas
Title: Re: Keyboard to set Feed Hold
Post by: --colin-- on August 10, 2021, 04:52:50 PM
I already use the keyboard plugin and have it setup to do jog functions and that works fine.  I added a keyboard input for the Esc key but there is no Function available for feed hold or stop. So, do I need to somehow edit the plugin to add that function?
Title: Re: Keyboard to set Feed Hold
Post by: DazTheGas on August 10, 2021, 04:56:01 PM
Try this

https://www.machsupport.com/forum/index.php?topic=31585.0

DazTheGas
Title: Re: Keyboard to set Feed Hold
Post by: --colin-- on August 10, 2021, 06:33:49 PM
Thanks, that helped a lot.  I got it working using your script and the video.  I appreciate your help.

--Colin--