gnea\grbl-Mega  1.0f
Source Code Documentation ( Internal Workings )
config.h File Reference
#include "grbl.h"

Go to the source code of this file.

Macros

#define DEFAULTS_GENERIC
 This file contains compile-time configurations for Grbl's internal system. For the most part,. More...
 
#define CPU_MAP_2560_INITIAL
 
#define BAUD_RATE   115200
 Serial baud rate. More...
 
#define CMD_RESET   0x18
 Define realtime command special characters. These characters are 'picked-off' directly from the. More...
 
#define CMD_STATUS_REPORT   '?'
 
#define CMD_CYCLE_START   '~'
 
#define CMD_FEED_HOLD   '!'
 
#define CMD_SAFETY_DOOR   0x84
 NOTE: All override realtime commands must be in the extended ASCII character set, starting. More...
 
#define CMD_JOG_CANCEL   0x85
 
#define CMD_DEBUG_REPORT   0x86
 Only when DEBUG enabled, sends debug report in '{}' braces. More...
 
#define CMD_FEED_OVR_RESET   0x90
 Restores feed override value to 100%. More...
 
#define CMD_FEED_OVR_COARSE_PLUS   0x91
 
#define CMD_FEED_OVR_COARSE_MINUS   0x92
 
#define CMD_FEED_OVR_FINE_PLUS   0x93
 
#define CMD_FEED_OVR_FINE_MINUS   0x94
 
#define CMD_RAPID_OVR_RESET   0x95
 Restores rapid override value to 100%. More...
 
#define CMD_RAPID_OVR_MEDIUM   0x96
 
#define CMD_RAPID_OVR_LOW   0x97
 
#define CMD_SPINDLE_OVR_RESET   0x99
 Restores spindle override value to 100%. More...
 
#define CMD_SPINDLE_OVR_COARSE_PLUS   0x9A
 
#define CMD_SPINDLE_OVR_COARSE_MINUS   0x9B
 
#define CMD_SPINDLE_OVR_FINE_PLUS   0x9C
 
#define CMD_SPINDLE_OVR_FINE_MINUS   0x9D
 
#define CMD_SPINDLE_OVR_STOP   0x9E
 
#define CMD_COOLANT_FLOOD_OVR_TOGGLE   0xA0
 
#define CMD_COOLANT_MIST_OVR_TOGGLE   0xA1
 
#define HOMING_INIT_LOCK
 If homing is enabled, homing init lock sets Grbl into an alarm state upon power up. This forces. More...
 
#define HOMING_CYCLE_0   (1<<Z_AXIS)
 Define the homing cycle patterns with bitmasks. The homing cycle first performs a search mode. More...
 
#define HOMING_CYCLE_1   ((1<<X_AXIS)|(1<<Y_AXIS))
 OPTIONAL: Then move X,Y at the same time. More...
 
#define N_HOMING_LOCATE_CYCLE   1
 NOTE: The following are two examples to setup homing for 2-axis machines. More...
 
#define N_STARTUP_LINE   2
 Enables single axis homing commands. $HX, $HY, and $HZ for X, Y, and Z-axis homing. The full homing. More...
 
#define N_DECIMAL_COORDVALUE_INCH   4
 Number of floating decimal points printed by Grbl for certain value types. These settings are. More...
 
#define N_DECIMAL_COORDVALUE_MM   3
 Coordinate or position value in mm. More...
 
#define N_DECIMAL_RATEVALUE_INCH   1
 Rate or velocity value in in/min. More...
 
#define N_DECIMAL_RATEVALUE_MM   0
 Rate or velocity value in mm/min. More...
 
#define N_DECIMAL_SETTINGVALUE   3
 Decimals for floating point setting values. More...
 
#define N_DECIMAL_RPMVALUE   0
 RPM value in rotations per min. More...
 
#define MESSAGE_PROBE_COORDINATES
 If your machine has two limits switches wired in parallel to one axis, you will need to enable. More...
 
#define SAFETY_DOOR_SPINDLE_DELAY   4.0
 This option causes the feed hold input to act as a safety door switch. A safety door, when triggered,. More...
 
