On 10/31/2019 11:20 PM, John Dammeyer wrote:
I'm trying to find out what to put in the hal file that responds to the button
press. None of the pins appear to change when I click on it and hold it down.
Ie. Nothing appears to change to TRUE from FALSE. Or the other way around.
The F1 key
iocontrol.0.user−enable−out
(Bit, Out) FALSE when an internal estop condition exists
iocontrol.0.user−request−enable
(Bit, Out) TRUE when the user has requested that estop be cleared
and
halui.machine.is−on bit out
pin for machine is On/Off
are what I've used in past I believe.
On Fr
OK. So I grabbed the linuxcnc_master and unzipped it. In the python section
I've found the code that deals with the two buttons.
The class linuxcnc is reached through the
import linuxcnc
However, I can't find any code that defines
class linuxcnc:
def estop_clicked(event=None):
s.poll