M564 ignored, problem with homing



  • Hello Guys,

    I have a custom delta style printer.
    I have a problem with my fresh Duet Wifi (rev. 1.03).
    Everything is wired. Endstops work properly (and are shown on the correct axis in the duet web page).
    When I try to move the stepper motors after I punshed in the M564 command (as suggested in the manual (https://duet3d.dozuki.com/Guide/3.)+Configuration+(General+Cartesian)/10 ). I get this error message:

    M120
    G91
    G1 X1 F6000
    M121
    Error: G0/G1: insufficient axis homed

    when I try to home the axis. only one tower is moving (at x homing, y homing and z homing (manually)). the other stepper motors are humming/buzzing.

    homedelta.g
    ; homedelta.g
    ; called to home all towers on a delta printer
    ;
    ; generated by RepRapFirmware Configuration Tool on Sun Oct 28 2018 20:49:00 GMT+0100
    G91 ; relative positioning
    G1 S1 X945 Y945 Z945 F1800 ; move all towers to the high end stopping at the endstops (first pass)
    G1 X-5 Y-5 Z-5 F1800 S2 ; go down a few mm
    G1 S1 X10 Y10 Z10 F360 ; move all towers up once more (second pass)
    G1 Z-5 F6000 ; move down a few mm so that the nozzle can be centred
    G90 ; absolute positioning
    G1 X0 Y0 F6000 ; move X+Y to the centre

    config.gcode

    ; Configuration file for Duet WiFi (firmware version 1.21)
    ; executed by the firmware on start-up
    ;
    ; generated by RepRapFirmware Configuration Tool on Sun Oct 28 2018 20:49:00 GMT+0100

    ; General preferences
    G90 ; Send absolute coordinates...
    M83 ; ...but relative extruder moves
    M555 P1 ; Set firmware compatibility to look like RepRapFirmare
    M665 R274 L494 B150 H250 ; Set delta radius, diagonal rod length, printable radius and homed height
    M666 X0 Y0 Z0 ; Put your endstop adjustments here, or let auto calibration find them

    ; Network
    M550 PAB-Delta3 ; Set machine name
    M551 Pxx ; Set password
    M552 S1 ; Enable network
    M587 S"xx" P"xx" ; Configure access point. You can delete this line once connected
    M586 P0 S1 ; Enable HTTP
    M586 P1 S0 ; Disable FTP
    M586 P2 S0 ; Disable Telnet

    ; Drives
    M569 P0 S1 ; Drive 0 for x
    M569 P1 S1 ; Drive 1 for y
    M569 P2 S1 ; Drive 2 for z
    M569 P3 S1 ; Drive 3 for E1
    M569 P4 S1 ; Drive 4 for E2
    M569 P5 S1 ; Drive 5 for Toolchange rotate
    M569 P6 S1 ; Drive 6 for Toolchange lift

    ; Motor remapping for toolchanger
    ;M584 X0 Y1 Z2 U5 V6 E3:4 P6 ; Driver X=0, Y=1, Z=2, U=5, v= 6, Extruder 3 and 4, remapping the drives

    ; Configure Drives
    M350 E1:1 I0 ; Configure microstepping without interpolation
    M350 X16 Y16 Z16 U16 V16 I1 ; Configure microstepping with interpolation
    M92 X160 Y160 Z160 U160 V160 ; Set steps per mm for axis
    M92 E663:663 ; Set steps per mm for extruders
    M566 X1200 Y1200 Z1200 U1200 V1200 ; Set maximum instantaneous speed changes (mm/min) for axis
    M566 E1200:1200 ; Set maximum instantaneous speed changes (mm/min) for extruders
    M203 X18000 Y18000 Z18000 U18000 V18000 ; Set maximum speeds (mm/min) for axis
    M203 E1200:1200 ; Set maximum speeds (mm/min) for extruders
    M201 X1000 Y1000 Z1000 U1000 V1000 ; Set accelerations (mm/s^2) for axis
    M201 E1000:1000 ; Set accelerations (mm/s^2) for extruders
    M906 X1000 Y1000 Z1000 U1000 V1000 I30 ; Set motor currents (mA) and motor idle factor in per cent for axis
    M906 E2000:2000 I30 ; Set motor currents (mA) and motor idle factor in per cent for extruders
    M84 S30 ; Set idle timeout

    ; Axis Limit for z for Deltas
    M208 Z0 S1 ; Set minimum Z

    ; Endstops
    M574 X2 Y2 Z2 U1 S0 ; X endstop at high end, Y endstop at high end, Z endstop at high end, U endstop at low endSet active high endstops

    ; Z-Probe
    M558 P5 I1 H5 F120 T6000 ; Enable Z probe, invert signal and set dive height, probe speed and travel speed
    M557 R150 S20 ; Define mesh grid

    ; Heaters
    M305 P0 T100000 B4138 C0 R4700 ; Set thermistor + ADC parameters for heater 0
    M143 H0 S120 ; Set temperature limit for heater 0 to 120C
    M305 P1 T100000 B4138 C0 R4700 ; Set thermistor + ADC parameters for heater 1
    M143 H1 S280 ; Set temperature limit for heater 1 to 280C
    M305 P2 T100000 B4138 C0 R4700 ; Set thermistor + ADC parameters for heater 2
    M143 H2 S280 ; Set temperature limit for heater 2 to 280C

    ; Fans
    M106 P0 S0.3 I0 F500 H-1 ; Set fan 0 value, PWM signal inversion and frequency. Thermostatic control is turned off
    M106 P1 S1 I0 F500 H1:2 T45 ; Set fan 1 value, PWM signal inversion and frequency. Thermostatic control is turned on
    M106 P2 S1 I0 F500 H1:2 T45 ; Set fan 2 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
    M563 P1 D1 H2 ; 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 saving after power loss is enabled
    M911 S19.8 R22.0 P"G91 M83 G1 Z3 E-5 F1000"
    ; Custom settings are not configured


  • administrators

    M564 H0 does not apply to delta printers because of the increased danger of attempting movement before homing. To test motors individually, see https://duet3d.dozuki.com/Wiki/ConfiguringRepRapFirmwareDeltaPrinter#Section_Testing_the_motors_individually.


Log in to reply