I just installed 2 normally closed (NC) limit switches on my DIY Aliexpress Laser. When I try homing with $5=0, the stepper motors get powered, but won’t move. The Laser stays on “busy” for a while, followed by:
“ALARM:9
Homing failed. Limit switch at search distance could not be found. Defined as 1.5 * max_travel during search and 5 * pull-off during search phases.”
When setting $5 to 1, I immediately get:
“ALARM:8
Reference run failed. The cycle could not clear the limit switch when pulling off. Try increasing the pull-off setting or check the wiring.”
The board I’m using is similar to this one: Bachinmaker Neue Produkt Pcb 2 Achse Circuit Control Board Für Laser Gravur Maschine Und Schreiben Elektrische Controller Panel - Buy Control Board For Laser Engraving,Pcb Control Board,Pcb 2axis Circuit Control Board Product on Alibaba.com . When using console commands, the stepper motors work fine. My home position is bottom-left.
My settings:
$$
$0=10
$1=10
$2=0
$3=1
$4=0
$5=1
$6=0
$10=1
$11=0.010
$12=0.002
$13=0
$20=0
$21=0
$22=1
$23=1
$24=25.000
$25=500.000
$26=10
$27=1.000
$30=1000
$31=0
$32=1
$100=100.000
$101=100.000
$102=100.000
$110=5000.000
$111=5000.000
$112=100.000
$120=100.000
$121=100.000
$122=10.000
$130=350.000
$131=420.000
$132=200.000
$I
[VER:1.1h.20190825:]
[OPT:V,15,128]
Target buffer size found
$#
[G54:0.000,0.000,0.000]
[G55:0.000,0.000,0.000]
[G56:0.000,0.000,0.000]
[G57:0.000,0.000,0.000]
[G58:0.000,0.000,0.000]
[G59:0.000,0.000,0.000]
[G28:0.000,0.000,0.000]
[G30:0.000,0.000,0.000]
[G92:0.000,0.000,0.000]
[TLO:0.000]
[PRB:0.000,0.000,0.000:0]
$G
[GC:G0 G54 G17 G21 G90 G94 M5 M9 T0 F0 S0]