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

@ -43,6 +43,11 @@ void mc_dwell(float seconds);
// Perform homing cycle to locate machine zero. Requires limit switches.
void mc_homing_cycle();
// Perform tool length probe cycle. Requires probe switch.
// Returns STATUS_OK in all cases except when the motion is completed without the probe being triggered.
// In that case, it returns a STATUS_PROBE_ERROR
uint8_t mc_probe_cycle(float *target, float feed_rate, uint8_t invert_feed_rate, int32_t line_number);
// Performs system reset. If in motion state, kills all motion and sets system alarm.
void mc_reset();