Modifying jog increments on Jog Pane

I was jogging my machine in step mode. and noticed that it jogs in increments of 5 .005, .05 .5 and 5
now I do not se a need for moving 5 inches at a time i would rather have .0001, .001, .01 and 1 inche.

Can this be changed and if so how and where

Marcel

Pretty sure .0001 isn’t possible and maybe even .001

The others were probably for continuity/simplicity

The only reason I was checking was all the big boy cncs can increment in 0001 to 1" Like here you can increment in steps of .005, 050, .5 and then 5 Inches

so much for sneaking up on something. heck Mach 3 gives you .0005, .001, .010, .1 and 1.0 inches. i just thought maybe there was a setting I may be missing. heck the masso we have in the club does the same as most of the cncs i have run.

would be nice to have the 5 inch thing can bite you

Hey Marcel,

you could edit /usr/local/lib/python3.5/dist-packages/bbctrl-1.0.9-py3.5.egg/bbctrl/http/index.html

here at this part:

    set_jog_incr: function(newValue) {
      document.getElementById("jog_button_fine").style.fontWeight = 'normal';
      document.getElementById("jog_button_small").style.fontWeight = 'normal';
      document.getElementById("jog_button_medium").style.fontWeight = 'normal';
      document.getElementById("jog_button_large").style.fontWeight = 'normal';

      if (newValue == 'fine') {
        document.getElementById("jog_button_fine").style.fontWeight = 'bold';
        if(this.mach_units == 'METRIC')
          this.jog_incr = 0.1;
        else
          this.jog_incr = 0.005;
      } else if (newValue == 'small') {
        document.getElementById("jog_button_small").style.fontWeight = 'bold';
        if(this.mach_units == 'METRIC')
          this.jog_incr = 1.0;
        else
          this.jog_incr = 0.05;
      } else if (newValue == 'medium') {
        document.getElementById("jog_button_medium").style.fontWeight = 'bold';
        if(this.mach_units == 'METRIC')
          this.jog_incr = 10;
        else
          this.jog_incr = 0.5;
      } else if (newValue == 'large') {
        document.getElementById("jog_button_large").style.fontWeight = 'bold';

        this.jog_incr = (this.mach_units == 'METRIC')
          ? 100
          : 5;
      }
    },

  methods: {
    units_changed : function() {
      if(this.mach_units == 'METRIC') {
        document.getElementById("jog_button_fine").innerHTML = "0.1";
        document.getElementById("jog_button_small").innerHTML = "1.0";
        document.getElementById("jog_button_medium").innerHTML = "10";
        document.getElementById("jog_button_large").innerHTML = "100";
      } else {
        document.getElementById("jog_button_fine").innerHTML = "0.005";
        document.getElementById("jog_button_small").innerHTML = "0.05";
        document.getElementById("jog_button_medium").innerHTML = "0.5";
        document.getElementById("jog_button_large").innerHTML = "5";
      }

      this.set_jog_incr('small');
    },

Note that this shows v1.0.9, later versions may differ.

If you want to change the steps on the gamepad, you can edit

/usr/local/lib/python3.5/dist-packages/bbctrl-1.0.9-py3.5.egg/bbctrl/Jog.py

There, you find:

    def changed(self):
        scale = 1.0
        if self.speed == 1: scale = 1.0 / 128.0
        if self.speed == 2: scale = 1.0 / 32.0
        if self.speed == 3: scale = 1.0 / 4.0
4 Likes