Commit Graph
370 Commits
Author SHA1 Message Date
Terje Io b80cd2f3f8 Changed error code reported when file not found for G65 macro or named O-sub calls from 39 to 84.
Removed IDLE state requirement for executing G65 macros, an error will no longer be returned and the macro will be run.
Added event handler for outputting welcome message on "native" USB connect for drivers that provides the linestate changed event.
2025-01-05 08:18:52 +01:00
Terje Io f9f3759095 Updated readme 2025-01-03 23:26:01 +01:00
Terje Io 020def88e9 Updated readme 2025-01-03 23:23:18 +01:00
Terje Io 6b4bab82ad Added new handling for spindle spin up and coolant start delays. See the changelog for details. 2025-01-03 23:16:08 +01:00
Terje Io 5a05201041 Fix for coolant issue when resetting from feed hold state. 2025-01-02 13:31:41 +01:00
Terje Io bc265aa990 Updated changelog 2025-01-01 10:11:07 +01:00
Terje Io e8a0aeea26 Fix for laser incorrectly enabled in laser mode when M3S<n> commanded in G0 and G80 modal states. Ref. issue #644.
Added optional support for 3rd order acceleration (jerk) and G187 gcode. Ref. pull request #593.
2024-12-31 08:48:33 +01:00
Terje Io b0322fd72c Merge pull request #593 from Dietz0r/master
Jerk Acceleration Settings and HAAS G187 Acceleration Profiles
2024-12-30 20:35:58 +01:00
Dietz0r 84657b4f69 Cleaned up the Switchcase coder after the debugging mess (thanks terje!) added the line for initilizing the acceleration_factor, renamed acceleration_profiles variable to acceleration_factor to match the rest of the code 2024-12-27 17:44:54 +01:00
Dietz0r 719017bff9 Adjusted lookup function for array counting (start from 0) and added input checking 2024-12-27 15:25:45 +01:00
Dietz0r 9d48143edf Fixed the Unused Values error, removed stray comma, removed settings.h conditional 2024-12-27 12:58:21 +01:00
Dietz0r c47e6a356e Debugging and Compiling 2024-12-27 02:45:34 +01:00
Dietz0r ce60b8ff7d adjusted the limit by axis maximum functions to not require the block data 2024-12-26 22:49:34 +01:00
Dietz0r efcdf3f6da Update gcode.h 2024-12-26 22:09:07 +01:00
Dietz0r 254a3d1212 Update settings.c
Cleaned up out of sync functions. Most likely a remnant from resolving the merge conflict.
2024-12-26 21:23:06 +01:00
Terje Io 0e55491ff8 Updated changelog. 2024-12-26 19:55:21 +01:00
Dietz0r df6aec3e3a Merge branch 'grblHAL:master' into master 2024-12-26 17:03:56 +01:00
Terje Io c608a1cd29 Updated changelog. 2024-12-23 17:00:38 +01:00
Terje Io 8dc30ad89c Improved handling of real-time clock (RTC). 2024-12-23 10:37:14 +01:00
Terje Io 2952a3eeb9 Added directory (mounts) listing capabilities to the default root file system when no real root file system (SD card) is mounted. 2024-12-19 11:34:11 +01:00
Terje Io 50a7507f6f Added preprocessor support for moving coolant outputs to auxiliary pool. Some minor bug fixes and code cleanup.
Those who have custom board maps must update pin assignments accordingly when updating to this or later versions.
2024-12-17 16:10:20 +01:00
Terje Io c7c5b63447 Added suppression of door open signal when in manual or semi-automatic tool change mode. 2024-12-14 15:08:07 +01:00
Terje Io 24d6d984c4 Updated changelog 2024-12-12 12:43:44 +01:00
Dietz0r 33795245fe file didnt want to push. found a typo 2024-12-10 23:05:45 +01:00
Dietz0r c4969f1dc0 missed 2 variable names 2024-12-10 22:24:39 +01:00
Dietz0r e504964dae moved acceleration factor to plan_block_t structure, moved lookup function to plan_data_init, renamed lookup fuction and adjusted the acceleration limit functions to new structure 2024-12-10 22:15:25 +01:00
Terje Io ac93c81590 Increased preprocessor support for up to 16 auxiliary input pins, used by STM32* drivers. 2024-12-10 21:34:47 +01:00
Dietz0r 075d5cec57 Merge branch 'master' into master 2024-12-10 21:28:16 +01:00
Dietz0r a6ae08ea97 Resolve merge conflict for new setting structure 2024-12-10 21:10:16 +01:00
Terje Io a41790dada Revised core setting structures, changed from 8-bit to 16-bit CRC checksums for improved detection of corruption/version mismatches.
Added option to homing enable setting ($22) for per axis homing feedrates.

