Re: bridgeport IO, spindle enable pin
Yeah I was a little thrown by the "SPINDLE_ON_INDEX" and the
reference in 6.1 of the BDI handbook. It didn't explicity
say that the bit goes in synch with spindle on or off, but that's
how I read it.
With the SPINDLE_FORWARD and SPINDLE_REVERSE bits, I can
just switch direction and turn the spindle on. I'll keep
SPINDLE_BRAKE for the brake.
spin_fwd -------|
spin_rev ------AND-------- K1 (spindle off /on)
spin_rev ----------------- K2 (fwd /rev)
spin_brk ----------------- K3 (opens K1 just in case, and sets brake)
Thanks for all the help!
-d
Ray Henry wrote:
>
> On Saturday 10 May 2003 10:59 am, you wrote:
> > On Saturday 10 May 2003 10:19, you wrote:
> > > The S setting helped a lot. From manual or MDI, M3 M4 will work
> > > fine as long as S is set>0. I see the brake release and the spindle
> > > CW (or CCW) bit flip. Still not getting the "spindle on" bit to
> > > flip, but having the other 3, that gives me enough to get a
> > > relay box working for the spindle.
> >
> > I don't think there is a "spindle on" bit. Just SPINDLE_FORWARD and
> > SPINDLE_REVERSE. Is there a reference in the .ini file, documents, or code
> > to "spindle on"? If so, we either need to fix it or get rid of it ;) .
>
> This may be a reference to that "analog(ue)" pin that someone suggested might
> have been a pwm spindle speed thing at one time.
>
> -----snipped of emc.ini----
> ; analog out bits
> SPINDLE_ON_INDEX = 3
> -----end-----
>
> If you really needed a spindle on signal as well as forward or reverse, the
> brake pin could be used. It can be made to turn on as soon as m2 or m3 is
> issued and off as soon as m4. You could also tweak
>
> ; wait times in seconds for spindle brake, release
> SPINDLE_OFF_WAIT = 1.0
> SPINDLE_ON_WAIT = 1.5
>
> for the relationship between the brake pin comming on and the forward or
> reverse signal.
>
> You can see these relationships if you are running IO_Show with bridgeportio
> and bridgeporttask.
>
> Ray
Date Index |
Thread Index |
Back to archive index |
Back to Mailing List Page
Problems or questions? Contact