Strange homing behavior on a delta w/ extra linear V axis

  • I'm attempting to troubleshoot some unexpected behavior in homing my modified delta printer. Anything obvious that I'm missing? For some reason the V axis thinks it is at ~606.13 degrees of rotation when it hits the endstop, which should really only be 93 degrees. I have the endstop location set using M208, but that doesn't seem to work.

    Here are the relevant portions of the code. For now I am getting around this by using the a homing file including a G92 V0 command to set the current position as homed to just reset the strange 600 degree offset. As far as I understand this isn't the standard way of doing things.

    I even tried switching kinematics modes to cartesian to ensure it wasn't something to do with the delta axes. Obviously in cartesian mode the delta axes do not function, but I get the same problem with the V axis homing.

    ; Configuration file for Duet Ethernet (firmware version 1.20 or newer)
    ; executed by the firmware on start-up
    ; generated by RepRapFirmware Configuration Tool on Mon Feb 26 2018 12:03:14 GMT-0600 (Central Standard Time)

    ; General preferences
    M669 K3 ; Kinematics type 3=linearDelta
    G90 ; Send absolute coordinates...
    M83 ; ...but relative extruder moves
    M555 P1 ; Set firmware compatibility to look like RepRapFirmare
    ;M665 R105.6 L215 B85 H250 ; Set delta radius, diagonal rod length, printable radius and homed height backup
    M665 R115 L291.2 B85 H170.8

    ; Network
    M550 PDuet ; Set machine name
    M540 Predacted ; Set MAC address
    M552 P0.0.0.0 S1 ; Enable network and acquire dynamic address via DHCP
    M586 P0 S1 ; Enable HTTP
    M586 P1 S0 ; Disable FTP
    M586 P2 S0 ; Disable Telnet

    ; Drives
    M569 P0 S0 ; Drive 0 goes backwards X
    M569 P1 S1 ; Drive 1 goes forwards Y
    M569 P2 S0 ; Drive 2 goes backwards Z
    M569 P3 S0 ; Drive 3 goes backwards U
    M569 P4 S1 ; Drive 4 goes forwards V
    M569 P5 S0 ; Drive 5 goes backwards Nothing
    M569 P6 S1 ; Drive 6 goes forwards
    M569 P7 S1 ; Drive 7 goes forwards
    M569 P8 S1 ; Drive 8 goes forwards
    M269 P10 S1 ; Drive 10 goes forwards test for external driver

    M584 X0 Y1 Z2 E3 U5 ; set up extra axes? U5 V6

    M350 X16 Y16 Z16 U16 V8 E16:16 I1 ; Configure microstepping with interpolation
    M92 X80 Y80 Z80 U44.4444 V226.24 E92.5 ;E663 ; Set steps per mm (or degree) V226.24
    M566 X1200 Y1200 Z1200 U1200 V1200 E1200 ; Set maximum instantaneous speed changes (mm/min)
    M203 X18000 Y18000 Z18000 U1000 V2000 E1000 ; Set maximum speeds (mm/min)
    M201 X1000 Y1000 Z1000 U1000 V200 E500 ; Set accelerations (mm/s^2)
    M906 X1000 Y1000 Z1000 U1200 V1000 E1000 I65 ; Set motor currents (mA) and motor idle factor in per cent
    M564 S0 H0; Allow moves S0 outside of build area, H0 while not homed.
    ;M84 S30 ; Set idle timeout

    ; Servos
    M307 H3 A-1 C-1 D-1 ; Disable heater 3-7. Set parameters to -1. Servos 3-7 are controlled with heaters 3-7 (There are no servos 1-2).
    M307 H4 A-1 C-1 D-1
    M307 H5 A-1 C-1 D-1
    M307 H6 A-1 C-1 D-1
    M307 H7 A-1 C-1 D-1

    ; Axis Limits
    M208 X-100 Y-100 Z0 U-100000 V-93.34 S1 ; Set minimum
    M208 X100 Y100 Z300 U100000 V93.34 S0 ; Set maximum

    ; Endstops
    M574 X2 Y2 Z2 U0 V2 S1 ; Set active high endstops
    M666 X0 Y0 Z0 U0 V0 ; Put your endstop adjustments here, or let auto calibration find them

    ; Z-Probe
    M558 P0 H5 F120 T6000 ; Disable Z probe but set dive height, probe speed and travel speed
    M557 R85 S20 ; Define mesh grid

    ; Heaters
    M140 H0 S0 ; Disable heated bed with M140 H-1
    M305 P0 T100000 B4725 C7.060000e-8 R4700; Set thermistor + ADC parameters for heater 0 Bed Heater
    M305 P1 T100000 B4725 C7.060000e-8 R4700; Set thermistor + ADC parameters for heater 1 Extruder
    M143 H1 S280 ; Set temperature limit for heater 1 to 280C
    M143 H0 S120 ; Set temperature limit for heater 0 to 120C

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

    ; Tools
    M563 P0 S"Extruder" 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

    ; Automatic saving after power loss is not enabled

    ; Custom settings are not configured

    ; Miscellaneous
    T0 ; Select first tool
    M302 P0 ; Allow cold extrudes for testing

  • administrators

  • @dc42 Awesome! Thank you. So I am doing it correctly for now until a bugfix is implemented. That's good to know.

Log in to reply