diff --git a/CHANGELOG.txt b/CHANGELOG.txt
index 201f49b..79f94e6 100644
--- a/CHANGELOG.txt
+++ b/CHANGELOG.txt
@@ -1,6 +1,5 @@
-v1.0.238: Added Automatic Probing (Find Endmill diameter automatically), Fix cosmetic bug in editing JS Macros. Fixed issues/enhancements #92, #127, #128, #129, #130, #131, #132, #134, #135
-v1.0.237: Fixed Pause Bug
-v1.0.236: Fixed Pause bug
+v1.0.238: Added Automatic Probing (Find Endmill diameter automatically), Fix cosmetic bug in editing JS Macros. Fixed issues/enhancements #92, #108, #127, #128, #129, #130, #131, #132, #134, #135
+v1.0.236/7: Fixed Pause bug
v1.0.235: Improved Serial Buffer check
v1.0.234: Added check for USB Selective Suspend to Troubleshooting tab, improved simulation of arcs, Fixed right-click menu in Gcode Editor
v1.0.233: Cleanup code
diff --git a/app/index.html b/app/index.html
index d56778f..bbd3643 100644
--- a/app/index.html
+++ b/app/index.html
@@ -454,7 +454,7 @@
- Goto X0 (Work Coord) (G0 X0)
- - Goto X0 (Machine Coord) (G53 G0 X0)
+ - Goto X0 (Machine Coord) (G53 G0 X0)
- Probe X-Zero Wizard New!
- Probe XYZ-Zero Wizard New!
@@ -489,7 +489,7 @@
- Goto Y0 (Work Coord) (G0 Y0)
- - Goto Y0 (Machine Coord) (G53 G0 Y0)
+ - Goto Y0 (Machine Coord) (G53 G0 Y0)
- Probe Y-Zero Wizard New!
- Probe XYZ-Zero Wizard New!
@@ -524,7 +524,7 @@
- Goto Z0 (Work Coord) (G0 Z0)
- - Goto Z0 (Machine Coord) (G53 G0 Z0)
+ - Goto Z0 (Machine Coord) (G53 G0 Z0)
- Probe Z-Zero Wizard New!
@@ -558,8 +558,19 @@
- - GOTO X0Y0Z0 (Work Coord) (G0 Z5, G0 X0 Y0, G0 Z0) (Retract Z to Work Coord Z5)
- - GOTO X0Y0Z0 (Machine Coord) (G53 G0 Z0, G0 X0 Y0, G0 Z0) (Retract Z to Machine Coord Z0)
+ -
+ GOTOZERO (Work Coord) (G0 Z5, G0 X0 Y0, G0 Z0) (Retract Z to Work Coord Z5)
+
+
+ -
+ GOTOZERO (Z Machine Coord, XY Work Coord) (G53 G0 Z0, G0 X0 Y0, G0 Z0) (Retract Z to
+ Machine Coord)
+
+
+ -
+ GOTOZERO (Machine Coord) (G53 G0 Z0, G53 G0 X0 Y0)
+
+
diff --git a/app/js/grblsettings.js b/app/js/grblsettings.js
index a7305d8..5391104 100644
--- a/app/js/grblsettings.js
+++ b/app/js/grblsettings.js
@@ -70,6 +70,7 @@ function grblSettings(data) {
$('#gotoXzeroMpos').removeClass('disabled')
$('#gotoYzeroMpos').removeClass('disabled')
$('#gotoZzeroMpos').removeClass('disabled')
+ $('.PullOffMPos').html("-" + grblParams['$27'])
} else {
$('#gotozeroMPos').addClass('disabled')
$('#homeBtn').attr('disabled', true)
diff --git a/app/js/jog.js b/app/js/jog.js
index 9b3c65f..e36c419 100644
--- a/app/js/jog.js
+++ b/app/js/jog.js
@@ -307,12 +307,53 @@ $(document).ready(function() {
sendGcode('G0 Z0');
});
- $('#gotozeroMPos').on('click', function(ev) {
- sendGcode('G53 G0 Z0');
+ $('#gotoXzeroMpos').on('click', function(ev) {
+ if (grblParams['$22'] == 1) {
+ sendGcode('G53 G0 X-' + grblParams["$27"]);
+ } else {
+ sendGcode('G53 G0 X0');
+ }
+ });
+
+ $('#gotoYzeroMpos').on('click', function(ev) {
+ if (grblParams['$22'] == 1) {
+ sendGcode('G53 G0 Y-' + grblParams["$27"]);
+ } else {
+ sendGcode('G53 G0 Y0');
+ }
+ });
+
+ $('#gotoZzeroMpos').on('click', function(ev) {
+ if (grblParams['$22'] == 1) {
+ sendGcode('G53 G0 Z-' + grblParams["$27"]);
+ } else {
+ sendGcode('G53 G0 Z0');
+ }
+ });
+
+ $('#gotozeroZmPosXYwPos').on('click', function(ev) {
+ if (grblParams['$22'] == 1) {
+ sendGcode('G53 G0 Z-' + grblParams["$27"]);
+ } else {
+ sendGcode('G53 G0 Z0');
+ }
sendGcode('G0 X0 Y0');
sendGcode('G0 Z0');
});
+ $('#gotozeroMPos').on('click', function(ev) {
+ if (grblParams['$22'] == 1) {
+ sendGcode('G53 G0 Z-' + grblParams["$27"]);
+ sendGcode('G53 G0 X-' + grblParams["$27"] + ' Y-' + grblParams["$27"]);
+ } else {
+ sendGcode('G53 G0 Z0');
+ sendGcode('G53 G0 X0 Y0');
+ }
+
+
+ });
+
+
// $('.xM').on('click', function(ev) {
// if (!allowContinuousJog) {
// var dir = 'X-';