Solved: Extruder moving direction vs G1 command



  • Hello all,

    I am trying to configure a Duet 2 Wifi on a cartesian printer and I am new to RepRap. While I am very happy about the documentation - thanks everybody! - there are some bits that I can't seem to wrap my head around. One is about forward/backward motor direction.

    My extruder was set in config.g as follows:

    M569 P3 S1
    

    If I test Extraction/Retraction through DWC (which uses the G1) the directions are opposite. So I change the extruder config to:

    M569 P3 S0
    

    But the directions though DWC are still wrong.
    So what is it that I am not seeing? What other setting influences in which motor direction is extrusion?

    Thank you!

    PS:
    Running
    Firmware Name: RepRapFirmware for Duet 2 WiFi/Ethernet
    Firmware Electronics: Duet WiFi 1.02 or later
    Firmware Version: 2.05.1 (2020-02-09b1)
    WiFi Server Version: 1.23
    Web Interface Version: 1.22.6
    config.g is attached if that helps



  • your motorsettings M569 are dubble in your config so remove the dubble part

    ; Drives
    M569 P0 S1                                         ; physical drive 0 goes forwards
    M569 P1 S1                                         ; physical drive 1 goes forwards
    M569 P2 S0                                         ; physical drive 2 goes backwards
    M569 P3 S1                                         ; physical drive 3 goes forwards
    M584 X0 Y1 Z2 E3                                   ; set drive mapping
    M350 X16 Y16 Z16 E16 I1                            ; configure microstepping with interpolation
    M92 X80.00 Y80.00 Z400.00 E450                     ; set steps per mm
    M566 X600.00 Y600.00 Z60.00 E300.00                ; set maximum instantaneous speed changes (mm/min)
    M203 X30000.00 Y30000.00 Z600.00 E600.00           ; set maximum speeds (mm/min)
    M201 X500.00 Y500.00 Z200.00 E4000.00              ; set accelerations (mm/s^2)
    M906 X800 Y800 Z700 E800 I30                       ; set motor currents (mA) and motor idle factor in per cent
    M84 S30                                            ; Set idle timeout
    
    ************************************************************************
    this is doubble
    
    M569 P0 S1                               ; Physical drive 0 goes forwards
    M569 P1 S1                               ; Physical drive 1 goes forwards
    M569 P2 S0                               ; Physical drive 2 goes backwards
    M569 P3 S1                               ; Physical drive 3 goes forwards
    M350 X16 Y16 Z16 E16 I1                  ; Configure microstepping with interpolation
    M92 X80.00 Y80.00 Z400.00 E450.00        ; Set steps per mm
    M566 X600.00 Y600.00 Z60.00 E300.00      ; Set maximum instantaneous speed changes (mm/min)
    M203 X30000.00 Y30000.00 Z600.00 E600.00 ; Set maximum speeds (mm/min)
    M201 X500.00 Y500.00 Z200.00 E4000.00    ; Set accelerations (mm/s^2)
    M906 X850.00 Y800.00 Z700.00 E800.00 I30 ; Set motor currents (mA) and motor idle factor in per cent
    M84 S30 
    

    and than you can change the direction again



  • 👓 👀 🤦
    Thank you very much! I can be quite blind sometimes.



  • 😊 👍


Log in to reply