- Posts: 76
- Thank you received: 0
Closed loop spindle
10 years 3 weeks ago #81188
by jeeybee
Replied by jeeybee on topic Closed loop spindle
When running 100rpm, pid commad = 100 and pid feedback is also 100
Please Log in to join the conversation.
10 years 3 weeks ago #81190
by jeeybee
Replied by jeeybee on topic Closed loop spindle
Can it be so that the velocity settings for the spindle should be in RPS for the spindle so that the pid command and feedback should also be in rps
But the spindle rev in RPM?
But the spindle rev in RPM?
Please Log in to join the conversation.
10 years 3 weeks ago #81191
by andypugh
If you mean motion.spindle.revs that should be a revolution counter. It should increase by 1 every spindle revolution.
If that isn't what you mean, then what do you mean?
Replied by andypugh on topic Closed loop spindle
jeeybee wrote: Can it be so that the velocity settings for the spindle should be in RPS for the spindle so that the pid command and feedback should also be in rps
But the spindle rev in RPM?
If you mean motion.spindle.revs that should be a revolution counter. It should increase by 1 every spindle revolution.
If that isn't what you mean, then what do you mean?
Please Log in to join the conversation.
10 years 3 weeks ago #81204
by jeeybee
Replied by jeeybee on topic Closed loop spindle
I mean that the INI settings for the spindle should be in RPS, and the PID feedback and command?
Please Log in to join the conversation.
10 years 3 weeks ago #81211
by andypugh
Sorry to be vague, but you can do it either way, as long as you are consistent.
The encoder speed output, however, will always be in RPS.
So, you can use RPS around the PID and scale to RPM for a GUI output (if required). Note that motion.spindle-speed-in should be in RPS.
Or, you can scale the encoder velocity to RPM (using the unscaled signal for motion.spindle-speed-in ) and use RPM around the PID.
Replied by andypugh on topic Closed loop spindle
jeeybee wrote: I mean that the INI settings for the spindle should be in RPS, and the PID feedback and command?
Sorry to be vague, but you can do it either way, as long as you are consistent.
The encoder speed output, however, will always be in RPS.
So, you can use RPS around the PID and scale to RPM for a GUI output (if required). Note that motion.spindle-speed-in should be in RPS.
Or, you can scale the encoder velocity to RPM (using the unscaled signal for motion.spindle-speed-in ) and use RPM around the PID.
Please Log in to join the conversation.
Time to create page: 0.110 seconds
