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:
authorAdrian Bowyer <reprappro@gmail.com>2013-06-15 01:30:06 +0400
committerAdrian Bowyer <reprappro@gmail.com>2013-06-15 01:30:06 +0400
commit175656431a7c70ecc6c8f3e00dbd0291cd5510dd (patch)
treeda6d355b428c21e2aa6d1eba560259ea954d9c1f /SD-image/www
parenta76185cdeaecf7dc098090cd0fc091c9ea01cc57 (diff)
Exploited new Push() and Pop() functions in reprap.htm and the homeing code.
Diffstat (limited to 'SD-image/www')
-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)