On Sun, 4 Apr 2021, Feral Engineer wrote:

Date: Sun, 4 Apr 2021 11:04:10 -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

That's the thing, though. The behavior is completely arbitrary based on
where the machine is powered up.

When I use the mechanical switches, it'll find them, back away and zero is
right there. Works perfect.

As soon as I add the index pulse, it just takes off and goes back to where
it came from on startup. It makes no sense to me, especially since I
eliminated the prox sensors from being energized until after the mechanical
switches were triggered. It's gotta be pulling a value from somewhere. Even
the documentation doesn't talk about this weird behavior, considering
everything else is set to zero.

This is totally expected behavior, since LinuxCNC expects the feedback position to have been cleared on index, and it is not...

Normal homing to index sequence with encoder feedback is:

LinuxCNC (motion) searches for home switch
When home switch is detected, LinuxCNC asserts index enable
LinuxCNC moves while watching index enable
Encoder hardware/software detects index pulse and
 1. Clears index enable, informing linuxCNC that index has been detected
 2. Clears the position feedback count to 0
LinuxCNC detects that index enable has been cleared stops motion
and sets its commanded position to the feedback position when stopped


I'm on my way to go get the information Andy requested.

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:51 AM Scott Harwell via Emc-users <
emc-users@lists.sourceforge.net> wrote:

 Phil,
I agree with you.

The one event that scared me the most was setting up a new AB 8400
retrofit. AB improved the "G" software to go to zero after home
(undocumented).The machine was a P&W Wolverine with three spindle heads X
120" Y 50" Z 24" and 40HP. The true thrill of Z axis trying to put the face
of the spindle flat on the table with a test bar in it will stop your
heart.Z home is near the top of Z stroke, and you define it as required. Do
not assume home is zero, it is a preset value from Zero, or it should
be.(Home is where the marker pulse is)
Scott H

    On Sunday, April 4, 2021, 9:08:01 AM CDT, Feral Engineer <
theferalengin...@gmail.com> wrote:

 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

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

_______________________________________________
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

(\__/)
(='.'=) This is Bunny. Copy and paste bunny into your
(")_(") signature to help him gain world domination.



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

Reply via email to