On Friday 31 January 2020 04:30:17 Gene Heskett wrote:

> On Thursday 30 January 2020 23:30:37 John Dammeyer wrote:
> > I'm trying to figure out how to set up these two buttons in the HAL
> > file so they behave the way I'd like.
> >
> > My Break out Board (PMDX-126) uses the Charge Pump signal to enable
> > outputs.  When the Charge Pump is active a signal called "Outputs
> > Enabled" is ON and a relay on the BoB attached to that signal
> > closes. That relay NO contact is in series with the machine system
> > ESTOP relay control so the mill electrics are disabled in the
> > control box right where power comes in.  As long as there is a
> > charge pump signal the system can be powered.
> >
> > There is also an ENABLE signal coming out of DB25-Pin1 and that's
> > the one controlled by the ENABLE button on the AXIS user screen.
> >
> > This is the signal that enables the Servo Drives and for drives like
> > the STMBL also serves to reset faults.  Take it false and the STMBL
> > servo fault is cleared (if the external reason for the fault is
> > gone).
> >
> > This ENABLE signal when false also holds the DC SERVO HP_UHU drives
> > in RESET since that's the only way to clear an error. (or remove
> > both high and low voltage).
> >
> > I've done the same with the Bergerda AC Servo that will turn the
> > spindle.  When the ENABLE is false the CLEAR FAULT input to the AC
> > Servo is TRUE.
> >
> > So back to the buttons.  The ESTOP one beside the ENABLE button will
> > go OFF (and take the ENABLE with it) when the external ESTOP IN on
> > DB25-10 goes false.  Both the system ESTOP and any others in series
> > with that can open and we get an instant ESTOP which removes high
> > voltage power from the machine, dims the ENABLE button and presses
> > the ESTOP button on the AXIS display.
> >
> > All good so far.
> >
> > What I want to have happen is that if I click on that ESTOP button I
> > want the Charge Pump disabled which will then create an ESTOP_OUT
> > equals TRUE situation.  To undo that I'd have to click on that
> > button again which would release it and re-enable the charge pump.
> >
> > In other words I want push on, push off behaviour and a push on
> > event when the DB25-Pin10 ESTOP_IN goes TRUE.
> >
> > I can't figure out from the AXIS docs or the HAL docs or looking at
> > the HAL pins if there is even a way to work with that? ESTOP button.
> >
> > Am I missing something?  Is there a way to totally unlike that
> > switch/indicator from any other control so that I can use it as a
> > switch from my HAL file?
> >
> > As it is now I can click on the button and it changes from up to
> > down but nothing happens.
> >
> > Suggestions?
> > Thanks
> > John Dammeyer
>
> This is something I have given up on, the ability to feed an external
> e-stop into things and make it f2 resetable.  There could be something
> in the wiki that might help.
>
> What I have on most of my machines, is a signal out connection between
> motion-enable and some ssr's that shut down all motor power at the ac
> in point. In the case of two of them, I have a soft-start delay that
> when turning on starts power thru a 200 watt 50 ohm resistor and sets
> a timedelay which fires 3 seconds later,
correction:
bypassing the big resistor,
> otherwise the supply inrush 
> (too many uf's in the filter caps for a 1 hp+ dc motor) trips a 25 amp
> service breaker, so now I can use a 20 amp in the service box for that
> circuit. Legal on 10 ga romex.
>
> Since that same circuit is alternate action, it may be possible to
> feed a push button, normally open, into it which would insert the
> signal only for as long as the button is pushed.
>
> But I've not done it, yet. I bought a doorbell button only to find its
> on all the time because of its night light bulb.
>
> I also bought a couple of the smashit to shut it off switches from
> LMS, as used on the baby 7" lathes, but found their logic to be
> backwards to what I wanted to do, they give 2 closed contacts when
> unlatched, and open both when slapped. But figureing out where to
> mount them and train me to hit them instead of f2 on the keyboard,
> which I should do because the keyboard might not be focused on the
> main axis screen.  Thats caught me out several times on the G0704 and
> broke a tool or 3. And what ever you do, should also unhome  the
> machine since the machine may coast when the power goes away.
>
> In short, its a problem still in search of a solution at my place too,
> that when found should be added to the wiki. Something we can all use.
>
> > "ELS! Nothing else works as well for your Lathe"
> > Automation Artisans Inc.
> > www dot autoartisans dot com
> >
> >
> > _______________________________________________
> > Emc-users mailing list
> > Emc-users@lists.sourceforge.net
> > https://lists.sourceforge.net/lists/listinfo/emc-users
>
> 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

Reply via email to