Just changed to the code below, but G33 keeps doing very strange. Also, the motion.spindle-speed-in displays 4.3 instead of the approx 200 rpm the spindle is doing. Would I need to put a "scale" component in to change from the rotations per second (encoder reading per second?) to rotations per minute? Maybe this is what is causing the strange moves.
setp encoder.0.counter-mode true setp encoder.0.x4-mode false setp encoder.0.position-scale 50 net spindle-phase-A <= parport.0.pin-11-in => encoder.0.phase-A net spindle-phase-Z <= parport.0.pin-10-in => encoder.0.phase-Z #net spindle-phase-A <= parport.0.pin-11-in => encoder.0.phase-A encoder.0.phase-Z net spindle-index-enable motion.spindle-index-enable <=> encoder.0.index-enable net spindle-pos encoder.0.position => motion.spindle-revs net spindle-velocity <= encoder.0.velocity => motion.spindle-speed-in > You described a physical setup with two pins connected (10 and 11), but > you only connected one of them to the encoder (in two places). > > You need to connect phase-A to pin 11 and phase-Z to pin 10. > > - Steve > > > ------------------------------------------------------------------------- > This SF.Net email is sponsored by the Moblin Your Move Developer's challenge > Build the coolest Linux based applications with Moblin SDK & win great prizes > Grand prize is a trip for two to an Open Source event anywhere in the world > http://moblin-contest.org/redirect.php?banner_id=100&url=/ > _______________________________________________ > Emc-users mailing list > Emc-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/emc-users > ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Emc-users mailing list Emc-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emc-users