Navigation

    Duet3D Logo

    Duet3D

    • Register
    • Login
    • Search
    • Categories
    • Tags
    • Documentation
    • Order

    Remapping issue?

    Duet Hardware and wiring
    3
    7
    612
    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.
    • chasingsun
      chasingsun last edited by

      Hi guys im trying to remap x axis to different driver since im using external driver?

      Im connecting the x motor to driver 8:
      PUL-, ENB-, DIR- –-- GROUND
      PUL+ ---- EXPANSION PIN 20
      ENB+ ---- EXPANSION PIN 22
      DIR+ ---- EXPANSION PIN 21

      ; Drives
      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 0 goes forwards
      M569 P5 S1 ; Drive 1 goes forwards
      M569 P6 S1 ; Drive 2 goes forwards
      M569 P7 S1 ; Drive 3 goes forwards
      M569 P8 S1 R1 T10; Drive 3 goes forwards
      M584 X8 Y6 Z7 E:0:1:2:3:4:5 ; Driver 5 controls the X motor, 6 controls Y, 7 control Z motors, 3 control E motors
      M350 E32 I0 ; Configure microstepping without interpolation
      M350 X32 Y32 Z32 I1 ; Configure microstepping with interpolation
      M92 X160 Y160 Z160 E837 ; Set steps per mm
      M566 X1200 Y1200 Z1200 E3000 ; Set maximum instantaneous speed changes (mm/min)
      M203 X39960 Y39960 Z39960 E3000 ; Set maximum speeds (mm/min)
      M201 X1000 Y1000 Z1000 E1500 ; Set accelerations (mm/s^2)
      ;M906 X1800 Y1800 Z1800 E1500 I30 ; Set motor currents (mA) and motor idle factor in per cent
      M84 S30 ; Set idle timeout

      I could not get X axis to move using the Machine Control on the web interface?
      Can someone help me how to do this? Thanks!

      1 Reply Last reply Reply Quote 0
      • dc42
        dc42 administrators last edited by

        The enable signal needs to be inverted when using external drivers. One way of doing this is to connect ENB+ to +3.3V and ENB- to the expansion connector pin. The other way is to use the option to invert Enable in the M569 command for that driver.

        You may also need to extends the step pulse timing for that driver, which again is done in the M569 command. Try 2us.

        Duet WiFi hardware designer and firmware engineer
        Please do not ask me for Duet support via PM or email, use the forum
        http://www.escher3d.com, https://miscsolutions.wordpress.com

        1 Reply Last reply Reply Quote 0
        • chasingsun
          chasingsun last edited by

          I have tried the M569 command. The only thing effect is the motor on and off.
          If i use:
          M569 P8 S1 R1 T2; the motor stay on

          and if i use
          M569 P8 S1 R0 T2; the motor stay off

          I assuming the enb signal is wroking however the other is not that is what confusion me.

          1 Reply Last reply Reply Quote 0
          • dc42
            dc42 administrators last edited by

            The motor should not be energised when the Duet starts up and has processed config.g, and should become energised the first time you command it to move. If you have the enable signal the wrong way round, then the motor will be energised after config.g has run, and will be turned off the first time you command it to move - so it won't move.

            Duet WiFi hardware designer and firmware engineer
            Please do not ask me for Duet support via PM or email, use the forum
            http://www.escher3d.com, https://miscsolutions.wordpress.com

            1 Reply Last reply Reply Quote 0
            • chasingsun
              chasingsun last edited by

              So i just set the M569 P8 S1 R0 T2; in the config.g which the motor is not energize the first time. I try to move it but it still not moving?

              1 Reply Last reply Reply Quote 0
              • chasingsun
                chasingsun last edited by

                I also tried to move the motor from pointerface. Nothing works except home X axis button. So I dont think is a connection problem.

                1 Reply Last reply Reply Quote 0
                • tangent1001
                  tangent1001 last edited by

                  I had a similar issue a while back. What kind of driver are you using? Is that driver set to have microstepping?

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