#define SAFETY_DOOR_COOLANT_DELAY   1.0
 Float (seconds) More...
 
#define CHECK_LIMITS_AT_INIT
 Enable CoreXY kinematics. Use ONLY with CoreXY machines. More...
 
#define DEFAULT_FEED_OVERRIDE   100
 
More...
 
#define MAX_FEED_RATE_OVERRIDE   200
 Percent of programmed feed rate (100-255). Usually 120% or 200%. More...
 
#define MIN_FEED_RATE_OVERRIDE   10
 Percent of programmed feed rate (1-100). Usually 50% or 1%. More...
 
#define FEED_OVERRIDE_COARSE_INCREMENT   10
 (1-99). Usually 10%. More...
 
#define FEED_OVERRIDE_FINE_INCREMENT   1
 (1-99). Usually 1%. More...
 
#define DEFAULT_RAPID_OVERRIDE   100
 100%. Don't change this value. More...
 
#define RAPID_OVERRIDE_MEDIUM   50
 Percent of rapid (1-99). Usually 50%. More...
 
#define RAPID_OVERRIDE_LOW   25
 Percent of rapid (1-99). Usually 25%. More...
 
#define DEFAULT_SPINDLE_SPEED_OVERRIDE   100
 100%. Don't change this value. More...
 
#define MAX_SPINDLE_SPEED_OVERRIDE   200
 Percent of programmed spindle speed (100-255). Usually 200%. More...
 
#define MIN_SPINDLE_SPEED_OVERRIDE   10
 Percent of programmed spindle speed (1-100). Usually 10%. More...
 
#define SPINDLE_OVERRIDE_COARSE_INCREMENT   10
 (1-99). Usually 10%. More...
 
#define SPINDLE_OVERRIDE_FINE_INCREMENT   1
 (1-99). More...
 
#define RESTORE_OVERRIDES_AFTER_PROGRAM_END
 When a M2 or M30 program end command is executed, most g-code states are restored to their defaults. More...
 
#define REPORT_FIELD_BUFFER_STATE
 The status report change for Grbl v1.1 and after also removed the ability to disable/enable most data. More...
 
#define REPORT_FIELD_PIN_STATE
 Default enabled. Comment to disable. More...
 
#define REPORT_FIELD_CURRENT_FEED_SPEED
 Default enabled. Comment to disable. More...
 
#define REPORT_FIELD_WORK_COORD_OFFSET
 Default enabled. Comment to disable. More...
 
#define REPORT_FIELD_OVERRIDES
 Default enabled. Comment to disable. More...
 
#define REPORT_FIELD_LINE_NUMBERS
 Default enabled. More...
 
#define REPORT_OVR_REFRESH_BUSY_COUNT   20
 Some status report data isn't necessary for realtime, only intermittently, because the values don't. More...
 
#define REPORT_OVR_REFRESH_IDLE_COUNT   10
 (1-255) Must be less than or equal to the busy count More...
 
#define REPORT_WCO_REFRESH_BUSY_COUNT   30
 (2-255) More...
 
#define REPORT_WCO_REFRESH_IDLE_COUNT   10
 (2-255) Must be less than or equal to the busy count More...
 
#define ACCELERATION_TICKS_PER_SECOND   100
 The temporal resolution of the acceleration management subsystem. A higher number gives smoother. More...
 
#define ADAPTIVE_MULTI_AXIS_STEP_SMOOTHING
 Adaptive Multi-Axis Step Smoothing (AMASS) is an advanced feature that does what its name implies,. More...
 
#define TOOL_LENGTH_OFFSET_AXIS   Z_AXIS
 Sets the maximum step rate allowed to be written as a Grbl setting. This option enables an error. More...
 
#define MINIMUM_JUNCTION_SPEED   0.0
 Used by variable spindle output only. This forces the PWM output to a minimum duty cycle when enabled. More...
 
#define MINIMUM_FEED_RATE   1.0
 Sets the minimum feed rate the planner will allow. Any value below it will be set to this minimum. More...
 
#define N_ARC_CORRECTION   12
 Number of arc generation iterations by small angle approximation before exact arc trajectory. More...
 
