Hello Guest it is March 28, 2024, 08:18:24 PM

Author Topic: Toggle axis jog control?  (Read 15246 times)

0 Members and 1 Guest are viewing this topic.

Offline BR549

*
  •  6,965 6,965
    • View Profile
Re: Toggle axis jog control?
« Reply #20 on: October 04, 2012, 08:04:45 PM »
OK I cheated and asked (;-) Scott S.

DoOemButton(185)  - 190    X - C

(;-) TP

Offline BR549

*
  •  6,965 6,965
    • View Profile
Re: Toggle axis jog control?
« Reply #21 on: October 04, 2012, 08:08:03 PM »
So it should go as the example BUT I am sure there are other ways it can be done


If GetUserDro(1999) < 5 Then
   SetUserDro(1999,GetUserDro(1999)+1)
   End If
If GetUserDro(1999) >= 5 Then
   SetUserDro(1999,1)
   End If
   
If GetUserDro(1999) = 1 Then
   Message("Selecting X axis for Jogging")
    DoOemButton(185)
   End If
If GetUserDro(1999) = 2 Then
   Message("Selecting Y axis for Jogging")
   DoOemButton(186)
   End If
If GetUserDro(1999) = 3 Then
   Message("Selecting Z axis for Jogging")
    DoOemButton(187)
   End If
If GetUserDro(1999) = 4 Then
   Message("Selecting A axis for Jogging")
    DoOemButton(188)
   End If

End

Offline budman68

*
  • *
  •  2,352 2,352
    • View Profile
Re: Toggle axis jog control?
« Reply #22 on: October 04, 2012, 08:17:08 PM »
I did too and he gave me the same numbers. Unfortunately that does not work  :-[

It keeps jogging only the X axis.
----------------------------------------------------------------------
Just because I'm a Global Moderator, don't assume that I know anything !

Dave->    ;)

Offline BR549

*
  •  6,965 6,965
    • View Profile
Re: Toggle axis jog control?
« Reply #23 on: October 04, 2012, 08:23:56 PM »
Try the MPG#2 numbers then the encoder jog #s.   I do not have a shuttle here to test with(;-(.

(;-) TP

Offline budman68

*
  • *
  •  2,352 2,352
    • View Profile
Re: Toggle axis jog control?
« Reply #24 on: October 04, 2012, 08:24:25 PM »
Just heard back from Art and here's what he had to say:

Hi Dave:

 Wow..that ones been awhile... I dont believe you can do it with a function code. Seems to me I wrote the dropdowns as specific to the plugin. Its not a large change, but it woudl have to be done in the plugin itself as near as I remember. I dont think theres any system code attached to that plugins dropdowns.. and no code that specifically changes axis in a rotating fashion. I could be wrong, but I dont think I even have the original source for that plugin, Id have to do some research to find it. Can you compile a plugin or change one?

Art


Unfortunately plugin modification is above me  :(

Dave
----------------------------------------------------------------------
Just because I'm a Global Moderator, don't assume that I know anything !

Dave->    ;)

Offline BR549

*
  •  6,965 6,965
    • View Profile
Re: Toggle axis jog control?
« Reply #25 on: October 04, 2012, 08:33:24 PM »
Dave I believe that SCOTT had the plugin code  after Art did it to make MODs to it.

Try something. Open the jogging flyout(TAB)  and see if you can use the altA button to change the Axis. IF they used that method then there is a COde

OemButton(175) that toggles between xyzabc just like it does on the flyout screen.

(;-) TP

Offline budman68

*
  • *
  •  2,352 2,352
    • View Profile
Re: Toggle axis jog control?
« Reply #26 on: October 04, 2012, 08:38:01 PM »
No luck on that one my friend-

I tried altb as well
----------------------------------------------------------------------
Just because I'm a Global Moderator, don't assume that I know anything !

Dave->    ;)

Offline BR549

*
  •  6,965 6,965
    • View Profile
Re: Toggle axis jog control?
« Reply #27 on: October 04, 2012, 08:45:25 PM »
Did you make sure that on the flyout you had selected JOG MODE as MPG ?

Just thinking out loud, (;-) TP

Offline budman68

*
  • *
  •  2,352 2,352
    • View Profile
Re: Toggle axis jog control?
« Reply #28 on: October 04, 2012, 08:47:51 PM »
errrmmmm....no. I had to hit Shuttle mode  ;D

Not that I did, I click the altA button and it says "end shuttle first" in the message bar.

I'm hittin the hay here shortly, but I do appreciate your help Terry.

Dave
----------------------------------------------------------------------
Just because I'm a Global Moderator, don't assume that I know anything !

Dave->    ;)

Offline BR549

*
  •  6,965 6,965
    • View Profile
Re: Toggle axis jog control?
« Reply #29 on: October 04, 2012, 08:51:12 PM »
OK I'll give it some more thought. DID you happen to change the buttons to NONE on the shuttle for the jog axis selection??

COuld be they used some magic monkey dust in the plugin to fool us mortals.

(;-) TP