Hello Guest it is July 24, 2019, 05:22:47 AM

Author Topic: Jog multiple axis's with ONE button.  (Read 2900 times)

0 Members and 1 Guest are viewing this topic.

Jog multiple axis's with ONE button.
« on: March 10, 2011, 07:00:15 PM »
Hey,
I have searched hi and low, I know this was covered but can't find the info.
I want 1 button to jog X and A simultaneously, and another button to jog Z and C simultaneously.
I made a Brain that uses Input 1 & 2 for + & - respectively and it starts jogging but wont stop. This is what I can't find the topics on, I'm certain I've seen it.
Also did the same with Triggers. It works too but will not stop !
I'm emulating with the keyboard, is that the problem ? Would it be working OK if it were a physical external input ?
Seem Mach will not allow duplicate axis assignments to hotkeys. (that would be too easy :) )
If any of you know where in the heck the topics are, please point me to them, I love to read.
Or feel free to explain.  ;D

Thanks,
Russ

Offline Hood

*
  •  25,849 25,849
  • Carnoustie, Scotland
    • View Profile
Re: Jog multiple axis's with ONE button.
« Reply #1 on: March 10, 2011, 07:12:50 PM »
Are you taking external buttons?
If so then you want to use the Jog Inputs way down at the bottom of inputs page, problem will be you will need one for each direction.
Jogging via a Brain doesnt work as far as I know, it causes the non stopping issue you have seen.

Hood
Re: Jog multiple axis's with ONE button.
« Reply #2 on: March 10, 2011, 07:17:38 PM »
Was just trying what you were suggesting. It simulates rightly with the keyboard.
But, where can I get to the B and C axis ?
Thanks Hood

Offline Hood

*
  •  25,849 25,849
  • Carnoustie, Scotland
    • View Profile
Re: Jog multiple axis's with ONE button.
« Reply #3 on: March 10, 2011, 07:20:57 PM »
Ah now that may be a prob, dont think there is B and C.
Do a search for 6 axis jog screen or something like that, sticks in my mind Scott S did something along these lines, maybe a plugin.
Hood
Re: Jog multiple axis's with ONE button.
« Reply #4 on: March 10, 2011, 08:47:40 PM »
Good lead Hood.
Looks like Poppa's little ditty will do just as I want.
Gotta admit ... that cats pretty sharp !  ;)
Never ceases to amaze.
Thanks PBear
 :)

Offline poppabear

*
  • *
  •  2,231 2,231
  • Briceville, TN, USA
    • View Profile
    • S S Systems, LLC
Re: Jog multiple axis's with ONE button.
« Reply #5 on: March 11, 2011, 09:57:59 AM »
Wow, thanks........

  But you can Jog from Brains, and do it safely, there is a Jog button for each axis in Brains, AND as Stop Jog as well in Brains.
Also, there is Jogging in VB to load B and C screen buttons as well.

I have attached a JOG B axis Brian, for an example for you, that uses inputs 1 and 2.

in a nut shell it does this:

rung 1.  input1->noop->jog b right
rung 2.  input2->noop->jog b left
rung 3.  input1->invert->
                                   OR ->jog b stop
rung 4.  input2->invert->

scott

Commercial Mach3 & Mach 4, Design/Build/Retrofit CNC and Industrial machines.
http://www.ss-systems-llc.com/
Re: Jog multiple axis's with ONE button.
« Reply #6 on: March 11, 2011, 06:48:16 PM »
Hey  PBear !
I never knew those JOG OFF buttons were there !
Thanks much for your help ... and the example,
Russ

edit:
Scott, is this intended to work if emulating the inputs with keyboard hotkeys ? Using the example .brn it keeps running here and will not stop.
edit2:
I see whats happening now. It will not stop unless BOTH 1&2 are active and either is released, then it will stop.

OK, last edit:
Changed the   OR ->jog b stop
   to             AND ->jog b stop        and it seems to be working OK.
« Last Edit: March 11, 2011, 07:20:41 PM by Overloaded »