thinkyhead

M900 - Linear Advance Factor

control Get and set Linear Advance K value LIN_ADVANCE

Description

This command sets and/or reports the Linear Advance K factors.

Setting the K factor to 0 disables Linear Advance.

With the EXTRA_LIN_ADVANCE_K option Marlin maintains two slots for each extruder. The first slot is set with K and the second slot is set with L, then select the first using S0 and the second using S1.

Notes

See Linear Advance for details on how to determine the K factor and a link to our calibration tool.

Usage

M900 [K<kfactor>] [L<kfactor>] [S<slot>] [T<index>]

Parameters

[K<kfactor>]

The K factor to set for the specified extruder. Unchanged if omitted. Set this value higher for more flexible filament or a longer filament path.

With EXTRA_LIN_ADVANCE_K this sets the primary K factor. Note that this factor may be inactive and won’t take effect until the next M900 S0.

[L<kfactor>] 2.0.0

Set the second K factor for the specified extruder. Requires EXTRA_LIN_ADVANCE_K. Note that this factor may be inactive and won’t take effect until the next M900 S1.

[S<slot>] 2.0.0

Select slot and activate the last stored value. Requires EXTRA_LIN_ADVANCE_K.

[T<index>] 2.0.0

Extruder to which K, L, and S will apply. Requires EXTRA_LIN_ADVANCE_K.

Related Media