Steps per unit: Z correct, X and Y off

  • Hi

    I have a delta I am about to take into operation. I have seen an odd behaviour. Distance travelled is correct in Z, but in X and Y seems to be off by a factor of about 1.5 to 1.6. Have I missed something in my config.g?

    ; Configuration file for Mini Kossel kit from Think3DPrint3D for testing Duet WiFi

    ; Communication and general
    M111 S0 ; Debug off
    M550 PK250000 ; Machine name and Netbios name (can be anything you like)
    M551 Preprap ; Machine password (used for FTP)
    ;*** If you have more than one Duet on your network, they must all have different MAC addresses, so change the last digits
    M540 P0xBE:0xEF:0xDE:0xAD:0xFE:0xED ; MAC Address
    ;*** Wifi Networking
    M552 S1 ; Enable WiFi

    M555 P2 ; Set output to look like Marlin
    M575 P1 B57600 S1 ; Comms parameters for PanelDue

    G21 ; Work in millimetres
    G90 ; Send absolute coordinates…
    M83 ; ...but relative extruder moves

    ; Axis and motor configuration
    M569 P0 S1 ; Drive 0 goes forwards
    M569 P1 S1 ; Drive 1 goes forwards
    M569 P2 S1 ; Drive 2 goes forwards
    M569 P3 S1 ; Drive 3 goes forwards
    M569 P4 S1 ; Drive 4 goes forwards
    M574 X2 Y2 Z2 S2 ; set endstop configuration (all endstops at high end, active high)
    ;*** The homed height is deliberately set too high in the following - you will adjust it during calibration
    M665 R206.6538 L288.32 B110 H494.9 ; 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
    M350 X128 Y128 Z128 E16:16 I1 ; Set 128x microstepping with interpolation
    M92 X800 Y800 Z800 ; Set axis steps/mm
    M906 X800 Y800 Z800 E500:500 I30 ; Set motor currents (mA) and increase idle current to 60%
    M201 X1000 Y1000 Z1000 E1000 ; Accelerations (mm/s^2)
    M203 X20000 Y20000 Z20000 E3600 ; Maximum speeds (mm/min)
    M566 X800 Y800 Z800 E1200 ; Maximum instant speed changes mm/minute

    ; Thermistors
    M305 P0 T100000 B3950 R4700 H30 L0 ; Put your own H and/or L values here to set the bed thermistor ADC correction
    M305 P1 X200 ; Put your own H and/or L values here to set the first nozzle thermistor ADC correction
    M305 P2 X201 ; Put your own H and/or L values here to set the second nozzle thermistor ADC correction
    M570 S180 ; Hot end may be a little slow to heat up so allow it 180 seconds

    ; Fans
    M106 P1 H-1 ; disable thermostatic mode for fan 1

    ; Tool definitions
    M563 P0 D0 H1 ; Define tool 0
    G10 P0 S0 R0 X-9 Y3 ; Set tool 0 operating and standby temperatures
    ;*** If you have a single-nozzle build, comment the next 2 lines
    M563 P1 D1 H2 ; Define tool 1
    G10 P1 S0 R0 X9 Y3 ; Set tool 1 operating and standby temperatures
    M92 E1168.48:1168.48 ; Set extruder steps per mm

    ; Z probe and compensation definition
    ;*** If you have a switch instead of an IR probe, change P1 to P4 in the following M558 command
    M558 P1 X0 Y0 Z0 ; Z probe is an IR probe and is not used for homing any axes
    G31 X9 Y38 Z1.123 P500 ; Set the zprobe height and threshold (put your own values here)

    ;*** If you are using axis compensation, put the figures in the following command
    M556 S78 X0 Y0 Z0 ; Axis compensation here

    M208 S1 Z-0.2 ; set minimum Z
    T0 ; select first hot end

  • What is the setup? 1.8 degree steppers? Belt type? Teeth on pulley?

  • Yes, 1.8 deg steppers, GT2 belt, 10-tooth-pulleys

  • administrators

    In this command:

    M665 R206.6538 L288.32 B110 H494.9 ; set delta radius, diagonal rod length, printable radius and homed height

    check that the L parameter is correct. It should be the length of a diagonal rod measured between the bearing centres. When you are sure it is correct, perform 6-factor auto calibration. If you make a large change to the L parameter, temporarily increase the M558 H parameter to a larger value before performing auto calibration, e.g. 20.

  • M92 X800 Y800 Z800 ; Set axis steps/mm

    Seems really high. Shouldn't it be more like 160 for your setup?

  • Thanks for your inputs. I was way off on delta radius, all is working now. The M92 is correct with 128 microstepping, btw.


Looks like your connection to Duet3D was lost, please wait while we try to reconnect.