IDEX and axis definition order



  • Hello all,

    I'm currently configuring a Duet2 Wifi in IDEX mode with dual X carriage on the same rail.
    I've a question regarding the M584 command for the axis definition.
    After reading wiki and other ressources I always see that the second X carriage defined as U use the E0 driver, E0 shifted on E1 driver and E1 shifted on E2 driver (drive 5 on Duex).

    In this case the M584 command look like this : M584 X0 Y1 Z2 U3 E4:5
    Why not connecting the second X carriage (U) on E2 driver (drive 5 on Duex) and have the M584 like this : M584 X0 Y1 Z2 E3:4 U5 ?

    Is there any reason why we use E0 motor for the second X carriage (U) ?


  • administrators

    You can use whichever motor output you like for the axes and extruders, as long as you specify them correctly in M584. Some users prefer to connect the extruders and hot ends to the DueX, and just connect axis motors to the Duet.



  • Thanks for your answer David.
    I forgot to say that I'm using RRF3 version.
    In the case I use second X carriage on E2 driver with command M584 X0 Y1 Z2 E3:4 U5 (drive 5 on Duex) my M563 command for tool config should be : M563 P1 D1 H2 X5 F2
    Am I right ?


  • administrators

    It should be X4 in the M563 command because that parameter is the axis number to map X to, not the driver number.



  • Missed it.
    In this case axis number are as this : X->1, Y->2, Z->3 and U->4 ? I'm a little bit lost ...
    It's not X->0, Y->1, Z->2 and U->3
    E0 and E1 are obviously not considered as axis.
    I just tried with X4 in 563 but it does not work.
    After tool change I don't see the U tool offset mapped to X
    If I try to move X axis, the U carriage does not move.
    I've double checked my config.g file and don't see obvious mistake.
    I share my config.g file if you can have a look at it.
    config.g



  • Strange ... reverted back to X3 in M563 and now it's working ...
    Another question related to the tool change, in the tfree#.g, as per the wiki example I lift up the Z axis (in my case) 5mm before parking the tool.
    After tool change, if I send the next position where to go, the Z go down 5mm just after living parking position and while moving to this new position.
    Is there a way to move the Z down only after reaching the new position and not while moving to the new position ?


  • administrators

    @ocornet said in IDEX and axis definition order:

    After tool change, if I send the next position where to go, the Z go down 5mm just after living parking position and while moving to this new position.
    Is there a way to move the Z down only after reaching the new position and not while moving to the new position ?

    Do you mean when RRF restores the head position to what it was before the tool change, or something else?


Log in to reply