Thanks Gene. Will consider how to get this done in the Hal based on your
tips.

On Fri, May 8, 2020 at 2:03 PM Gene Heskett <ghesk...@shentel.net> wrote:

> On Friday 08 May 2020 14:34:06 Dan Henderson wrote:
>
> > There are times when letting the smoke escape becomes part of the
> > learning process :)
> >
> yes, and we all do it, its the nature of us.
>
> > Thanks for your guidance Gene. Would think the DC motor energy would
> > be absorbed by the act of tapping once the M3 is turned off? Surely
> > the G33.1 cycle doesn't flip from 500 CW to 500 CCW does it? I'm going
> > to want to initiate that cycle with a slow spindle to begin with and
> > I'm not sure how built-in speed ramp controlled by the MC-2100 will
> > handle this. A hacked in pause between M3 and M4 may be order, huh?
>
> It can flip from 3k to -3k.Very VERY hard on both the electrics and the
> machinery if not gentled up a bit.  Following my recipe will generally
> work though.
>
> The point being that motion goes directly from M3 to M4, or back.  There
> is no M5 in the middle without your making it happen with hal.
>
> > On Fri, May 8, 2020 at 12:45 PM Gene Heskett <ghesk...@shentel.net>
> wrote:
> > > On Friday 08 May 2020 13:34:36 Gene Heskett wrote:
> > > > On Friday 08 May 2020 12:09:45 Dan Henderson wrote:
> > > > > Thanks Andy/Jon/Gene. To enable Quadrature do I merely turn on
> > > > > phase-A/B/index inputs and remove “encoder-counter-mode = True”?
> > > >
> > > > Sounds good.
> > > >
> > > > > Here’s a pic of the reverse circuit I’m making to enable M4
> > > > > polarity reversal of the DC motor.
> > > >
> > > > We all know this stuff runs on smoke and mirrors.
> > > >
> > > > That controller probably will NOT like being reversed without
> > > > first stopping the motor, then reverse that relay and restart the
> > > > motor.
> > > >
> > > > Doing otherwise will probably break the mirror and let all the
> > > > smoke out. Typically they don't work anymore.
> > > >
> > > > Ideally, two relays. I have used the P&B ice cubes with 20 amp
> > > > contacts for this.  One to apply a braking resistor to absorb the
> > > > motors energy as its stopping and a second to do the reversal. Its
> > > > wired closest to the motor with the moving contacts to the
> > > > armature.
> > >
> > > Thats ambiguous, the braking relay is closest to the motor.
> > >
> > > > A calrod coil out of an electric cookstove makes a good braking
> > > > load. Somewhat overkill but 100% serviceable forever.
> > > >
> > > > The reversal sequence would be:
> > > > 1. hold the reversal from motion, blocking it from the controller
> > > >
> > > > 2. use that to reduce the drive to zero useing a rate limiter like
> > > > a limit3, switching its input with a mux2.
> > > >
> > > > 3. When the drive is off, switch on the load R relay to stop the
> > > > motor much quicker.
> > > >
> > > > 4. when, according to the encoder, the motor has stopped, release
> > > > the braking relay,
> > > >
> > > > 5. enable the reversal relay AND restore the speed input to the
> > > > limit3 and let it ramp the motor back up to set speed
> > > >
> > > > Do the same thing in reverse at the top of the backout move.
> > > >
> > > > hint, an xor2 is used to detect the change in state of the rev
> > > > signal from motion. A miss-match is the trigger for the stop
> > > > sequence.
> > > >
> > > > I ran my 7x12 that way for about 2 years without letting the smoke
> > > > out. But with a heavy 5" chuck, the overshoot at the bottom of the
> > > > hole was terrible. So I eventually threw more money at it.
> > > >
> > > > Cheers, Gene Heskett
> > >
> > > 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-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 <http://geneslinuxbox.net:6309/gene>
>
>
> _______________________________________________
> Emc-users mailing list
> Emc-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/emc-users
>

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

Reply via email to