3D printer G-code · Marlin
M593: Input shaping (Marlin) (Marlin)
Input shaping (Marlin) — Marlin 2.1.2 and newer can filter the moves so that the frame does not ring at its resonance frequency (ZV input shaping). You measure the frequency with a ringing…
On this page
| Property | Value |
|---|---|
| Command | M593 |
| Function | Input shaping (Marlin) |
| Firmware | Marlin |
| Group | Calibration |
| Syntax | M593 [X|Y] F<Hz> D<damping> |
What does M593 do?
Marlin 2.1.2 and newer can filter the moves so that the frame does not ring at its resonance frequency (ZV input shaping). You measure the frequency with a ringing tower: count the waves after a corner and divide by the time. Klipper has a more complete version with accelerometer measurement.
Parameters
| Parameter | Meaning |
|---|---|
X Y | Axis |
F | Resonance frequency in Hz |
D | Damping ratio, often 0.1 |
Example
M593 X F42 D0.1
M593 Y F36 D0.1
M500Tips from practice
- Needs INPUT_SHAPING_X / _Y in the firmware.
Marlin. Many Marlin commands only exist when the feature is enabled in the firmware build. If the printer answers "Unknown command", the feature is missing. Klipper does not understand most of these settings codes; it uses printer.cfg instead.
Related commands
More calibration commands
| Command | Function | Firmware |
|---|---|---|
M92 | Set steps per unit (E-steps) | Marlin |
SHAPER_CALIBRATE | Measure resonances (input shaper) | Klipper |
SET_INPUT_SHAPER | Set input shaper | Klipper |
TUNING_TOWER | Change a value with height | Klipper |
Test it before you print
Paste your start code or a whole file into the 3D printer simulator. It plans every move, shows the time and finds missing waits, cold extrusion and moves outside the bed.
Open the simulator