Slowly hooking up the actual lathe to linuxcnc. Starting with that encoder I made.
1. I get it that this encoder.0.velocity is something that is reported in rps if I have the scale set correctly, but what I am getting is an extremely noisy reading for what looks like, and sounds like, a quite steady rotation. In low gear, this thing is supposedly capable of 1100 rpms, which would be nominally 18.333 rps. But even at this speed, where rotational mass is considerable and the rotational velocity virtually has to be consistent to a very small fraction of a percent, the encoder.0.velocity display may vary by 2 rps from display update to display update. Turning slowly, at say 1 rps, the readings are in the ballpark, and if averaged, might be usable, but the noise extends to the left hand digit wobbling by nearly half an rps when turning at about 1 rps. Looking at the signals from the encoder, they look to be good, and stable enough that there isn't going to be a noticeable blurring if I took a long time exposure. 2. I also have the index thingy set true, but position is tallied from startup, in revolutions which ever way I ran it. Here is a grep showing the encoder setup as it exists about an hour ago before we put on the feedbag: loadrt encoder num_chan=1 addf encoder.update-counters base-thread addf encoder.capture-position servo-thread setp encoder.0.counter-mode false setp encoder.0.index-enable true setp encoder.0.x4-mode true setp encoder.0.position-scale 156.0000 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 A-phase encoder.0.phase-A <= parport.0.pin-12-in net B-phase encoder.0.phase-B <= parport.0.pin-15-in net Z-index encoder.0.phase-Z <= parport.0.pin-13-in Am I missing something? Cheers, Gene -- "There are four boxes to be used in defense of liberty: soap, ballot, jury, and ammo. Please use in that order." -Ed Howdershelt (Author) My web page: <http://coyoteden.dyndns-free.com:85/gene> God must have loved calories, she made so many of them. ------------------------------------------------------------------------------ For Developers, A Lot Can Happen In A Second. Boundary is the first to Know...and Tell You. Monitor Your Applications in Ultra-Fine Resolution. Try it FREE! http://p.sf.net/sfu/Boundary-d2dvs2 _______________________________________________ Emc-users mailing list Emc-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emc-users