RogerN wrote: > I use speed feedback on my lathe, filtered it using existing Hal functions. > On threading my counter gets reset (spindle encoder) and would be an > enormous negative speed, I limited the rate of change of speed to be > realistic, I don't allow it to go from 800rpm forward to millions of rpm > reverse in a millisecond. > A good point, as the delta output my encoder driver now provides may do funny things when the reset count on index is triggered. I'd like to fix that when I adapt it to handle velocity estimation. > Instead of inputs for belt position and back gear, could you use a single > index input on the motor and use the gear teeth that are counted between > motor revolutions to calculate the ratio between the motor and spindle? > Would their be a way to make the path hold up until the spindle was at 80% > command speed? There is a Spindle-at-speed signal that allows you to make EMC hold off until the spindle is near commanded speed.
Jon ------------------------------------------------------------------------------ _______________________________________________ Emc-users mailing list Emc-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emc-users