On 27 October 2014 20:35, <[email protected]> wrote: > I'm new to LinuxCNC so it takes me a while to find things in the docs (if > they're there).
It's all here: http://www.linuxcnc.org/docs/html/ But you specifically want: http://www.linuxcnc.org/docs/html/man/man9/encoder.9.html loadrt encoder count=1 ... # You would normally have the encoder in a base thread, but there won't be one # I have used an MPG in the servo-thread, it worked fine. addf encoder.0.servo-thread ... # I am guessing the GPIO names here... net phaseA hm2_5i25.0.7i76.0.0.gpio.00 => encoder.0.phase-A net phaseB hm2_5i25.0.7i76.0.0.gpio.01 => encoder.0.phase-B net jog-counts encoder.0.counts => axis.0.jog-counts axis.2.jog-counts (the last pins come from "motion" ' http://www.linuxcnc.org/docs/html/man/man9/motion.9.html ) You probably need to set up the jog-enable pins for each axis. If you have an MPG for each, then just: setp axis.0.jog-enable 1 -- atp If you can't fix it, you don't own it. http://www.ifixit.com/Manifesto ------------------------------------------------------------------------------ _______________________________________________ Emc-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/emc-users
