Added a scaler and the rpm display is now correct. But still the strange
move on G33 Z10 K.1: at first it seems the Z axis is "pulsed" to move. 
During the move, the motion becomes smoother and smoother, at the end, 
almost a very smooth move.

Sorry about this explanation. Can't describe it very good.

Geert De Pecker wrote:
> 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
> 

-------------------------------------------------------------------------
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

Reply via email to