Waiting for connection.... GRBL 1.1g

Good ,

I am having problems getting my Chinese 2417 CNC (that I have added a laser to) to connect with Lightburn. I have tried various suggestions in the forums to no avail. I see Waiting for connection (Twice) and never see it open the port.

I have verified the Port and Baudrate, attempted to right click device to re-initiate the connection as well as install a fresh copy of GRBL on the device. It connects fine using LaserGRBL, or CNCjs.

The controller is a MKS Gen_L that I have re-purposed.

Also as a side note “Find my laser” doesn’t list anything I had to create it manually. I am at a loss as to what my next steps should be.

My Grbl Config is as follows:

Grbl 1.1g [’$’ for help]
client> $$
[MSG:’$H’|’$X’ to unlock]
$0=10 (Step pulse time, microseconds)
$1=25 (Step idle delay, milliseconds)
$2=7 (Step pulse invert, mask)
$3=3 (Step direction invert, mask)
$4=0 (Invert step enable pin, boolean)
$5=0 (Invert limit pins, boolean)
$6=0 (Invert probe pin, boolean)
$10=3 (Status report options, mask)
$11=0.010 (Junction deviation, millimeters)
$12=0.002 (Arc tolerance, millimeters)
$13=0 (Report in inches, boolean)
$20=0 (Soft limits enable, boolean)
$21=0 (Hard limits enable, boolean)
$22=1 (Homing cycle enable, boolean)
$23=1 (Homing direction invert, mask)
$24=25.000 (Homing locate feed rate, mm/min)
$25=500.000 (Homing search seek rate, mm/min)
$26=250 (Homing switch debounce delay, milliseconds)
$27=1.000 (Homing switch pull-off distance, millimeters)
$30=1000 (Maximum spindle speed, RPM)
$31=0 (Minimum spindle speed, RPM)
$32=1 (Laser-mode enable, boolean)
$100=820.000 (X-axis travel resolution, step/mm)
$101=800.000 (Y-axis travel resolution, step/mm)
$102=820.000 (Z-axis travel resolution, step/mm)
$110=1500.000 (X-axis maximum rate, mm/min)
$111=1500.000 (Y-axis maximum rate, mm/min)
$112=1500.000 (Z-axis maximum rate, mm/min)
$120=150.000 (X-axis acceleration, mm/sec^2)
$121=805.000 (Y-axis acceleration, mm/sec^2)
$122=150.000 (Z-axis acceleration, mm/sec^2)
$130=217.000 (X-axis maximum travel, millimeters)
$131=133.000 (Y-axis maximum travel, millimeters)
$132=55.000 (Z-axis maximum travel, millimeters)

I appreciate any help you may be able to provide.

I’ve tried lightburn 0.9.02-04

Try a different USB cable, one of good quality with ferrite chokes on it, and make sure the cable isn’t too long.

