Error: M280: Invalid servo index 0 in M280 command
-
Hi Me again.
Thanks again for your selfless help.
Long story short. When starting my print the printers is doing two things that i cannot find reason for.
Firstly it does a mesh grid leveling at the start of each print (not such a big deal) but it throws up two errors, Reading from bottom up:Error: M280: Invalid servo index 0 in M280 command
Warning: M420 command is not supported
12:35:16 PM
T0:30.4 /215.0 B:59.0 /60.0
12:34:16 PM
M32 "TBW_25mm Test cube 1mm wall thickness.gcode"
File TBW_25mm Test cube 1mm wall thickness.gcode selected for printing
T0:30.4 /0.0 B:47.5 /60.0It still prints fine, really well in fact. I cant see where these commands are. How can i track them and get rid of this problem. I'm almost finished with tuning this so i just want to get it 100%
; Configuration file for Duet WiFi (firmware version 1.21)
; executed by the firmware on start-up; generated by RepRapFirmware Configuration Tool on Mon Dec 24 2018 18:36:17 GMT+0200 (South Africa Standard Time)
; General preferences
G90 ; Send absolute coordinates...
M83 ; ...but relative extruder moves; Network
; M550 P"TEVO BLACK WIDOW"
M550 P"PETERS TEVO BLACK WIDOW" ; Set machine name
;M552 S2 ; Enable Network in Acess mode
M552 S1 ; Enable network In Normal WiFi Mode
;M589 S"TEVOBWDO" P"POIUYTRE" I10.5.0.19 ; Configure access point. You can delete this line once connected
;M587 S"Tech5_753CE0_EXT" P"landeach108" ; Configure access point. You can delete this line once connected
M586 P0 S1 ; Enable HTTP
M586 P1 S0 ; Disable FTP
M586 P2 S0 ; Disable Telnet; Drives
M569 P0 S1 ; Drive 0 goes forwards
M569 P1 S0 ; Drive 1 goes backwards
M569 P2 S0 ; Drive 2 goes backwards
M569 P3 S1 ; Drive 3 goes forwards
M350 X16 Y16 Z16 E16 I1 ; Configure micro stepping with interpolation
M92 X80 Y80 Z1600 E426.9 ; Set steps per mm
M566 X700 Y700 Z12 E10 ; Set maximum instantaneous speed changes (mm/min)
M203 X2000 Y2000 Z500 E1200 ; Set maximum speeds (mm/min)
M201 X500 Y500 Z300 E200 ; Set accelerations (mm/s^2)
M906 X1050 Y1050 Z1000 E1050 I30 ; Set motor currents (mA) and motor idle factor in per cent
M84 S10 ; Set idle timeout; Axis Limits
M208 X0 Y0 Z0 S1 ; Set axis minima
M208 X330 Y230 Z270 S0 ; Set axis maxima; Endstops
M574 X1 Y1 S0 ; Set active low end stops
M574 Z1 S2 ; Z end stop is probe at low valueSet not an endstop; Z-Probe Precision Piezo
M558 P8 R0.4 I1 H5 F360 T6000 ; Set Z probe type to inverted, unfiltered piezo and the dive height + speeds
G31 P500 X0 Y0 Z-0.2 ; Set Z probe trigger value, offset and trigger height
M557 X5:310 Y5:245 P14 ; Define mesh grid; Heaters
M307 H1 A285.5 C85.1 D3.6 V24.1 B0
M307 H0 A94.6 C545.4 D2.5 S1.00 V24.1 B0
M305 P0 T100000 B4138 C0 R4700 ; Set thermistor + ADC parameters for heater 0
M143 H0 S120 ; Set temperature limit for heater 0 to 120C
M305 P1 T100000 B4138 C0 R4700 ; Set thermistor + ADC parameters for heater 1
M143 H1 S290 ; Set temperature limit for heater 1 to 290C; Fans
M106 P0 S255 I0 F500 L1.0 H1 T20:22 ; Set fan 0 value, PWM signal inversion and frequency. Thermostatic control is turned on
M106 P1 S255 I0 F500 C"Filament Fan" H-1 ; Set fan 1 value, PWM signal inversion and frequency. Thermostatic control is turned off
;M106 P3 S255 I0 F500; Tools
M563 P0 D0 H1 F1 ; Define tool 0
G10 P0 X0 Y0 Z0 ; Set tool 0 axis offsets
G10 P0 R0 S0 ; Set initial tool 0 active and standby temperatures to 0C; Automatic power saving
M911 S21.0 R23.0 P"M913 X0 Y0 G91 M83 G1 Z0 E-5 F1000" ; Set voltage thresholds and actions to run on power loss
M501; Custom settings are not configured
Incase here is my config.g -
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.