Repository navigation
·
61 commits
to Maslow-Main
since this release
v1.27.0 Firmware Release
Migrate up to FluidNC 4.0.5 pre4. Substantial changes to the maslow connection protocol. Moderate UI changes including some button relocations. Job Stop and Resume have been substantially reworked.
Highlights
- Stop/Resume - no more pause button. Stop takes effect immediately and stopped jobs can be resumed or discarded (details below).
- Machine connection - major rewrite moves most communication to a websocket instead of HTTP requests, see connection section below.
- Merged up to FluidNC v4.05pre4
Stop and Resume
- Stop interrupts current step (or jog) and quickly halts x,y,z movement.
- Stopping during a job records the last completed step and "start" button becomes "resume" at specified gcode line. Resume raises the z axis to 2mm, moves to start of the specified gcode line, plunges z axis then proceeds from there.
- Discard stopped job dumps the saved line number and restores the "start" button. Changing which gcode file is loaded also discards stopped job.
- No more pause button, it is redundant with stop.
Connection
- Connection move to websocket. Each new client (eg: browser, phone, etc) gets a dedicated socket. Most commands are sent downstream, all sockets get the same responses, primarily machine status every 50ms when moving, every 1s while idle.
- Connection health dot in top-right of the UI. Green - stable connection. Amber - stale, no ping for a few seconds. Red - connection broken, click to attempt reconnect.
- Machine status reports with every ping, machine state, motor positions, job progress, belt lengths are now updated with every ping and appear identical across all clients.
- All connected clients are treated equally (eg: multiple browsers connected to same maslow, multiple laptops, coming soon ESP controller, phone etc).
- Multiple tabs in the same browser context aren't allowed, latest connected always gets precedent.
- More than 4 connections is disallowed. Oldest gets closed.
- Closed connections now get a reason shown in the UI and the option to reconnect.
UI/Web changes
- Connection health dot. See above.
- Settings, options, machine state all now live nearby one another in the top-right.
- Motor current and belt length are shown at the top level
- Z-axis home popup is simplified.
- Start button spinner. Spinner added between clicking start and first machine movement, this lag can be a couple seconds depending on the gcode. Prevents double-click of start button.
Firmware changes
- New "Tensioned" state when maslow knows belt lengths, has applied tension, does not know anchor points. Suggested next action is always "Find Anchors" from "Tensioned".
- Better position recovery on restart. If some but not all belts have moved while powered down, allow the user to apply tension then see if belts are in expected positions. Helps with recovery for vertical setup where the sled can shift due to gravity.
- unsupported Gcode commands skipped with log line instead of alarm.
- Release: move Maslow's install scripts to scripts/release/install (
f315a57)
Fixes
- Merge pull request #1137 from MaslowCNC/fix/release-packaging (#1137,
4e34fd9) - Merge pull request #1121 from MaslowCNC/spindle-sync-current-sense (#1121,
fb0abb6) - Fix Maslow config value loading (
fa6e9e7) - Refuse Maslow motion commands while an error is latched (
d48d594) - Expander bugs (bdring#1708) (#1708,
a148ad6) - Merge pull request bdring#1655 from bdring/rcservo_dir_fix (#1655,
a3217c4) - Merge pull request bdring#1649 from bdring/config_parsing_fixes (#1649,
4266683) - Merge pull request bdring#1635 from bdring/SDError (#1635,
9ff89e8) - Fix off by one error in $$ settings (
cae35a1) - Merge pull request bdring#1309 from bdring/FixXModem (#1309,
38b6186) - Merge pull request bdring#1305 from bdring/Fix1261 (#1305,
a60db82) - Merge pull request bdring#1302 from bdring/Fix1301 (#1302,
f3ca15f) - Update atc.h (
69de7a5) - Merge pull request bdring#1278 from bdring/FixOLED (#1278,
0f9a326) - Fix options parser (bdring#1240) (#1240,
1f062db) - Changed verbose error behavior. (
5173c62) - WIP (
c8d4a4a) - Created std::error derived classes for ESP and FluidNC errors (
e90641f) - fixed wifi hostname not being applied (
dcd8793) - Merge pull request #1052 from bdring/Fix1051 (#1052,
73763ac) - Merge pull request #1059 from bdring/HomingCycle_0_Fix (#1059,
734200d) - Cycle 0 and Macro Fixes (
3a18102) - Merge pull request #1035 from bdring/FixSSDPagain (#1035,
c156da7) - Merge pull request #1042 from bdring/ReFixMacros (#1042,
7737730) - Merge pull request #1025 from bdring/FixPanics (#1025,
989cd58) - Update index.html.gz (
bae0a69) - Merge pull request #1010 from bdring/FixMacros (#1010,
18f7b65) - Fix reset from arc (
a79981a) - Merge pull request #971 from bdring/FixSpeedMap (#971,
4e4f199) - Merge pull request #964 from bdring/FixWifiSettings (#964,
071f78f) - Fix the problems caused by #950 (#950,
e0a0a4b) - Merge pull request #941 from bdring/FixHashing (#941,
4e13d07) - Merge pull request #915 from bdring/NoCoredump (#915,
f8474da)
Breaking changes / migration notes
- Fix Maslow config value loading (
fa6e9e7) - Update platformio.ini (
7840e70) - Merge pull request bdring#1711 from bdring/Idle_disable_config (#1711,
bb76b27) - Move CDC init after config load to avoid USB PHY conflict (
7e18015) - Merge pull request #1151 from trailhead/oled_flip (#1151,
8cb3c7c) - Merge pull request #1096 from bdring/Config-file-move (#1096,
ee8f079) - Merge pull request #1025 from bdring/FixPanics (#1025,
989cd58) - Merge pull request #907 from bdring/TrimValues (#907,
9fd3f7d)