Trying to get past an issue on my first laser project. Been 3D printing for a while, so somewhat familiar with controllers and GCODE.
Here is my setup:
- Macbook Pro, M3 Max, Squoia 15.2
- Lightburn 1.7.04
- Elegoo Phecda
- DLC32 V1.0_V1.0.3_202040320
- ESP32-TFT V4.1_v1.0.3_202040320
- Geeks at Large Limit Switches installed/working
- Geeks at Large Camera Kit
- xTool Safety & Purifier
- lightburn finds the machine and sets it up as a GBRL machine
will do my best to describe the issue.
- in light burn drew a design following one of the beginer tutorials on YT (Tutorial here)
- When phecda powers on, it auto homes.
- I can tell light burn to Frame the project, and the laser module moves to the expected coordinates and successfully frames as expected.
- I can press home and the phecda homes again properly.
- This somewhat tells me that the limit switches are working as expected. Am I missing something here?
- I can also use the move panel in LB, manually give it coordinates, and the laser module seems to move accordingly. and again, clicking home sends it back to front/left.
Here is the issue(s).
Scenario 1 (ALARM 3): Laser Module is already at home. I press the Start button. Here is the console output:
Starting stream
G00 G17 G40 G21 G54
G90
M4
M8
G0 X-145.523Y241.75
Layer C01
G91
G1 X300F720000S0
G1 X0.324S950
G1 X36.27S0
G1 X0.461S950
G1 X9.964S0
G1 X0.309S950
G1 X5.117S0
G1 X0.159S950
G1 X300S0
G1 X0.483Y0.1
G1 X-300
G1 X-0.629S950
G1 X-4.99S0
G1 X-0.566S950
G1 X-9.688S0
G1 X-0.789S950
G1 X-16.739S0
G1 X-1.186S950
G1 X-17.693S0
G1 X-0.802S950
G1 X-300S0
G1 X0.005Y0.1
G1 X300
G1 X1.279S950
G1 X16.549S0
G1 X2.296S950
G1 X5.659S0
G1 X0.892S950
G1 X9.606S0
G1 X1.022S950
G1 X9.473S0
G1 X0.777S950
G1 X4.907S0
G1 X1.101S950
G1 X5.374S0
G1 X0.319S950
G1 X2.796S0
G1 X0.109S950
G1 X5.904S0
G1 X0.875S950
G1 X300S0
G1 X0.388Y0.1
G1 X-300
G1 X-1.473S950
G1 X-5.278S0
G1 X-0.505S950
G1 X-2.686S0
G1 X-0.645S950
G1 X-4.695S0
G1 X-1.572S950
G1 X-4.849S0
G1 X-0.946S950
G1 X-9.303S0
G1 X-1.211S950
G1 X-9.1S0
G1 X-1.479S950
G1 X-5.19S0
G1 X-2.981S950
G1 X-6.895S0
G1 X-1.1S950
G1 X-7.656S0
G1 X-1.757S950
G1 X-300S0
G1 X0.007Y0.1
G1 X300
G1 X2.232S950
G1 X6.852S0
G1 X1.908S950
G1 X6.07S0
G1 X3.53S950
G1 X4.836S0
G1 X1.937S950
G1 X8.675S0
G1 X1.371S950
G1 X9.165S0
G1 X1.08S950
G1 X4.817S0
G1 X1.94S950
G1 X4.15S0
G1 X0.89S950
G1 X2.624S0
G1 X0.901S950
ALARM:3
Reset while in motion. Grbl cannot guarantee position. Lost steps are likely. Re-homing is highly recommended.
On or near line 0:
Job halted
Stream completed in 0:00
Grbl 1.1h ['$' for help]
ok
[MSG:'$H'|'$X' to unlock]
$X
ok
[MSG:Caution: Unlocked]
ok
Scenario 2 (ALARM 1): I press the Home
button. Next, I press Frame
Button. Then the laser module moves over the workpiece as expected, frames the design, then stops at the lower-left of the job.
Here is the Console output from framing:
ok
Starting stream
G00 G17 G40 G21 G54
G90
G0 X148.333Y221
G1 X231.667S0F6000
G1 Y271
G1 X148.333
G1 Y221
G90
Stream completed in 0:00
Next, I click the Start/Play
button. Laser module quickly shoots left and gears grind against left edge of the machine. Here is the console output:
Starting stream
G00 G17 G40 G21 G54
G90
M4
M8
G0 X-145.523Y241.75
Layer C01
G91
G1 X300F720000S0
G1 X0.324S950
G1 X36.27S0
G1 X0.461S950
G1 X9.964S0
G1 X0.309S950
G1 X5.117S0
G1 X0.159S950
G1 X300S0
G1 X0.483Y0.1
G1 X-300
G1 X-0.629S950
G1 X-4.99S0
G1 X-0.566S950
G1 X-9.688S0
G1 X-0.789S950
G1 X-16.739S0
G1 X-1.186S950
G1 X-17.693S0
G1 X-0.802S950
G1 X-300S0
G1 X0.005Y0.1
G1 X300
G1 X1.279S950
G1 X16.549S0
G1 X2.296S950
G1 X5.659S0
G1 X0.892S950
G1 X9.606S0
G1 X1.022S950
G1 X9.473S0
G1 X0.777S950
G1 X4.907S0
G1 X1.101S950
G1 X5.374S0
G1 X0.319S950
G1 X2.796S0
G1 X0.109S950
G1 X5.904S0
G1 X0.875S950
G1 X300S0
G1 X0.388Y0.1
G1 X-300
G1 X-1.473S950
G1 X-5.278S0
G1 X-0.505S950
G1 X-2.686S0
G1 X-0.645S950
G1 X-4.695S0
G1 X-1.572S950
G1 X-4.849S0
G1 X-0.946S950
G1 X-9.303S0
G1 X-1.211S950
G1 X-9.1S0
G1 X-1.479S950
G1 X-5.19S0
G1 X-2.981S950
G1 X-6.895S0
G1 X-1.1S950
G1 X-7.656S0
G1 X-1.757S950
G1 X-300S0
G1 X0.007Y0.1
G1 X300
G1 X2.232S950
G1 X6.852S0
G1 X1.908S950
G1 X6.07S0
G1 X3.53S950
G1 X4.836S0
G1 X1.937S950
G1 X8.675S0
G1 X1.371S950
G1 X9.165S0
G1 X1.08S950
G1 X4.817S0
G1 X1.94S950
G1 X4.15S0
G1 X0.89S950
G1 X2.624S0
G1 X0.901S950
ALARM:1
Hard limit triggered. Machine position is likely lost due to sudden and immediate halt. Re-homing is highly recommended.
On or near line 0:
Job halted
Stream completed in 0:00
Grbl 1.1h ['$' for help]
ok
[MSG:'$H'|'$X' to unlock]
$X
ok
[MSG:Caution: Unlocked]
ok
Lastly, here is the output of $$
when I type it at the console panel:
??
<Idle|MPos:0.000,0.000,0.000|WPos:0.000,0.000,0.000|FS:0,0|Pn:P|DISCON>
<Idle|MPos:0.000,0.000,0.000|WPos:0.000,0.000,0.000|FS:0,0|Pn:P|DISCON>
But if I go to the Machine Settings Window and hit the Read Button, here is what I get:
$$
$54=12345678
$53=MKS_DLC
$52=12345678
$51=MKS_DLC
$0=10
$1=25
$2=0
$3=7
$4=0
$5=1
$6=0
$10=0
$11=0.010
$12=0.002
$13=0
$20=0
$21=1
$22=1
$23=7
$24=300.000
$25=1000.000
$26=250.000
$27=1.000
$28=1000.000
$30=1000.000
$31=0.000
$32=1
$41=1
$47=1
$46=1
$102=100
$101=80
$45=0
$44=0
$43=0
$42=0
$50=1
$40=1
$100=80.000
$103=100.000
$104=100.000
$105=100.000
$110=25000.000
$111=18000.000
$112=6000.000
$113=1000.000
$114=1000.000
$115=1000.000
$120=1000.000
$121=300.000
$122=500.000
$123=200.000
$124=200.000
$125=200.000
$130=400.000
$131=400.000
$132=50.000
$133=300.000
$134=300.000
$135=300.000
ok
$$
$54=12345678
$53=MKS_DLC
$52=12345678
$51=MKS_DLC
$0=10
$1=25
$2=0
$3=7
$4=0
$5=1
$6=0
$10=0
$11=0.010
$12=0.002
$13=0
$20=0
$21=1
$22=1
$23=7
$24=300.000
$25=1000.000
$26=250.000
$27=1.000
$28=1000.000
$30=1000.000
$31=0.000
$32=1
$41=1
$47=1
$46=1
$102=100
$101=80
$45=0
$44=0
$43=0
$42=0
$50=1
$40=1
$100=80.000
$103=100.000
$104=100.000
$105=100.000
$110=25000.000
$111=18000.000
$112=6000.000
$113=1000.000
$114=1000.000
$115=1000.000
$120=1000.000
$121=300.000
$122=500.000
$123=200.000
$124=200.000
$125=200.000
$130=400.000
$131=400.000
$132=50.000
$133=300.000
$134=300.000
$135=300.000
ok
Thanks in Advance for any help anyone can provide.