Nice video and your ESTOP and Machine ENABLE work the way I'd like to have mine 
work.  Except you didn’t show, and perhaps it can't, what happens if LinuxCNC 
sees a fault that causes it to assert the ESTOP in the same way as you pressing 
the button.  

Ie. A device creates a fault that requires the mushroom ESTOP button to be 
pressed.  In other words it opens a relay in series with the NC switch (a 
'soft' button)  in the ESTOP.

Now the question is how do you release that 'soft' button.

I did discover that I had somehow modified my parallel port hal file.  The 
behaviour was as follows:
1. Fault from STMBL drive caused PMDX-126 to generate ESTOP to PC via DB-25 PIN 
10.  PMDX-126 also shut off ENABLE on PIN-1.
2. No matter what I did I could not reset that ESTOP even when the FAULT was 
removed. 
3. Only by unplugging the parallel port cable and plugging it back in did the 
ESTOP clear.  Or resetting the PMDX-126.
4. MACH3 did not require unplugging the cable so it wasn't a physical parallel 
port issue.
5. And the interesting part, MESA 7i92H also cleared the ESTOP error once the 
FAULT was removed.

I think I had something weird in the hal file because when I restored an 
earlier version everything worked again.  Now the behaviour is identical 
between MACH3 on WIN-XP and LinuxCNC with either parallel port or MESA 7i92H.

But unlike the system in the video I can't toggle the ESTOP controlled power 
with the ESTOP switch in LinuxCNC like you can with yours.

So if I understand your video, hit the mushroom switch and a relay opens that 
disconnects High Voltage from all the drive systems.  Undo the mushroom and 
nothing happens until you click on the ESTOP button top left on the display. So 
what's in the HAL file and how is it wired to do this?

If I can make my system do that, then, a few seconds later, when DC and AC 
power have been restored, I can click on the ENABLE but like you do and that 
ENABLE signal should then make the STMBL drive properly come out of the missing 
High Voltage Error mode.  Which it currently doesn't.

Thanks
John








> -----Original Message-----
> From: Sam Sokolik [mailto:[email protected]]
> Sent: October-27-19 6:01 PM
> To: Enhanced Machine Controller (EMC)
> Subject: Re: [Emc-users] ESTOP and Machine Enable.
> 
> This is a half a$$ed explanation....
> 
> https://www.youtube.com/watch?v=XSojs1pUSlg
> 
> Think I have posted this before...
> 
> On Sun, Oct 27, 2019 at 5:25 PM Jon Elson <[email protected]> wrote:
> 
> > On 10/27/2019 02:43 PM, John Dammeyer wrote:
> > > What exactly is the difference in LinuxCNC with the red ESTOP button and
> > the orange Machine ENABLE button?
> > >
> > >
> > This is a holdover from the original EMC days when it only
> > handled analog servo systems.  F1 would take you from E-stop
> > to Machine-OFF, which enabled the servos, but did not give
> > them any velocity command.  F2 would go from Machine-off
> > to machine-On, which enabled the PID servo positioning
> > loop.  This allowed you to check the servo drift, but you
> > didn't want to stay in Machine-Off for very long as the
> > machine would drift position.
> >
> > I don't know of any other system that works this way.
> >
> > Jon
> >
> >
> > _______________________________________________
> > Emc-users mailing list
> > [email protected]
> > https://lists.sourceforge.net/lists/listinfo/emc-users
> >
> 
> _______________________________________________
> Emc-users mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/emc-users



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

Reply via email to