I have had my machine (1000 mm, X controller) for 2-3 years now and have not been using limit switches but want to make use of the Work Coordinate system so I am trying to set them up.
My issue is the z axis homes properly but X and Y move to trigger the switches but the motors don’t stop and retract as they should, they just keep on trying to move. I have checked the status of the switches by triggering them manually and after I have had to do an emergency stop while trying to home and they show to be triggered (1,0,0 for z, 0,1,0 for y, and 0,0,1 for x)
These are my settings:
$0=10 (step pulse, usec)
$1=255 (step idle delay, msec)
$2=0 (step port invert mask:00000000)
$3=7 (dir port invert mask:00000111)
$4=0 (step enable invert, bool)
$5=0 (limit pins invert, bool)
$6=0 (probe pin invert, bool)
$10=19 (status report mask:00010011)
$11=0.020 (junction deviation, mm)
$12=0.002 (arc tolerance, mm)
$13=1 (report inches, bool)
$20=0 (soft limits, bool)
$21=0 (hard limits, bool)
$22=1 (homing cycle, bool)
$23=3 (homing dir invert mask:00000011)
$24=25.000 (homing feed, mm/min)
$25=750.000 (homing seek, mm/min)
$26=250 (homing debounce, msec)
$27=1.000 (homing pull-off, mm)
$30=255. (rpm max)
$31=0. (rpm min)
$32=1 (laser mode, bool)
$100=26.667 (x, step/mm)
$101=26.667 (y, step/mm)
$102=50.181 (z, step/mm)
$110=8000.000 (x max rate, mm/min)
$111=8000.000 (y max rate, mm/min)
$112=1800.000 (z max rate, mm/min)
$120=500.000 (x accel, mm/sec^2)
$121=500.000 (y accel, mm/sec^2)
$122=300.000 (z accel, mm/sec^2)
$130=740.000 (x max travel, mm)
$131=790.000 (y max travel, mm)
$132=100.000 (z max travel, mm)
I tried changing $27 to 5 as mentioned in another post to avail.
The only difference in the switches is the X and Y are they type that comes with the xcarve and the z is one that comes on the CNC4Newbie Z axis. They are all wired the same.
I don’t understand if GRBL shows the switch triggered in status why the motors keep trying to move.
Appreciate any suggestions.
(tried homing in Easel, Picsender, and UGCS with same results).