I have definitely missed a setting somewhere .
I have at last thrown in the towel and need to admit I cannot find an answer on my own.
I am hoping someone will be kind enough to point this non-programmer in the right direction.
The problem is that when I initiate homing ($H) the spindle moves possibly 2mm in the positive direction ( the correct direction for my application), performs a pull-off motion and then stops. This happens no matter its starting position, meaning it never actuates the z limit switch.
During the debugging I did try adjusting the travel but it had no effect.
I am running Grbl 1.1 on an Arduino and sending using bCNC.
I have installed limit switches to my cnc build. two switches at the end of each axis ( i.e. Zs, Zn, Ys,Yn and Xs,Xn). I commented out line 339 ( VARIABLE_SPINDLE) in order to enable d11 and have access to my z-limit switch. I have verified that bCNC sees all of the switches.
I am currently running with default settings, except for the disabled config.h setting.
any suggestions would be greatly appreciated.
thx
评论 (5)
#2 – karlbrown90 于 2018-04-19
Invert pins?
D11 and D12?
commenting out VARIABLE_SPINDLE swaps D11 and D12.
I verified that the arduino recognizes z switch.
#3 – jahnj0584 于 2018-04-19
In the software. I think it’s $5
On Wed, Apr 18, 2018, 9:14 PM karlbrown90,
> Invert pins?
> D11 and D12?
> commenting out VARIABLE_SPINDLE swaps D11 and D12.
> I verified that the arduino recognizes z switch.
>
> —
> You are receiving this because you commented.
> Reply to this email directly, view it on GitHub
> <https://github.com/gnea/grbl/issues/418#issuecomment-382568584>, or mute
> the thread
> <https://github.com/notifications/unsubscribe-auth/AQlzDMGSPTX3DtiRdOddTVDwDxpfLGX_ks5tp9b2gaJpZM4Ta7y3>
> .
>
#4 – karlbrown90 于 2018-04-20
Thanks jahnj. tried but it didn’t work.
I have no real idea what is going on but I have found an acceptable “work around”.
In my project the negative end-stop pins do not want to be hard limits. I simply removed switches from the negative pins and setup soft stops for negative extremes.
When I have the time I will try to re address this issue. will post what I find.
#5 – chamnit 于 2018-04-25
You have electrical noise in your limit switch lines. Try operating the switches manually without any power to anything but the Arduino. You should see it work fine. If so, you’ll need to address the noise issue.
#1 – jahnj0584 于 2018-04-18
Invert the pins
On Wed, Apr 18, 2018, 8:41 PM karlbrown90, wrote:
> I have definitely missed a setting somewhere .
> I have at last thrown in the towel and need to admit I cannot find an
> answer on my own.
> I am hoping someone will be kind enough to point this non-programmer in
> the right direction.
> The problem is that when I initiate homing ($H) the spindle moves possibly
> 2mm in the positive direction ( the correct direction for my application),
> performs a pull-off motion and then stops. This happens no matter its
> starting position, meaning it never actuates the z limit switch.
> During the debugging I did try adjusting the travel but it had no effect.
> I am running Grbl 1.1 on an Arduino and sending using bCNC.
> I have installed limit switches to my cnc build. two switches at the end
> of each axis ( i.e. Zs, Zn, Ys,Yn and Xs,Xn). I commented out line 339 (
> VARIABLE_SPINDLE) in order to enable d11 and have access to my z-limit
> switch. I have verified that bCNC sees all of the switches.
> I am currently running with default settings, except for the disabled
> config.h setting.
> any suggestions would be greatly appreciated.
> thx
>
> —
> You are receiving this because you are subscribed to this thread.
> Reply to this email directly, view it on GitHub
> <https://github.com/gnea/grbl/issues/418>, or mute the thread
> <https://github.com/notifications/unsubscribe-auth/AQlzDPMYwsqql7lLzT2bHp1PO2OjcOirks5tp88mgaJpZM4Ta7y3>
> .
>