gnea / grbl

An open source, embedded, high performance g-code-parser and CNC milling controller written in optimized C that will run on a straight Arduino
https://github.com/gnea/grbl/wiki
Other
4.05k stars 1.61k forks source link

Seems the scalar in limits.c does nothing BUG? #959

Open reefwarrior opened 3 years ago

reefwarrior commented 3 years ago

Hi;

I have a COREXY plotter; and have endless issues getting it to home. It homes successfully if I position the head near to the X- and Y- end stops. However, it seems the scalar within the limits.c file is not being applied. The travelling limits is X about 220mm, Y about 350mm. If I position the head @ eg. 150X; 200Y; and initiate $H, then it moves a few mm, and nothing else happens. When it is positioned close to the switches, eg. 10X; 20Y; then the homing is done as what is expected.

It seems the scalars used for the seeking/probing of the end stops on each individual axis is being ignored.

Can anybody perhaps help????

Rgds Tinus

doppelhub commented 3 years ago

Are you sure the steppers aren't stalling? To test, I'd slow the acceleration and velocity parameters down ($$).