Minimal probing cycle working. Supports both G38.2 for error and G38.3 when no errors are desired.

This commit is contained in:
Robert Grzesek
2014-02-25 12:19:52 -08:00
parent 1fd45791a5
commit 0a46dfe0b9
10 changed files with 211 additions and 3 deletions

View File

@ -49,6 +49,11 @@ ISR(PINOUT_INT_vect)
sys.execute |= EXEC_FEED_HOLD;
} else if (bit_isfalse(PINOUT_PIN,bit(PIN_CYCLE_START))) {
sys.execute |= EXEC_CYCLE_START;
} else if (bit_isfalse(PINOUT_PIN,bit(PIN_PROBE))) {
if(sys.probe_state == PROBE_ACTIVE){
sys.probe_state = PROBE_COPY_POSITION;
//sys.execute |= EXEC_FEED_HOLD; //Probably OK to call a feedhold here. I'd prefer to do it in the main probe loop for now
}
}
}
}