Error: M280: Invalid servo index 0 in M280 command
-
What kind of z probe do you have? What's in your deployprobe.g and retractprobe.g files?
-
Hi,
Well for starters there is no M420 command listed in the Duet Gcode docs so check your files for where it is being used.
Frederick
-
@oliof i have a Precision Piezo. I also dont have any deployprobe.g or retractprobe.g files.
-
@fcwilt
Yes thanks. Umm as you can see its not in the config file so I dont know where to look for it, or how.
Is there a way i could search for it? -
Could these commands be coming from my slicer? There arnt any start up or end gcodes but?
-
@PeterA said in Error: M280: Invalid servo index 0 in M280 command:
@fcwilt
Yes thanks. Umm as you can see its not in the config file so I dont know where to look for it, or how.
Is there a way i could search for it?Did you check all of the other files that are in the same directory as config.g, such as homeX.g?
Frederick
-
I forgot a couple of things:
What version of firmware are you using?
Does the slicer profile specify the use of M420?
Frederick
-
Yes thanks. Ive looked at the other files but cant see anything. I have no idea.
Firmware Name: RepRapFirmware for Duet 2 WiFi/Ethernet
Firmware Electronics: Duet WiFi 1.02 or later
Firmware Version: 2.03RC4 (2019-05-29b4)
WiFi Server Version: 1.23
Web Interface Version: 1.21.2-dc42
Web Interface by Christian Hammacher
Licensed under the terms of the GPL v3; homex.g
; called to home the X axis
;
; generated by RepRapFirmware Configuration Tool on Mon Dec 24 2018 18:36:17 GMT+0200 (South Africa Standard Time)
G91 ; relative positioning
G1 Z2 F1000 S2 ; lift Z relative to current position
G1 S1 X-340 F2000 ; move quickly to X axis endstop and stop there (first pass)
G1 X5 F2000 ; go back a few mm
G1 S1 X-340 F360 ; move slowly to X axis endstop once more (second pass)
;G1 Z-2 F1000 S2 ; lower Z again
G90 ; absolute positioning -
What slicer are you using?
Various slicers have the ability to specify to use/not user certain gcode commands.
Frederick
-
@fcwilt Cura
Can see any extra codes? -
Hi,
Zip up the gcode file you are trying to print and post it here.
It would seem to be the only place left to look.
Frederick
-
Sure thank you.
TBW_overboost wheels draft.cad
Just rename the file extension from cad to zip -
@PeterA ok I see it in the compiled gcode from cura.
M280 P0 S160 ; release BLTouch alarm (OK to send for Non BLTouch)
M420 Z2 ; set fade leveling at 2mm for BLTouch (OK to send for Non BLTouch)
G28 ; home all
G29 ; probe bedNow to find the file in cura and delete that, cause its not in the start up gcode box
-
thank you for your help
-
I would think that somewhere in Cura there are settings you can change to control the generation of those bits of gcode.
What version of Cura are you using?
Frederick
-
@fcwilt its 4.3.0
-
Do you have your cura settings properly set up to generate reprap code? It’s looking like marlin output. Check your main settings in cura.
-
@Nuramori said in Error: M280: Invalid servo index 0 in M280 command:
Do you have your cura settings properly set up to generate reprap code? It’s looking like marlin output. Check your main settings in cura.
sorry been hecktic busy. Thank you for your advice. I will try see what my Cura is set up to use.