Duet3D Logo Duet3D
    • Tags
    • Documentation
    • Order
    • Register
    • Login

    Solved: Extruder moving direction vs G1 command

    Scheduled Pinned Locked Moved
    General Discussion
    2
    4
    174
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • cheporaundefined
      chepora
      last edited by chepora

      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

      1 Reply Last reply Reply Quote 0
      • SIamundefined
        SIam
        last edited by SIam

        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

        Hypercube-Evolution-Hybrid, Piezo Orion, Orbiter
        Duet WiFi 1.02 or later + DueX5
        RepRapFirmware for Duet 2 WiFi/Ethernet 3.4.0beta4 (2021-09-27 11:30:36)
        Duet WiFi Server: 1.26
        Duet Web Control 3.4.0beta4 (2021-09-27)

        1 Reply Last reply Reply Quote 1
        • cheporaundefined
          chepora
          last edited by

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

          1 Reply Last reply Reply Quote 0
          • SIamundefined
            SIam
            last edited by

            😊 👍

            Hypercube-Evolution-Hybrid, Piezo Orion, Orbiter
            Duet WiFi 1.02 or later + DueX5
            RepRapFirmware for Duet 2 WiFi/Ethernet 3.4.0beta4 (2021-09-27 11:30:36)
            Duet WiFi Server: 1.26
            Duet Web Control 3.4.0beta4 (2021-09-27)

            1 Reply Last reply Reply Quote 0
            • First post
              Last post
            Unless otherwise noted, all forum content is licensed under CC-BY-SA