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

    G28 Z Error: M280: Invalid servo index 3 in M280 command

    Scheduled Pinned Locked Moved
    Tuning and tweaking
    4
    9
    523
    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.
    • 57buickundefined
      57buick
      last edited by 57buick

      I just installed a Piezo Orion board so the nozzle is the probe. It reacts when I touch the tip, the light changes but I obviously have something wrong in my firmware settings I cant figure out. Getting the error
      G28 Z
      Error: M280: Invalid servo index 3 in M280 command
      When I try to home Z, what am I missing?
      It is plugged into the Z endstop connection power, ground, signal

      My bed.g file
      ; bed.g
      ; called to perform automatic bed compensation via G32
      ;
      ; generated by RepRapFirmware Configuration Tool v2 on Mon May 20 2019 16:31:14 GMT-0700 (Pacific Daylight Time)
      M561 ; clear any bed transform
      G29 ; probe the bed and enable compensation

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

      M667 S1 ; Select CoreXY mode

      ; Network
      M550 P"DaveHevo" ; Set machine name
      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 forwards
      M569 P1 S0 ; Physical drive 1 goes forwards
      M569 P2 S0 ; Physical drive 2 goes backwards
      M569 P3 S0 ; Physical drive 3 goes forwards
      M350 X16 Y16 Z16 E16 I1 ; Configure microstepping with interpolation
      M92 X80.00 Y80.00 Z400.00 E420.00 ; Set steps per mm
      M566 X900.00 Y900.00 Z12.00 E120.00 ; Set maximum instantaneous speed changes (mm/min)
      M203 X18000.00 Y18000.00 Z180.00 E1500.00 ; Set maximum speeds (mm/min)
      M201 X3000.00 Y3000.00 Z20.00 E10000.00 ; Set accelerations (mm/s^2)
      M906 X1000.00 Y1000.00 Z1200.00 E800.00 I50 ; Set motor currents (mA) and motor idle factor in per cent
      M84 S30 ; Set idle timeout

      ; Axis Limits
      M208 X0 Y0 Z0 S1 ; Set axis minima
      M208 X568 Y498 Z700 S0 ; Set axis maxima

      ; Endstops
      M574 X1 Y2 S0 ; Set active low endstops
      M574 Z1 S2 ; Set endstops controlled by probe

      ; Z-Probe
      M558 P1 I1 R0.4 F300 X0 Y0 Z1 ;analogue mode,NC, delay, speed, not used as axis endstop
      G31 P600 X0 Y0 Z-.2 ; Set Z probe trigger value, offset and trigger height
      M557 X10:5 Y15:195 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 120C
      M305 P1 T100000 B4138 R4700 ; Set thermistor + ADC parameters for heater 1
      M143 H1 S280 ; Set temperature limit for heater 1 to 280C

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

      ; Tools
      M563 P1 D0 H1 ; Define tool 1
      G10 P1 X0 Y0 Z0 ; Set tool 1 axis offsets
      G10 P1 R0 S0 ; Set initial tool 1 active and standby temperatures to 0C

      ; Automatic power saving
      M911 S10 R11 P"M913 X0 Y0 G91 M83 G1 Z3 E-5 F1000" ; Set voltage thresholds and actions to run on power loss

      Phaedruxundefined 1 Reply Last reply Reply Quote 0
      • A Former User?
        A Former User
        last edited by

        post your homeall, homez and deploy/retract files? Suspect its trying to deploy a probe for some reason?

        1 Reply Last reply Reply Quote 0
        • 57buickundefined
          57buick
          last edited by

          the firmware was originally setup for a bltouch but I thought I changed everything but apparently not. Here is my homeall.g

          ; homeall.g
          ; called to home all axes
          ;
          ; generated by RepRapFirmware Configuration Tool v2 on Mon May 20 2019 16:31:15 GMT-0700 (Pacific Daylight Time)
          G91 ; relative positioning
          G1 Z5 F6000 S2 ; lift Z relative to current position
          G1 S1 X-505 Y-505 F8000 ; move quickly to X or Y endstop and stop there (first pass)
          G1 S1 X-505 ; home X axis
          G1 S1 Y-505 ; home Y axis
          G1 X5 Y5 F6000 ; go back a few mm
          G1 S1 X-505 F360 ; move slowly to X axis endstop once more (second pass)
          G1 S1 Y-505 ; then move slowly to Y axis endstop
          G90 ; absolute positioning
          G1 X10 Y15 F6000 ; go to first bed probe point and home Z
          G30 ; home Z by probing the bed

          ; Uncomment the following lines to lift Z after probing
          ;G91 ; relative positioning
          ;G1 S2 Z5 F100 ; lift Z relative to current position
          ;G90 ; absolute positioning

          and my homez.g

          ; homez.g
          ; called to home the Z axis
          ;
          ; generated by RepRapFirmware Configuration Tool v2 on Mon May 20 2019 16:31:15 GMT-0700 (Pacific Daylight Time)
          G91 ; relative positioning
          G1 Z5 F6000 S2 ; lift Z relative to current position
          G90 ; absolute positioning
          G1 X250 Y250 F6000 ; go to first probe point
          G30 ; home Z by probing the bed

          ; Uncomment the following lines to lift Z after probing
          ;G91 ; relative positioning
          ;G1 S2 Z5 F100 ; lift Z relative to current position
          ;G90 ; absolute positioning

          1 Reply Last reply Reply Quote 0
          • A Former User?
            A Former User
            last edited by

            maybe there is something in your config override file?

            1 Reply Last reply Reply Quote 0
            • 57buickundefined
              57buick
              last edited by

              i dont have an overide file

              1 Reply Last reply Reply Quote 0
              • 57buickundefined
                57buick
                last edited by

                Ok I figured out I just needed to delete the deploy and retract macros from when I had the bltouch hooked up and that got rid of the error.

                Now im just trying to figure out why the piezo does not stop the bed when homing Z now. The sensors led changes when i touch the tip but the duet doesnt respond, the bed keeps moving

                1 Reply Last reply Reply Quote 0
                • Phaedruxundefined
                  Phaedrux Moderator @57buick
                  last edited by

                  @57buick said in G28 Z Error: M280: Invalid servo index 3 in M280 command:

                  M558 P1 I1

                  Is P1 correct for the piezo? I thought they used P8 for digital input.

                  Double check wiring. Are the crimps good? Are they going to the right places?

                  Z-Bot CoreXY Build | Thingiverse Profile

                  1 Reply Last reply Reply Quote 0
                  • 57buickundefined
                    57buick
                    last edited by

                    its my understanding you can use P1, P5, or P8 they all should work with a little different filtering?

                    1 Reply Last reply Reply Quote 0
                    • dc42undefined
                      dc42 administrators
                      last edited by

                      I suggest you use P8 for a piezo.

                      Duet WiFi hardware designer and firmware engineer
                      Please do not ask me for Duet support via PM or email, use the forum
                      http://www.escher3d.com, https://miscsolutions.wordpress.com

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