Project

General

Profile

GRBL » History » Version 3

Frédéric Blanc, 2022-02-23 10:12

1 1 Frédéric Blanc
h1. GRBL
2
3
https://github.com/gnea/grbl/wiki
4
wiki grbl
5 2 Frédéric Blanc
6
h2. Error
7
8
|ID 	|Error Code Description|
9
|1 |	G-code words consist of a letter and a value. Letter was not found.|
10
|2| 	Numeric value format is not valid or missing an expected value.|
11
|3| 	Grbl '$' system command was not recognized or supported.|
12
|4| 	Negative value received for an expected positive value.|
13
|5| 	Homing cycle is not enabled via settings.|
14
|6| 	Minimum step pulse time must be greater than 3usec|
15
|7| 	EEPROM read failed. Reset and restored to default values.|
16
|8| 	Grbl '$' command cannot be used unless Grbl is IDLE. Ensures smooth operation during a job.|
17
|9| 	G-code locked out during alarm or jog state|
18
|10| 	Soft limits cannot be enabled without homing also enabled.|
19
|11| 	Max characters per line exceeded. Line was not processed and executed.|
20
|12| 	(Compile Option) Grbl '$' setting value exceeds the maximum step rate supported.|
21
|13| 	Safety door detected as opened and door state initiated.|
22
|14| 	(Grbl-Mega Only) Build info or startup line exceeded EEPROM line length limit.|
23
|15| 	Jog target exceeds machine travel. Command ignored.|
24
|16| 	Jog command with no '=' or contains prohibited g-code.|
25
|17| 	Laser mode requires PWM output.|
26
|20|	Unsupported or invalid g-code command found in block.|
27
|21| 	More than one g-code command from same modal group found in block.|
28
|22| 	Feed rate has not yet been set or is undefined.|
29
|23| 	G-code command in block requires an integer value.|
30
|24| 	Two G-code commands that both require the use of the XYZ axis words were detected in the block.|
31
|25| 	A G-code word was repeated in the block.|
32
|26| 	A G-code command implicitly or explicitly requires XYZ axis words in the block, but none were detected.|
33
|27| 	N line number value is not within the valid range of 1 - 9,999,999.|
34
|28| 	A G-code command was sent, but is missing some required P or L value words in the line.|
35
|29|	Grbl supports six work coordinate systems G54-G59. G59.1, G59.2, and G59.3 are not supported.|
36
|30| 	The G53 G-code command requires either a G0 seek or G1 feed motion mode to be active. A different motion was active.|
37
|31| 	There are unused axis words in the block and G80 motion mode cancel is active.|
38
|32| 	A G2 or G3 arc was commanded but there are no XYZ axis words in the selected plane to trace the arc.|
39
|33| 	The motion command has an invalid target. G2, G3, and G38.2 generates this error, if the arc is impossible to generate or if the probe target is the current position.|
40
|34| 	A G2 or G3 arc, traced with the radius definition, had a mathematical error when computing the arc geometry. Try either breaking up the arc into semi-circles or quadrants, or redefine them with the arc offset definition.|
41
|35|	A G2 or G3 arc, traced with the offset definition, is missing the IJK offset word in the selected plane to trace the arc.|
42
|36| 	There are unused, leftover G-code words that aren't used by any command in the block.|
43
|37|	The G43.1 dynamic tool length offset command cannot apply an offset to an axis other than its configured axis. The Grbl default axis is the Z-axis.|
44
|38| 	Tool number greater than max supported value.|
45 3 Frédéric Blanc
46
h2. Alarm
47
48
|ID| 	Alarm Code Description|
49
|1| 	Hard limit triggered. Machine position is likely lost due to sudden and immediate halt. Re-homing is highly recommended.|
50
|2| 	G-code motion target exceeds machine travel. Machine position safely retained. Alarm may be unlocked.|
51
|3| 	Reset while in motion. Grbl cannot guarantee position. Lost steps are likely. Re-homing is highly recommended.|
52
|4| 	Probe fail. The probe is not in the expected initial state before starting probe cycle, where G38.2 and G38.3 is not triggered and G38.4 and G38.5 is triggered.|
53
|5| 	Probe fail. Probe did not contact the workpiece within the programmed travel for G38.2 and G38.4.|
54
|6| 	Homing fail. Reset during active homing cycle.|
55
|7| 	Homing fail. Safety door was opened during active homing cycle.|
56
|8| 	Homing fail. Cycle failed to clear limit switch when pulling off. Try increasing pull-off setting or check wiring.|
57
|9| 	Homing fail. Could not find limit switch within search distance. Defined as 1.5 * max_travel on search and 5 * pulloff on locate phases.|
58
|10| 	Homing fail. On dual axis machines, could not find the second limit switch for self-squaring.|