I'm driving the steppers with the stepgens on the 7i76e, but when the axis
hits the mechanical switch, it sets the DRO to zero against that, moves to
the prox pulse then goes back to the original startup position then sets
zero back to there... I just don't see a correlation to how it's working
and it being of any good use to anybody in the same situation.

I turned off home_use_index and used an and2 gate instead, but that's not
robust enough for my liking. Way more repeatable, but susceptible to not so
good behavior in some cases.

Is there a hal command to reset home position? If so, I'll write my own
subroutines to make it do what I want.

Phil T.
The Feral Engineer

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

On Sun, Apr 4, 2021, 10:14 AM Peter C. Wallace <p...@mesanet.com> wrote:

> On Sun, 4 Apr 2021, Feral Engineer wrote:
>
> > Date: Sun, 4 Apr 2021 10:04:29 -0400
> > From: Feral Engineer <theferalengin...@gmail.com>
> > Reply-To: "Enhanced Machine Controller (EMC)"
> >     <emc-users@lists.sourceforge.net>
> > To: "Enhanced Machine Controller (EMC)" <emc-users@lists.sourceforge.net
> >
> > Subject: Re: [Emc-users] [Emc-developers] Home_use_index issue revisited
> >
> > But home should be referenced from the switch and reset with the proxy as
> > the index pulse. I don't see this as normal behavior. Homing against the
> > switch then moving to some arbitrary position defeats the purpose of
> having
> > a homing sequence. If you watch my video, "zero" is purely dependent on
> > where the machine is when you start the software. All of my ini settings
> > are zero. Between the two reference returns I show in my video, nothing
> > changed but the position the machine was in when the software was
> started.
> > This behavior is not present when only using the mechanical switch.
> >
> > Phil T.
> > The Feral Engineer
>
>
> I would expect this behaviour if you are using the stepgen feedback
> since the stepgen feedback is not cleared by index
>
>
> >
> > Check out my LinuxCNC tutorials, machine builds and other antics at
> > www.youtube.com/c/theferalengineer
> >
> > On Sun, Apr 4, 2021, 4:45 AM Frank Tkalcevic <
> fr...@franksworkshop.com.au>
> > wrote:
> >
> >> What I'm seeing (and I'm not a linuxcnc expert) looks correct.  After
> the
> >> homing sequence it jumps to HOME.  This is documented here (0.1.3.7)
> >> http://linuxcnc.org/docs/2.4/html/config_ini_homing.html
> >>
> >>
> >>
> >>
> >> -----Original Message-----
> >> From: Feral Engineer [mailto:theferalengin...@gmail.com]
> >> Sent: Sunday, 4 April 2021 1:58 PM
> >> To: EMC developers; Enhanced Machine Controller (EMC)
> >> Subject: [Emc-developers] Home_use_index issue revisited
> >>
> >> Finally getting back around to messing with this mechanical/prox home
> >> issue. See attached video link. I show what it is doing and explain
> what I
> >> want it to do.
> >>
> >> Thanks in advance for your help
> >>
> >> https://youtu.be/XVz6v2YNXJQ
> >>
> >> Phil T.
> >> The Feral Engineer
> >>
> >> Check out my LinuxCNC tutorials, machine builds and other antics at
> >> www.youtube.com/c/theferalengineer
> >>
> >> _______________________________________________
> >> Emc-developers mailing list
> >> emc-develop...@lists.sourceforge.net
> >> https://lists.sourceforge.net/lists/listinfo/emc-developers
> >>
> >>
> >>
> >> _______________________________________________
> >> 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
> >
>
> Peter Wallace
> Mesa Electronics
>
>
> _______________________________________________
> 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