Hi Jon

No encoders. Besides the 7i76e and raspberry pi, the machine is using the
original steppers and electronics. Emco used a double switch home sequence
on this machine - mechanical "rough" home and proximity "fine" home. I got
this to work last night, but it's not working properly. It seems to
remember the first time it sees the index pulse, regardless of how far away
the machine is from the limit switch, whereas I thought the index wouldn't
take effect until after the mechanical switch was tripped. I may have
something set incorrectly, but I'm not sure. I sent my configuration in a
follow-up email last night.


Thank you

Phil T.
The Feral Engineer

Check out my LinuxCNC tutorials, machine builds and other antics at
www.youtube.com/c/theferalengineer

On Mon, Mar 1, 2021, 11:51 AM Jon Elson <el...@pico-systems.com> wrote:

> On 02/28/2021 10:21 PM, Feral Engineer wrote:
> > Hello Hive mind,
> >
> > Question for the group. I have an emco pc turn 55. I've successfully
> gotten
> > everything working 100% on LCNC with the exception of one thing, the x
> and
> > z axis utilize a mechanical limit switch to latch home position, but then
> > each axis has a pnp proximity sensor that triggers the actual home
> position
> > on a 1 ppr encoder of sorts. I've just been using the mechanical
> switches,
> > but I'd like to try and get the proximity sensors working during the home
> > sequence.
> >
> > Any suggestions on where to start getting this to work?
> >
> What sort of encoders do you have (if any)?
> Assuming you have encoders for position feedback, do they
> have an index pulse?
> (I'm guessing not, as then the 1 PPR sensor would be redundant.)
> If your encoder input to the computer has a place for an
> index channel, connect your prox sensors to that input.
> then, enable search for index in the .ini file with :
>
> HOME_LATCH_VEL = ##
> HOME_USE_INDEX = YES
>
> Make ## a velocity where the encoder is counting less than
> 1000 counts/second, so the home position will be accurate to
> within one encoder count.  (Some harware encoder counters
> may be precise at much faster rates.)
>
> If your home switch is also a limit switch, then there is a
> bit more to this, you have to set
> HOME_IGNORE_LIMITS = YES and arrange a home offset so that
> the final home position does not
> have the shared switch still tripped.
>
> Jon
>
>
> _______________________________________________
> Emc-users mailing list
> Emc-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/emc-users
>

_______________________________________________
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users

Reply via email to