Unsupported Command Error
-
Hi
Im trying to configure my delta printer for sensorles homing but when ı click Home button on web ı getting this errorG28
Error: unsupported command: M915 X Y Z S2 F1 R0M80 ;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 -
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 worksFrederick
-
Which Duet are you using? The stepper drivers on the Maestro do not support stall detection. The ones on the Duet WiFi/Ethernet do.
-
Im using Duet wifi
Firmware Version: 2.02(RTOS) (2018-12-24b1)
@fcwilt
It's worked thanks