04 Feb 2019 10:45 - 04 Feb 2019 10:46 #125650 by phillc54
Sorry, the setp commands were just to show you how I tested, I didn't mean for you to use them in your config.

The following xml and hal codes work as expected in both 2.7 and master.
Warning: Spoiler! [ Click to expand ]

Warning: Spoiler! [ Click to expand ]

As I said before, the only time I could duplicate your error was if I clicked RUN when the program was running.
You could prevent that by creating a disable pin for the run button so it was only enabled while the machine is idle.

Cheers, Phill
Last edit: 04 Feb 2019 10:46 by phillc54.
04 Feb 2019 16:51 #125669 by tommylight
Hey Jerry, CAPS_LOCK stuck again ???
05 Feb 2019 04:23 #125717 by phillc54

Askjerry wrote:
Now the stop button... it stops... but with an error...

Using your rener_custom_panel.xml and rener_postgui.hal I do not get any errors from the 'PARAR O PROGRAMA' button.

I was using the axis_mm sim config in LinuxCNC 2.7.14

Cheers, Phill
13 Feb 2019 16:31 #126352 by andypugh

Askjerry wrote: Not sure how I would tie a SETP to a pyvcp button... let alone how to make it set then reset on a single button press.

If the button and pin are netted together then a press and release looks exactly like a setp 1 followed by a setp 0
Time to create page: 0.129 seconds
Powered by Kunena Forum