Re: [Emc-users] [Emc-developers] Home_use_index issue revisited

2021-04-04 Thread andy pugh
On Sun, 4 Apr 2021 at 17:35, Feral Engineer wrote: On the surface, it looked like I was doing everything correctly. The prox > was set up as software encoder phase Z and it was catching the signal. If you were using a software stepgen you could make it work too: 1) Set up the stepgen in

Re: [Emc-users] [Emc-developers] Home_use_index issue revisited

2021-04-04 Thread Feral Engineer
I did it from the buildbot buster repository and it worked a treat  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, 12:35 PM Gene Heskett wrote: > On Sunday 04 April 2021 11:42:24 Feral

Re: [Emc-users] [Emc-developers] Home_use_index issue revisited

2021-04-04 Thread Gene Heskett
On Sunday 04 April 2021 11:42:24 Feral Engineer wrote: > That might be worth a try. > > Is it safe to load the build bot master repository on a pi? > > Phil T. > The Feral Engineer > Sure, I'm doing git pulls and building master on a pi4, 6 to 10 times a week. Then installing the debs built.

Re: [Emc-users] [Emc-developers] Home_use_index issue revisited

2021-04-04 Thread Feral Engineer
Well, it's working now with HOME_INDEX_NO_ENCODER_RESET = YES, so I'm a happy little clam. If it didn't, I was about to start ripping into source code and breaking stuff because I wanted it to work. You guys created a monster. I like Linuxcnc so much, I started learning C and plan on moving to C++

Re: [Emc-users] [Emc-developers] Home_use_index issue revisited

2021-04-04 Thread Feral Engineer
eer wrote: > > > Date: Sun, 4 Apr 2021 12:05:45 -0400 > > From: Feral Engineer > > Reply-To: "Enhanced Machine Controller (EMC)" > > > > To: "Enhanced Machine Controller (EMC)" > > > Subject: Re: [Emc-users] [Emc-developers]

Re: [Emc-users] [Emc-developers] Home_use_index issue revisited

2021-04-04 Thread andy pugh
On Sun, 4 Apr 2021 at 16:26, Feral Engineer wrote: But that's how I have it set up. The prox is set as encoder index and it > finds it but after it finds it, it goes back to the position the machine > was at during startup. That's what I'm trying to fix. How do i fix this? The point of

Re: [Emc-users] [Emc-developers] Home_use_index issue revisited

2021-04-04 Thread Peter C. Wallace
On Sun, 4 Apr 2021, Feral Engineer wrote: Date: Sun, 4 Apr 2021 12:05:45 -0400 From: Feral Engineer Reply-To: "Enhanced Machine Controller (EMC)" To: "Enhanced Machine Controller (EMC)" Subject: Re: [Emc-users] [Emc-developers] Home_use_index issue revisited I'll d

Re: [Emc-users] [Emc-developers] Home_use_index issue revisited

2021-04-04 Thread Feral Engineer
wey Garrett wrote: > > > Date: Sun, 4 Apr 2021 15:36:30 - (UTC) > > From: Dewey Garrett > > Reply-To: "Enhanced Machine Controller (EMC)" > > > > To: emc-users@lists.sourceforge.net > > Subject: Re: [Emc-users] [Emc-developers] Home_use_index

Re: [Emc-users] [Emc-developers] Home_use_index issue revisited

2021-04-04 Thread Peter C. Wallace
On Sun, 4 Apr 2021, Dewey Garrett wrote: Date: Sun, 4 Apr 2021 15:36:30 - (UTC) From: Dewey Garrett Reply-To: "Enhanced Machine Controller (EMC)" To: emc-users@lists.sourceforge.net Subject: Re: [Emc-users] [Emc-developers] Home_use_index issue revisited The git *master*

Re: [Emc-users] [Emc-developers] Home_use_index issue revisited

2021-04-04 Thread Feral Engineer
THANK YOU DEWEY GARRETT!! IT WORKS! 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, 11:50 AM Feral Engineer wrote: > You don't know how my brain works, though... I'm obsessive to the max. If

Re: [Emc-users] [Emc-developers] Home_use_index issue revisited

2021-04-04 Thread Feral Engineer
You don't know how my brain works, though... I'm obsessive to the max. If it can be done, I'll spend days having at it to make it work. 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, 11:48 AM

Re: [Emc-users] [Emc-developers] Home_use_index issue revisited

2021-04-04 Thread Peter C. Wallace
On Sun, 4 Apr 2021, Feral Engineer wrote: Date: Sun, 4 Apr 2021 11:40:54 -0400 From: Feral Engineer Reply-To: "Enhanced Machine Controller (EMC)" To: "Enhanced Machine Controller (EMC)" Subject: Re: [Emc-users] [Emc-developers] Home_use_index issue revisited What kin

Re: [Emc-users] [Emc-developers] Home_use_index issue revisited

2021-04-04 Thread Sam Sokolik
Trying to use the index functionality is adding a layer of complexity you don't need. Just and the 2 switches together and run them into the home input. On Sun, Apr 4, 2021, 10:44 AM Feral Engineer wrote: > That might be worth a try. > > Is it safe to load the build bot master repository on a

