I'm pretty sure you're right: to work correctly, bot the "command" and
"feedback" of a PID have to be in the same units, e.g., in revolutions
per second.
Jeff
--
This SF.net email is sponsored by:
SourcForge Community
Sou
This is my code
spindle.hal
loadrt threads name1=slow-thread period1=1
loadrt ddt count=1
addf ddt.0 slow-thread
net SpindleRevs m5i20.0.enc-03-position => motion.spindle-revs ddt.0.in
net SpindleSpeedRps ddt.0.out => motion.spindle-speed-in
# VFD spindle 0-10V control absolute
# route