Just tried a 2’ cable (No ferrite choke on it but the old cable and this cable work successfully with both cncjs and lasergrbl. Is there any way to get more debugging information to try and see what is going on?

Also not sure if it matters but this controller is not FTDI Based. It is based on the ch341 chip.

You can go to Help > Enable Debug Log, then click “Devices”, then click “Ok” to re-attempt the connection. Give it a moment or two, then turn off the debug log and quit LightBurn. There will be a file in your documents folder called LightBurnLog.txt. Post that here.

20:24:47.475 D: “LightBurn 0.9.04” “Sun Jul 21 2019”
20:24:50.887 D: Found port: PID 29987 VID 6790
20:24:50.887 D: Manufacturer: “wch.cn
20:24:50.887 D: Product: “USB-SERIAL CH340”
20:24:50.887 D: Name: “COM21”
20:24:50.889 D: Port open succeeded
20:24:50.936 D: “starting” busy: false state: 0
20:24:50.936 D: “Attempting to connect” busy: false state: 1
20:24:50.936 D: “Connecting…” busy: false state: 1
20:24:50.939 D: O: “0a”
20:24:51.140 D: “Connecting…” busy: false state: 1
20:24:51.144 D: O: “0a”
20:24:51.343 D: “Connecting…” busy: false state: 1
20:24:51.347 D: O: “0a”
20:24:51.547 D: “Connecting…” busy: false state: 1
20:24:51.549 D: O: “0a”
20:24:51.750 D: “Connecting…” busy: false state: 1
20:24:51.753 D: O: “0a”
20:24:51.954 D: “Connecting…” busy: false state: 1
20:24:51.955 D: O: “0a”
20:24:52.158 D: “Connecting…” busy: false state: 1
20:24:52.160 D: O: “0a”
20:24:52.361 D: “Connecting…” busy: false state: 1
20:24:52.365 D: O: “0a”
20:24:52.564 D: “Connecting…” busy: false state: 1
20:24:52.566 D: O: “0a”
20:24:52.768 D: “Connecting…” busy: false state: 1
20:24:52.770 D: O: “0a”
20:24:52.971 D: “Connecting…” busy: false state: 1
20:24:52.974 D: O: “0a”
20:24:53.174 D: “Connecting…” busy: false state: 1
20:24:53.177 D: O: “0a”
20:24:53.377 D: “Connecting…” busy: false state: 1
20:24:53.379 D: O: “0a”
20:24:53.581 D: “Connecting…” busy: false state: 1
20:24:53.584 D: O: “0a”
20:24:53.785 D: “Connecting…” busy: false state: 1
20:24:53.789 D: O: “0a”
20:24:53.989 D: “Connecting…” busy: false state: 1
20:24:53.992 D: O: “0a”
20:24:54.192 D: “Connecting…” busy: false state: 1
20:24:54.195 D: O: “0a”
20:24:54.396 D: “Connecting…” busy: false state: 1
20:24:54.398 D: O: “0a”
20:24:54.599 D: “Connecting…” busy: false state: 1
20:24:54.602 D: O: “0a”
20:24:54.801 D: “Connecting…” busy: false state: 1
20:24:54.805 D: O: “0a”
20:24:55.005 D: “Connecting…” busy: false state: 1
20:24:55.008 D: O: “0a”
20:24:55.263 D: “starting” busy: false state: 0
20:24:55.263 D: Enumerating ports:
20:24:55.264 D: Port: “COM21”
20:24:55.265 D: PID: 29987 VID: 6790
20:24:55.265 D: Manufacturer: “wch.cn
20:24:55.265 D: Description: “USB-SERIAL CH340”
20:24:55.265 D: System Loc: “\\.\COM21”
20:24:55.265 D: Serial: “”
20:24:55.271 D:
20:24:55.317 D: Found port: PID 29987 VID 6790
20:24:55.317 D: Manufacturer: “wch.cn
20:24:55.317 D: Product: “USB-SERIAL CH340”
20:24:55.317 D: Name: “COM21”
20:24:55.319 D: Port open succeeded
20:24:55.365 D: “starting” busy: false state: 0
20:24:55.365 D: “Attempting to connect” busy: false state: 1
20:24:55.365 D: “Connecting…” busy: false state: 1
20:24:55.366 D: O: “0a”
20:24:55.569 D: “Connecting…” busy: false state: 1
20:24:55.570 D: O: “0a”
20:24:55.772 D: “Connecting…” busy: false state: 1
20:24:55.776 D: O: “0a”
20:24:55.976 D: “Connecting…” busy: false state: 1
20:24:55.980 D: O: “0a”
20:24:56.179 D: “Connecting…” busy: false state: 1
20:24:56.181 D: O: “0a”
20:24:56.382 D: “Connecting…” busy: false state: 1
20:24:56.383 D: O: “0a”
20:24:56.585 D: “Connecting…” busy: false state: 1
20:24:56.587 D: O: “0a”
20:24:56.789 D: “Connecting…” busy: false state: 1
20:24:56.793 D: O: “0a”
20:24:56.993 D: “Connecting…” busy: false state: 1
20:24:56.995 D: O: “0a”
20:24:57.195 D: “Connecting…” busy: false state: 1
20:24:57.199 D: O: “0a”
20:24:57.399 D: “Connecting…” busy: false state: 1
20:24:57.401 D: O: “0a”
20:24:57.602 D: “Connecting…” busy: false state: 1
20:24:57.606 D: O: “0a”
20:24:57.805 D: “Connecting…” busy: false state: 1
20:24:57.808 D: O: “0a”
20:24:58.008 D: “Connecting…” busy: false state: 1
20:24:58.011 D: O: “0a”
20:24:58.212 D: “Connecting…” busy: false state: 1
20:24:58.213 D: O: “0a”
20:24:58.416 D: “Connecting…” busy: false state: 1
20:24:58.417 D: O: “0a”
20:24:58.620 D: “Connecting…” busy: false state: 1
20:24:58.622 D: O: “0a”
20:24:58.823 D: “Connecting…” busy: false state: 1
20:24:58.825 D: O: “0a”
20:24:59.026 D: “Connecting…” busy: false state: 1
20:24:59.030 D: O: “0a”
20:24:59.230 D: “Connecting…” busy: false state: 1
20:24:59.233 D: O: “0a”
20:24:59.434 D: “Connecting…” busy: false state: 1
20:24:59.438 D: O: “0a”
20:24:59.638 D: “Connecting…” busy: false state: 1
20:24:59.641 D: O: “0a”
20:24:59.842 D: “Connecting…” busy: false state: 1
20:24:59.844 D: O: “0a”
20:25:00.045 D: “Connecting…” busy: false state: 1
20:25:00.047 D: O: “0a”
20:25:00.248 D: “Connecting…” busy: false state: 1
20:25:00.252 D: O: “0a”
20:25:00.451 D: “Connecting…” busy: false state: 1
20:25:00.452 D: O: “0a”
20:25:00.655 D: “Connecting…” busy: false state: 1
20:25:00.659 D: O: “0a”
20:25:00.858 D: “Connecting…” busy: false state: 1
20:25:00.863 D: O: “0a”
20:25:01.061 D: “Connecting…” busy: false state: 1
20:25:01.063 D: O: “0a”
20:25:01.265 D: “Connecting…” busy: false state: 1
20:25:01.266 D: O: “0a”
20:25:01.469 D: “Connecting…” busy: false state: 1
20:25:01.473 D: O: “0a”
20:25:01.672 D: “Connecting…” busy: false state: 1
20:25:01.674 D: O: “0a”
20:25:01.877 D: “Connecting…” busy: false state: 1
20:25:01.879 D: O: “0a”
20:25:02.079 D: “Connecting…” busy: false state: 1
20:25:02.081 D: O: “0a”
20:25:02.283 D: “Connecting…” busy: false state: 1
20:25:02.285 D: O: “0a”
20:25:02.486 D: “Connecting…” busy: false state: 1
20:25:02.487 D: O: “0a”
20:25:02.689 D: “Connecting…” busy: false state: 1
20:25:02.693 D: O: “0a”
20:25:02.891 D: “Connecting…” busy: false state: 1
20:25:02.893 D: O: “0a”
20:25:03.095 D: “Connecting…” busy: false state: 1
20:25:03.097 D: O: “0a”
20:25:03.298 D: “Connecting…” busy: false state: 1
20:25:03.299 D: O: “0a”
20:25:03.500 D: “Connecting…” busy: false state: 1
20:25:03.503 D: O: “0a”
20:25:03.703 D: “Connecting…” busy: false state: 1
20:25:03.706 D: O: “0a”
20:25:03.907 D: “Connecting…” busy: false state: 1
20:25:03.908 D: O: “0a”
20:25:04.110 D: “Connecting…” busy: false state: 1
20:25:04.113 D: O: “0a”
20:25:04.314 D: “Connecting…” busy: false state: 1
20:25:04.316 D: O: “0a”

That “0a” is LightBurn sending the board a newline character. Normally the board would respond with “ok”, signaling that it’s there, but it appears not to be doing this.

Do you have a serial terminal app you can use to connect to the board and send commands to it? I’m curious if it responds when you hit ‘Enter’ on the keyboard in a serial terminal app.

Worked as expected

I’ll try changing the ‘0a’ (newline) to ‘0d’ (carriage return), as that’s what the docs say to send and will see if that causes any trouble for GRBL boards I have here. I’ll see if I can do this tonight and get you a test build to verify.

Thankyou Sir I am more then happy to wait till some point tomorrow this is your sunday evening after all.

Just wondering if you have had any luck reproducing this and any info on the test build?

I’m posting an update with changes to the connection code now. I’ll send you a PM with a link.

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.