!! Backup and restore settings over an update is recommended since all settings will be reset to default. Any odometer data will also be lost.
2024-12-09 19:24:20 +01:00
Terje Io 795ced52f7 Updated changelog. 2024-12-05 10:59:10 +01:00
Terje Io acfd473fce Changed deprecated calls to isinff() and isnanf() to new (C99) versions. 2024-12-04 09:29:23 +01:00
Terje Io 8fee2930f5 Added (or rather repurposed) field for build date to settings structure in preparation for coming changes.
Added code guards in order to free some memory for STM32F103 variants with 128K flash.
Changed Stop (0x19) real-time command behaviour, active tool offset and coordinate system will now be kept. Ref. issue #610.
2024-11-29 18:17:26 +01:00
Terje Io f8f10aecdf Fixed bug in setting home position to 0 when CoreXY kinematics is enabled. Ref. ESP32 issue 77. 2024-11-21 15:27:57 +01:00
Terje Io 7e40bf2402 A bit of refactoring related to spindles as a first step for a coming settings structure revision, "hardened" some code. 2024-11-20 19:03:27 +01:00
Terje Io 0b8bce16c6 Added support for named o-sub/o-call to flow control, for calling gcode subroutines stored on SD card or in littlefs.
Sub name matches filename with extension .macro.
Added core event for handling special gcode comments used by expressions and flow control: DEBUG, PRINT and ABORT.
Added overrideable default $-setting values for second PWM spindle to grbl/config.c.
2024-11-16 22:02:00 +01:00
Terje Io 43d694917c Added basic core support for toolsetter probe, changes $6 (probe input inversion) and $19
(probe input pullup disable) settings from boolean to bitfield when driver support is available.
Added a few default values for settings in config.h, overridable from the compiler command line.
Added core support for per axis pulloff distance, needs plugin for configuring them.
Added HAL flags for disabling settings for MCU input pins pullup disable, may be set by
drivers/boards that has buffered (optocoupled) inputs that is not possible to change.
2024-11-13 17:32:36 +01:00
Terje Io 1444c08997 Added generic passthru support for programming external MCU via USB > UART bridge.
Requires driver support if to be used. Adds $PTRGH system command when available.
2024-11-10 11:39:21 +01:00
Terje Io 7054af825b Updated changelog 2024-11-07 21:04:25 +01:00
Terje Io 81fe93adb8 Removed deprecated stream flags, added stream event for line state (RTS, DTR) changes - initially for USB streams. 2024-11-07 20:44:16 +01:00
Dietz0r 88cf48a5a1 adjusted settings.h to last commit too 2024-10-31 21:36:39 +01:00
Dietz0r b7d54d75ee added acceleration profiles to gc_state, adjusted g187 and m2/30 handling accordingly 2024-10-31 21:22:09 +01:00
Terje Io f35d14a901 Added init call for new ESP-AT plugin. 2024-10-30 13:34:44 +07:00
Terje Io 9a98243fd3 Changed _vminor named parameter to contain build date in YYMMDD format, previously value was 0.
Added support for LinuxCNC style (ABORT,<msg>) comment, requires expressions enabled. Terminates gcode program, outputs message and returns error 253.
Added PRM[<setting>] and PRM[<setting>,<bit>] functions to expressions, returns $-setting value or value of bit in integer type setting.
"hardened" flow control code, fixed bug in repeat...continue handling.
Changed signature of grbl.on_gcode_comment event, now returns status code.
2024-10-27 07:27:25 +07:00
Terje Io 99681254f1 Merge pull request #615 from dresco/neopixel
Shift neopixel bit pattern
2024-10-25 20:55:27 +07:00
Jon Escombe 15a4e2ab24 Shift neopixel bit pattern
On some processors, MOSI can be driven to the output level before
the clock is enabled. If the first bit is a 1, this can result in
a longer pulse that is interpreted as a high level by neopixels.

This fix maintains the same inter-bit timings, but ensures the
first bit is always 0. (The last bit is already always zero due
to padding for reset timing requirements).
2024-10-25 12:08:16 +01:00
Terje Io ee8eb2c1eb Fixed some odd bugs in NGC flow control, prepared for file based named O-call subroutines.
Fixed incorrect comment string passed to passed to grbl.on_gcode_comment event.
Added generic redirector for temporarily changing input stream to read from a file. Supports nesting.
2024-10-23 20:18:34 +07:00
Terje Io c07d63198e Moved message substitution code from gcode.c to ngc_expr.c. 2024-10-19 18:45:13 +07:00
Terje Io 236a40c100 Improved parameter handling some more, now allows indirected O-calls and line numbers with O-word.
Fix for issue #609, homing may cause a controller crash.
2024-10-16 14:13:04 +07:00
Terje Io a7b82c8041 Removed misplaced code guard 2024-10-14 20:09:56 +07:00