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 quadrature mode
2) Link the StepA / StepB to the encoder
3) Use the stepgen to drive the motors, but use the encoder as the feedback
to joint.N.pos-fb.

-- 
atp
"A motorcycle is a bicycle with a pandemonium attachment and is designed
for the especial use of mechanical geniuses, daredevils and lunatics."
— George Fitch, Atlanta Constitution Newspaper, 1912

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


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 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. Works fine.
>
> > 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* 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 of the joint
> > > index_enable hal pin. Applicable only for HOME_USE_INDEX = YES."
> > >
> > > Refs:
> > >
> > > https://github.com/LinuxCNC/linuxcnc/commit/5ea573adde
> > >
> > > Also see forum thread starting here:
> > >
> > > https://forum.linuxcnc.org/10-advanced-configuration/31813-tcp-5-axi
> > >s-kinematics?start=120#139881 --
> > > Dewey Garrett
> > >
> > >
> > >
> > > ___
> > > 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
>
>
> Cheers, Gene Heskett
> --
> "There are four boxes to be used in defense of liberty:
>  soap, ballot, jury, and ammo. Please use in that order."
> -Ed Howdershelt (Author)
> If we desire respect for the law, we must first make the law respectable.
>  - Louis D. Brandeis
> Genes Web page 
>
>
> ___
> 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


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. Works fine.

> 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* 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 of the joint
> > index_enable hal pin. Applicable only for HOME_USE_INDEX = YES."
> >
> > Refs:
> >
> > https://github.com/LinuxCNC/linuxcnc/commit/5ea573adde
> >
> > Also see forum thread starting here:
> >
> > https://forum.linuxcnc.org/10-advanced-configuration/31813-tcp-5-axi
> >s-kinematics?start=120#139881 --
> > Dewey Garrett
> >
> >
> >
> > ___
> > 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


Cheers, Gene Heskett
-- 
"There are four boxes to be used in defense of liberty:
 soap, ballot, jury, and ammo. Please use in that order."
-Ed Howdershelt (Author)
If we desire respect for the law, we must first make the law respectable.
 - Louis D. Brandeis
Genes Web page 


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


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++ and Python when I get proficient with it .

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 didn't know how the function works at a code level, you'd be pulling
your hair out as well, I'm sure.

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:25 PM andy pugh  wrote:

> 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 HOME_USE_INDEX is to home using the index of an encoder. The
> clue is rather in the name.
>
> You are not using an encoder, so it isn't working.
>
> This is what it meant to happen:
>
> Normal homing sequence.
> Then index-enable is asserted.
> The index is hit the encoder is zeroed (typically inside an FPGA)
> LinuxCNC spots that the encoder is zeroed, and looks at the encoder
> position.
> This position will be slightly past the index, due to timing. The current
> counts show the exact point that the encoder index happened. So the system
> can use the current joint.N.position-fb as an accurate home.
>
> But, in your case, the feedback is not from any sort of encoder, it is from
> a stepgen. Which isn't zeroed.
> Which is why, with your setup, the home position is taken to be the exact
> point that the stepgen was initialised.
>
> HOME_USE_INDEX works really very well, if used as intended. It doesn't work
> at all if enabled on an unsuitable system. In fact on your system the final
> result is exactly as if you had not homed at all.
>
> --
> atp
> "A motorcycle is a bicycle with a pandemonium attachment and is designed
> for the especial use of mechanical geniuses, daredevils and lunatics."
> — George Fitch, Atlanta Constitution Newspaper, 1912
>
> ___
> 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


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

2021-04-04 Thread Feral Engineer
My feed to the prox is pretty slow and it's just a benchtop machine, so I'm
not worried about holding billionths, it's just nice to retrofit the
machine with all of the original functionality. I figured the machine came
set up with a mechanical and proximity home sensor on x and z and dammit,
that's how I want it to work! Why should fanuc and siemens get all the
glory?

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:19 PM Peter C. Wallace  wrote:

