control y axis motors individually for homing
-
Hi,
i am wondering if its possible for the duet to home the machine but treat the left and right motors of the long y axis on my 1500 x 1000 killerbee as individual so they home to the limit switch and each one stops when it reaches its on limit switch if that makes any sense.
Any help would be most appreciated
-
@Ravihotwok It sounds like what you want is the mechanism described here: https://docs.duet3d.com/User_manual/Reference/Gcodes#examples-173 for Z homing with multiple motors. I'm not sure if the same system is available for other axes or not @droftarts may know.
-
@Ravihotwok @gloomyandy Yes, you can do the same thing on other axes. See https://docs.duet3d.com/User_manual/Connecting_hardware/Z_probe_auto_levelling#axis-levelling-using-endstops
Ian
-
@gloomyandy Thanks for the reply mate much appreciated, reading now
-
@droftarts Cheers Ian, but my god this is looking complicated lol is it a case of it just looks daunting to someone who doesnt know much about gcode? I usually have software which crates the gcode for me so this will be very high level for me
-
@Ravihotwok You treat it as one axis. You set up the endstops at the end of each side of the Y axis. You configure the Y endstop in config.g as something like (depending on what IO ports you used, and assuming you're using a Duet 2 board)
M574 Y1 P"ystop+e0stop" S1 ; configure Y axis endstop
Homing is done normally, and will automatically stop each side when it hits it's respective endstop. Most likely, you already have a line saying something like
M574 Y1 P"ystop" S1
line in your config.g, just change that.You only have to set this up once, and it's setting up the configuration, not a job like your other software does. It can be configured using the RRF Config tool, too: https://configtool.reprapfirmware.org/
Ian
-
@droftarts think i understand, im just in the process of routing the cables now so will post a pic up once i get to a point where i need some support into what goes where lol. I am using a duet 2 wifi i think