Welcome, Guest. Please login or register.
Did you miss your activation email?
May 27, 2012, 05:56:53 PM

Login with username, password and session length
Search:     Advanced search
* Home Help Search Calendar Links Login Register
+  Machsupport Forum
|-+  Mach Discussion
| |-+  General Mach Discussion
| | |-+  Jog multiple axis's with ONE button.
Pages: 1   Go Down
Print
Author Topic: Jog multiple axis's with ONE button.  (Read 337 times)
0 Members and 1 Guest are viewing this topic.
Overloaded
Global Moderator
*
Offline Offline

Posts: 3,072



View Profile
« 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 Smiley )
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.  Grin

Thanks,
Russ


* ScreenHunter_01 Mar. 10 18.55.jpg (37.64 KB, 683x253 - viewed 32 times.)

* ScreenHunter_02 Mar. 10 18.57.jpg (13.99 KB, 268x253 - viewed 26 times.)

* ScreenHunter_03 Mar. 10 18.58.jpg (40.33 KB, 618x236 - viewed 32 times.)
Logged

"I haven't failed. I've just found 10,000 ways that won't work."         Edison

"You cannot help men permanently by doing for them what they could and should do for themselves."
Abe Lincoln
Hood
Active Member

Offline Offline

Posts: 17,366


Carnoustie, Scotland


View Profile
« 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
Logged
Overloaded
Global Moderator
*
Offline Offline

Posts: 3,072



View Profile
« 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


* ScreenHunter_04 Mar. 10 19.14.jpg (51.25 KB, 644x306 - viewed 32 times.)
Logged

"I haven't failed. I've just found 10,000 ways that won't work."         Edison

"You cannot help men permanently by doing for them what they could and should do for themselves."
Abe Lincoln
Hood
Active Member

Offline Offline

Posts: 17,366


Carnoustie, Scotland


View Profile
« 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
Logged
Overloaded
Global Moderator
*
Offline Offline

Posts: 3,072



View Profile
« 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 !  Wink
Never ceases to amaze.
Thanks PBear
 Smiley
Logged

"I haven't failed. I've just found 10,000 ways that won't work."         Edison

"You cannot help men permanently by doing for them what they could and should do for themselves."
Abe Lincoln
poppabear
S S SYSTEMS, LLC
Global Moderator
*
Offline Offline

Posts: 1,707


Briceville, TN, USA


View Profile WWW
« 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


* Jog_B_Axis.brn (3.26 KB - downloaded 20 times.)
Logged

Commercial Mach3: Screens (regular and flash), Wizards, Plug-ins, Brains, PLCs, Macros, ATC's, machine build, retrofit and Prototyping
http://sites.google.com/site/volunteerfablab/
Overloaded
Global Moderator
*
Offline Offline

Posts: 3,072



View Profile
« 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 » Logged

"I haven't failed. I've just found 10,000 ways that won't work."         Edison

"You cannot help men permanently by doing for them what they could and should do for themselves."
Abe Lincoln
Pages: 1   Go Up
Print
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.16 | SMF © 2011, Simple Machines Valid XHTML 1.0! Valid CSS!