Hello Guest it is January 24, 2021, 03:23:36 AM

Author Topic: Mach4 Jog Increments  (Read 3522 times)

0 Members and 1 Guest are viewing this topic.

Mach4 Jog Increments
« on: August 15, 2015, 11:40:41 PM »
The Jog Increments that are set in the Mach Configuration page appear to have no effect. I set them all to "0" and still get increments of 1, .1, .01, .001, and .0001 when I press the "Cycle Jog Inc" button on the stock screenset.
Re: Mach4 Jog Increments
« Reply #1 on: September 09, 2015, 10:59:08 AM »
Nobody at Newfangled has an answer for this?
Re: Mach4 Jog Increments
« Reply #2 on: September 09, 2015, 10:36:18 PM »
How much have you experimented with this?  Here is what I see, tested on builds 2580 and 2660 using the wxMach screen set.  You didn't mention which Mach4 build or which screen set you were using (which is useful information when reporting anomalous behavior).

(1) With default jog increment settings, I can cycle through 1.000 through 0.0001 step sizes as expected.

(2) Go to Configure->Mach... and change the "Jog Increments" table as follows:
     2  0.2  0.02 0.002 0.0002 3 0.3 0.03 0.003 0.0003
then click on "OK" (or for the Mach3 paranoid, "Apply"and then "OK").

(3) Go back to the jog tab and click on the "Jog Increment" button.  I see it cycle through 1 0.1 0.001 0.0001 once or twice, then 2 0.2 0.002 0.0002 3 0.3 0.03 0.003 0.0003 then back to two passes through "1 0.1 0.001 0.0001 0.0001" then the "2" cycle then the "3" cycle, then the "1" cycle twice, etc. repeating forever.

(4) Exit Mach and re-start.  The jog increment that is shown as the starting jog increment is NOT the one that we ended with before we exited Mach4, and is not even a value from the same location in the 10 element "jog increment" table.  I *think* (but don't remember exactly) that is was one of the "1 0.1 0.01 0.001 0.0001" values, but I'm not sure.  Clicking on the "Jog Increment" button it changes to one of the new table entries (i.e. a "2" value or "3" value), and then continues to cycle through the "2" and "3" values in order.

So, it is not entirely broken.  Just not exactly behaving as expected.  The answer seems to be "set the new jog increment table then restart Mach4".  I cannot explain why in step (3) above Mach4 seemed to have 2 complete 10-entry jog increment tables - the old one *and* the new one.

Offline Mauri

  •  316 316
    • View Profile
Re: Mach4 Jog Increments
« Reply #3 on: September 10, 2015, 06:45:02 PM »
Mach4 MPG works perfectly in the increment movements, except for Backlash compensation of the DRO Mach4 Screen.
The accuracy is dependant on the Steps Per at the Motor Settings and the amount of Pulses Generated.
So for example if you are working in MM then most CNC setups the best you will get is .01mm spot on accuracy incremental movements.
The Mach4 increments will not be accurate if you have fractional pulses.
To Check this out do the following for mm machines.
lets say you have 800 Steps per mm then 800 * 0.01mm increments = 8 Pulses (this will work 100%)
But if  you have 800 Steps per mm then 800 * 0.001mm increments = 0.8 Pulses (this will not work and will not be accurate)
So no matter what equipment you have mm/inch, Stepper/Servo Microsteps or Not  in the end the more Steps per you have the higher the accuracy you will achieve with your incremental steps.

Re: Mach4 Jog Increments
« Reply #4 on: July 15, 2017, 11:09:16 AM »
Have just found out that jog increments actually move in inches !! Even though units are set to mm !

Is there another setting somewhere for jogging units ?


Offline smurph

  • *
  •  1,301 1,301
  • "That there... that's an RV."
    • View Profile
Re: Mach4 Jog Increments
« Reply #5 on: July 15, 2017, 02:57:23 PM »
Again, the knowing the build is pertinent.  So please guys...  include the build (and other information like which OS and screen set you are running).

Newer builds follow the state of G20/G21.  With older builds, you had to change the jog units with a script API call.