mikep
(mikep)
November 7, 2019, 1:52am
1
I’m trying to diagnose a problem with a SuperGerbil board/firmware. If someone could do the following with a shapeoko board with 1.1 firmware, it would help me out.
From the console in UG (or mdi in carbide create)
$H (should home the machine)
$$ (Should show your settings, then wait for “ok”)
? (should show the current position and pin state - please let me know if it says “ok” afterwards)
$$ (should show your settings again - please let me know if this works, or appears hung)
$H (should home the machine)
If you could post the log of what happens here, I’d appreciate it.
neilferreri
(Neil Ferreri Ω)
November 7, 2019, 2:07am
2
Not using UGS or CM, but, yes, it should display “ok” after the ? status.
1 Like
neilferreri
(Neil Ferreri Ω)
November 7, 2019, 2:15am
3
mikep:
SuperGerbil
Any chance you’re on a switch? I don’t think the ‘?’ works if in a hard limit alarm state (at least with GRBL).
WillAdams
(William Adams (Carbide 3D))
November 7, 2019, 2:16am
4
Sure!
Attached.
test.log.txt.zip (2.9 KB)
neilferreri
(Neil Ferreri Ω)
November 7, 2019, 2:35am
5
@mikep Does it hang every time you send a ‘?’
#ifdef REPORT_ECHO_LINE_RECEIVED
report_echo_line_received(line);
#endif
// Direct and execute one line of formatted input, and report status of execution.
if (line_flags & LINE_FLAG_OVERFLOW) {
// Report line overflow error.
report_status_message(STATUS_OVERFLOW);
} else if (line[0] == 0) {
// Empty or comment line. For syncing purposes.
//report_status_message(STATUS_OK);//Paul, 13/01/19 no need to ouput Ok
} else if (line[0] == '$') {
// Grbl '$' system command
report_status_message(system_execute_line(line));
} else if (sys.state & (STATE_ALARM | STATE_JOG)) {
// Everything else is gcode. Block if in alarm or jog mode.
report_status_message(STATUS_SYSTEM_GC_LOCK);
} else {
// Parse and execute g-code block.
report_status_message(gc_execute_line(line));
}
1 Like
mikep
(mikep)
November 8, 2019, 1:17am
6
Every time… with the supergerbil code.
mikep
(mikep)
November 8, 2019, 1:17am
7
Doesn’t seem to matter where. can jog around, move all over, do many things. But “?” and I’m stuck. Unfortunately, lightburn uses that command a lot.
neilferreri
(Neil Ferreri Ω)
November 8, 2019, 1:18am
8
Try uncommenting that line I highlighted and recompiling.
mikep
(mikep)
November 8, 2019, 1:19am
9
Thanks everyone, this has been extremely helpful!
neilferreri
(Neil Ferreri Ω)
November 8, 2019, 1:47am
10
Update if when you get it working.
1 Like
system
(system)
Closed
December 8, 2019, 1:49am
11
This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.