Skip to content

Commit

Permalink
Add arc_ok pre-check
Browse files Browse the repository at this point in the history
  • Loading branch information
bdring committed Feb 17, 2025
1 parent ae36fe4 commit d5d72c8
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion FluidNC/src/Spindles/PlasmaSpindle.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,13 @@ namespace Spindles {
set_enable(false);

} else {
// TODO maybe check arc OK is not on before starting
// check arc OK is not on before starting
if (_arcOkEventPin->get()) {
log_error(name() << " arc_ok active before starting plasma");
mc_critical(ExecAlarm::SpindleControl);
return;
}

if (!wait_for_arc_ok()) {
return;
}
Expand Down

0 comments on commit d5d72c8

Please sign in to comment.