spindle via step/dir servo and Mesa card

More
18 Feb 2023 16:25 #264759 by PCW
For spindles, STEPGEN_MAXVEL needs to be in RPS
and MAX_VELOCITY needs to be in RPM.

The comments from pncconf should be changed for spindles.

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

More
20 Feb 2023 11:03 - 20 Feb 2023 11:31 #264859 by 0x2102
Thanks. It works now, after I changed MAX_VELOCITY / MAX_REVERSE_VELOCITY = 28000.

I still get the potential StepGen clipping warning, though. Is there an option to disable the warning for a spindle StepGen?

-Markus
Last edit: 20 Feb 2023 11:31 by 0x2102.

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

More
20 Feb 2023 15:29 - 20 Feb 2023 15:29 #264871 by PCW
What is your STEPGEN_MAXVEL setting?
Last edit: 20 Feb 2023 15:29 by PCW.

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

More
20 Feb 2023 20:35 - 20 Feb 2023 20:55 #264898 by 0x2102
Fixed. Thanks Peter ;-)

I double checked things and was confused when it was set to 28000.I had some issues with the Spindle in Step/Dir, going from 2.8 -> 2.9, so I thought I would generate a test machine with Pncconf Wizard and copy the Spindle section from the example machine.

Pncconf Wizard for 2.9 has a bug in the Spindle StepGen:
setp hm2_7i76e.0.stepgen.03.maxaccel [SPINDLE_0]MAX_ACCELERATION
setp hm2_7i76e.0.stepgen.03.maxvel [SPINDLE_0]MAX_VELOCITY

Correct is:
setp hm2_7i76e.0.stepgen.03.maxaccel [SPINDLE_0]STEPGEN_MAXACCEL
setp hm2_7i76e.0.stepgen.03.maxvel [SPINDLE_0]STEPGEN_MAXVEL

-Markus

PS: I submitted this as an issue on GitHub.
Last edit: 20 Feb 2023 20:55 by 0x2102.

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

More
20 Feb 2023 21:23 #264905 by PCW
Thanks for submitting the bug report

(28000 RPS at 800 steps/rev is about a 22 MHz step rate
so not surprising that the driver complains)

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

Time to create page: 0.114 seconds
Powered by Kunena Forum