HOMING ERROR
-
I'm commissioning a CR-10S S4 that I recently dropped a Duet Wifi V2 into. I get the following error when homing. "Error: in file macro line 9 column 8: G1: expected number after 'Y'". I searched thru all the system folders along with my config.g, homeall, homex and homey files but can't seem to find how to fix it. Hopefully someone can help me out. Thanks
-
@GBusy24 said in HOMING ERROR:
I get the following error when homing. "Error: in file macro line 9 column 8: G1: expected number after 'Y'". I searched thru all the system folders along with my config.g, homeall, homex and homey files but can't seem to find how to fix it.
Don’t know how many macros you heed, especially those with 9 or more lines and a
G1
Gcode in its line #9…Well, you have two options, one of them is the method described above: look for a
G1
in line 9, then, look if the numeric value from the Y parameter is missing.The other method is to apply simple logic: which macros are called on homing? Narrow that down by homing one axis at a time: do you get the error when you home X, Y or Z?
If you are not sure which macros are called, run the homing macros from the command line, e.g.
M98 P"homex.g"
.Now, you should be almost spot-on, apart from the case in which a macro invokes another macro - this might for instance happen in homeall.g …
Well, reading a macro reveals these
M98
calls - so, you have to inspect these macros, too, for aG1
in line 9, missing the numeric value from the Y parameter. -
@infiniteloop Thanks, I will give those methods a try.
-
@infiniteloop Found it. I somehow had an equal sign(=) between Y and a number in my homeall.g.
-
-
-