Hi MarunovV,
You will need to supply a lot more detailed information on what you need to do other than just a picture of a control panel :}
What type of interface do you have to those controls?
What do you want them to do?
How is your system configured?
How are you currently controlling the Spindle?
What item do you want to try first?
Regards
TK
http://dynomotion.com
Hello Tom!
I want to create the hand control a machine-tool stand! Mpg works already for me! But I also want to use separate from MPG of the button (X+ X- and ect). How to prescribe them? Connection on Jp4
Hi MarunovV,
I'm not sure I understand but I believe you wish to add 2 hardware external buttons to Jog the X axis + and - ?
To do this you would need to write a small C program that would loop watching the buttons and when depressed issue a Jog command to the X axis.
The example:
Mach3_CL_PMDX.c
Has a useful function that will debounce a button input and detect when it has cleanly transitioned high or low. It returns:
// Debounce a bit
//
// return 1 one time when first debounced high
// return 0 one time when first debounced low
// return -1 otherwise
So for example when the X+ button goes high you might want to execute
Jog(0,1000.0); // jog positive
And then when it goes back low:
Jog(0,0.0); //stop
Let me know how much of this you understand
Regards
TK
http://dynomotion.com