Re: [Emc-users] Encoders with steppers

2007-08-21 Thread mgouget
Thanks to all who replied for the very good information. To summarise: - Adding encoders to steppers can be done, and HAL has all the components needed. using encoder-PID-freqgen creates basically a "servo system with steppers". Freqgen has parameters for capping velocity and acceleration.

Re: [Emc-users] Encoders with steppers

2007-08-15 Thread Jeff Epler
On Wed, Aug 15, 2007 at 11:40:35AM -0500, RogerN wrote: > Instead of PID speeding up the stepper, could it be connected to feed > rate override and slow the feed until the stepper caught up? emc2 offers "feedhold" and "adaptive-feed" pins in HAL (the latter is activated by M52, not on by default)

Re: [Emc-users] Encoders with steppers

2007-08-15 Thread RogerN
- Original Message - From: "John Kasunich" <[EMAIL PROTECTED]> To: "Enhanced Machine Controller (EMC)" Sent: Wednesday, August 15, 2007 8:59 AM Subject: Re: [Emc-users] Encoders with steppers > PID's response to feedback falling behind command is to

Re: [Emc-users] Encoders with steppers

2007-08-15 Thread Alex Joni
> I'm > sure there is a way to solve that problem, but nothing springs to mind > right now. > how about a long limit switch (between 2 encoder indexes), just use a latch to toggle the state. to summarize: actual switch AND encoder index -> toggle signal for the latch. latch output -> emc home-s

Re: [Emc-users] Encoders with steppers

2007-08-15 Thread John Kasunich
Michel Gouget wrote: > Dear All, > > I am considering adding encoders and home switches to my Sherline CNC mill. > > I see 2 benefits: > 1) Being *sure* of not loosing steps (estop, ...) > 2) Using (low precision) home switches and the index of the encoder, I get > *excellent* repeatability when

Re: [Emc-users] Encoders with steppers

2007-08-15 Thread Lester Caine
Michel Gouget wrote: > Dear All, > > I am considering adding encoders and home switches to my Sherline CNC mill. > > I see 2 benefits: > 1) Being *sure* of not loosing steps (estop, ...) > 2) Using (low precision) home switches and the index of the encoder, I get > *excellent* repeatability when

[Emc-users] Encoders with steppers

2007-08-15 Thread Michel Gouget
Dear All, I am considering adding encoders and home switches to my Sherline CNC mill. I see 2 benefits: 1) Being *sure* of not loosing steps (estop, ...) 2) Using (low precision) home switches and the index of the encoder, I get *excellent* repeatability when homing. The mill is equipped with re