spindle via step/dir servo and Mesa card

More
3 years 8 months ago #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 to join the conversation.

More
3 years 8 months ago #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

Please Log in to join the conversation.

More
3 years 8 months ago #264871 by PCW
What is your STEPGEN_MAXVEL setting?

Please Log in to join the conversation.

More
3 years 8 months ago #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.

Please Log in to join the conversation.

More
3 years 8 months ago #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 to join the conversation.

Time to create page: 0.042 seconds
Powered by Kunena Forum