Spindle speed with Pathpilot on non tormach lathe

More
27 Nov 2015 19:31 #65874 by remartinez
I am running pathpilot with a 5i25 mesa board a C35 BOB and a C41 variable spindle speed control that uses PWM and a Teco VFD.

The issue that I am having is that when I am at max rpm the C41 board is only putting out 5v instead of 10v.
Need help on fixing this issue. I have attached hal and ini files.

thanks
Raul
Attachments:

Please Log in or Create an account to join the conversation.

More
27 Nov 2015 20:01 #65876 by PCW
Looks like you are using a stepgen in quadrature mode (a variable frequency pulse generator)
instead of a PWMgen (a variable duty cycle pulse generator) for the spindle speed control
this will result in close to 5V output on a PWM --> 10V @ 100% duty cycle analog circuit

Please Log in or Create an account to join the conversation.

More
27 Nov 2015 20:15 #65877 by remartinez

Looks like you are using a stepgen in quadrature mode (a variable frequency pulse generator)
instead of a PWMgen (a variable duty cycle pulse generator) for the spindle speed control
this will result in close to 5V output on a PWM --> 10V @ 100% duty cycle analog circuit


PCW
What do I need to do to correct this issue?

Thanks,
Raul

Please Log in or Create an account to join the conversation.

More
27 Nov 2015 20:47 #65882 by PCW
First, you want a FPGA configuration (bitfile) that has a PWMgen on P3 pin 1
and then you need to remove all the stepgen2 boilerplate in the HAL file and replace
it with appropriate PWMgen setup boilerplate

I suspect this would require a custom bitfile

Please Log in or Create an account to join the conversation.

More
27 Nov 2015 21:20 #65885 by remartinez
PCW

That sounds pretty complicated as I am very novice to Linux.

Would using a different board work to avoid to much editing. I have a C6 variable speed board.
Below is a link for the board.

cnc4pc.com/motion-control/spindle-speed-...d-control-board.html

Please Log in or Create an account to join the conversation.

More
27 Nov 2015 21:32 #65886 by PCW
The C6 should work with the stepgen signal and existing bitfile

Please Log in or Create an account to join the conversation.

More
27 Nov 2015 22:35 #65890 by remartinez
PCW

Thank you for your help. I changed to the C6 board and edited a couple of lines in the hal file and bam! IT'S WORKING!

Just need to fine tune the step length and I should have it dialed in.

Thanks again
Raul

Please Log in or Create an account to join the conversation.

Moderators: cncbasher
Time to create page: 0.151 seconds
Powered by Kunena Forum