FEEDRATE_MODE_SUPPORT. Adds G93 inverse time mode and G94 units per minute feedrate mode#28097
FEEDRATE_MODE_SUPPORT. Adds G93 inverse time mode and G94 units per minute feedrate mode#28097DerAndere1 wants to merge 3 commits intoMarlinFirmware:bugfix-2.1.xfrom
Conversation
844c022 to
eb22eae
Compare
|
I think this will implement what required here #8290. |
eb22eae to
efc02e9
Compare
|
The following discussion indicates that my current implementation indeed behaves like LinuxCNC with regards to acceleration and deceleration: https://forum.linuxcnc.org/20-g-code/50870-inverse-time-feed-g93-ignored-with-4th-rotary-axis . Source code of Grbl planner.c also indicates that Grbl behaves the same. |
0ab3d74 to
59af653
Compare
|
Extended to work with G2/G3. I tested various combinations of G93, G94, G0, G1 and G2 with FEEDRATE_MODE_SUPPORT, G0_FEEDRATE and ARC_SUPPORT enabled on real hardware. |
c48d8d5 to
ea39b62
Compare
ea39b62 to
d98fd80
Compare
|
I close this because it is not yet working with kinematics that require segmentation. |
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