Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/Duet3D/RepRapFirmware.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'SD-image')
-rw-r--r--SD-image/www/reprap.htm5
-rw-r--r--SD-image/www/reprap.htm~5
2 files changed, 8 insertions, 2 deletions
diff --git a/SD-image/www/reprap.htm b/SD-image/www/reprap.htm
index 964fa844..13008f49 100644
--- a/SD-image/www/reprap.htm
+++ b/SD-image/www/reprap.htm
@@ -296,7 +296,10 @@ function viewModel()
self.sendJog = function(axis, d, data, event)
{
- $.get('/rr_gcode', {gcode: "G91\nG1 " + axis + d + "\nG90\nM83"}, self.dummy);
+ var feed = " F2000";
+ if(axis == 'Z')
+ feed = " F200";
+ $.get('/rr_gcode', {gcode: "M120\nG91\nG1 " + axis + d + feed + "\nM121"}, self.dummy);
};
self.actionOnFile = function(file)
diff --git a/SD-image/www/reprap.htm~ b/SD-image/www/reprap.htm~
index 964fa844..13008f49 100644
--- a/SD-image/www/reprap.htm~
+++ b/SD-image/www/reprap.htm~
@@ -296,7 +296,10 @@ function viewModel()
self.sendJog = function(axis, d, data, event)
{
- $.get('/rr_gcode', {gcode: "G91\nG1 " + axis + d + "\nG90\nM83"}, self.dummy);
+ var feed = " F2000";
+ if(axis == 'Z')
+ feed = " F200";
+ $.get('/rr_gcode', {gcode: "M120\nG91\nG1 " + axis + d + feed + "\nM121"}, self.dummy);
};
self.actionOnFile = function(file)