Dual Y-Axis Motor Configuration



  • Hi - I've tried to search the forum as much as possilbe for my answer - but haven't found it yet.

    I'm wanting to had two Y-Axis motors for my set up. Motor will be mounted on the front of the printer.
    As I see it (in my set up) - to move the carriage/axis forward, the right motor must turn counter-clockwise, while the left motor will have to turn clockwise.

    Can someone help me know how to map the motors, and set the different rotation for each to sync?

    I am using a DuetWifi, and will be adding a Duet5 Expansion board.

    Full set up:
    2 Z motors Leadscrews for Dual Z-Axis
    2 Y motors for Y-Axis
    2 X motors (1 each for IDEX) Dual X-Axis
    2 Extruder motors (1 for each hotend)

    Thanks!


  • administrators

    Two possibilities:

    1. Connect the two motors in series (google "connect stepper motors in series") to a single motor output on the Duet, but swap one pair of phase wires to one of the stepper motors to reverse its direction. Or if they are low current/high resistance stepper motors, connect them in parallel, and again swap one pair of phase wires to one of the motors.

    2. Connect the two motors to separate motor outputs on the Duet + DueX5. Use the M584 command to assign both of them to the Y axis, and the M569 commands to reverse one of them. See https://duet3d.com/wiki/G-code for the descriptions of M584 and M569.

    HTH David



  • David - thank you, this looks to be exactly what I needed.
    I don't currently have any M584 commands in my config file - I guess I didn't need them because I was just using the 'normal' drivers for each motor and didn't need to 'remap' them.

    Since I will need to use a Duet expansion board - this will accomplish what I need.

    … oh - are there any examples of tool change code / parking / etc for IDEX set up? (being lazy here I guess)

    Thanks


  • administrators

    @goldentuna:

    … oh - are there any examples of tool change code / parking / etc for IDEX set up? (being lazy here I guess)

    Thanks

    Thre are suggestons on the wiki, https://duet3d.com/wiki/Configuring_multiple_independent_X-carriages_on_a_Cartesian_printer.



  • Thank you so much … that will be a big help!


 

Looks like your connection to Duet3D was lost, please wait while we try to reconnect.