Hi John,
I don't know if it helps but here is how I do it on my machines.
iocontrol.0.emc-enable-in is connected to the end of the estop chain
(estop mushroom, VFD fault output etc). This tells LinuxCNC that the
chain is closed.
A relay controlled by motion.motion-enabled comes after the estop chain.
After that comes a standard start-stop relay circuit e.g
<https://www.how-to-wire-it.com/how-to-wire-a-relay.html>, second
diagram from the bottom.
The start button has two contacts. One is the 'start' button in the
relay circuit. The other triggers halui.machine.on to tell LinuxCNC to
enable the machine.
The two buttons in the Axis are now redundant. Pressing the physical
button on the control panel simultaneously tells LinuxCNC to turn the
drives on and allows it to do so. LinuxCNC can power off the machine at
any time by dropping motion.motion-enabled but it cannot power it back
up again unless the button is pressed.
Les
On 29/10/2019 17:39, John Dammeyer wrote:
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
_______________________________________________
Emc-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/emc-users