Hi there Something I've just noticed on my machine is that when I home the Y axis, which is composed by two motors spinning on the same direction, is that after intentionally racking the gantry and trying to home it so get it squared back again, none of the motors will stop whenever they reach their individual limits. They will only stop when both have clicked. Which means that one of the sides of the router could really fall from the table while homing if one the other motor does not reach its limit on time. IIUIC, each motor should stop upon reaching the limit and "wait" until the other motor gets its limit clicked. Is that assumption correct? If yes, them my setup needs fixing as it's not doing that ATM.
Here's my gantry and limits setups if you can take a look: # y-axis gantry net y1pos-cmd gantry.0.joint.00.pos-cmd => stepgen.1.position-cmd net y1pos-fb gantry.0.joint.00.pos-fb <= stepgen.1.position-fb net y2pos-cmd gantry.0.joint.01.pos-cmd => stepgen.2.position-cmd net y2pos-fb gantry.0.joint.01.pos-fb <= stepgen.2.position-fb net ypos-cmd gantry.0.position-cmd <= axis.1.motor-pos-cmd net ypos-fb gantry.0.position-fb => axis.1.motor-pos-fb net ystep <= stepgen.1.step net ydir <= stepgen.1.dir net yenable axis.1.amp-enable-out => stepgen.1.enable stepgen.2.enable #setp gantry.0.search-vel [AXIS_1]HOME_SEARCH_VEL # y1-axis setp stepgen.1.position-scale [AXIS_1]SCALE setp stepgen.1.steplen 1 setp stepgen.1.stepspace 0 setp stepgen.1.dirhold 35000 setp stepgen.1.dirsetup 35000 setp stepgen.1.maxaccel [AXIS_1]STEPGEN_MAXACCEL # y2-axis setp stepgen.2.position-scale [AXIS_1]SCALE setp stepgen.2.steplen 1 setp stepgen.2.stepspace 0 setp stepgen.2.dirhold 35000 setp stepgen.2.dirsetup 35000 setp stepgen.2.maxaccel [AXIS_1]STEPGEN_MAXACCEL net astep <= stepgen.2.step net adir <= stepgen.2.dir # debounce the y-axis switches and connect them to signals net switches-y1-raw <= parport.0.pin-10-in net switches-y1-raw => debounce.0.0.in net switches-y1 <= debounce.0.0.out net switches-y2-raw <= parport.0.pin-11-in net switches-y2-raw => debounce.0.1.in net switches-y2 <= debounce.0.1.out setp debounce.0.delay 100 # join the home switch signals so that both switches have to be closed to trigger a home position net switches-y1 => gantry.0.joint.00.home net switches-y2 => gantry.0.joint.01.home net home-y <= gantry.0.home net home-y => axis.1.home-sw-in net limit-y <= gantry.0.limit net limit-y => axis.1.neg-lim-sw-in Cheers, Fernando -- website: http://www.machinekit.io blog: http://blog.machinekit.io github: https://github.com/machinekit --- You received this message because you are subscribed to the Google Groups "Machinekit" group. To unsubscribe from this group and stop receiving emails from it, send an email to machinekit+unsubscr...@googlegroups.com. Visit this group at https://groups.google.com/group/machinekit. For more options, visit https://groups.google.com/d/optout.