Skip to content

Commit dae9c6d

Browse files
committed
Make MX state multiple instead of unique
Add M6 for Tool change Bump version Build package Update grbl test server to have changing $G report
1 parent 29daa79 commit dae9c6d

File tree

20 files changed

+91
-53
lines changed

20 files changed

+91
-53
lines changed

config/targets/CNC/GRBL/index.js

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,7 @@ let lastconnection = Date.now()
2727
let logindone = false
2828
const sessiontTime = 60000
2929
let countStatus = 0
30+
let change = false
3031

3132
function getLastconnection() {
3233
return lastconnection
@@ -201,7 +202,13 @@ const commandsQuery = (req, res, SendWS) => {
201202
}
202203

203204
if (url.indexOf("$G") != -1) {
204-
SendWS("[GC:G0 G54 G17 G21 G90 G94 M5 M9 T0 F0.0 S0]\n")
205+
change = !change
206+
if (change) {
207+
SendWS("[GC:G0 G54 G17 G21 G90 G94 M4 M5 M6 M7 M8 T0 F0.0 S0]\n")
208+
} else {
209+
SendWS("[GC:G0 G54 G17 G21 G90 G94 M5 M9 T0 F0.0 S0]\n")
210+
}
211+
205212
res.send("")
206213
return
207214
}

dist/CNC/GRBL/index.html.gz

108 Bytes
Binary file not shown.

dist/CNC/GRBLHal/index.html.gz

107 Bytes
Binary file not shown.

dist/Plotter/HP-GL/index.html.gz

0 Bytes
Binary file not shown.
1 Byte
Binary file not shown.
1 Byte
Binary file not shown.
1 Byte
Binary file not shown.
0 Bytes
Binary file not shown.

dist/SandTable/GRBL/index.html.gz

30 Bytes
Binary file not shown.

info.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
{
2-
"version": "3.0.0-a79"
2+
"version": "3.0.0-a81"
33
}

0 commit comments

Comments
 (0)