LinuxCNC start, stop, pause buttons ?

More
8 years 4 months ago #113071 by andypugh

rodw wrote: I think physical buttons are much better than the GUI ones


The "Touchy" GUI doesn't give you much choice in the matter. (It _requires_ external run/stop buttons and an MPG)
I see we have the same button supplier (eBay in China :-)
photos.app.goo.gl/M8Lh6PYaJrtu76by5

Please Log in or Create an account to join the conversation.

More
8 years 4 months ago #113076 by rodw

andypugh wrote:

rodw wrote: I think physical buttons are much better than the GUI ones


The "Touchy" GUI doesn't give you much choice in the matter. (It _requires_ external run/stop buttons and an MPG)
I see we have the same button supplier (eBay in China :-)
photos.app.goo.gl/M8Lh6PYaJrtu76by5


Well actually I got it here oceancontrols.com.au/home.php so probably spent far too much (and they don't seem to sell it anymore)

I think if I did it again, I'd use separate 22mm dia green and say a blue or orange buttons so there is a clear distinction between run/step and estop.

Andy, I have to say when ever I see photos of your lathe, I admire your handiwork.

Please Log in or Create an account to join the conversation.

More
8 years 3 months ago #113324 by jbunch
I set my lathe and router up with a feedhold and cyclestart button. feedhold only pauses program cyclestart will start running of the program and will also resume the program after a program pause. I wanted it to work like my Haas mill.

Here is my hal code snipit for this:

# ******************************
# --- Program Control ---
# ******************************
# --- Cycle start and resume ---
#
net push_cycle_start and2.1.in1 and2.2.in1 <= hm2_5i25.0.7i76.0.0.input-25
net auto_mode_is_set and2.1.in0 not.0.in or2.2.in0 <= halui.mode.is-auto
net invert_auto_mode and2.2.in0 <= not.0.out
net sel_auto_mode halui.mode.auto <= and2.2.out
net interlock_auto_mode and2.3.in0 and2.4.in0 <= and2.1.out
net pgm_is_idle and2.3.in1 <= halui.program.is-idle
net pgm_is_paused and2.4.in1 hm2_5i25.0.7i76.0.0.output-03 <= halui.program.is-paused
net pgm_is_running_invert not.1.in hm2_5i25.0.7i76.0.0.output-01 hm2_5i25.0.7i76.0.0.output-02 <= halui.program.is-running
net pgm_is_running and2.5.in0 and2.6.in0 <= not.1.out
net pgm_idle_interlock and2.5.in1 <= and2.3.out
net pgm_paused_interlock and2.6.in1 <= and2.4.out
net Pgm-Run <= and2.5.out
net Pgm-Resume <= and2.6.out

# --- Program Pause ---

net Pause-Pgm <= hm2_5i25.0.7i76.0.0.input-26

# --- ABORT ---
net Pgm-Stop <= hm2_5i25.0.7i76.0.0.input-27
The following user(s) said Thank You: thadwald

Please Log in or Create an account to join the conversation.

More
8 years 3 months ago #113328 by jbunch
Here is my control panel for a Router.
Red button is stop .
Green start and resume.
Orange lit is pause or feedhold.
The following user(s) said Thank You: thadwald

Please Log in or Create an account to join the conversation.

More
8 years 3 months ago #113379 by thadwald
Thank you for the working HAL sample. Your setup seems to be exactly what I am trying to accomplish. Now how do you deal with the discrepancy in functionality between your physical buttons and the on-screen? Which UI are you using?

Please Log in or Create an account to join the conversation.

More
8 years 3 months ago #113414 by jbunch
They are both kept in sync on the back end halui. I am using gmoccapy

Jim

Please Log in or Create an account to join the conversation.

Moderators: newbynobi, HansU
Time to create page: 0.258 seconds
Powered by Kunena Forum