G-Code Tools

Generate diagnostic G-code patterns & more for CNC machines

Acceleration Test

Generates G-code to test acceleration. Assumes junction deviation is being used, in which case "jerk" should not be in effect. The generated G-code issues M501 at the beginning and end to avoid leaving the machine in a modified acceleration state.

The basic idea (for X acceleration):

  1. Draw a short segment in the positive Y direction
  2. Set high acceleration using M204 and M201
  3. Move slowly ramping up speed in +X, then change direction suddenly to −X and gradually slow to a stop
  4. Reset acceleration back to default
  5. Draw a short segment directly above the line from step 1
  6. Move over in +X and repeat
Universal Parameters

Dimensions

mm
mm

Z Levels

mm
mm

Feedrates

mm/min
mm/min
mm/min
mm/min
Mode Parameters
mm/s²
mm/s²
Generate G-code to see a preview