Terje Io
75b1a23839
Merge pull request #802 from engigeer/PR_dist_to_go
...
Add realtime report of distance-to-go
2025-09-10 20:22:45 +02:00
Mitchell Grams
65679de995
Revise DTG bit location do avoid need for setting reset
2025-09-08 13:03:43 -06:00
Mitchell Grams
50e10ac768
Add setting for including distance-to-go in realtime report
2025-09-07 18:15:42 -06:00
Mitchell Grams
d2d7ddc0c0
Add initial support for distance to go in realtime report
2025-09-07 18:02:50 -06:00
Terje Io
24d802e573
Fix for bug preventing disabling of AMASS, changed the ADAPTIVE_MULTI_AXIS_STEP_SMOOTHING symbol so it can be overridden via compiler argument.
...
For developers: added output function parameter to signature of report_realtime_status() call to allow routing output to a given stream (or streams).
2025-09-04 08:36:48 +02:00
Terje Io
354eef8359
Updated changelog
2025-08-31 14:56:32 +02:00
Terje Io
a3c345173b
Updated changelog.
2025-08-30 10:39:34 +02:00
Terje Io
0d4337b75e
Fix for laser enable not restored after feedhold. Ref. issue #798 .
...
Fix for incorrect direction of motion via second stepper driver used for step injection (plasma THC) and stepper spindle.
2025-08-29 12:43:48 +02:00
Terje Io
1bd45dfb04
Merge pull request #797 from hangsman/master
...
Fix feed override bypass when programmed rate exceeds rapid rate
2025-08-26 11:52:12 +02:00
hangsman
030c829925
Fix feed override bypass when programmed rate exceeds rapid rate
2025-08-26 11:16:35 +08:00
Terje Io
f081b9f37e
Added function for clearing LED strips.
2025-08-25 22:17:58 +02:00
Terje Io
43fa98d93b
Fix for grbl.on_tool_changed event raised too early when tool change code is in tc.macro.
2025-08-08 20:46:34 +02:00
Terje Io
ee1cd5a745
Improved ioport remapping of auxiliary pins (used by plasma plugin).
...
Changed signature of limit check functions, grbl.travel_limits() et. al.
to include a pointer to the work envelope to use.
Updated spindle off handling to check for "at speed" on deceleration when spindle is "at speed" capable.
2025-08-06 18:32:29 +02:00
Terje Io
255d02b020
Fix for transposed options in $41 - parking cycle enable.
2025-08-02 08:23:08 +02:00
Terje Io
02b45f86e5
Fix for corrupted tool table entries not beeing reset. This may happen on resizing the tool table.
...
Added system parameter _tool_table_size, 0 if a tool table is not enabled.
Removed dependency on safety door input for parking settings: $41, $42, $56-$59, $392 and $393.
Removed strict dependency on spindle encoder input for spindle synced motion,
allows the use of the stepper spindle which has an implicit encoder.
2025-07-31 08:19:07 +02:00
Terje Io
5aff8fe767
Fix for optional control signals not respecting $14 inversion setting. Ref. issue #780 .
...
Added core on_spindle_at_speed event. This must be verified with actual VFD spindles, I only have a simulator available.
Improved handling of "iterated" settings, can now be fully implemented by plugins.
2025-07-24 08:25:25 +02:00
Terje Io
f951c266ac
Updated secondary PWM spindle settings handling to propagate laser mode changes dynamically.
...
Fixed secondary PWM spindle RPM settings mixup.
2025-07-20 07:17:18 +02:00
Terje Io
d380335d97
Added early (on startup) configuration of secondary PWM spindles.
2025-07-18 15:12:19 +02:00
Terje Io
5dae16ad83
"hardened" code related to ioports claiming and PWM2 spindle configuration.
...
Added API call and expanded one.
2025-07-16 10:58:31 +02:00
Terje Io
7467c07567
Force settings write on serial stream format change.
2025-07-07 07:31:30 +02:00
Terje Io
6c13075ebe
Updated serial stream format options. Fix for compiler warning.
2025-07-07 07:19:41 +02:00
Terje Io
74eb456533
Added ioports API call for remapping port numbers.
...
Added HAL support for setting serial stream format.
Added setting $681 for configuring Modbus RTU stream parity, available when the underlying driver supports format setting.
2025-07-05 14:17:11 +02:00
Terje Io
df55d7cb91
Fix for incorrect reporting of spindle capabilities when more than one spindle configured.
...
Ref. issue #770 .
2025-07-02 07:55:03 +02:00
Terje Io
ab830e3bff
Updated changelog.
2025-06-27 08:01:28 +02:00
Terje Io
e35af1abc1
Added setting flag to $675 (Macro ATC options) for enabling error on M6 if tc.macro is not found in the filing system.
...
Changed $I NEWOPT "ATC" element to ATC=1 when ATC is online and ATC=0 when offline.
For macro based ATC code this is set to ATC=0 if tc.macro is not found and the new $675 flag is set.
2025-06-26 07:25:58 +02:00
Terje Io
081f24f663
Added option flag to $22 (Homing cycle) to run startup scripts only on homing completed.
...
Added API call modbus_isbusy() for checking if Modbus transaction is ongoing.
2025-06-25 08:52:15 +02:00
Terje Io
e03e594ca5
Fix for typecast issue causing compile failure with some compilers. Ref issue #761 .
2025-06-21 07:05:50 +02:00
Terje Io
5614f505fb
Refactored tool table API/HAL, now supports tool > tool rack/carousel pocket mapping.
...
Named system parameters _current_pocket and _selected_pocket updated to return the correct values.
Moved handling of keeping last tool number over reboot from template plugin to the core.
Added named system parameters _homed_state and _homed_axes.
Fix for failure to claim auxiliary ports in some configurations.
2025-06-19 07:09:49 +02:00
Terje Io
596576763e
Fix for hardfault due to recent control pins handling change - affects at least RP2040/RP2350 MCUs.
...
No longer outputs settings/settings data for $14 (inversion) and $17 (pullup disable) if no control inputs are configured.
2025-06-11 22:37:53 +02:00
Terje Io
c038c92d34
Updated readme
2025-06-10 09:20:55 +02:00
Terje Io
8cf50c2140
Added initial support for TMC2440 in SPI mode.
...
Thanks to @jebanon for donating drivers for testing.
2025-06-09 22:20:20 +02:00
Terje Io
d43e6a9a72
No longer retries Modbus commands if there is a pending reset.
...
Added $MODBUSSTATS and $MODBUSSTATS=R commands, outputs communication statistics such as number of sent commands, retries etc.
$MODBUSSTATS=R clears the statistics after outputting it.
Ref. issue #753 .
2025-06-05 10:24:10 +02:00
Terje Io
f40d5db74a
Changed backlash feed rate to be the same as the current motion. Ref. issue #751 .
...
Minor fix for probe availability report in $I output.
2025-05-30 08:53:48 +02:00
Terje Io
fc7ec7e219
Completed core support for additional probes (toolsetter, probe 2).
...
Switched to universal use of aux I/O for many signals, includes reset/ESTop, feed hold and cycle start.
2025-05-29 13:02:10 +02:00
Terje Io
070f80cc5c
Updated changelog. Renamed OpenPNP custom command M143.
20250518
2025-05-19 21:39:16 +02:00
Terje Io
b10b3317d2
Fix for custom M-code commands claiming all axis words even when not using any.
...
Added setting $680 for configuring delay from stepper enable to first dir/step pulse.
Adds to fixed ~2ms delay provided by most drivers.
2025-05-18 08:03:51 +02:00
Terje Io
6948b0e117
Added initial/enhanced support for toolsetter and second probe input.
...
Moved inbuilt G65 macros to the core and added macro G65P5Q<n> for selecting probe.
Added probe id to real time report: |P:<n> will be reported on probe select when more than one probe is available.
Fix for WCO and Ov real time status report elements not beeing reported as they should in some circumstances.
2025-05-15 06:23:17 +02:00
Terje Io
fb3f6b6f57
Updated changelog
2025-05-04 22:13:20 +02:00
Terje Io
568b358ac1
Merge pull request #715 from engigeer/PR_picohal_plugin_init
...
add Picohal plugin init and spindle define
2025-05-02 09:13:54 +02:00
Terje Io
16aca4e8bb
Updated changelog
2025-05-02 07:04:15 +02:00
Mitchell Grams
0f8012f5fd
Fix code guard
2025-04-30 21:19:28 -06:00
Mitchell Grams
e2ad52cefb
Add check or modbus enable
2025-04-29 15:50:23 -06:00
Terje Io
390c11bb7e
Updated $N0 and $N1 startup commands to allow multi-block (line) gcode commands by using | (vertical bar) as the separator.
...
No longer configures auxiliary output pins claimed for basic functions in order to avoid affecting any previously set alternate pin function.
2025-04-25 17:13:42 +02:00
Terje Io
b41018543b
Moved part of the driver based spindle sync code to the core.
...
Spindle sync now has to be enabled in grbl/config.h.
2025-04-24 22:38:55 +02:00
Mitchell Grams
c472a24d93
Revert "add Picohal plugin init"
2025-04-21 13:40:26 -06:00
Mitchell Grams
10acd2110a
add Picohal plugin init
2025-04-21 13:40:14 -06:00
Mitchell Grams
7ad918e52e
add picohal io init
2025-04-21 13:39:29 -06:00
Terje Io
58dd5dc25a
"hardened" task handler a bit more
2025-04-19 23:21:12 +02:00
Terje Io
bcef020c32
changes to allow compile on all platforms
2025-04-19 16:08:22 +02:00
Terje Io
837398221b
Fixed regression introduced with PR#673.
...
Added G30 as optional position for tool change.
Moved new tool change mode from PR#673 to $346 - Tool change options.
Moved Modbus RTU code from spindle plugin to the core.
Fixed bug in delayed task handler, might occasionally hang the controller.
2025-04-19 14:08:46 +02:00