- Configuring LinuxCNC
- Configuration Tools
- PnCConf Wizard
- If servo period is changed the coresponding P values for PID do not change
If servo period is changed the coresponding P values for PID do not change
- tommylight
-
Topic Author
- Offline
- Moderator
-
Less
More
- Posts: 21797
- Thank you received: 7446
22 Jul 2026 21:06 #347968
by tommylight
If servo period is changed the coresponding P values for PID do not change was created by tommylight
Noticed this lately, if servo period is set to say 2000000 the P values will remain at 1000 (should be 500), and that causes issues where the steppers run rough or joint errors occur often.
How much trouble would it be to add the feature to calculate the P values for servo period entered?
How much trouble would it be to add the feature to calculate the P values for servo period entered?
Please Log in or Create an account to join the conversation.
- Aciera
-
- Offline
- Administrator
-
Less
More
- Posts: 4789
- Thank you received: 2157
23 Jul 2026 09:43 #347984
by Aciera
Replied by Aciera on topic If servo period is changed the coresponding P values for PID do not change
The 'pncconf' configuration tool does this automatically.
If you want to check the `P` values in the ini file against the `SERVO_PERIOD` then this might be something that a GUI could do on start up followed by a message pop up in the GUI.
If you want to check the `P` values in the ini file against the `SERVO_PERIOD` then this might be something that a GUI could do on start up followed by a message pop up in the GUI.
Please Log in or Create an account to join the conversation.
- tommylight
-
Topic Author
- Offline
- Moderator
-
Less
More
- Posts: 21797
- Thank you received: 7446
23 Jul 2026 13:10 #347990
by tommylight
This was on 2.10 or master.
Replied by tommylight on topic If servo period is changed the coresponding P values for PID do not change
Nope, it does not when editing an existing config for sure, did not check when creating a new one.The 'pncconf' configuration tool does this automatically.
This was on 2.10 or master.
Please Log in or Create an account to join the conversation.
- Aciera
-
- Offline
- Administrator
-
Less
More
- Posts: 4789
- Thank you received: 2157
23 Jul 2026 13:23 - 23 Jul 2026 13:28 #347992
by Aciera
Replied by Aciera on topic If servo period is changed the coresponding P values for PID do not change
Definitely works when creating a new config (tested on 2.9.10 and master) .
[edit]
It does not work when editing an existing config.
[edit]
It does not work when editing an existing config.
Last edit: 23 Jul 2026 13:28 by Aciera.
The following user(s) said Thank You: tommylight
Please Log in or Create an account to join the conversation.
- tommylight
-
Topic Author
- Offline
- Moderator
-
Less
More
- Posts: 21797
- Thank you received: 7446
23 Jul 2026 14:45 #347996
by tommylight
Replied by tommylight on topic If servo period is changed the coresponding P values for PID do not change
Thank you Aciera, i do not use wizards as i am used to manually editing everything, but been forcing myself to use them lately.
Please Log in or Create an account to join the conversation.
- Aciera
-
- Offline
- Administrator
-
Less
More
- Posts: 4789
- Thank you received: 2157
23 Jul 2026 15:50 - 23 Jul 2026 16:23 #348002
by Aciera
Replied by Aciera on topic If servo period is changed the coresponding P values for PID do not change
I've had a look and we could generate a popup when the servo period has been changed in an existing config:
PR is here: github.com/LinuxCNC/linuxcnc/pull/4263
PR is here: github.com/LinuxCNC/linuxcnc/pull/4263
Attachments:
Last edit: 23 Jul 2026 16:23 by Aciera.
The following user(s) said Thank You: tommylight, Clive S
Please Log in or Create an account to join the conversation.
- tommylight
-
Topic Author
- Offline
- Moderator
-
Less
More
- Posts: 21797
- Thank you received: 7446
23 Jul 2026 20:30 #348015
by tommylight
Replied by tommylight on topic If servo period is changed the coresponding P values for PID do not change
Nice, thank you.
Please Log in or Create an account to join the conversation.
Moderators: cmorley
- Configuring LinuxCNC
- Configuration Tools
- PnCConf Wizard
- If servo period is changed the coresponding P values for PID do not change
Time to create page: 0.135 seconds