From 99fdc8f199a6cfbb4e463e74edeb89e9f2d583e1 Mon Sep 17 00:00:00 2001 From: Terje Io Date: Sat, 22 Feb 2025 17:40:04 +0100 Subject: [PATCH] Added definition for LinuxCNC M190 gcode, required by plasma plugin. No functional change. --- README.md | 4 ++-- changelog.md | 12 ++++++++++++ gcode.h | 1 + grbl.h | 2 +- 4 files changed, 16 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 86e405b..59efef3 100644 --- a/README.md +++ b/README.md @@ -1,6 +1,6 @@ ## grblHAL ## -Latest build date is 20250221, see the [changelog](changelog.md) for details. +Latest build date is 20250222, see the [changelog](changelog.md) for details. > [!NOTE] > A settings reset will be performed on an update of builds prior to 20241208. Backup and restore of settings is recommended. @@ -89,4 +89,4 @@ G/M-codes not supported by [legacy Grbl](https://github.com/gnea/grbl/wiki) are Some [plugins](https://github.com/grblHAL/plugins) implements additional M-codes. --- -20250221 +20250222 diff --git a/changelog.md b/changelog.md index 2d3d516..a605d56 100644 --- a/changelog.md +++ b/changelog.md @@ -1,5 +1,17 @@ ## grblHAL changelog +Build 20250222 + +Core: + +* Added definition for LinuxCNC M190 gcode, required by plasma plugin. No functional change. + +Plugins: + +* Plasma: added basic support for LinuxCNC style M190 and "magic" comments. Untested. Ref. issue [#21](https://github.com/grblHAL/Plugin_plasma/issues/21). + +--- + Build 20250221 Core: diff --git a/gcode.h b/gcode.h index 021a593..1c0a8aa 100644 --- a/gcode.h +++ b/gcode.h @@ -254,6 +254,7 @@ typedef enum { LaserPPI_Rate = 127, //!< 127 - M127 LaserPPI_PulseLength = 128, //!< 128 - M128 RGB_WriteLEDs = 150, //!< 150 - M150, Marlin format + Plasma_SelectMaterial = 190, //!< 150 - M190, LinuxCNC format OpenPNP_SetJerk = 20130, //!< 20130 - M201.3 OpenPNP_SetAcceleration = 204, //!< 204 - M204 SetFeedOverrides = 220, //!< 220 - M220, Marlin format diff --git a/grbl.h b/grbl.h index 7fcf6a7..2f7fcb1 100644 --- a/grbl.h +++ b/grbl.h @@ -42,7 +42,7 @@ #else #define GRBL_VERSION "1.1f" #endif -#define GRBL_BUILD 20250221 +#define GRBL_BUILD 20250222 #define GRBL_URL "https://github.com/grblHAL"