#define ARC_ANGULAR_TRAVEL_EPSILON   5E-7
 The arc G2/3 g-code standard is problematic by definition. Radius-based arcs have horrible numerical. More...
 
#define DWELL_TIME_STEP   50
 Time delay increments performed during a dwell. The default value is set at 50ms, which provides. More...
 
#define ENABLE_RESTORE_EEPROM_WIPE_ALL
 Creates a delay between the direction pin setting and corresponding step pulse by creating. More...
 
#define ENABLE_RESTORE_EEPROM_DEFAULT_SETTINGS
 '$RST=$' Default enabled. Comment to disable. More...
 
#define ENABLE_RESTORE_EEPROM_CLEAR_PARAMETERS
 '$RST=#' Default enabled. More...
 
#define ENABLE_BUILD_INFO_WRITE_COMMAND
 Defines the EEPROM data restored upon a settings version change and $RST=* command. Whenever the. More...
 
#define FORCE_BUFFER_SYNC_DURING_EEPROM_WRITE
 AVR processors require all interrupts to be disabled during an EEPROM write. This includes both. More...
 
#define FORCE_BUFFER_SYNC_DURING_WCO_CHANGE
 In Grbl v0.9 and prior, there is an old outstanding bug where the WPos: work position reported. More...
 
#define PARKING_AXIS   Z_AXIS
 By default, Grbl disables feed rate overrides for all G38.x probe cycle commands. Although this. More...
 
#define PARKING_TARGET   -5.0
 Parking axis target. In mm, as machine coordinate [-max_travel,0]. More...
 
#define PARKING_RATE   500.0
 Parking fast rate after pull-out in mm/min. More...
 
#define PARKING_PULLOUT_RATE   100.0
 Pull-out/plunge slow feed rate in mm/min. More...
 
#define PARKING_PULLOUT_INCREMENT   5.0
 Spindle pull-out and plunge distance in mm. Incremental distance. More...
 
#define SLEEP_DURATION   5.0
 Enables and configures Grbl's sleep mode feature. If the spindle or coolant are powered and Grbl. More...
 
#define DISABLE_LASER_DURING_HOLD
 This option will automatically disable the laser during a feed hold by invoking a spindle stop. More...
 

Macro Definition Documentation

#define ACCELERATION_TICKS_PER_SECOND   100

The temporal resolution of the acceleration management subsystem. A higher number gives smoother.

NOTE: Changing this value also changes the execution time of a segment in the step segment buffer.

Definition at line 265 of file config.h.

#define ADAPTIVE_MULTI_AXIS_STEP_SMOOTHING

Adaptive Multi-Axis Step Smoothing (AMASS) is an advanced feature that does what its name implies,.

Default enabled. Comment to disable.

Definition at line 271 of file config.h.

#define ARC_ANGULAR_TRAVEL_EPSILON   5E-7

The arc G2/3 g-code standard is problematic by definition. Radius-based arcs have horrible numerical.

NOTE: Be very careful when adjusting this value. It should always be greater than 1.2e-7 but not too Float (radians)

Definition at line 346 of file config.h.

#define BAUD_RATE   115200

Serial baud rate.

Definition at line 39 of file config.h.

#define CHECK_LIMITS_AT_INIT

Enable CoreXY kinematics. Use ONLY with CoreXY machines.

NOTE: This configuration option alters the motion of the X and Y axes to principle of operation Inverts pin logic of the control command pins based on a mask. This essentially means you can use NOTE: The top option will mask and invert all control pins. The bottom option is an example of Inverts select limit pin states based on the following mask. This effects all limit pin functions, NOTE: PLEASE DO NOT USE THIS, unless you have a situation that needs it. Inverts the spindle enable pin from low-disabled/high-enabled to low-enabled/high-disabled. Useful Inverts the selected coolant pin from low-disabled/high-enabled to low-enabled/high-disabled. Useful When Grbl powers-cycles or is hard reset with the Arduino reset button, Grbl boots up with no ALARM At power-up or a reset, Grbl will check the limit switch states to ensure they are not active

Definition at line 202 of file config.h.

