Base config for Z axis for alignment



  • I am building my RailCore and would like to put some base code in the Duet so I can run my Z axis leadscrews independantly whilst I align the linear rails.

    I was going to use an electric drill on the exposed Z leadscrew, but thought better of that idea!

    Thanks in advance.

    Paul.


  • administrators

    The simplest approach is to assign each Z motor to be an independent axis. If you have your Z motors connected to the Z E0 E1 connectors on the Duet (and the extruders connected to the DueX), you would normally have this command or similar in config.g:

    M584 X0 Y1 Z2:3:4 E5:6:7:8:9

    To make the motors controllable as axes Z U V, use this instead:

    M584 X0 Y1 Z2 U3 V4 E5:6:7:8:9

    Temporarily put this in homeall.g:

    G92 X0 Y0 Z0 U0 V0

    then the firmware will consider that all axes have been homed and it will allow you to jog them.



  • @dc42 Thank You, appreciated.


 

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