> 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 do some repeatability testing on Tuesday. Between Easter family
> > visits, work and band practice tomorrow night, I won't have a chance to
> get
> > back on the machine until then.
> >
> > When I had the and2 gate connecting both switches last night as my last
> > ditch effort, it repeated perfectly over a dozen times.
>
> Right and as Sam said, adding index to this really doesnt add anything but
> complexity if you can detect the index at linuxCNCs servo thread rate.
>
> Where index can improve homing accuracy is when you have high resolution
> encoders (and you clear on index) so the actual high resolution count is
> captured in hardware without any servo thread sampling uncertainty
>
> LinuxCNC master and Hostmot2 do support stepgen index with the right
> firmware
> but this requires a high speed index input since the index input is a fully
> hardware signal that captures the stepgen position.
>
> >
> > Happy international carrot day, everybody! (Yes, it's really a thing)
> >
> > 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:59 AM Peter C. Wallace  wrote:
> >
> >> 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* 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 of the joint
> >>> index_enable hal pin. Applicable only for HOME_USE_INDEX = YES."
> >>>
> >>> Refs:
> >>>
> >>> https://github.com/LinuxCNC/linuxcnc/commit/5ea573adde
> >>>
> >>> Also see forum thread starting here:
> >>>
> >>
> https://forum.linuxcnc.org/10-advanced-configuration/31813-tcp-5-axis-kinematics?start=120#139881
> >>> --
> >>> Dewey Garrett
> >>>
> >>>
> >>>
> >>> ___
> >>> Emc-users mailing list
> >>> Emc-users@lists.sourceforge.net
> >>> https://lists.sourceforge.net/lists/listinfo/emc-users
> >>>
> >>
> >>
> >> Thats interesting. I guess that allows index detection if the pulse is
> too
> >> short
> >> but may be off a few counts...
> >>
> >> 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
> >
>
> 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
>

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


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 HOME_USE_INDEX is to home using the index of an encoder. The
clue is rather in the name.

You are not using an encoder, so it isn't working.

This is what it meant to happen:

Normal homing sequence.
Then index-enable is asserted.
The index is hit the encoder is zeroed (typically inside an FPGA)
LinuxCNC spots that the encoder is zeroed, and looks at the encoder
position.
This position will be slightly past the index, due to timing. The current
counts show the exact point that the encoder index happened. So the system
can use the current joint.N.position-fb as an accurate home.

But, in your case, the feedback is not from any sort of encoder, it is from
a stepgen. Which isn't zeroed.
Which is why, with your setup, the home position is taken to be the exact
point that the stepgen was initialised.

HOME_USE_INDEX works really very well, if used as intended. It doesn't work
at all if enabled on an unsuitable system. In fact on your system the final
result is exactly as if you had not homed at all.

-- 
atp
"A motorcycle is a bicycle with a pandemonium attachment and is designed
for the especial use of mechanical geniuses, daredevils and lunatics."
— George Fitch, Atlanta Constitution Newspaper, 1912

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


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 do some repeatability testing on Tuesday. Between Easter family
visits, work and band practice tomorrow night, I won't have a chance to get
back on the machine until then.

When I had the and2 gate connecting both switches last night as my last
ditch effort, it repeated perfectly over a dozen times.


Right and as Sam said, adding index to this really doesnt add anything but 
complexity if you can detect the index at linuxCNCs servo thread rate.


Where index can improve homing accuracy is when you have high resolution 
encoders (and you clear on index) so the actual high resolution count is 
captured in hardware without any servo thread sampling uncertainty


LinuxCNC master and Hostmot2 do support stepgen index with the right firmware
but this requires a high speed index input since the index input is a fully
hardware signal that captures the stepgen position.



Happy international carrot day, everybody! (Yes, it's really a thing)

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:59 AM Peter C. Wallace  wrote:


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* 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 of the joint
index_enable hal pin. Applicable only for HOME_USE_INDEX = YES."

Refs:

https://github.com/LinuxCNC/linuxcnc/commit/5ea573adde

Also see forum thread starting here:


https://forum.linuxcnc.org/10-advanced-configuration/31813-tcp-5-axis-kinematics?start=120#139881

--
Dewey Garrett



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




Thats interesting. I guess that allows index detection if the pulse is too
short
but may be off a few counts...

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



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


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

2021-04-04 Thread Feral Engineer
I'll do some repeatability testing on Tuesday. Between Easter family
visits, work and band practice tomorrow night, I won't have a chance to get
back on the machine until then.

When I had the and2 gate connecting both switches last night as my last
ditch effort, it repeated perfectly over a dozen times.

Happy international carrot day, everybody! (Yes, it's really a thing)

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:59 AM Peter C. Wallace  wrote:

> 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* 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 of the joint
> > index_enable hal pin. Applicable only for HOME_USE_INDEX = YES."
> >
> > Refs:
> >
> > https://github.com/LinuxCNC/linuxcnc/commit/5ea573adde
> >
> > Also see forum thread starting here:
> >
> https://forum.linuxcnc.org/10-advanced-configuration/31813-tcp-5-axis-kinematics?start=120#139881
> > --
> > Dewey Garrett
> >
> >
> >
> > ___
> > Emc-users mailing list
> > Emc-users@lists.sourceforge.net
> > https://lists.sourceforge.net/lists/listinfo/emc-users
> >
>
>
> Thats interesting. I guess that allows index detection if the pulse is too
> short
> but may be off a few counts...
>
> 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


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* 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 of the joint
index_enable hal pin. Applicable only for HOME_USE_INDEX = YES."

Refs:

https://github.com/LinuxCNC/linuxcnc/commit/5ea573adde

Also see forum thread starting here:
https://forum.linuxcnc.org/10-advanced-configuration/31813-tcp-5-axis-kinematics?start=120#139881
--
Dewey Garrett



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




Thats interesting. I guess that allows index detection if the pulse is too short
but may be off a few counts...

Peter Wallace
Mesa Electronics



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


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
> 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 Sam Sokolik  wrote:
>
>> 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 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* 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 of the joint
>> > > index_enable hal pin. Applicable only for HOME_USE_INDEX = YES."
>> > >
>> > > Refs:
>> > >
>> > > https://github.com/LinuxCNC/linuxcnc/commit/5ea573adde
>> > >
>> > > Also see forum thread starting here:
>> > >
>> > >
>> >
>> https://forum.linuxcnc.org/10-advanced-configuration/31813-tcp-5-axis-kinematics?start=120#139881
>> > > --
>> > > Dewey Garrett
>> > >
>> > >
>> > >
>> > > ___
>> > > 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


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 Sam Sokolik  wrote:

> 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 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* 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 of the joint
> > > index_enable hal pin. Applicable only for HOME_USE_INDEX = YES."
> > >
> > > Refs:
> > >
> > > https://github.com/LinuxCNC/linuxcnc/commit/5ea573adde
> > >
> > > Also see forum thread starting here:
> > >
> > >
> >
> https://forum.linuxcnc.org/10-advanced-configuration/31813-tcp-5-axis-kinematics?start=120#139881
> > > --
> > > Dewey Garrett
> > >
> > >
> > >
> > > ___
> > > 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


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 kind of voodoo do I use to have the index pulse of the prox reset the
encoder position? It finds the index signal from the prox, but doesn't
behave the way i think it should. If I don't have the prox index set up, it
just keeps drifting along because it doesn't find the index.



Its probably resetting the encoder position now but that's basically a no-op
since the encoder position is unused.




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:37 AM Peter C. Wallace  wrote:


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)" 

But you are not getting position feedback from the encoder so the
feedback position is not cleared. This means that linuxCNC will move
to a position determined by wherever the stepgen feedback happened
to be at index detection.




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:20 AM Peter C. Wallace  wrote:


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)" <

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.or

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 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* 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 of the joint
> > index_enable hal pin. Applicable only for HOME_USE_INDEX = YES."
> >
> > Refs:
> >
> > https://github.com/LinuxCNC/linuxcnc/commit/5ea573adde
> >
> > Also see forum thread starting here:
> >
> >
> https://forum.linuxcnc.org/10-advanced-configuration/31813-tcp-5-axis-kinematics?start=120#139881
> > --
> > Dewey Garrett
> >
> >
> >
> > ___
> > 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


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* 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 of the joint
> index_enable hal pin. Applicable only for HOME_USE_INDEX = YES."
>
> Refs:
>
> https://github.com/LinuxCNC/linuxcnc/commit/5ea573adde
>
> Also see forum thread starting here:
>
> https://forum.linuxcnc.org/10-advanced-configuration/31813-tcp-5-axis-kinematics?start=120#139881
> --
> Dewey Garrett
>
>
>
> ___
> 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


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

2021-04-04 Thread Feral Engineer
What kind of voodoo do I use to have the index pulse of the prox reset the
encoder position? It finds the index signal from the prox, but doesn't
behave the way i think it should. If I don't have the prox index set up, it
just keeps drifting along because it doesn't find the index.


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:37 AM Peter C. Wallace  wrote:

> 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'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?
>
> But you are not getting position feedback from the encoder so the
> feedback position is not cleared. This means that linuxCNC will move
> to a position determined by wherever the stepgen feedback happened
> to be at index detection.
>
>
> >
> > 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:20 AM Peter C. Wallace  wrote:
> >
> >> 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)" <
> 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

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 of the joint
index_enable hal pin. Applicable only for HOME_USE_INDEX = YES."