#define CMD_COOLANT_FLOOD_OVR_TOGGLE   0xA0

Definition at line 79 of file config.h.

#define CMD_COOLANT_MIST_OVR_TOGGLE   0xA1

Definition at line 80 of file config.h.

#define CMD_CYCLE_START   '~'

Definition at line 50 of file config.h.

#define CMD_DEBUG_REPORT   0x86

Only when DEBUG enabled, sends debug report in '{}' braces.

Definition at line 63 of file config.h.

#define CMD_FEED_HOLD   '!'

Definition at line 51 of file config.h.

#define CMD_FEED_OVR_COARSE_MINUS   0x92

Definition at line 66 of file config.h.

#define CMD_FEED_OVR_COARSE_PLUS   0x91

Definition at line 65 of file config.h.

#define CMD_FEED_OVR_FINE_MINUS   0x94

Definition at line 68 of file config.h.

#define CMD_FEED_OVR_FINE_PLUS   0x93

Definition at line 67 of file config.h.

#define CMD_FEED_OVR_RESET   0x90

Restores feed override value to 100%.

Definition at line 64 of file config.h.

#define CMD_JOG_CANCEL   0x85

Definition at line 62 of file config.h.

#define CMD_RAPID_OVR_LOW   0x97

Definition at line 71 of file config.h.

#define CMD_RAPID_OVR_MEDIUM   0x96

Definition at line 70 of file config.h.

#define CMD_RAPID_OVR_RESET   0x95

Restores rapid override value to 100%.

Definition at line 69 of file config.h.

#define CMD_RESET   0x18

Define realtime command special characters. These characters are 'picked-off' directly from the.

NOTE: If changed, manually update help message in report.c. ctrl-x.

Definition at line 48 of file config.h.

#define CMD_SAFETY_DOOR   0x84

NOTE: All override realtime commands must be in the extended ASCII character set, starting.

Definition at line 61 of file config.h.

#define CMD_SPINDLE_OVR_COARSE_MINUS   0x9B

Definition at line 75 of file config.h.

#define CMD_SPINDLE_OVR_COARSE_PLUS   0x9A

Definition at line 74 of file config.h.

#define CMD_SPINDLE_OVR_FINE_MINUS   0x9D

Definition at line 77 of file config.h.

#define CMD_SPINDLE_OVR_FINE_PLUS   0x9C

Definition at line 76 of file config.h.

#define CMD_SPINDLE_OVR_RESET   0x99

Restores spindle override value to 100%.

Definition at line 73 of file config.h.

#define CMD_SPINDLE_OVR_STOP   0x9E

Definition at line 78 of file config.h.

#define CMD_STATUS_REPORT   '?'

Definition at line 49 of file config.h.

#define CPU_MAP_2560_INITIAL

Definition at line 36 of file config.h.

#define DEFAULT_FEED_OVERRIDE   100


Enables code for debugging purposes. Not for general use and always in constant flux. Configure rapid, feed, and spindle override settings. These values define the max and min 100%. Don't change this value.

Definition at line 210 of file config.h.

#define DEFAULT_RAPID_OVERRIDE   100

100%. Don't change this value.

Definition at line 216 of file config.h.

#define DEFAULT_SPINDLE_SPEED_OVERRIDE   100

100%. Don't change this value.

Definition at line 221 of file config.h.

#define DEFAULTS_GENERIC

This file contains compile-time configurations for Grbl's internal system. For the most part,.

IMPORTANT: Any changes here requires a full re-compiling of the source code to propagate them. Define CPU pin map and default settings. NOTE: OEMs can avoid the need to maintain/update the defaults.h and cpu_map.h files and use only

Definition at line 35 of file config.h.

#define DISABLE_LASER_DURING_HOLD

This option will automatically disable the laser during a feed hold by invoking a spindle stop.

Default enabled. Comment to disable.

Definition at line 534 of file config.h.

#define DWELL_TIME_STEP   50

Time delay increments performed during a dwell. The default value is set at 50ms, which provides.

Integer (1-255) (milliseconds)

Definition at line 352 of file config.h.

#define ENABLE_BUILD_INFO_WRITE_COMMAND

