kopia lustrzana https://github.com/OpenBuilds/OpenBuilds-CONTROL
#366 PR Merged
rodzic
6ee7ebbfb4
commit
898cd966f3
|
@ -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">⚪ Disable</option>
|
||||
<option value="1">⚫ Enable</option>
|
||||
<option value="0">✗ Disable</option>
|
||||
<option value="1">✓ Enable</option>
|
||||
</select>`,
|
||||
utils: ``
|
||||
},
|
||||
|
|
|
@ -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() {
|
||||
|
|
Ładowanie…
Reference in New Issue