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

    Unsupported Command Error

    Scheduled Pinned Locked Moved
    Tuning and tweaking
    3
    4
    391
    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.
    • Mekalaundefined
      Mekala
      last edited by

      Hi
      Im trying to configure my delta printer for sensorles homing but when ı click Home button on web ı getting this error

      G28
      Error: unsupported command: M915 X Y Z S2 F1 R0

      M80					;PSU ON
      ; Homing file for RepRapFirmware on Large Kossel
      ; Sensorless Homing test file for RepRapFirmware on Kossel
      M915 X Y Z S2 F1 R0    ;set stall detect drives, S-threshold (-64 to 63), F1 filtered, R-log only
      M400					; make sure everything has stopped before we make changes
      M574 X2 Y2 Z2 S3			; set endstops to use motor stall
      M913 X30 Y30 Z30			; reduce motor current to 50% to prevent belts slipping
      G91					; use relative positioning
      G1 S1 X700 Y700 Z700 F2000		; move all carriages up 700mm, stopping at the endstops
      G1 Z-5 F2000				; down a few mm so that we can centre the head
      G90					; back to absolute positioning
      M400					; make sure everything has stopped before we reset the motor currents
      M913 X100 Y100 Z100			; motor currents back to normal
      G1 X0 Y0 F2000				; centre the head and set a reasonable feed rate
      ;M574 X2 Y2 Z2 S1			; set endstops back to normal so that homedelta.g works
      

      I found that on here (https://forum.duet3d.com/topic/4568/sensorless-homing-for-deltas/5)
      and copied it

      fcwiltundefined 1 Reply Last reply Reply Quote 0
      • fcwiltundefined
        fcwilt @Mekala
        last edited by fcwilt

        @mekala

        Hi,

        What firmware version are you using?

        Possibly M915 is not allowed with G28. The example test macro look like this:

        ;''' Sensorless Homing test file for RepRapFirmware on Kossel'''
        M400 ; make sure everything has stopped before we make changes
        M574 X2 Y2 Z2 S3 ; set endstops to use motor stall
        M913 X50 Y50 Z50 ; reduce motor current to 50% to prevent belts slipping
        G91 ; use relative positioning
        G1 S1 X700 Y700 Z700 F4000 ; move all carriages up 700mm, stopping at the endstops
        G1 Z-5 F2000 ; down a few mm so that we can centre the head
        G90 ; back to absolute positioning
        M400 ; make sure everything has stopped before we reset the motor currents
        M913 X100 Y100 Z100 ; motor currents back to normal
        G1 X0 Y0 F2000 ; centre the head and set a reasonable feed rate
        M574 X2 Y2 Z2 S1 ; set endstops back to normal so that homedelta.g works

        Frederick

        Printers: a small Utilmaker style, a small CoreXY and a E3D MS/TC setup. Various hotends. Using Duet 3 hardware running 3.4.6

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

          Which Duet are you using? The stepper drivers on the Maestro do not support stall detection. The ones on the Duet WiFi/Ethernet do.

          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 0
          • Mekalaundefined
            Mekala
            last edited by Mekala

            Im using Duet wifi
            Firmware Version: 2.02(RTOS) (2018-12-24b1)
            @fcwilt
            It's worked thanks

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