synman / Octoprint-Bettergrblsupport

Better Grbl Support Plugin for Octoprint based (loosely) on the original Grbl Support plugin developed by mic159
https://github.com/synman/Octoprint-Bettergrblsupport/wiki
64 stars 19 forks source link

Xtool D1 - Controls Grayed out #83

Closed cowboyzeroone closed 1 year ago

cowboyzeroone commented 2 years ago

GCODE loaded from lightburn projects seem to run

Terminal output

2022-06-07 12:13:51,745 - Changing monitoring state from "Offline" to "Opening serial connection" 2022-06-07 12:13:51,778 - Connecting to port /dev/ttyUSB0, baudrate 230400 2022-06-07 12:13:51,838 - Changing monitoring state from "Opening serial connection" to "Connecting" 2022-06-07 12:13:51,844 - Connected to: Serial(port='/dev/ttyUSB0', baudrate=230400, bytesize=8, parity='N', stopbits=1, timeout=10.0, xonxoff=False, rtscts=False, dsrdtr=False), starting monitor 2022-06-07 12:13:51,863 - Send:

? 2022-06-07 12:13:51,866 - Send:

? 2022-06-07 12:13:51,898 - Recv: ok 2022-06-07 12:13:51,947 - Changing monitoring state from "Connecting" to "Operational" 2022-06-07 12:13:52,000 - Send:

? 2022-06-07 12:13:52,017 - Send: $$ 2022-06-07 12:13:52,076 - Send: $I 2022-06-07 12:13:52,083 - Send: $G 2022-06-07 12:13:52,154 - Recv: ok 2022-06-07 12:13:52,158 - Recv: ok 2022-06-07 12:13:52,173 - Recv: ok 2022-06-07 12:13:52,176 - Recv: ok 2022-06-07 12:13:52,191 - Recv: ok 2022-06-07 12:13:52,194 - Recv: ok 2022-06-07 12:13:52,196 - Recv: ok 2022-06-07 12:13:52,200 - Recv: ok 2022-06-07 12:13:52,213 - Recv: ok 2022-06-07 12:13:52,216 - Recv: $0=1 2022-06-07 12:13:52,231 - Recv: $1=0.03 2022-06-07 12:13:52,245 - Recv: $2=0 2022-06-07 12:13:52,263 - Recv: $3=0 2022-06-07 12:13:52,296 - Recv: $4=0 2022-06-07 12:13:52,309 - Recv: $5=0 2022-06-07 12:13:52,328 - Recv: $6=0 2022-06-07 12:13:52,346 - Recv: $10=255 2022-06-07 12:13:52,364 - Recv: $11=0.0 2022-06-07 12:13:52,383 - Recv: $12=0.0 2022-06-07 12:13:52,401 - Recv: $13=0 2022-06-07 12:13:52,420 - Recv: $20=0 2022-06-07 12:13:52,438 - Recv: $21=1 2022-06-07 12:13:52,456 - Recv: $22=1 2022-06-07 12:13:52,475 - Recv: $23=0 2022-06-07 12:13:52,493 - Recv: $24=25.0 2022-06-07 12:13:52,512 - Recv: $25=3000.0 2022-06-07 12:13:52,530 - Recv: $26=250 2022-06-07 12:13:52,549 - Recv: $27=1.0 2022-06-07 12:13:52,567 - Recv: $30=1000 2022-06-07 12:13:52,586 - Recv: $31=0.1 2022-06-07 12:13:52,604 - Recv: $32=1 2022-06-07 12:13:52,622 - Recv: $100=100 2022-06-07 12:13:52,641 - Recv: $101=100 2022-06-07 12:13:52,659 - Recv: $102=0 2022-06-07 12:13:52,678 - Recv: $110=18000 2022-06-07 12:13:52,696 - Recv: $111=6000 2022-06-07 12:13:52,715 - Recv: $112=6000 2022-06-07 12:13:52,733 - Recv: $120=2500.000000 2022-06-07 12:13:52,752 - Recv: $121=300.000000 2022-06-07 12:13:52,770 - Recv: $122=300 2022-06-07 12:13:52,783 - Recv: $130=432.000 2022-06-07 12:13:52,796 - Recv: $131=406 2022-06-07 12:13:52,815 - Recv: $132=0 2022-06-07 12:13:52,879 - Recv: ok 2022-06-07 12:13:52,882 - Recv: ok 2022-06-07 12:13:52,885 - Recv: ok 2022-06-07 12:13:52,893 - Recv: [XTool D1:ver 40.30.003.01 B9] 2022-06-07 12:13:52,906 - Recv: ok 2022-06-07 12:13:56,933 - Send: ? 2022-06-07 12:13:56,942 - Recv: ok 2022-06-07 12:13:56,948 - Recv: <MPos:0.000000,100.000000,0.000000,0.000000>

synman commented 2 years ago

This doesn't look like true Grbl. The signature is off and status reporting isn't compliant either.

cowboyzeroone commented 2 years ago

Very well could be. I am going to capture all the terminal output from lightburn to see what it is doing. It might just be straight up assuming settings and/or doesn't care.

synman commented 1 year ago

If you can help point me to where XTool documents there protocol in more detail, I'll see about providing support for this status reporting variant.

synman commented 1 year ago

closing this due to lack of information to proceed