Fixed bug with homing and polling at the same time. Updated readme.
This commit is contained in:
parent
e0f619b8c3
commit
4f459e473b
@ -11,12 +11,10 @@ Grbl includes full acceleration management with look ahead. That means the contr
|
|||||||
|
|
||||||
##Downloads (Right-Click and Save-Link-As):
|
##Downloads (Right-Click and Save-Link-As):
|
||||||
_**Master Branch:**_
|
_**Master Branch:**_
|
||||||
* [Grbl v0.8c Atmega328p 16mhz 9600baud](http://bit.ly/SSdCJE) Last updated: 2012-12-16
|
* [Grbl v0.8c Atmega328p 16mhz 9600baud](http://bit.ly/SSdCJE) Last updated: 2013-01-06
|
||||||
|
|
||||||
_**Edge/Development Branch:**_
|
_**Edge/Development Branch:**_
|
||||||
* [Grbl v0.9a Build 2012-12-21](http://bit.ly/VWe4VW) : For testing only. Automatic arc segment scaling by tolerance setting, leading to much faster feedrates. Axes acceleration and maximum velocity independence installed. 30kHz step rate max. Bugs still exist. Settings WILL be over-written.
|
* [Grbl v0.9a Build 2012-12-21](http://bit.ly/VWe4VW) : For testing only. New experimental stepper algorithm. Smoother. Axes acceleration and maximum velocity limits. Automatic arc segment scaling by tolerance setting, leading to much faster feedrates about them. 30kHz step rate absolute max. CAUTION: Bugs still exist. Settings WILL be over-written. Please let us know of any lingering bugs (except with homing).
|
||||||
* [Grbl v0.9a Build 2012-12-16](http://bit.ly/UUTOD4) : Axes acceleration and maximum velocity independence installed. Lowered 20kHz step rate max. Bugs still exist. For testing only. Settings WILL be over-written.
|
|
||||||
* [Grbl v0.9a Build 2012-12-10](http://bit.ly/UDBwpZ) : New experimental stepper algorithm. Smoother. 30kHz max. Bugs exist (Homing). For testing only. Settings WILL be over-written.
|
|
||||||
|
|
||||||
_**Archives:**_
|
_**Archives:**_
|
||||||
* [Grbl v0.8a Atmega328p 16mhz 9600baud](http://bit.ly/TVCTVv)
|
* [Grbl v0.8a Atmega328p 16mhz 9600baud](http://bit.ly/TVCTVv)
|
||||||
|
3
limits.c
3
limits.c
@ -187,8 +187,7 @@ static void homing_cycle(uint8_t cycle_mask, int8_t pos_dir, bool invert_pin, fl
|
|||||||
}
|
}
|
||||||
|
|
||||||
// Check if we are done or for system abort
|
// Check if we are done or for system abort
|
||||||
protocol_execute_runtime();
|
if (!(cycle_mask) || (sys.execute & EXEC_RESET)) { return; }
|
||||||
if (!(cycle_mask) || sys.abort) { return; }
|
|
||||||
|
|
||||||
// Perform step.
|
// Perform step.
|
||||||
STEPPING_PORT = (STEPPING_PORT & ~STEP_MASK) | (out_bits & STEP_MASK);
|
STEPPING_PORT = (STEPPING_PORT & ~STEP_MASK) | (out_bits & STEP_MASK);
|
||||||
|
@ -218,6 +218,8 @@ void mc_go_home()
|
|||||||
LIMIT_PCMSK &= ~LIMIT_MASK; // Disable hard limits pin change register for cycle duration
|
LIMIT_PCMSK &= ~LIMIT_MASK; // Disable hard limits pin change register for cycle duration
|
||||||
|
|
||||||
limits_go_home(); // Perform homing routine.
|
limits_go_home(); // Perform homing routine.
|
||||||
|
|
||||||
|
protocol_execute_runtime(); // Check for reset and set system abort.
|
||||||
if (sys.abort) { return; } // Did not complete. Alarm state set by mc_alarm.
|
if (sys.abort) { return; } // Did not complete. Alarm state set by mc_alarm.
|
||||||
|
|
||||||
// The machine should now be homed and machine zero has been located. Upon completion,
|
// The machine should now be homed and machine zero has been located. Upon completion,
|
||||||
|
1
report.c
1
report.c
@ -90,6 +90,7 @@ void report_alarm_message(int8_t alarm_code)
|
|||||||
printPgmString(PSTR("Abort during cycle")); break;
|
printPgmString(PSTR("Abort during cycle")); break;
|
||||||
}
|
}
|
||||||
printPgmString(PSTR(". MPos?\r\n"));
|
printPgmString(PSTR(". MPos?\r\n"));
|
||||||
|
delay_ms(500); // Force delay to ensure message clears serial write buffer.
|
||||||
}
|
}
|
||||||
|
|
||||||
// Prints feedback messages. This serves as a centralized method to provide additional
|
// Prints feedback messages. This serves as a centralized method to provide additional
|
||||||
|
Loading…
Reference in New Issue
Block a user