- Posts: 335
- Thank you received: 0
Setting Servo Max Acceleration
Is there a way to use Halscope or something to help figure out the Max Acceleration setting for servos in velocity mode? Also is there a way to make changes to the ini file while LCNC is running? So far messing with acceleration settings is done by closing LCNC, adjust ini, reopen LCNC, halscope, calibration, etc.
Thanks in advance
Please Log in to join the conversation.
by changing the ini.xxx pins with halcmd.
(in a terminal windows with linuxCNC running)
for example
halcmd -fk
--To list available pins:
halcmd: show pin ini*
--and then to tweak values:
halcmd setp ini.y.max_acceleration 400
-- for example
Please Log in to join the conversation.
- Todd Zuercher
- Offline
- Platinum Member
-
- Posts: 4739
- Thank you received: 2
Please Log in to join the conversation.
Please Log in to join the conversation.
Please Log in to join the conversation.
Please Log in to join the conversation.
But how big is your table? Go to the next blacksmith and as if his big anvils need resurfacing...
Please Log in to join the conversation.
Please Log in to join the conversation.
Todd Zuercher wrote: As to calculating the max acceleration. You can plot the velocity feedback in Halscope when the acceleration is set too high, the slope of that will be the physical max. But you will want to program the max acceleration limit in the ini file to something less to give the PID headroom to work. Something like 10% less is a good start.
I am back at playing with this but not sure I understand this point. I am looking at vel-cmd and f-error and poss-fb in halscope. Not sure if this is what you are referring to with "velocity feedback". Vel-cmd is a pretty straight up and down plateau with f-error in between the plateau. The rest are just slopes that aren't much good. The f-error start and stop still have a big spike that isn't much affected by FF2.
Any further advice would be appreciated.
Please Log in to join the conversation.
Attachment not found
Please Log in to join the conversation.