Defines the EEPROM data restored upon a settings version change and $RST=* command. Whenever the.

NOTE: Uncomment to override defaults in settings.h Enable the '$I=(string)' build info write command. If disabled, any existing build info data must NOTE: If disabled and to ensure Grbl can never alter the build info line, you'll also need to enable NOTE: See the included grblWrite_BuildInfo.ino example file to write this string seperately. '$I=' Default enabled. Comment to disable.

Definition at line 469 of file config.h.

#define ENABLE_RESTORE_EEPROM_CLEAR_PARAMETERS

'$RST=#' Default enabled.

Comment to disable.

Definition at line 451 of file config.h.

#define ENABLE_RESTORE_EEPROM_DEFAULT_SETTINGS

'$RST=$' Default enabled. Comment to disable.

Definition at line 450 of file config.h.

#define ENABLE_RESTORE_EEPROM_WIPE_ALL

Creates a delay between the direction pin setting and corresponding step pulse by creating.

NOTE: Uncomment to enable. The recommended delay must be > 3us, and, when added with the The number of linear motions in the planner buffer to be planned at any give time. The vast Governs the size of the intermediary step segment buffer between the step execution algorithm Line buffer size from the serial input stream to be executed. Also, governs the size of NOTE: 80 characters is not a problem except for extreme cases, but the line buffer size NOTE: Buffer size values must be greater than zero and less than 256. The maximum line length of a data string stored in EEPROM. Used by startup lines and build NOTE: Be very careful when changing this value. Check EEPROM address locations to make sure A simple software debouncing feature for hard limit switches. When enabled, the interrupt Configures the position after a probing cycle during Grbl's check mode. Disabled sets Force Grbl to check the state of the hard limit switches when the processor detects a pin NOTE: This option has no effect if SOFTWARE_DEBOUNCE is enabled. Adjusts homing cycle search and locate scalars. These are the multipliers used by Grbl's NOTE: Both of these values must be greater than 1.0 to ensure proper function. Enable the '$RST=*', '$RST=$', and '$RST=#' eeprom restore commands. There are cases where NOTE: See SETTINGS_RESTORE_ALL macro for customizing the $RST=* command. '$RST=*' Default enabled. Comment to disable.

Definition at line 449 of file config.h.

#define FEED_OVERRIDE_COARSE_INCREMENT   10

(1-99). Usually 10%.

Definition at line 213 of file config.h.

#define FEED_OVERRIDE_FINE_INCREMENT   1

(1-99). Usually 1%.

Definition at line 214 of file config.h.

#define FORCE_BUFFER_SYNC_DURING_EEPROM_WRITE

AVR processors require all interrupts to be disabled during an EEPROM write. This includes both.

NOTE: Most EEPROM write commands are implicitly blocked during a job (all '$' commands). However, Default enabled. Comment to disable.

Definition at line 483 of file config.h.

#define FORCE_BUFFER_SYNC_DURING_WCO_CHANGE

In Grbl v0.9 and prior, there is an old outstanding bug where the WPos: work position reported.

Default enabled. Comment to disable.

Definition at line 490 of file config.h.

#define HOMING_CYCLE_0   (1<<Z_AXIS)

Define the homing cycle patterns with bitmasks. The homing cycle first performs a search mode.

NOTE: The homing cycle is designed to allow sharing of limit pins, if the axes are not in the same NOTE: Defaults are set for a traditional 3-axis CNC machine. Z-axis first to clear, followed by X & Y. REQUIRED: First move Z to clear workspace.

Definition at line 102 of file config.h.

#define HOMING_CYCLE_1   ((1<<X_AXIS)|(1<<Y_AXIS))

OPTIONAL: Then move X,Y at the same time.

Definition at line 103 of file config.h.

#define HOMING_INIT_LOCK

If homing is enabled, homing init lock sets Grbl into an alarm state upon power up. This forces.

Comment to disable

Definition at line 84 of file config.h.

#define MAX_FEED_RATE_OVERRIDE   200

Percent of programmed feed rate (100-255). Usually 120% or 200%.

Definition at line 211 of file config.h.

