I'm in the process of changing my Mostly Printed CNC MPCNC from gantrykins to trivialkin with Charles's gantry solution.
The MPCNC is somewhat unique in that it has a dual gantry solution. I setup a git repo where I have my perfectly working gantrykin solution (less limit switches) a branch called autohome where I'm working on the trivialkin/ gantry solution. At this point, I don't have the limits switches wired, but I have the "S", "-" switches wired together so they simulated NC. I can get axis to display and simulate jogging, but nothing is happening with the motors. In my master(gantrykin) solution, I can here the motor's click when I enable axis, but there is silence when I run trivial kins. I'm not sure if instantiated the gantry object correctly(it looks a little weird to me) Could someone give this a quick gander and see if there's anything obviously wrong with this? https://github.com/Workshop88/MPCNC/blob/AutoHoming/MPCNC.hal#L58 On Thursday, April 27, 2017 at 10:05:12 PM UTC-5, Charles Steinkuehler wrote: > > If you want to manually home the machine, you may want to use > gantrykins, where you can jog each gantry axis separately, but I've > generally not enjoyed using non-trivialkins configurations (this is > reportedly a lot better if using the Joints-Axis code from LCNC, but > that hasn't been ported to Machinekit yet). > > Otherwise, if you want to use the gantry component (as is done in the > Comet configs), you need to wire at least one limit switch. Then you > can hold that switch and jog the axis and only the other motor will > move (towards the home position, anyway). You will probably want two > switches, since hitting the limit only stops motion in one direction. > > If you want to carry on without limit switches, I think you'll find it > easiest to just use a plain trivialkins setup. You can manually > remove any skew between the gantry joints prior to powering on, then > jog to and set your home position as usual. > > So...I'd recommend you either add limit switches or don't use the > gantry component. > > On 4/27/2017 8:59 PM, Jim McIntosh wrote: > > Hi, > > > > I'm running the BBB with the Probotix breakout board; but I don't have > any > > limit switches. How do I make it to where I can manually home the > machine? (it's > > on an entirely different setup, not a comet) > > > > any help would be appreciated. > > > > -Jim > > > > On Friday, August 15, 2014 at 9:32:46 AM UTC-6, Charles Steinkuehler > wrote: > > > > I finally crafted some example configurations for the gantry HAL > > component I wrote some time ago. These specific configs are for a > Comet > > router from Probotix, but should work as a starting point for any > gantry > > style system that has a homing switch available for each gantry > joint > > (ie: Shapeoko or similar). > > > > Video on Youtube: > > https://www.youtube.com/watch?v=7XhIoDV8Hp8 > > <https://www.youtube.com/watch?v=7XhIoDV8Hp8> > > > > Configs are in a github PR (already merged while I was typing!): > > https://github.com/machinekit/machinekit/pull/276 > > <https://github.com/machinekit/machinekit/pull/276> > > > > The relevant portions of the config in the HAL file: > > > > Splitting one commanded position into two with the gantry comp: > > > https://github.com/machinekit/machinekit/blob/master/configs/ARM/BeagleBone/Probotix/Comet.hal#L54-L62 > > > < > https://github.com/machinekit/machinekit/blob/master/configs/ARM/BeagleBone/Probotix/Comet.hal#L54-L62> > > > > > > > > Home/limit switch setup: > > > https://github.com/machinekit/machinekit/blob/master/configs/ARM/BeagleBone/Probotix/Comet.hal#L105-L111 > > > < > https://github.com/machinekit/machinekit/blob/master/configs/ARM/BeagleBone/Probotix/Comet.hal#L105-L111> > > > > > > > > Holler if there are any questions! > > > > -- > > Charles Steinkuehler > > [email protected] <javascript:> > > > > -- > > 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 [email protected] <javascript:> > > <mailto:[email protected] <javascript:>>. > > Visit this group at https://groups.google.com/group/machinekit. > > For more options, visit https://groups.google.com/d/optout. > > > > > -- > Charles Steinkuehler > [email protected] <javascript:> > -- 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 [email protected]. Visit this group at https://groups.google.com/group/machinekit. For more options, visit https://groups.google.com/d/optout.
