>
> I assume that motions mode signal is doing the switching? Thats a great
> idea Leonardo. Any body with encoders on all axises should be doing it.


Hello Gene. I hope you're doing great!

I'm using the joint.*N*.home-state pin intended for debugging. Turns out,
it's a pretty useful pin for this purpose. Otherwise It would have been
trickier to fool the homing sequence to do this.

I really need to close the loop and use the servos in analog mode someday,
but since this retrofitting was intended to be done at lightning speed on
quarantine I didn't want to mount the encoders and do all the extra job.
The machine works excellent like this, and my only concern was the homing
sequence which turned out really well.

Here is a little video of the test I did with the motor on the "bench"
before the conversion https://youtu.be/9s-UC-5ZIrU
<https://youtu.be/9s-UC-5ZIrU>

Notice that the absolute value of the encoder at the final zero position is
always the same after three attempts (this was always the case in any
attempt). I was simulating the home switch triggering by hand. Off course
this is without load, so I reduced homing speed at the machine just in case
to improve the repeatability.



El dom, 4 abr 2021 a las 19:08, Gene Heskett (<[email protected]>)
escribió:

> On Sunday 04 April 2021 15:28:50 Leonardo Marsaglia wrote:
>
> > I jump in into this to say I'm using something similar on the lathe.
> >
> > I have servo motors and I'm using them in open loop mode (like
> > steppers). Nevertheless I could use their index pulses to home
> > accurately enough (slowing the speed down to gain accuracy) with the
> > normal homing sequence.
> >
> > Basically I made a component that senses in what stage of the homing
> > sequence the machine is and then it bypasses the home switch or the
> > index pulse as needed. Both are used as home switch input but the
> > index is the one used in the final stage of the homing process.
> >
> > So to sume up, the machine moves until it finds the real limit switch,
> > once it's triggered the machine backs up until the switch is open
> > again. Then it approaches to the home switch again but this time it's
> > bypassed and the index pulse is the one that's affecting the homing
> > sequence.
> >
> > It's working flawlessly from what I could test with a dial indicator.
> >
> > Leonardo Marsaglia
>
> I assume that motions mode signal is doing the switching? Thats a great
> idea Leonardo. Any body with encoders on all axises should be doing it.
>
> > El dom., 4 abr. 2021 15:36, Jon Elson <[email protected]>
> escribió:
> > > On 04/03/2021 11:39 PM, Sam Sokolik wrote:
> > > > Initially I would just try 'and-ing' the 2 in hal or classic
> > > > ladder and
> > >
> > > run
> > >
> > > > strait to the home input.  (Not using the home to index)
> > >
> > > If the prox sensor is of very short duration in linear
> > > motion, then the AND will just pop on for a moment, and
> > > likely go past it on the initial home search.  That will
> > > likely confuse the homing sequence. But, you can try it.
> > >
> > > Jon
> > >
> > >
> > > _______________________________________________
> > > Emc-developers mailing list
> > > [email protected]
> > > https://lists.sourceforge.net/lists/listinfo/emc-developers
> >
> > _______________________________________________
> > Emc-developers mailing list
> > [email protected]
> > https://lists.sourceforge.net/lists/listinfo/emc-developers
>
>
> 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 <http://geneslinuxbox.net:6309/gene>
>
>
> _______________________________________________
> Emc-developers mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/emc-developers
>

_______________________________________________
Emc-developers mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/emc-developers

Reply via email to