Machsupport Forum

Mach Discussion => Mach4 General Discussion => Topic started by: rubes on November 17, 2018, 12:48:59 PM

Title: jog step increment w/shuttle express
Post by: rubes on November 17, 2018, 12:48:59 PM
I'm useing a shuttle express with Mach 4. All works great. Except I want to use the 5th button to change the jog step increment just like the on screen button does. there is no entry for that on the long list of items when I use the "configure...plugins...shuttle...". Or at least I cant figure out which of those would be the one.
I used this video to set it up. And even it mentions going back to the screen to set the increment. Kind of looses half the functionality of a pendant if I have to keep going back to the screen...so I know I must be missing something on how to program this.

https://youtu.be/lQmi6Q_iOAU (https://youtu.be/lQmi6Q_iOAU)

oh by the way...I tried to search...but keep getting this on a plain white screen:

2: pspell_new(): PSPELL couldn't open the dictionary. reason: No word lists can be found for the language "en".
File: /var/www/vhosts/machsupport.com/forum.machsupport.com/forum/Sources/Search.php
Line: 700
Title: Re: jog step increment w/shuttle express
Post by: joeaverage on November 17, 2018, 03:38:53 PM
Hi,
while the Mach website is be re-designed the search function is on the blink.

Not sure about the shuttle pro but there are a number of API's specifically to deal with jogging. This one sets the jog inrement:

LUA Syntax:
rc = mc.mcJogSetInc(
      number mInst,
      number axisId,
      number increment)

Is it possible to have a shuttle pro button trigger a macro? If so then judicious use of this API could do the job.

Craig