FEEDRATE_MODE_SUPPORT. Adds G93 inverse time mode and G94 units per minute feedrate mode #28097
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Description
Add option
FEEDRATE_MODE_SUPPORT. When this option is enabled, the following G-codes are supported:Background:
So far, Marlin only supported feedrate specified in units per minute (G94). Marlin uses the LinuxCNC definition of feedrate (
Marlin/Marlin/src/module/motion.cpp
Lines 1444 to 1465 in a506701
Example:
Caveats:
FT_MOTION) will probably not work correctly when G93 inverse time mode is active.Requirements
#define FEEDRATE_MODE_SUPPORTBenefits
Support for G93 inverse time feedrate mode. This mode is preferred in multi-axis machining.
Configurations
Enable this new option in the default Configuration.h:
#define FEEDRATE_MODE_SUPPORTRelated Issues