cprezzi / grbl-LPC

Multiple compiled versions for different boards & machines (under releases)
Other
56 stars 39 forks source link

Dual axis homing #52

Open sigxcpu76 opened 3 years ago

sigxcpu76 commented 3 years ago

Latest GRBL (1.1.h https://github.com/gnea/grbl/releases) implemented dual axis homing (with two motors & two endstops) to be able to square the gantry. Mostly used for dual Y motors, I think. I tried to add that patch (https://github.com/gnea/grbl/commit/b75e5571eeaeb22a88304716fb1e7411f9c28be0) by hand, it compiled, but motors didn't move at all, so I don't know what I did wrong. It is pretty clean to add it except the ISR handler, which is a bit different for LPC.

Do you think it may be easier for you to do it? This is a very useful feature for most mid-size CNCs that are using multiple motors.

The nice thing is that A axis is already there in the LPC port, so it can be used as second X or Y motor.

cprezzi commented 3 years ago

Did you configure the stepper current $ settings? The default current is 0 (for security reason).

sigxcpu76 commented 3 years ago

I am not using the stepper drivers onboard. I use just the STEP,DIR,ENA pins with external steppers.

Nonstopich commented 2 years ago

Good afternoon. First of all, I want to say thank you for your work.

So your latest grbl-lpc release supports dual homming? or second option: can I compile the latest sources to support dual homming functionality for lpc-based board? My board is MKS SBase.