setting up KmotionCNC
Posted: Tue May 03, 2022 10:29 pm
OK, so I have finally moved on to the CNC program and I am getting into the tool setup tab to get my spindle setup.
I went through the instructions about 4 times and believe that I've done as told to output cw-ccw on optos and use a dac to output an analog speed signal to my drive. I've gotten as far as testing the jog7=0.25 and I get a measured 2.5volts out of dac7 so all is well there. When I start trying to use the kmotioncnc buttons to control the actual spindle I have the on and off working but the speed settings don't actually output anything on my dac wire when I put a meter on them.(So full speed or nothing atm)
I saw this line at the end of the no C programming required spindle setup section
" The standard SpindleUsingJogs examples can now be used for an open loop DAC controlled Spindle.
To determine the proper FACTOR in the MySpindleDefs.h file you will need to know what RPM your Spindle runs at when the full 10V analog signal is applied. This will correspond to the RPM where a full Jog Speed of 1.0 will be required. So for example if your RPM reading at 10V is 2500 RPM then configure "
I didn't do anything with a myspindledefs.h file, maybe this is why my dac does nothing within kmotioncnc.
This is a pic of my settings in kmotioncnc. My C program that I am running does initialize my 7th axis with the settings that the setup instructions asked for.
Thanks for any input ! -Dave
I went through the instructions about 4 times and believe that I've done as told to output cw-ccw on optos and use a dac to output an analog speed signal to my drive. I've gotten as far as testing the jog7=0.25 and I get a measured 2.5volts out of dac7 so all is well there. When I start trying to use the kmotioncnc buttons to control the actual spindle I have the on and off working but the speed settings don't actually output anything on my dac wire when I put a meter on them.(So full speed or nothing atm)
I saw this line at the end of the no C programming required spindle setup section
" The standard SpindleUsingJogs examples can now be used for an open loop DAC controlled Spindle.
To determine the proper FACTOR in the MySpindleDefs.h file you will need to know what RPM your Spindle runs at when the full 10V analog signal is applied. This will correspond to the RPM where a full Jog Speed of 1.0 will be required. So for example if your RPM reading at 10V is 2500 RPM then configure "
I didn't do anything with a myspindledefs.h file, maybe this is why my dac does nothing within kmotioncnc.
This is a pic of my settings in kmotioncnc. My C program that I am running does initialize my 7th axis with the settings that the setup instructions asked for.
Thanks for any input ! -Dave