Error bug S parameter on G1 command.
-
I've upgraded the firmware and compiled a new files with configurator tool.
Now my machine won't home any axis and I'm getting these errors. From what I've seen this is a bug?
Here's a sampleG28 X
Warning: Obsolete use of S parameter on G1 command. Use H parameter instead.
Warning: Obsolete use of S parameter on G1 command. Use H parameter instead.
Error: Failed to enable endstops; homex.g
; called to home the X axis
;
; generated by RepRapFirmware Configuration Tool v3.3.15 on Fri Jan 27 2023 18:39:44 GMT-0800 (Pacific Standard Time)
G91 ; relative positioning
G1 H2 Z5 F6000 ; lift Z relative to current position
G1 H1 X-240 F1800 ; move quickly to X axis endstop and stop there (first pass)
G1 H2 X5 F6000 ; go back a few mm
G1 H1 X-240 F360 ; move slowly to X axis endstop once more (second pass)
G1 H2 Z-5 F6000 ; lower Z again
G90 ; absolute positioningSuggestions?
-
@Flynbrd G1 uses H not S in RRF 3. See https://docs.duet3d.com/User_manual/Reference/Gcodes#g0g1-h-and-s-parameter
Are you sure you have replaced the homex.g in the sys folder with the above code? It would seem to be running something else.
Ian
-
@Flynbrd the warnings won't prevent homing but the "Failed to enable endstops" will. Post your config.g file and your other homing files including homeall.g.
-
Also please post the results of M122 so we can verify that the firmware has actually been applied.
Also post the results of M98 P"config.g" to check your config for syntax errors.