Hi Jon,

> -----Original Message-----
> From: Jon Elson [mailto:[email protected]]
> Sent: October-29-19 8:33 AM
> To: Enhanced Machine Controller (EMC)
> Subject: Re: [Emc-users] ESTOP and Machine Enable.
> 
> On 10/28/2019 11:07 PM, John Dammeyer wrote:
> > But the STMBL still has a serious issue with a FAULT
> > output remaining while the STMBL ENABLE is FALSE.
> > Personally I think that this is the wrong type of
> > behaviour. If there are several devices wire OR'd together
> > I think it's a requirement that if the drive is disabled
> > then the fault output should be blocked. Fine to keep
> > blinking LEDs with error codes. Fine if you have to press
> > a reset button. But a disable means disable everything.
> > What is needed in the HAL file that changes when the RED
> > button (F1) is toggled?
> The hal pin      axis.0.amp-enable-out    should be true
> ONLY when in the Machine-On state.
> Hitting F2 OR F1 should turn it to off.
> On my hardware, breaking the E-stop chain will also go to
> the E-stop state, and turn this pin off.
> And, a following error will go to Machine-Off, which will
> also turn this pin off.
> 
> So, if you set up your hal file to make
> axis.0.amp-enable-out control your HV, etc. it should do
> what you want, I think.
> 
> Jon

Unfortunately not.
My hardware is set up as follows.  A DPST Mushroom ESTOP with NC contacts.  One 
set controls HV power.  The other runs a signal into the DB25-PIN10 input for 
signalling ESTOP to the system.

I've added a relay, controlled by the PC Charge Pump, that opens when there is 
no Charge Pump signal.  The relay is in series with the ESTOP switch that 
controls HV power.  

So crash/stop LinuxCNC or even just while booting the PC, HV power is not 
possible.  Only after  LinuxCNC is running and producing the Charge Pump will 
that relay close, and of course if the main ESTOP switch isn't pressed, will I 
get HV power.

The trouble is the RED ESTOP Button ICON appears to be a reflection of the 
DB25-PIN10 input and doesn't appear to act like a toggle switch contrary to 
documentation that the F1 key (and the icon 'toggles') the ESTOP.

And changing various parts of the HAL signals and pins mostly just creates a 
loop that once the ESTOP is ON and shown on the screen as pressed, it's 
impossible to unpress it.  At that point only stopping LinuxCNC and restarting 
pulls me out.

I have spent hours looking through the various HAL file tutorials and manuals.  
Can't figure out what I'm doing wrong.

John




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

Reply via email to