Hello
Guest
it is
May 05, 2025, 06:54:44 PM
Guest
Login
Register
Menu
Home
Help
Search
Login
Register
YouTube
Machsupport Forum
/
Mach Discussion
/
Mach4 General Discussion
/
Help setting up functions for keyboard.
« previous
next »
Print
Pages:
1
Go Down
Author
Topic: Help setting up functions for keyboard. (Read 5292 times)
0 Members and 1 Guest are viewing this topic.
Cartierusm
354
Help setting up functions for keyboard.
«
on:
February 11, 2017, 08:52:52 PM »
I read most the stuff on here about keyboards, but what I'm trying to do doesn't seem to be explained. Unless I'm doing it wrong.
Basically, I just want to press, let's say, C on my keyboard have it cycle start. That's it.
How would I go about that?
Logged
DazTheGas
778
DazTheGas
Re: Help setting up functions for keyboard.
«
Reply #1 on:
February 12, 2017, 02:32:16 AM »
This should do the trick
http://www.machsupport.com/forum/index.php/topic,31585.0.html
DazThrGas
Logged
New For 2022 - Instagram: dazthegas
Cartierusm
354
Re: Help setting up functions for keyboard.
«
Reply #2 on:
February 12, 2017, 12:21:10 PM »
Ok I'll try that. Where can I find the other codes for other functions?
I need:
Feed Hold
Cycle Start
Incremental Jog
Fast Jog
and then custom feed rates such as F.5 F2 F5 F10
Thanks.
Logged
Steve Stallings
506
Re: Help setting up functions for keyboard.
«
Reply #3 on:
February 12, 2017, 12:47:15 PM »
If you have installed Mach4Hobby on your machine, even the demo, then
you will have a folder called DOCS inside your main Mach4Hobby folder. In
there you will find a file named Mach4CoreAPI.chm which is a Windows
help file. Just double click on the file name and it will open a help window.
Look in the section for API Reference by Category for the topic Operations.
Logged
Steve Stallings
www.PMDX.com
Cartierusm
354
Re: Help setting up functions for keyboard.
«
Reply #4 on:
March 03, 2017, 12:20:32 PM »
Ok so I'm now getting around to this. I see the code in Daz's post. Do I need to put 'end' at the end of each block of code I put in there? So for example
Code for cycle start, end
Code for feed hold, end.
Etc. etc.
Logged
Cartierusm
354
Re: Help setting up functions for keyboard.
«
Reply #5 on:
March 03, 2017, 03:42:02 PM »
Figured it out. Separate blocks of code for each instance.
Also noticed when clicking on the last part of the name such as, mcCntlCycleStart, a pop up dialog box will come up and you can select the function you need.
Logged
Print
Pages:
1
Go Up
« previous
next »