CNC.myWerkzeug.de Help Deutsch Open the app

Help center › G-code reference

Settings $0 to $132

All Grbl settings with meaning and unit.

Settings are stored permanently in the controller. $$ shows them, $number=value changes one. In the app you find them with explanations under Machine → Controller settings …; for critical values the app asks before changing. Write down the values before changing anything.

$0 · Step pulse

Length of a step pulse for the motor drivers. Unit: µs.

$1 · Motor idle delay

How long the motors stay energised after a move; 255 = always on (holds position). Unit: ms.

$2 · Invert step signal

Bit mask per axis (X=1, Y=2, Z=4).

$3 · Invert direction

Bit mask per axis (X=1, Y=2, Z=4). If an axis moves the wrong way, invert it here.

$4 · Invert enable

Inverts the enable signal of the motor drivers.

$5 · Invert limit switches

For switches that are closed at rest.

$6 · Invert probe

Inverts the Z probe signal.

$10 · Status report

Bit 0: machine instead of work position, bit 1: report buffer state. The app copes with every value.

$11 · Junction deviation

How far the path may deviate at corners to keep moving smoothly. Unit: mm.

$12 · Arc tolerance

Accuracy with which arcs are split into lines. Unit: mm.

$13 · Report in inches

Report positions in inches instead of millimetres. Leave off (0) for this app.

$20 · Soft limits

Prevents moves beyond the work area. Needs homing ($22).

$21 · Hard limits

Stops the machine immediately when a limit switch triggers.

$22 · Homing

Enables homing ($H). Only switch on with limit switches.

$23 · Homing direction

Bit mask per axis; sets on which side the switch is searched.

$24 · Homing feed (fine)

Slow speed for precisely approaching the switch. Unit: mm/min.

$25 · Homing seek

Speed used to search for the switch. Unit: mm/min.

$26 · Debounce time

Wait time against switch bouncing. Unit: ms.

$27 · Pull-off

Distance the axis moves back after the switch. Unit: mm.

$30 · Max spindle speed

Speed at full PWM signal. Should match the spindle so that S values are right. Unit: rpm.

$31 · Min spindle speed

Speed at minimum PWM signal. Unit: rpm.

$32 · Laser mode

For lasers: power follows the motion without stopping. Always off (0) for milling.

$100 · Steps/mm X

Motor steps per millimetre. Wrong values lead to wrong dimensions. Unit: steps/mm.

$101 · Steps/mm Y

Motor steps per millimetre. Wrong values lead to wrong dimensions. Unit: steps/mm.

$102 · Steps/mm Z

Motor steps per millimetre. Wrong values lead to wrong dimensions. Unit: steps/mm.

$110 · Max rate X

Fastest move of this axis (also rapids). Unit: mm/min.

$111 · Max rate Y

Fastest move of this axis (also rapids). Unit: mm/min.

$112 · Max rate Z

Fastest move of this axis (also rapids). Unit: mm/min.

$120 · Acceleration X

How fast the axis accelerates and brakes. Unit: mm/s².

$121 · Acceleration Y

How fast the axis accelerates and brakes. Unit: mm/s².

$122 · Acceleration Z

How fast the axis accelerates and brakes. Unit: mm/s².

$130 · Max travel X

Longest travel of the axis; basis for soft limits and the work area in the app. Unit: mm.

$131 · Max travel Y

Longest travel of the axis; basis for soft limits and the work area in the app. Unit: mm.

$132 · Max travel Z

Longest travel of the axis; basis for soft limits and the work area in the app. Unit: mm.