spindle via step/dir servo and Mesa card
18 Feb 2023 16:25 #264759
by PCW
Replied by PCW on topic spindle via step/dir servo and Mesa card
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.
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.
20 Feb 2023 11:03 - 20 Feb 2023 11:31 #264859
by 0x2102
Replied by 0x2102 on topic spindle via step/dir servo and Mesa card
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
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.
20 Feb 2023 15:29 - 20 Feb 2023 15:29 #264871
by PCW
Replied by PCW on topic spindle via step/dir servo and Mesa card
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.
20 Feb 2023 20:35 - 20 Feb 2023 20:55 #264898
by 0x2102
Replied by 0x2102 on topic spindle via step/dir servo and Mesa card
Fixed. Thanks Peter ![;-) ;-)](/media/kunena/emoticons/wink.png)
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.
![;-) ;-)](/media/kunena/emoticons/wink.png)
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.
20 Feb 2023 21:23 #264905
by PCW
Replied by PCW on topic spindle via step/dir servo and Mesa card
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)
(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.074 seconds