Hello Guest it is October 27, 2021, 09:10:00 AM

Author Topic: How to setup keyboard key to jog at a specific jog increment  (Read 406 times)

0 Members and 1 Guest are viewing this topic.

How to setup keyboard key to jog at a specific jog increment
« on: December 21, 2019, 04:26:05 PM »
I am a little old school, in that I use a piece of paper under my tool as a feeler guage, to set the Z zero position. I use a mini wireless keyboard as my "pendant" to jog the machine around. I hit the pgup pgdown buttons and the machine jogs the Z axis at the rapid rate. This works great to get me close. I then mapped CTRL-PGDWN to jog at the incremental rate. Whatever rate was last selected. All good up to this point. This is where I am looking for some help. I would like to set CTRL-PGDWN to jog Z at a rate of 0.001 and have ALT-PGDWN jog Z at a rate of 0.010. I am having trouble figuring out how to do this or even how to approach it. Is it a key mappable thing or do I need to write some code?
Re: How to setup keyboard key to jog at a specific jog increment
« Reply #1 on: December 21, 2019, 06:37:22 PM »
in the first instance you should look at Daz-the-Gaz's video on the keyboard plugin.


Once you have done so open the keyboard plugin and define the key/keys you wish to use, assigning them to
Mach input/inputs mc.ISIG_INPUT30, mc.ISIG_INPUT31 etc.

Now all you have to do is put an entry in the SigLib{} table in the Screen Load Script, one entry for each Mach input
you have used. Each entry will include an API call to set the jog increment to your satisfaction.

If you have not encountered the SigLib{} table.....boy are you in for a treat! Jokes aside....I suggest reading my
.pdf on the Signal Script, I hope it may demystify things for you.


My wife left with my best friend...
     and I miss him!