return"Reset while in motion. Machine position is likely lost due to sudden halt. Re-homing is highly recommended.";
case4:
return"Probe fail. Probe is not in the expected initial state before starting probe cycle when G38.2 and G38.3 is not triggered and G38.4 and G38.5 is triggered.";
case5:
return"Probe fail. Probe did not contact the workpiece within the programmed travel for G38.2 and G38.4.";
case6:
return"Homing fail. The active homing cycle was reset.";
case7:
return"Homing fail. Safety door was opened during homing cycle.";
case8:
return"Homing fail. Pull off travel failed to clear limit switch. Try increasing pull-off setting or check wiring.";
case9:
return"Homing fail. Could not find limit switch within search distances. Try increasing max travel, decreasing pull-off distance, or check wiring.";
case10:
return"Homing fail. Second dual axis limit switch failed to trigger within configured search distance after first. Try increasing trigger fail distance or check wiring.";
return"Step pulse time (microseconds)\nSets time length per step. Minimum 3 microseconds.";
case1:
return"Step idle delay (milliseconds)\nSets a short hold delay when stopping to let dynamics settle before disabling steppers. Value 255 keeps motors enabled.";
case2:
return"Step pulse invert (mask)\nInverts the step signals (active low).";
case3:
return"Step direction invert (mask)\nInverts the direction signals (active low).";
case4:
return"Invert step enable pin (boolean)\nInverts the stepper driver enable signals (active low). If the stepper drivers shares the same enable signal only X is used.";
case5:
return"Invert limit pins (mask)\nInverts the axis limit input signals. ";
case6:
return"Invert probe pin (boolean)\nInverts the probe input pin signal.";
case10:
return"Status report options (mask)\nSpecifies optional data included in status reports.";
case11:
return"Junction deviation (mm)\nSets how fast Grbl travels through consecutive motions. Lower value slows it down.";
case12:
return"Arc tolerance (mm)\nSets the G2 and G3 arc tracing accuracy based on radial error. Beware: A very small value may effect performance.";
case13:
return"Report in inches (boolean)\nEnables inch units when returning any position and rate value that is not a settings value.";
case14:
return"Invert control pins (mask)\nInverts the control signals (active low).";
case15:
return"Invert coolant pins (mask)\nInverts the coolant and mist signals (active low).";
case16:
return"Invert spindle signals (mask)\nInverts the spindle on counterclockwise and PWM signals (active low).";
case17:
return"Pullup disable control pins (mask)\nDisable the control signals pullup resistors. Potentially enables pulldown resistor if available.";
case18:
return"Pullup disable limit pins (mask)\nDisable the limit signals pullup resistors. Potentially enables pulldown resistor if available.";
case19:
return"Pullup disable probe pin (boolean)\nDisable the probe signal pullup resistor. Potentially enables pulldown resistor if available.";
case20:
return"Soft limits enable (boolean)\nEnables soft limits checks within machine travel and sets alarm when exceeded. Requires homing.";
case21:
return"Hard limits enable (mask)\nWhen enabled immediately halts motion and throws an alarm when switch is triggered. In strict mode only homing is possible after switch is triggered. ";
case22:
return"Homing cycle enable (boolean)\nEnables homing cycle. Requires limit switches on all axes.";
case23:
return"Homing direction invert (mask)\nHoming searches for a switch in the positive direction. Set axis bit to search in negative direction.";
case24:
return"Homing locate feed rate (mm/min)\nFeed rate to slowly engage limit switch to determine its location accurately.";
case25:
return"Homing search seek rate (mm/min)\nSeek rate to quickly find the limit switch before the slower locating phase.";
case26:
return"Homing switch debounce delay (milliseconds)\nSets a short delay between phases of homing cycle to let a switch debounce.";
case27:
return"Homing switch pull-off distance (mm)\nRetract distance after triggering switch to disengage it. Homing will fail if switch isn't cleared.";
return"Mode of operation (integer)\nLaser mode: consecutive G1/2/3 commands will not halt when spindle speed is changed. Lathe mode: allows use of G7, G8, G96 and G97.";
case33:
return"Spindle PWM frequency (Hz)\nSpindle PWM frequency.";
case34:
return"Spindle PWM off value (percent)\nSpindle PWM off value in percent (duty cycle).";
case35:
return"Spindle PWM min value (percent)\nSpindle PWM min value in percent (duty cycle).";
case36:
return"Spindle PWM max value (percent)\nSpindle PWM max value in percent (duty cycle).";
case37:
return"Steppers deenergize (mask)\nSpecifies which steppers not to disable when stopped.";
case38:
return"Spindle PPR (pulses)\nSpindle encoder pulses per revolution.";
case39:
return"Enable legacy RT commands (boolean)\nEnables \"normal\" processing of ?, ! and ~ characters when part of $-setting or comment. If disabled then they are added to the input string instead.";
case40:
return"Limit jog commands (boolean)\nLimit jog commands to machine limits for homed axes.";
case43:
return"Homing passes, (Number of homing passes. Minimum 1)\n maximum 128.";
case44:
return"Axes homing, first pass (mask)\nAxes to home in first pass.";
case45:
return"Axes homing, second pass (mask)\nAxes to home in second pass.";
case46:
return"Axes homing,third pass (mask)\nAxes to home in third pass.";
case47:
return"Axes homing, fourth pass (mask)\nAxes to home in fourth pass.";
case48:
return"Axes homing, fifthpass (mask)\nAxes to home in fifth pass.";
case49:
return"Axes homing, sixth pass (mask)\nAxes to home in sixth pass.";
case50:
return"Step jog speed (mm/min)\nStep jogging speed in millimeters per minute.";
case51:
return"Slow jog speed (mm/min)\nSlow jogging speed in millimeters per minute.";
case52:
return"Fast jog speed (mm/min)\nFast jogging speed in millimeters per minut.";
case53:
return"Step jog distance (mm)\nJog distance for single step jogging.";
case54:
return"Slow jog distance (mm)\nJog distance before automatic stop.";
case55:
return"Fast jog distance (mm)\nJog distance before automatic stop.";
case60:
return"Restore overrides ()\nRestore overrides to default values at program end.";
case61:
return"Ignore door when idle ()\nEnable this if it is desirable to open the safety door when in IDLE mode (eg. for jogging).";
case62:
return"Sleep enable ()\nEnable sleep mode. ";
case63:
return"Disable laser ()\nDisable laser during hold. ";
case64:
return"Force init alarm ()\nStarts Grbl in alarm mode after a cold reset.";
case65:
return"Check limits at init ()\nIf limit switches are engaged after reset this forces Grbl to start in alarm mode.";
case66:
return"Homing init lock, (If homing is enabled)\n homing init lock sets Grbl into an alarm state upon power up. Clear by performing a homing cycle.";
return"X-axis travel resolution (step/mm)\nX-axis travel resolution in steps per millimeter.";
case101:
return"Y-axis travel resolution (step/mm)\nY-axis travel resolution in steps per millimeter.";
case102:
return"Z-axis travel resolution (step/mm)\nZ-axis travel resolution in steps per millimeter.";
case103:
return"A-axis travel resolution (step/mm)\nA-axis travel resolution in steps per millimeter.";
case104:
return"B-axis travel resolution (step/mm)\nB-axis travel resolution in steps per millimeter.";
case105:
return"C-axis travel resolution (step/mm)\nC-axis travel resolution in steps per millimeter.";
case110:
return"X-axis maximum rate (mm/min)\nX-axis maximum rate. Used as G0 rapid rate.";
case111:
return"Y-axis maximum rate (mm/min)\nY-axis maximum rate. Used as G0 rapid rate.";
case112:
return"Z-axis maximum rate (mm/min)\nZ-axis maximum rate. Used as G0 rapid rate.";
case113:
return"A-axis maximum rate (mm/min)\nA-axis maximum rate. Used as G0 rapid rate.";
case114:
return"B-axis maximum rate (mm/min)\nB-axis maximum rate. Used as G0 rapid rate.";
case115:
return"C-axis maximum rate (mm/min)\nC-axis maximum rate. Used as G0 rapid rate.";
case120:
return"X-axis acceleration (mm/sec^2)\nX-axis acceleration. Used for motion planning to not exceed motor torque and lose steps.";
case121:
return"Y-axis acceleration (mm/sec^2)\nY-axis acceleration. Used for motion planning to not exceed motor torque and lose steps.";
case122:
return"Z-axis acceleration (mm/sec^2)\nZ-axis acceleration. Used for motion planning to not exceed motor torque and lose steps.";
case123:
return"A-axis acceleration (mm/sec^2)\nA-axis acceleration. Used for motion planning to not exceed motor torque and lose steps.";
case124:
return"B-axis acceleration (mm/sec^2)\nB-axis acceleration. Used for motion planning to not exceed motor torque and lose steps.";
case125:
return"C-axis acceleration (mm/sec^2)\nC-axis acceleration. Used for motion planning to not exceed motor torque and lose steps.";
case130:
return"X-axis maximum travel (mm)\nMaximum X-axis travel distance from homing switch. Determines valid machine space for soft-limits and homing search distances.";
case131:
return"Y-axis maximum travel (mm)\nMaximum Y-axis travel distance from homing switch. Determines valid machine space for soft-limits and homing search distances.";
case132:
return"Z-axis maximum travel (mm)\nMaximum Z-axis travel distance from homing switch. Determines valid machine space for soft-limits and homing search distances.";
case133:
return"A-axis maximum travel (mm)\nMaximum A-axis travel distance from homing switch. Determines valid machine space for soft-limits and homing search distances.";
case134:
return"B-axis maximum travel (mm)\nMaximum B-axis travel distance from homing switch. Determines valid machine space for soft-limits and homing search distances.";
case135:
return"C-axis maximum travel (mm)\nMaximum B-axis travel distance from homing switch. Determines valid machine space for soft-limits and homing search distances.";
case160:
return"X-axis backlash compensation (mm)\nX-axis backlash distance to compensate for.";
case161:
return"Y-axis backlash compensation (mm)\nY-axis backlash distance to compensate for.";
case162:
return"Z-axis backlash compensation (mm)\nZ-axis backlash distance to compensate for.";
case163:
return"A-axis backlash compensation (mm)\nA-axis backlash distance to compensate for.";
case164:
return"B-axis backlash compensation (mm)\nB-axis backlash distance to compensate for.";
case165:
return"C-axis backlash compensation (mm)\nB-axis backlash distance to compensate for.";