diff options
Diffstat (limited to 'SD-image/www/reprap.htm')
-rw-r--r-- | SD-image/www/reprap.htm | 5 |
1 files changed, 4 insertions, 1 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) |