Get well soon! If you feel like experimenting - I think you would just change
net spindle-position encoder.0.position => motion.spindle-revs to net spindle-position encoder.0.position-interpolated => motion.spindle-revs sam On 7/20/2012 4:06 AM, Steve Blackmore wrote: > On Mon, 16 Jul 2012 14:53:15 -0500, you wrote: > >> out of curiosity are you using? >> ENCODER >> >> *encoder.*/N/*.position-interpolated* float out >> >> Position in scaled units, interpolated between encoder counts. Only >> valid when velocity is approximately constant and above >> *min-velocity-estimate*. Do not use for position control. >> >> That is supposed to smooth out the position between encoder counts. (for >> lower count encoders) > Hi Sam - no am not using that. Here's the relevant bits out the hal > file. The lines with # at the end were added in an attempt to smooth it > out. > > (I'm a bit laid up at the moment, has some vision problems in my right > eye over the weekend - went to hospital and was operated on yesterday > for torn and detached retina - cant see much at the moment and machines > are off the menu for the next 10 days or so :) > > addf lowpass.0 servo-thread # > > > net spindle-cmd <= motion.spindle-speed-out => abs.1.in > net spindle-abs-cmd <= abs.1.out => pwmgen.0.value > net spindle-enable <= motion.spindle-on => pwmgen.0.enable > parport.0.pin-14-out > net spindle-pwm <= pwmgen.0.pwm > setp pwmgen.0.pwm-freq 0.0 > setp pwmgen.0.scale 18000 > setp pwmgen.0.offset 0 > setp pwmgen.0.dither-pwm true > net spindle-cw <= motion.spindle-forward > net spindle-ccw <= motion.spindle-reverse > > setp encoder.0.position-scale 480.000000 > net spindle-position encoder.0.position => motion.spindle-revs > net spindle-velocity encoder.0.velocity => motion.spindle-speed-in > net spindle-index-enable encoder.0.index-enable <=> > motion.spindle-index-enable > net spindle-phase-a encoder.0.phase-A > net spindle-phase-b encoder.0.phase-B > net spindle-index encoder.0.phase-Z > setp lowpass.0.gain 0.01 # > net spindle-velocity encoder.0.velocity => lowpass.0.in # > net spindle-rpm-filtered <= lowpass.0.out # > > Steve Blackmore > -- > > ------------------------------------------------------------------------------ > Live Security Virtual Conference > Exclusive live event will cover all the ways today's security and > threat landscape has changed and how IT managers can respond. Discussions > will include endpoint security, mobile security and the latest in malware > threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ > _______________________________________________ > Emc-users mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/emc-users > > ------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ _______________________________________________ Emc-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/emc-users
