Restore original pulse mode feed/pause rates
- Issue MatterHackers/MCCentral#5620 Change grab and run clean gcode back to the versions that make audible clicks
This commit is contained in:
parent
7c996bed71
commit
531a2a60c6
1 changed files with 25 additions and 6 deletions
|
|
@ -203,9 +203,18 @@ namespace MatterHackers.MatterControl.ConfigurationPage.PrintLeveling
|
|||
{
|
||||
if (printer.Connection.NumQueuedCommands == 0)
|
||||
{
|
||||
printer.Connection.MoveRelative(PrinterCommunication.PrinterConnection.Axis.E, 1, 80);
|
||||
// send a dwell to empty out the current move commands
|
||||
printer.Connection.QueueLine("G4 P1");
|
||||
if (false)
|
||||
{
|
||||
// Quite mode
|
||||
printer.Connection.MoveRelative(PrinterCommunication.PrinterConnection.Axis.E, 1, 80);
|
||||
printer.Connection.QueueLine("G4 P1"); // empty buffer - allow for cancel
|
||||
}
|
||||
else
|
||||
{
|
||||
// Pulse mode
|
||||
printer.Connection.MoveRelative(PrinterCommunication.PrinterConnection.Axis.E, 1, 150);
|
||||
printer.Connection.QueueLine("G4 P10"); // empty buffer - allow for cancel
|
||||
}
|
||||
|
||||
if (runningTime.ElapsedMilliseconds > maxSecondsToStartLoading * 1000)
|
||||
{
|
||||
|
|
@ -368,9 +377,19 @@ namespace MatterHackers.MatterControl.ConfigurationPage.PrintLeveling
|
|||
{
|
||||
if (printer.Connection.NumQueuedCommands == 0)
|
||||
{
|
||||
printer.Connection.MoveRelative(PrinterCommunication.PrinterConnection.Axis.E, 2, 140);
|
||||
// make sure we wait for this command to finish so we can cancel the unload at any time without delay
|
||||
printer.Connection.QueueLine("G4 P1");
|
||||
if (false)
|
||||
{
|
||||
// Quite mode
|
||||
printer.Connection.MoveRelative(PrinterCommunication.PrinterConnection.Axis.E, 2, 140);
|
||||
printer.Connection.QueueLine("G4 P1"); // empty buffer - allow for cancel
|
||||
}
|
||||
else
|
||||
{
|
||||
// Pulse mode
|
||||
printer.Connection.MoveRelative(PrinterCommunication.PrinterConnection.Axis.E, 2, 150);
|
||||
printer.Connection.QueueLine("G4 P10"); // empty buffer - allow for cancel
|
||||
}
|
||||
|
||||
int secondsToRun = 90;
|
||||
if (runningTime.ElapsedMilliseconds > secondsToRun * 1000)
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue