Hello
Guest
it is
December 07, 2019, 11:05:32 AM
Guest
Login
Register
Menu
Home
Help
Search
Calendar
Members
Members
View the memberlist
Search For Members
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 1134 times)
0 Members and 1 Guest are viewing this topic.
Cartierusm
328
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
750
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
Theres always time for a choccy biccy
Cartierusm
328
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
339
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
For PMDX product support, please use PMDX forum or direct email for quickest response. We do not use this forum as our primary product support site.
Cartierusm
328
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
328
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 »