#define MAX_SPINDLE_SPEED_OVERRIDE   200

Percent of programmed spindle speed (100-255). Usually 200%.

Definition at line 222 of file config.h.

#define MESSAGE_PROBE_COORDINATES

If your machine has two limits switches wired in parallel to one axis, you will need to enable.

Upon a successful probe cycle, this option provides immediately feedback of the probe coordinates Enabled by default. Comment to disable.

Definition at line 150 of file config.h.

#define MIN_FEED_RATE_OVERRIDE   10

Percent of programmed feed rate (1-100). Usually 50% or 1%.

Definition at line 212 of file config.h.

#define MIN_SPINDLE_SPEED_OVERRIDE   10

Percent of programmed spindle speed (1-100). Usually 10%.

Definition at line 223 of file config.h.

#define MINIMUM_FEED_RATE   1.0

Sets the minimum feed rate the planner will allow. Any value below it will be set to this minimum.

(mm/min)

Definition at line 331 of file config.h.

#define MINIMUM_JUNCTION_SPEED   0.0

Used by variable spindle output only. This forces the PWM output to a minimum duty cycle when enabled.

NOTE: Compute duty cycle at the minimum PWM by this equation: (% duty cycle)=(SPINDLE_PWM_MIN_VALUE/255)*100 With this enabled, Grbl sends back an echo of the line it has received, which has been pre-parsed (spaces NOTE: Only use this for debugging purposes!! When echoing, this takes up valuable resources and can effect Minimum planner junction speed. Sets the default minimum junction speed the planner plans to at (mm/min)

Definition at line 326 of file config.h.

#define N_ARC_CORRECTION   12

Number of arc generation iterations by small angle approximation before exact arc trajectory.

Integer (1-255)

Definition at line 336 of file config.h.

#define N_DECIMAL_COORDVALUE_INCH   4

Number of floating decimal points printed by Grbl for certain value types. These settings are.

NOTE: Must be an integer value from 0 to ~4. More than 4 may exhibit round-off errors. Coordinate or position value in inches

Definition at line 134 of file config.h.

#define N_DECIMAL_COORDVALUE_MM   3

Coordinate or position value in mm.

Definition at line 135 of file config.h.

#define N_DECIMAL_RATEVALUE_INCH   1

Rate or velocity value in in/min.

Definition at line 136 of file config.h.

#define N_DECIMAL_RATEVALUE_MM   0

Rate or velocity value in mm/min.

Definition at line 137 of file config.h.

#define N_DECIMAL_RPMVALUE   0

RPM value in rotations per min.

Definition at line 139 of file config.h.

#define N_DECIMAL_SETTINGVALUE   3

Decimals for floating point setting values.

Definition at line 138 of file config.h.

#define N_HOMING_LOCATE_CYCLE   1

NOTE: The following are two examples to setup homing for 2-axis machines.

#define HOMING_CYCLE_0 (1<<X_AXIS) //!< COREXY COMPATIBLE: First home X Number of homing cycles performed after when the machine initially jogs to limit switches. Integer (1-128)

Definition at line 113 of file config.h.

#define N_STARTUP_LINE   2

Enables single axis homing commands. $HX, $HY, and $HZ for X, Y, and Z-axis homing. The full homing.

After homing, Grbl will set by default the entire machine space into negative space, as is typical Number of blocks Grbl executes upon startup. These blocks are stored in EEPROM, where the size Integer (1-2)

Definition at line 127 of file config.h.

#define PARKING_AXIS   Z_AXIS

By default, Grbl disables feed rate overrides for all G38.x probe cycle commands. Although this.

Enables and configures parking motion methods upon a safety door state. Primarily for OEMs NOTE: Still a work-in-progress. Machine coordinates must be in all negative space and Configure options for the parking motion, if enabled. Define which axis that performs the parking motion

Definition at line 513 of file config.h.

#define PARKING_PULLOUT_INCREMENT   5.0

Spindle pull-out and plunge distance in mm. Incremental distance.

Definition at line 517 of file config.h.

#define PARKING_PULLOUT_RATE   100.0

Pull-out/plunge slow feed rate in mm/min.

Definition at line 516 of file config.h.

#define PARKING_RATE   500.0

Parking fast rate after pull-out in mm/min.

Definition at line 515 of file config.h.

#define PARKING_TARGET   -5.0

Parking axis target. In mm, as machine coordinate [-max_travel,0].

Definition at line 514 of file config.h.

#define RAPID_OVERRIDE_LOW   25

Percent of rapid (1-99). Usually 25%.

Definition at line 218 of file config.h.

#define RAPID_OVERRIDE_MEDIUM   50

Percent of rapid (1-99). Usually 50%.

Definition at line 217 of file config.h.

#define REPORT_FIELD_BUFFER_STATE

The status report change for Grbl v1.1 and after also removed the ability to disable/enable most data.

NOTE: The options below are here only provide a way to disable certain data fields if a unique Default enabled. Comment to disable.

Definition at line 237 of file config.h.

#define REPORT_FIELD_CURRENT_FEED_SPEED

Default enabled. Comment to disable.

Definition at line 239 of file config.h.

#define REPORT_FIELD_LINE_NUMBERS

Default enabled.

Comment to disable.

Definition at line 242 of file config.h.

#define REPORT_FIELD_OVERRIDES

Default enabled. Comment to disable.

Definition at line 241 of file config.h.

#define REPORT_FIELD_PIN_STATE

Default enabled. Comment to disable.

Definition at line 238 of file config.h.

#define REPORT_FIELD_WORK_COORD_OFFSET

Default enabled. Comment to disable.

Definition at line 240 of file config.h.

#define REPORT_OVR_REFRESH_BUSY_COUNT   20

Some status report data isn't necessary for realtime, only intermittently, because the values don't.

NOTE: WCO refresh must be 2 or greater. OVR refresh must be 1 or greater. (1-255)

Definition at line 253 of file config.h.

#define REPORT_OVR_REFRESH_IDLE_COUNT   10

(1-255) Must be less than or equal to the busy count

Definition at line 254 of file config.h.

#define REPORT_WCO_REFRESH_BUSY_COUNT   30

(2-255)

Definition at line 255 of file config.h.

#define REPORT_WCO_REFRESH_IDLE_COUNT   10

(2-255) Must be less than or equal to the busy count

Definition at line 256 of file config.h.

#define RESTORE_OVERRIDES_AFTER_PROGRAM_END

When a M2 or M30 program end command is executed, most g-code states are restored to their defaults.

Default enabled. Comment to disable.

Definition at line 229 of file config.h.

#define SAFETY_DOOR_COOLANT_DELAY   1.0

Float (seconds)

Definition at line 159 of file config.h.

#define SAFETY_DOOR_SPINDLE_DELAY   4.0

This option causes the feed hold input to act as a safety door switch. A safety door, when triggered,.

After the safety door switch has been toggled and restored, this setting sets the power-up delay Float (seconds)

Definition at line 158 of file config.h.

#define SLEEP_DURATION   5.0

Enables and configures Grbl's sleep mode feature. If the spindle or coolant are powered and Grbl.

NOTE: Sleep mode is a safety feature, primarily to address communication disconnect problems. To Float (0.25 - 61.0) seconds before sleep mode is executed.

Definition at line 529 of file config.h.

#define SPINDLE_OVERRIDE_COARSE_INCREMENT   10

(1-99). Usually 10%.

Definition at line 224 of file config.h.

#define SPINDLE_OVERRIDE_FINE_INCREMENT   1

(1-99).

Usually 1%.

Definition at line 225 of file config.h.

#define TOOL_LENGTH_OFFSET_AXIS   Z_AXIS

Sets the maximum step rate allowed to be written as a Grbl setting. This option enables an error.

NOTE: For now disabled, will enable if flash space permits. By default, Grbl sets all input pins to normal-high operation with their internal pull-up resistors NOTE: All pins associated with the feature are disabled, i.e. XYZ limit pins, not individual axes. Sets which axis the tool length offset is applied. Assumes the spindle is always parallel with Default z-axis. Valid values are X_AXIS, Y_AXIS, or Z_AXIS.

Definition at line 299 of file config.h.