Re: [Emc-users] [Emc-developers] Home_use_index issue revisited

2021-04-04 Thread Feral Engineer
That might be worth a try. Is it safe to load the build bot master repository on a pi? 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, 11:38 AM Dewey Garrett wrote: > The git *master*

Re: [Emc-users] [Emc-developers] Home_use_index issue revisited

2021-04-04 Thread Feral Engineer
ngineer > > Reply-To: "Enhanced Machine Controller (EMC)" > > > > To: "Enhanced Machine Controller (EMC)" > > > Subject: Re: [Emc-users] [Emc-developers] Home_use_index issue revisited > > > > But that's how I have it set up. The prox is

Re: [Emc-users] [Emc-developers] Home_use_index issue revisited

2021-04-04 Thread Dewey Garrett
The git *master* branch has an ini setting that may be relevant for this use case: http://linuxcnc.org/docs/master/html/config/ini-config.html "HOME_INDEX_NO_ENCODER_RESET = NO - Use YES if the encoder used for this joint does not reset its counter when an index pulse is detected after assertion

Re: [Emc-users] [Emc-developers] Home_use_index issue revisited

2021-04-04 Thread Peter C. Wallace
On Sun, 4 Apr 2021, Feral Engineer wrote: Date: Sun, 4 Apr 2021 11:23:32 -0400 From: Feral Engineer Reply-To: "Enhanced Machine Controller (EMC)" To: "Enhanced Machine Controller (EMC)" Subject: Re: [Emc-users] [Emc-developers] Home_use_index issue revisited But that

Re: [Emc-users] [Emc-developers] Home_use_index issue revisited

2021-04-04 Thread Feral Engineer
)" > > > > To: "Enhanced Machine Controller (EMC)" > > > 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

Re: [Emc-users] [Emc-developers] Home_use_index issue revisited

2021-04-04 Thread Peter C. Wallace
On Sun, 4 Apr 2021, Feral Engineer wrote: Date: Sun, 4 Apr 2021 11:04:10 -0400 From: Feral Engineer Reply-To: "Enhanced Machine Controller (EMC)" To: "Enhanced Machine Controller (EMC)" Subject: Re: [Emc-users] [Emc-developers] Home_use_index issue revisited That

Re: [Emc-users] [Emc-developers] Home_use_index issue revisited

2021-04-04 Thread Feral Engineer
Andy, Joint.0.motor-pos-fb is tied to 7i76 stepgen.00.position-fb Getting video of the situation now 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, 11:04 AM Feral Engineer wrote: > That's

Re: [Emc-users] [Emc-developers] Home_use_index issue revisited

2021-04-04 Thread Feral Engineer
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

Re: [Emc-users] [Emc-developers] Home_use_index issue revisited

2021-04-04 Thread Feral Engineer
Sorry Andy, just saw your replies for some reason. I'll go look at my files and let you know. Besides what I'm trying to do with the home switches, everything else is native output from pncconf. Give me a few minutes and I'll go look. Gotta do the Easter thing in a little while. Phil T. The

Re: [Emc-users] [Emc-developers] Home_use_index issue revisited

2021-04-04 Thread Scott Harwell via Emc-users
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 Wolverine with three spindle heads X 120" Y 50" Z 24" and 40HP. The true thrill of Z axis trying to

Re: [Emc-users] [Emc-developers] Home_use_index issue revisited

2021-04-04 Thread andy pugh
On Sun, 4 Apr 2021 at 15:28, Feral Engineer wrote: 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

Re: [Emc-users] [Emc-developers] Home_use_index issue revisited

2021-04-04 Thread Feral Engineer
t; > Date: Sun, 4 Apr 2021 10:04:29 -0400 > > From: Feral Engineer > > Reply-To: "Enhanced Machine Controller (EMC)" > > > > To: "Enhanced Machine Controller (EMC)" > > > Subject: Re: [Emc-users] [Emc-developers] Home_use_index issu

Re: [Emc-users] [Emc-developers] Home_use_index issue revisited

2021-04-04 Thread Peter C. Wallace
On Sun, 4 Apr 2021, Feral Engineer wrote: Date: Sun, 4 Apr 2021 10:04:29 -0400 From: Feral Engineer Reply-To: "Enhanced Machine Controller (EMC)" To: "Enhanced Machine Controller (EMC)" Subject: Re: [Emc-users] [Emc-developers] Home_use_index issue revisi

Re: [Emc-users] [Emc-developers] Home_use_index issue revisited

2021-04-04 Thread Feral Engineer
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

Re: [Emc-users] [Emc-developers] Home_use_index issue revisited

2021-04-04 Thread andy pugh
On Sun, 4 Apr 2021 at 04:58, Feral Engineer wrote: > 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. > What feeds joint.0.motor-pos-fb ? -- atp "A motorcycle is a bicycle with a

Re: [Emc-users] [Emc-developers] Home_use_index issue revisited

2021-04-04 Thread andy pugh
On Sun, 4 Apr 2021 at 09:45, Frank Tkalcevic 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 Note that those are ancient docs.

Re: [Emc-users] [Emc-developers] Home_use_index issue revisited

2021-04-04 Thread Frank Tkalcevic
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: