Hi Tom,
While waiting for the new Kstep to come in I decided to upgrade to a newer Windows 10 computer in place of the old Windows 8, 32 bit computer that I have been using for years. I also downloaded to latest Kmotion 5.3.7 Software and flashed the Kflop. Now I''m back to an old problem. The spindle starts but only runs at 24,000 RPM. When I run the Step Response I get just a spike.
The last time this happened you had me change
FPGA(IO_PWMS_PRESCALE) = 1;
to
FPGA(IO_PWMS_PRESCALE) = 255;
but I'm already there. The current computer is much newer and faster. Could the computer be causing this problem? I've attached my Init and Spindle programs.
Jack
Spindle Interface III
Moderators: TomKerekes, dynomotion
Spindle Interface III
- Attachments
-
- SpindleOnCWJogV2.c
- (1.13 KiB) Downloaded 7 times
-
- SpindleMillJogV2.c
- (997 Bytes) Downloaded 6 times
-
- Init File 020825.c
- (10.88 KiB) Downloaded 6 times
Re: Spindle Interface III
Hi Tom,
Update
Turns out if I change the FACTOR from .0000417 to .0000149 the spindle plays nice. Why did I have to change the FACTOR?
Jack
Update
Turns out if I change the FACTOR from .0000417 to .0000149 the spindle plays nice. Why did I have to change the FACTOR?
Jack
Re: Spindle Interface III
The computer should have no effect, as all it's doing is sending the speed command to the KFlop, at which point the KFlop handles everything.
Operationally nothing should change, provided you're still using the same C files, and have KMotionCNC setup the same (if you've not seen it, there is a guide in the wiki for updating KMotionCNC and what files need copied - https://www.dynomotion.com/wiki/index.p ... n_Versions )
Could it be that you've inadvertently copied an old file?
(I'm quite guilty of this!)
Operationally nothing should change, provided you're still using the same C files, and have KMotionCNC setup the same (if you've not seen it, there is a guide in the wiki for updating KMotionCNC and what files need copied - https://www.dynomotion.com/wiki/index.p ... n_Versions )
Could it be that you've inadvertently copied an old file?
(I'm quite guilty of this!)
Re: Spindle Interface III
Thanks Muray. I found something in your link that might explain the issue:
"However KMotionDef.h is specific to a particular Version and should not be ever copied or relocated."
I'm pretty sure I copied the old file to the new version.
Jack
"However KMotionDef.h is specific to a particular Version and should not be ever copied or relocated."
I'm pretty sure I copied the old file to the new version.
Jack