DWC Z - Axis Movement off by Factor 10



  • i will try it. on moment



  • @Frederik Paste Your config.g only and result of

    M98 P"config.g"
    


  • ; Configuration file for Duet 3 (firmware version 3)
    ; executed by the firmware on start-up
    ;
    ; generated by RepRapFirmware Configuration Tool v3.1.7 on Wed Nov 18 2020 18:04:17 GMT+0100 (Mitteleuropäische Normalzeit)

    ; General preferences

    G90 ; send absolute coordinates...
    M83 ; ...but relative extruder moves
    M550 P"Duet 3" ; set printer name
    M669 K1 ; switch to CoreXZ mode and multiply motor movements by 3 for the Z axis

    ; Drives
    M569 P0.0 S0 ; physical drive 0.0 goes backwards
    M569 P0.1 S0 ; physical drive 0.1 goes backwards
    M569 P0.2 S0 ; physical drive 0.2 goes backwards
    M569 P0.3 S0
    M569 P0.4 S0
    M569 P0.5 S1 ; physical drive 0.5 goes forwards
    M584 X0.1 Y0.0 Z0.2:0.3:0.4 E0.5 ; set drive mapping
    M671 X425:200:-25 Y240:-25:240 S1 P1.25 ; leadscrews at front left, rear middle and front right with 1mm per screw compensation

    ; Movement Parameters

    M350 X16 Y16 Z16 E16 I1 ; configure microstepping without interpolation
    M92 X160.00 Y160.00 Z400.00 E830.00 ; set steps per mm
    M566 X900.00 Y900.00 Z12.00 E120.00 ; set maximum instantaneous speed changes (mm/min)
    M203 X12000.00 Y12000.00 Z1800.00 E1200.00 ; set maximum speeds (mm/min)
    M201 X500.00 Y500.00 Z30.00 E250.00 ; set accelerations (mm/s^2)
    M906 X1800 Y1800 Z800 E1000 I30 ; set motor currents (mA) and motor idle factor in per cent
    M84 S30 ; Set idle timeout

    ; Axis Limits
    M208 X0 Y0 Z0 S1 ; set axis minima
    M208 X400 Y400 Z385 S0 ; set axis maxima

    ; Endstops
    M574 X2 S1 P"!io1.in" ; configure active-high endstop for high end on X via pin !io1.in
    M574 Y1 S1 P"!io0.in" ; configure active-high endstop for low end on Y via pin !io0.in
    M574 Z2 S2 ; configure Z-probe endstop for low end on Z

    ; Duet Laser Filament Sensor

    M591 D0 P5 P"io3.in" R40:120 E3.0 S1 ; Duet3D laser sensor for extruder drive 0, connected to IO 3,
    tolerance 40 to 120%, 3mm comparison length, enabled

    M350 X16 Y16 Z16 E16 I1 ; configure microstepping with interpolation
    M92 X160.00 Y160.00 Z400.00 E837.02 ; set steps per mm
    M566 X900.00 Y900.00 Z12.00 E120.00 ; set maximum instantaneous speed changes (mm/min)
    M203 X12000.00 Y12000.00 Z1800.00 E1200.00 ; set maximum speeds (mm/min)
    M201 X500.00 Y500.00 Z30.00 E250.00 ; set accelerations (mm/s^2)
    M906 X1800 Y1800 Z1000 E1200 I30 ; set motor currents (mA) and motor idle factor in per cent
    M84 S30 ; Set idle timeout

    ; Axis Limits
    M208 X0 Y0 Z0 S1 ; set axis minima
    M208 X400 Y400 Z400 S0 ; set axis maxima

    ; Endstops
    M574 X2 S1 P"!io1.in" ; configure active-high endstop for high end on X via pin !io1.in
    M574 Y1 S1 P"!io0.in" ; configure active-high endstop for low end on Y via pin !io0.in
    M574 Z1 S2 ; configure Z-probe endstop for low end on Z

    ; Z-Probe
    M950 S0 C"io7.out" ; create servo pin 0 for BLTouch
    M558 P9 C"^io7.in" H5 F120 T6000 ; set Z probe type to bltouch and the dive height + speeds
    G31 P500 X-26 Y2 Z2.5 ; set Z probe trigger value, offset and trigger height
    M557 X0:400 Y0:400 S20 ; define mesh grid

    ; Heaters
    M308 S0 P"temp0" Y"thermistor" T100000 B4138 ; configure sensor 0 as thermistor on pin temp0
    M950 H0 C"out0" T0 ; create bed heater output on out0 and map it to sensor 0
    M307 H0 B0 S1.00 ; disable bang-bang mode for the bed heater and set PWM limit
    M140 H0 ; map heated bed to heater 0
    M143 H0 S200 ; set temperature limit for heater 0 to 200C
    M308 S1 P"temp1" Y"thermistor" T100000 B4725 C7.06e-8 ; configure sensor 1 as thermistor on pin temp1
    M950 H1 C"out1" T1 ; create nozzle heater output on out1 and map it to sensor 1
    M307 H1 B0 S1.00 ; disable bang-bang mode for heater and set PWM limit

    ; Fans
    M950 F0 C"out8" Q500 ; create fan 0 on pin out8 and set its frequency
    M106 P0 C"Hotend" S1 H1 T45 ; set fan 0 name and value. Thermostatic control is turned on
    M950 F1 C"!out4" Q500 ; create fan 1 on pin !out4 and set its frequency
    M106 P1 C"Bauteildüse" S1 H-1 ; set fan 1 name and value. Thermostatic control is turned off

    ; Tools
    M563 P0 S"E3D V6 0.4 Steel" D0 H1 F0:1 ; 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

    ; Custom settings are not defined

    ; Miscellaneous

    M501 ; load saved parameters from non-volatile memory
    M911 S10 R11 P"M913 X0 Y0 G91 M83 G1 Z3 E-5 F1000" ; set voltage thresholds and actions to run on power loss
    T0 ; select first tool



  • @Frederik said in DWC Z - Axis Movement off by Factor 10:

    M350 X16 Y16 Z16 E16 I1 ; configure microstepping with interpolation
    M92 X160.00 Y160.00 Z400.00 E837.02 ; set steps per mm
    M566 X900.00 Y900.00 Z12.00 E120.00 ; set maximum instantaneous speed changes (mm/min)
    M203 X12000.00 Y12000.00 Z1800.00 E1200.00 ; set maximum speeds (mm/min)
    M201 X500.00 Y500.00 Z30.00 E250.00 ; set accelerations (mm/s^2)
    M906 X1800 Y1800 Z1000 E1200 I30 ; set motor currents (mA) and motor idle factor in per cent
    M84 S30 ; Set idle timeout
    ; Axis Limits
    M208 X0 Y0 Z0 S1 ; set axis minima
    M208 X400 Y400 Z400 S0 ; set axis maxima
    ; Endstops
    M574 X2 S1 P"!io1.in" ; configure active-high endstop for high end on X via pin !io1.in
    M574 Y1 S1 P"!io0.in" ; configure active-high endstop for low end on Y via pin !io0.in
    M574 Z1 S2 ; configure Z-probe endstop for low end on Z

    this section is still in your config twice



  • config (1).g

    wow, i dont know why its doubling these lines 😮 ?!?



  • in my normal config. in DWC there is this section only once



  • @Frederik drag and drop file instead of copy paste content



  • ok.
    i restartet my DWC and now it looks good i think 🙂





  • @Frederik said in DWC Z - Axis Movement off by Factor 10:

    M591

    i get always the error M591 no pin name given.

    do i have to use the m950 command befor to create a pin ?



  • @Frederik M591 D0 P5 P"io3.in" R40:120 E3.0 S1 should be
    M591 D0 P5 C"io3.in" R40:120 E3.0 S1



  • WOW, Thank You soooo much.

    Now my Z Axis working almost spot on...only minor adjustments needed.

    Your Tip with the Extruder E steps was perfekt.

    now there is only the error message from the filament Sensor ,

    and i have to try if the auto bed leveling with the 3 independet z motors will work as expected with my BLTouch.

    What Slicer do you use or recommend ?

    I tried
    Cura 4.8.0 and Prusaslicer .

    Simplyfy 3d looks also realy nice, but i cant find a demmo version or similar. Its a hefty Price Tag for a Slicer and when i am reading the reviews on the internet ,i dont know if it is good at the moment with 4.1 or should i wait till the new update is released ?



  • @BoA Thank YOU 😉

    M591 D0

    Duet3D laser filament monitor v1 on pin io3.in, enabled, allow 40% to 120%, check every 3.0mm, version 1, no calibration data


Log in to reply