Duet3D Logo

    Duet3D

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

    Using E1 to run second Y Stepper?

    Duet Hardware and wiring
    3
    8
    885
    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.
    • Steve Lynch
      Steve Lynch last edited by

      Hi! I've banged my head against the Printer all night, and finally got everything working on my FT-5... Well, sort of....

      I'm using a Duet 2 wifi 1.40A

      I was under the impression that I could use the second extruder driver to run my second Y stepper, as the FT-5 uses both dual Z and Dual Y motors.

      For the life of me, no matter what I try, the E1 doesn't move anything... I have however somehow linked my X and Y axis, so that when I move either X or Y, both the X and Y axis move together...

      I'm sure it's something I'm doiung, but could one of you experienced guys tell me if A:)what I'm trying to do is even possible, and B:) if so, what do you see wrong with my config?

      I went from knowing absolutely nothing at the start of the night, and I've figured out all sorts of stuff now. I just can't get to the bottom of this.

      My second Y is plugged into E1.

      Thanks in Advance!

      ;Drives
      M569 P0 S0 ; Drive 0 goes Backwards - X
      M569 P1 S0 ; Drive 1 goes Backwards - Y
      M569 P2 S0 ; Drive 2 goes Backwards - Z
      M569 P3 S1 ; Drive 3 goes forwards - E0
      M569 P4 S0 ; Drive 4 goes Backwards - Y

      M350 X16 Y16 Z16 E16:16 I1 ; Configure microstepping with interpolation
      M92 X80.00 Y80.00 Z400.00 E412.00:80.00 ; Set steps per mm
      M566 X900.00 Y900.00 Z12.00 E120.00:900.00 ; Set maximum instantaneous speed changes (mm/min)
      M203 X6000.00 Y6000.00 Z180.00 E1200.00:6000.00 ; Set maximum speeds (mm/min)
      M201 X500.00 Y500.00 Z20.00 E250.00:500.00 ; Set accelerations (mm/s^2)
      M906 X800.00 Y800.00 Z800.00 E800.00:800.00 I60 ; 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 X266 Y266 Z360 S0 ; Set axis maxima

      ; Endstops
      M574 X1 Y1 S1 ; Set active high endstops
      M574 X1 Y2 S1 ; X home to min. Y home to max. Normally Closed limit switches.
      M574 Z1 S2 ; Define Z to use Probe. Home to Min

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

        @steve-lynch said in Using E1 to run second Y Stepper?:

        I was under the impression that I could use the second extruder driver to run my second Y stepper, as the FT-5 uses both dual Z and Dual Y motors.

        For the life of me, no matter what I try, the E1 doesn't move anything... I have however somehow linked my X and Y axis, so that when I move either X or Y, both the X and Y axis move together...

        I'm sure it's something I'm doiung, but could one of you experienced guys tell me if A:)what I'm trying to do is even possible, and B:) if so, what do you see wrong with my config?

        You need to use M584 in your config.g to assign driver 4 to Y and un-assign it from your extruders:

        M584 X0 Y1:4 Z2 E3

        Put this either before or immediately after the M569 commands, so that it is before any M906 or M350 commands.

        As you will then have only one extruder, you will need to change all occurrences of Ennn:nnn to just Ennn.

        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
        • Steve Lynch
          Steve Lynch last edited by

          Hi! Thank you soooooMuch!

          Here's My Config in total.

          Would you mind pointing out whether or not I've got it right?

          Also, here's the deal: My X and Y are linked somehow. The carriage runs to the endstop, then grinds against the side until both the X and Y show Homed on the Screen. However, it's never actually touching the Y endstop. It shows that it homes however.

          Is there anywhere else where I may have somehow tied the two together?

          Wiring is correct. If I use a stepper Driver tester I made, and plug each stepper in, I can move them one by one with the tester. They're all plugged into the proper ports as well. I triple checked even though they're wire loomed and labeled from before I switched.

          ; Configuration file for Duet WiFi (firmware version 1.21)
          ; executed by the firmware on start-up
          ;
          ; generated by RepRapFirmware Configuration Tool v2 on Thu Dec 20 2018 03:07:21 GMT-0500 (Eastern Standard Time)

          ; General preferences
          G90 ; Send absolute coordinates...
          M83 ; ...but relative extruder moves

          M667 S1 ; Select CoreXY mode

          ; Network
          M550 P"FT-5" ; Set machine name
          M551 P"internet: ; Set password
          M552 S1 ; Enable network
          M587 S"FT-5" P"internet" ; Configure access point. You can delete this line once connected
          M586 P0 S1 ; Enable HTTP
          M586 P1 S0 ; Disable FTP
          M586 P2 S0 ; Disable Telnet
          ;Drives
          M584 X0 Y1:4 Z2 E3
          M569 P0 S0 ; Drive 0 goes Backwards - X
          M569 P1 S0 ; Drive 1 goes Backwards - Y
          M569 P2 S0 ; Drive 2 goes Backwards - Z
          M569 P3 S1 ; Drive 3 goes forwards - E0
          M569 P4 S0 ; Drive 4 goes Backwards - Y

          M350 X16 Y16 Z16 E16 I1 ; Configure microstepping with interpolation
          M92 X80.00 Y80.00 Z400.00 E412.00 ; Set steps per mm
          M566 X900.00 Y900.00 Z12.00 E120.00 ; Set maximum instantaneous speed changes (mm/min)
          M203 X6000.00 Y6000.00 Z180.00 E1200.00 ; Set maximum speeds (mm/min)
          M201 X500.00 Y500.00 Z20.00 E250.00 ; Set accelerations (mm/s^2)
          M906 X800.00 Y800.00 Z800.00 E800.00 I60 ; 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 X266 Y266 Z360 S0 ; Set axis maxima

          ; Endstops
          M574 X1 Y1 S0 ; Set active high endstops
          M574 X1 Y2 S0 ; X home to min. Y home to max. Normally Closed limit switches.
          M574 Z1 S2 ; Define Z to use Probe. Home to Min

          ; BLTouch - Heaters
          M307 H3 A-1 C-1 D-1 ; Disable the 7th Heater to free up PWM channel 5 on the Duex board.
          M558 P9 H5 F200 T2000 X0 Y0 Z1 ; Set Z probe type/mode 5. H=Dive Height. F=Speed the bed moves
          G31 P25 X0 Y-43 Z0.0 ; Z probe trigger value, offset in relation to nozzle. And trigger height adjustment

          M557 X15:266 Y15:266 S40 ; Define mesh grid

          ; Heaters
          M140 H1 ; Remap heated bed to heater 1
          M307 H1 B1 S1.0 ; Enable bang-bang mode for the bed heater and set PWM limit
          M305 P1 T10000 B4066 R4700 X0 ; Set thermistor + ADC parameters for heater 1 and remap it to channel 0
          M143 H1 S120 ; Set temperature limit for heater 1 to 120C
          M305 P2 T100000 B4138 R4700 ; Set thermistor + ADC parameters for heater 2
          M143 H2 S280 ; Set temperature limit for heater 2 to 280C

          ; Fans
          M106 P0 S0.3 I0 F500 H-1 ; Set fan 0 value, PWM signal inversion and frequency. Thermostatic control is turned off
          M106 P1 S1 I0 F500 H1 T45 ; Set fan 1 value, PWM signal inversion and frequency. Thermostatic control is turned on
          M106 P2 S1 I0 F200 H1 T45 ; Set fan 2 value, PWM signal inversion and frequency. Thermostatic control is turned on

          ; Tools
          M563 P0 S"E3dV6" D0 H2 ; 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

          ; Automatic saving after power loss is not enabled

          ; Custom settings are not configured

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

            Hi

            Seems you have configured it as Core XY printer, but it is not as far as i know. So delete line "M667 S1 ; Select CoreXY mode" or comment it out and all should work ok then.

            1 Reply Last reply Reply Quote 1
            • Steve Lynch
              Steve Lynch last edited by

              And That was it! Thank you so much for your consideration... everything is running smoothly as of now.. the only issue is the gantry stalling at the end stop and vibrating for 15 seconds on each axis...

              Should My Mechanical end stops be set to 0 or 1? Ive tried both.

              would it do that if I told it to home farther than it can go? I mean ignore the end stops?

              Thanks again! I'm almost there, and I'll pester you no more! This thing is sooo smooth!

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

                Sounds like your endstop switches dont trigger or your homeing files arent configured correctly. I reccomend to read https://duet3d.dozuki.com/Wiki/Connecting_endstop_switches and/or https://duet3d.dozuki.com/Wiki/ConfiguringRepRapFirmwareCartesianPrinter#Section_Homing_files.

                1 Reply Last reply Reply Quote 0
                • Steve Lynch
                  Steve Lynch last edited by Steve Lynch

                  @dc42 said in Using E1 to run second Y Stepper?:

                  M584 X0 Y1:4 Z2 E3

                  Just to follow up.... I found my main issue... I didn't realize that Dual Y motors had to rotate in different directions.... Just never dawned on me.... The 2 motors were fighting each other! They were previously spliced together in parallell, so once I split them I needed to flip the wires around again.

                  Thanks for all the assistance!

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

                    @steve-lynch said in Using E1 to run second Y Stepper?:

                    @dc42 said in Using E1 to run second Y Stepper?:

                    M584 X0 Y1:4 Z2 E3

                    Just to follow up.... I found my main issue... I didn't realize that Dual Y motors had to rotate in different directions.... Just never dawned on me.... The 2 motors were fighting each other! They were previously spliced together in parallell, so once I split them I needed to flip the wires around again.

                    Thanks for all the assistance!

                    No need to rewire, you can change the motor direction on individual drivers using the M569 command.

                    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
                    • First post
                      Last post
                    Unless otherwise noted, all forum content is licensed under CC-BY-SA