pull/371/head
unknown 2024-09-30 13:59:24 +02:00
rodzic 6ee7ebbfb4
commit 898cd966f3
2 zmienionych plików z 5 dodań i 4 usunięć

Wyświetl plik

@ -127,11 +127,11 @@ var grblSettingsTemplate2 = {
},
13: {
key: `$13`,
title: `Report in inches, boolean`,
description: `Grbl has a real-time positioning reporting feature to provide a user feedback on where the machine is exactly at that time, as well as, parameters for coordinate offsets and probing. By default, it is set to report in mm, but by sending a $13=1 command, you send this boolean flag to true and these reporting features will now report in inches. $13=0 to set back to mm.`,
title: `Report in inches, boolean (CONTROL needs $13=0)`,
description: `CONTROL needs $13=0 as it handles inch mode seperately`,
template: `<select id="val-13-input">
<option value="0">&#9898; Disable</option>
<option value="1">&#9899; Enable</option>
<option value="0">&#x2717; Disable</option>
<option value="1">&#x2713; Enable</option>
</select>`,
utils: ``
},

Wyświetl plik

@ -592,6 +592,7 @@ function setup_settings_table() {
$("#val-2-input").val(parseInt(grblParams['$2'])).trigger("change");
$("#val-3-input").val(parseInt(grblParams['$3'])).trigger("change");
$("#val-4-input").val(parseInt(grblParams['$4'])).trigger("change");
$("#val-13-input").val(parseInt(grblParams['$13'])).trigger("change");
}, 100);;
$('#xdirinvert:checkbox').change(function() {