Refs:

https://github.com/LinuxCNC/linuxcnc/commit/5ea573adde

Also see forum thread starting here:
https://forum.linuxcnc.org/10-advanced-configuration/31813-tcp-5-axis-kinematics?start=120#139881
-- 
Dewey Garrett



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


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'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?


But you are not getting position feedback from the encoder so the
feedback position is not cleared. This means that linuxCNC will move
to a position determined by wherever the stepgen feedback happened
to be at index detection.




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:20 AM Peter C. Wallace  wrote:


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)" 
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 maili

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

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

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:20 AM Peter C. Wallace  wrote:

> 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'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
> >>>
> >>> _

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'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 
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 

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 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.
>
> 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 > >
>> 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


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 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.

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 
> 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


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 Feral Engineer

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

On Sun, Apr 4, 2021, 10:49 AM andy pugh  wrote:

> 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 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.
>
>
>  What feeds joint.0.motor-pos-fb ?
>
> --
> atp
> "A motorcycle is a bicycle with a pandemonium attachment and is designed
> for the especial use of mechanical geniuses, daredevils and lunatics."
> — George Fitch, Atlanta Constitution Newspaper, 1912
>
> ___
> 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


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&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 
 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 
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


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 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.


 What feeds joint.0.motor-pos-fb ?

-- 
atp
"A motorcycle is a bicycle with a pandemonium attachment and is designed
for the especial use of mechanical geniuses, daredevils and lunatics."
— George Fitch, Atlanta Constitution Newspaper, 1912

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


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

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

> 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 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


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 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 
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


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
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 
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


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 pandemonium attachment and is designed
for the especial use of mechanical geniuses, daredevils and lunatics."
— George Fitch, Atlanta Constitution Newspaper, 1912

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


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.
http://linuxcnc.org/docs/2.8/html/config/ini-homing.html is newer

-- 
atp
"A motorcycle is a bicycle with a pandemonium attachment and is designed
for the especial use of mechanical geniuses, daredevils and lunatics."
— George Fitch, Atlanta Constitution Newspaper, 1912

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


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: 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