Error m280 invalid servo index 3 in m280 command



  • Error m280 invalid servo index 3 in m280 command
    set servo position ??
    changed some setting to accommodate a new ballscrew pitch (10 Instead of 5)
    not sure whats up or what this means where can i look for an answer
    as to why i have this conflict.. maybe because i need to make additional
    changer in my other files besides config/G


  • Moderator

    Do you have a BLTouch?
    Do you have a deployprobe.g and retractprobe.g file in /sys?

    When does this error happen?
    What did you change?



  • no bl touch but was in the system logs at one point you had suggested earlier to dump M307
    so I dumped this line M307 H3 A-1 C-1 D-1 ...... just deleted it in its entirety

    also changed the stepper out to a larger one 2.1A so changed current setting from 1050 to 1200 where should i put this for that load? i have no idea!! 😬

    also changed m 350 from 640 to 320 to accommodate the pitch change on " Y" only

    im sure that there are several mistakes in the coding seeings im still learning so any suggestions are appreciated 😁

    here is my configg for ref.
    let me know if you would like to see the other files too

    ; Configuration file for Duet WiFi (firmware version 1.21)
    ; executed by the firmware on start-up
    ;
    ; generated by RepRapFirmware Configuration Tool on Thu Sep 06 2018 21:21:12 GMT-0700 (Pacific Daylight Time)

    ; General preferences
    G90 ; Send absolute coordinates...
    M83 ; ...but relative extruder moves

    ; Network
    M550 Pe3 ; Set machine name
    M552 S1 ; Enable network
    ;*** Access point is configured manually via M587
    M586 P0 S1 ; Enable HTTP
    M586 P1 S0 ; Disable FTP
    M586 P2 S0 ; Disable Telnet

    ; Drives
    M569 P0 S0 ; Drive 0 goes forward
    M569 P1 S0 ; Drive 1 goes backwards
    M569 P2 S1 ; Drive 2 goes forwards
    M569 P3 S0 ; Drive 3 goes backwards

    M569 P3 S1 ; Drive 3 (Extruder 0) goes backwards

    M350 X16 Y16 Z16 E16 I1 ; Configure microstepping with interpolation
    ; M92 X79.7 Y320 Z400.4 E96 ; Set steps per mm
    M92 X79.2 Y640 Z400.5 E96 ; Set steps per mm

    M566 X600 Y500 Z24 E300 ; Set maximum instantaneous speed changes (mm/min)
    M203 X30000 Y500 Z300 E1500 ; Set maximum speeds (mm/min)
    M201 X300 Y300 Z300 E5000 ; Set accelerations (mm/s^2) was 500 you changed it to 300 for stall guard
    M906 x950 Y1200 Z850 E950 I30 ; Set motor currents (mA) and motor idle factor in per cent
    M84 S300 ; Set idle timeout

    ; Axis Limits
    ; M208 X-5.5 Y-10 Z0 S1 ; Set axis minima
    ; M208 X495 Y495 Z460 S0 ; Set axis maxima

    M208 X0 Y0 Z0 S1 ; Set axis minima
    M208 X500 Y500 Z500 S0 ; Set axis maxima

    ; Endstops
    M574 X1 Y1 Z1 S1 ; Set endstops controlled by sw. x controlled by capasitive sensor

    ; Z-Probe
    ; M558 P5 H5 F100 T2000 ; Set Z probe type to capasitive and the dive height + speeds
    M558 P9 H5 F100 T4000 ; Set Z probe type to bltouch and the dive height + speeds
    G31 P500 X-42 Y-5 Z1.35 ; Set Z probe trigger value, offset and trigger height - is Nozzle hoger

    M557 X15:215 Y35:215 S20 ; Define mesh grid

    ; Heaters
    M305 P0 T100000 B4138 R4700 ; Set thermistor + ADC parameters for heater 0
    M143 H0 S120 ; Set temperature limit for heater 0 to 80C
    M305 P1 T100000 B4400 R4700 ; Set thermistor + ADC parameters for heater 1
    M143 H1 S280 ; Set temperature limit for heater 1 to 240C

    ; M307 H1 A245.3, C121.7, D4.0, S0.5 ; PID

    ; Fans
    ; M106 P0 S1 I0 F500 H T45 ; Set fan 0 value, PWM signal inversion and frequency. Thermostatic control is turned on
    ; M106 P1 S0 I0 F500 H-1 ; Set fan 1 value, PWM signal inversion and frequency. Thermostatic control is turned off

    M106 P0 S0 I0 F500 H-1 ; Set fan 0 value, PWM signal inversion and frequency. Thermostatic control is turned off
    M106 P1 S1 I0 F500 H1 T45 ; Set fan 1 value, PWM signal inversion and frequency. Thermostatic control is turned on

    ; Tools
    M563 P0 D0 H1 ; 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 saving after power loss is not enabled
    ; Custom settings are not configured
    ; Enable Bed Leveling
    G29 S1 ; Enable Mesh Bed Leveling



  • the error happens when i home


  • Moderator

    @ziggymanpopo said in Error m280 invalid servo index 3 in m280 command:

    so I dumped this line M307 H3 A-1 C-1 D-1 ...... just deleted it in its entirety

    Well you're still configured as if you have a BLtouch

    M558 P9 H5 F100 T4000 ; Set Z probe type to bltouch and the dive height + speeds
    G31 P500 X-42 Y-5 Z1.35 ; Set Z probe trigger value, offset and trigger height - is Nozzle hoger
    

    and without that M307 the servo pin hasn't been freed.

    Do you have a BLTouch or not?

    The error during homing is probably when the deployprobe macro is called to probe the bed. It fails because the heater pin hasn't been freed to act as the servo pin.



  • no i do not it it inductive and works fine
    if i might explain the file i loaded on the dwc was for an other printer (cr-10) with a bl toutch,, good way to learn how all this work but a real challenge,
    couldnt get the file generator to work so tech support gave me this file to install hence forth all the changes it got it working but with a host of changes and errors i do apologize



  • im sure this will help

    ; homeall.g

    G91 ; relative positioning
    M98 Pdeployprobe.g ; deploy mechanical Z probe
    M400 ; make sure everything has stopped before we make changes
    G1 S2 Z10 F1200 ; lift Z
    G1 S1 X-495 Y-600 F6000 ; move X and Y back, stopping at the end stop
    M400 ; make sure everything has stopped
    G90 ; back to absolute mode
    ;G1 X115 Y115 F12000 ; Move to center of bed and home Z
    G1 X127 Y134 F6000 ; go to first bed probe point and home Z
    G30 ; home Z by probing the bed
    M98 Pretractprobe.g ; retract mechanical Z probe


  • Moderator

    @ziggymanpopo said in Error m280 invalid servo index 3 in m280 command:

    M98 Pdeployprobe.g ; deploy mechanical Z probe
    M98 Pretractprobe.g ; retract mechanical Z probe

    If you don't use a BLTouch on this printer you should delete those lines from homeall and homez if they are there.

    Delete the deployprobe.g and retractprobe.g files from /sys folder if they are there.

    And change your M558 command in config.g to match your inductive probe



  • once again thank you.... That got it.
    ....... You guys Rock 🙂


Log in to reply