- Posts: 17533
- Thank you received: 5334
G76 -Somtimes- faults and does not synchronize
7 years 3 months ago #139002
by PCW
Replied by PCW on topic G76 -Somtimes- faults and does not synchronize
Usually Speed control loops use mainly FF0,P and I
(FF0 is adjusted for best open loop speed match with everything else 0
then P then I)
(FF0 is adjusted for best open loop speed match with everything else 0
then P then I)
Please Log in or Create an account to join the conversation.
7 years 3 months ago #139176
by andypugh
Replied by andypugh on topic G76 -Somtimes- faults and does not synchronize
You can use an interactive HAL window.
Open a terminal and "halcmd -kf" to link to the HAL of the running LinuxCNC instance.
Then you can "setp pid.2.Igain 200" and such to change the PID settings on the fly.
These won't be saved to the INI, so make a note of the good settings then edit them in to the INI.
You can read (getp) or set (setp) any HAL pins you like from the command line.
show pin pid* - will show all pins matching the pattern.
loadusr halmeter
loadusr halscope - open some handy tools
exit - will quit the halcmd session.
Open a terminal and "halcmd -kf" to link to the HAL of the running LinuxCNC instance.
Then you can "setp pid.2.Igain 200" and such to change the PID settings on the fly.
These won't be saved to the INI, so make a note of the good settings then edit them in to the INI.
You can read (getp) or set (setp) any HAL pins you like from the command line.
show pin pid* - will show all pins matching the pattern.
loadusr halmeter
loadusr halscope - open some handy tools
exit - will quit the halcmd session.
Please Log in or Create an account to join the conversation.
Time to create page: 0.215 seconds