• Tags
  • Documentation
  • Order
  • Register
  • Login
Duet3D Logo Duet3D
  • Tags
  • Documentation
  • Order
  • Register
  • Login

M280 Invalid Servo Index 0 in M280 Command

Scheduled Pinned Locked Moved
General Discussion
2
5
331
Loading More Posts
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • undefined
    Shanian79
    last edited by 17 Dec 2020, 16:35

    I'm getting this error when homing. It was working fine before. Yesterday I set it up to do sensorless endstops for X Y, and it started with this error. I returned all of my sys files back to the original and it was still happening. I reloaded all the firmware and all new sys files...and its still happening.

    I checked the wiring, its all correct, BL touch does its usual pin cycle on powerup. Any help would be greatly appreciated. Here is my current config settings.

    M280 P0 S10 ; deploy BLTouch
    M280 P0 S90 ; retract BLTouch

    ; General preferences
    G90 ; send absolute coordinates...
    M83 ; ...but relative extruder moves
    M550 P"HYPE" ; set printer name

    ; Network
    M552 S1 ; enable network
    M586 P0 S1 ; enable HTTP
    M586 P1 S0 ; disable FTP
    M586 P2 S0 ; disable Telnet

    ; Drives
    M569 P0 S0 ; physical drive 0 goes backwards
    M569 P1 S0 ; physical drive 1 goes backwards
    M569 P2 S1 ; physical drive 2 goes forwards
    M569 P3 S0 ; physical drive 3 goes forwards
    M584 X0 Y1 Z2 E3 ; set drive mapping

    M350 X32 Y32 Z32 E16 I1 ; configure microstepping with interpolation
    M92 X160.00 Y160.00 Z800.00 E415.00 ; set steps per mm
    M566 X300.00 Y300.00 Z24.00 E300.00 ; set maximum instantaneous
    M203 X6000.00 Y6000.00 Z180.00 E6000.00 ; set maximum speeds (mm/min)
    M201 X400.00 Y400.00 Z100.00 E5000.00 ; set accelerations (mm/s^2)
    M906 X800 Y800 Z800 E1000 I50 ; set motor currents (mA) and
    M84 S30 ; Set idle timeout

    ; Axis Limits
    M208 X0 Y0 Z0 S1 ; set axis minima
    M208 X180 Y180 Z130 S0 ; set axis maxima

    ; Endstops
    M574 X1 S1 P"xstop" ; configure active-high endstop for low pin xstop
    M574 Y1 S1 P"ystop" ; configure active-high endstop for low pin ystop
    M574 Z1 S2 ; configure Z-probe endstop for low end on Z

    ; Z-Probe
    M950 S0 C"exp.heater3" ; create servo pin 0 for BLTouch
    M558 P9 C"^zprobe.in" H5 F120 T6000 ; set Z probe bltouch and height + speeds
    G31 P500 X-20 Y0 Z3.8 ; set Z probe trigger value, offset and trigger height Z4.75
    M557 X40:215 Y40:195 S20 ; define mesh grid

    ; Heaters
    M308 S0 P"bedtemp" Y"thermistor" T100000 B4092 ; configure sensor 0 as thermistor on pin bedtemp
    M950 H0 C"bedheat" T0 ; create bed heater output on bedheat and map it to sensor 0
    M143 H0 S120 ; set temperature limit for heater 0 to 120C
    M307 H0 B0 S1.00 ; disable bang-bang mode for the bed heater and set PWM limit
    M140 H0 ; map heated bed to heater 0
    M308 S1 P"e0temp" Y"thermistor" T500000 B4723 C1.19622e-7 ; configure sensor 1 as thermistor on pin e0temp
    M950 H1 C"e0heat" T1 ; create nozzle heater output on e0heat and map it to sensor 1
    M143 H1 S300 ; set temperature limit for heater 1 to 300C
    M307 H1 B0 S1.00 ; disable bang-bang mode for heater and set PWM limit

    ; Fans
    M950 F0 C"out7" Q10 ; create fan 0 on pin out7 and set its frequency
    M106 P0 S0 H-1 ; set fan 0 value. Thermostatic control is turned off
    M950 F1 C"out8" Q10 ; create fan 1 on pin out8 and set its frequency
    M106 P1 S100 H-1 ; set fan 1 value. Thermostatic control is turned off
    M950 F2 C"fan2" Q100 ; create fan 2 on pin out9 and set its frequency
    M106 P2 S0 H-1 ; set fan 2 value. Thermostatic control is turned off

    ; Tools
    M563 P0 D0 H1 F2 ; 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

    ; Custom settings are not defined

    ; Miscellaneous
    M911 S10 R11 P"M913 X0 Y0 G91 M83 G1 Z3 E-5 F1000" ; set voltage thresholds and actions to run on power loss
    T0 ; select first tool
    M501
    M591 D0 P5 C"io6.in" R2:300 E3.0 S1 ; Duet3D laser sensor for extruder drive 0, connected to endstop input 3 (E0), tolerance 40 to 140%, 3mm comparison length, disabled

    1 Reply Last reply Reply Quote 0
    • undefined
      jay_s_uk
      last edited by 17 Dec 2020, 16:54

      if you comment out the first 2 lines, does it stop?

      Owns various duet boards and is the main wiki maintainer for the Teamgloomy LPC/STM32 port of RRF. Assume I'm running whatever the latest beta/stable build is

      undefined 1 Reply Last reply 17 Dec 2020, 17:03 Reply Quote 0
      • undefined
        Shanian79
        last edited by 17 Dec 2020, 17:03

        No. If I manually enter the M208 Commands, it throws the same error

        1 Reply Last reply Reply Quote 0
        • undefined
          Shanian79 @jay_s_uk
          last edited by 17 Dec 2020, 17:03

          @jay_s_uk Sorry.. M280 not M208

          1 Reply Last reply Reply Quote 0
          • undefined
            Shanian79
            last edited by 17 Dec 2020, 18:12

            Disregard. I figured it out. I was testing the Workbee CNC DWC on this machine yesterday before I installed it on the actual CNC machine. It installed RepRap2 on the board. When I put RR3 back on it the issue went away.

            1 Reply Last reply Reply Quote 1
            5 out of 5
            • First post
              5/5
              Last post
            Unless otherwise noted, all forum content is licensed under CC-BY-SA