Hi mmurray70,
I'd suggest around 2K Ohms.First of all what resistance potentiometer is best to work with the Kanalog analog inputs?
The Kanalog ADC Inputs are +/-10V. So 12V would require a series resistor of ~20% to reduce the range to 0-10V. Otherwise 5V could be used and you would get 1/4 of the range (4096/4=1024 count range).I have 5v and 12v supplys available.
The interface for Rapid Rate Override hasn't been added to KMotionCNC. We will try to add it into the next Test Version. If you are capable of adding the code to KMotionCNC please post the changes for us to merge.is there a c-program floating around for rapid override? If not what is the command to change it? I found an example of FRO and SSO here: Setting Feed and spindle by C program?
YesAnd Im just learning basics of C programming so just want to confirm im on the right track. Both of these programs need to be merged into my init program right?
Yes these are called global variables/defines. The same defines can be used for both functions so only include those once.Everything above main() goes above main in my init program
Yes except for any redundancies (you only need/want one WaitNextTimeSlice() in the loop)and everything in the for ( ; ; ) loops gets added to my for ( ; ; ) loop right?
Yes these are local variables for the main function.How about the line in between main() and the for ( ; ; ) loop? In this case the FRO program reads: double Pot,FRO,T; and the SSO program reads double Pot,SSO,T; Do i need both lines before my for ( ; ; ) loop or could i just use double Pot,FRO, SSO,T; ?
double Pot,FRO, SSO,T;
is correct as the same "Pot" and "T" variables can be used for both SSO and FRO.
HTH
Regards