Skip to content

Commit 659fbb8

Browse files
committed
🚸 M900 for FT Motion
1 parent 5effc26 commit 659fbb8

File tree

3 files changed

+19
-22
lines changed

3 files changed

+19
-22
lines changed

‎_gcode/M493.md‎

Lines changed: 13 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,21 @@
11
---
22
tag: m0493
33
title: Fixed-Time Motion
4-
brief: Enable/disable and configure Fixed-Time Motion, Linear Advance, and Input Shaping
4+
brief: Enable/disable and configure Fixed-Time Motion and Input Shaping
55
author: thinkyhead
66
contrib: narno2202, dbuezas
77

88
group: motion
9+
category: [ motion, wip ]
910
since: 2.1.3
1011
requires: FT_MOTION
1112
eeprom: true
1213

1314
codes: [ M493 ]
14-
related: [ M494, M593 ]
15+
related: [ M494, M593, M900 ]
16+
17+
notes:
18+
- The K factor for FTM Linear Advance is now set with [`M900 K`](/docs/gcode/M900.html).
1519

1620
parameters:
1721

@@ -33,20 +37,6 @@ parameters:
3337
- tag: 1
3438
description: Enabled
3539

36-
- tag: P
37-
optional: true
38-
description: Enable/disable Linear Advance aka Pressure Advance.
39-
values:
40-
- type: bool
41-
tag: state
42-
43-
- tag: K
44-
optional: true
45-
description: Set the gain for Linear Advance aka Pressure Advance.
46-
values:
47-
- type: float
48-
tag: gain
49-
5040
- tag: C
5141
optional: true
5242
description: |
@@ -142,10 +132,14 @@ parameters:
142132
example:
143133

144134
- pre: Enable Fixed-Time Motion with Linear Advance gain 0.22
145-
code: M493 S1 P1 K0.22
135+
code: |
136+
M493 S1
137+
M900 K0.22
146138
147139
- pre: Enable Fixed-Time Motion with ZVD Input Shaping on X and Y
148-
code: M493 S1 XY C2 A37 D0 P1 K0.18
140+
code: |
141+
M493 S1 XY C2 A37 D0
142+
M900 K0.18
149143
post: This also sets the IS Frequency to 37Hz for X and Y, disables Dynamic Frequency mode, and enables Linear Advance with a gain of 0.18.
150144

151145
---
@@ -195,7 +189,7 @@ Slice and print the tower using 0.2mm layer height using the highest reasonable
195189
##### 4. Analyze the Result
196190
Measure the height of the best looking layer, divide by the layer height, subtracting two layers. For example:
197191
- The least X ringing appears at height 20mm. So we calculate `15 + 45 * (20 / 0.2 - 2) / 297` and get a result of 29.84Hz.
198-
- Send the command `M493 A29.84` to apply the frequency to X motion. (For Y you would use `M493 B29.84`.)
192+
- Send the command `M493 X A29.84` to apply the frequency to X motion. (For Y you would use `M493 Y A29.84`.)
199193

200194
#### More Resources
201195
TH3D Studio has created an [Input Shaper Calculator](//www.th3dstudio.com/marlin-input-shaping-calculator/) that you can use to get the Slicer G-code you need and calculate the Hz value based on the best-looking layers.

‎_gcode/M593.md‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@ tag: m0593
33
title: ZV Input Shaping
44
brief: Get or set Marlin's integrated ZV Input Shaping parameters
55
author: thinkyhead
6+
contrib: tombrazier, JonBr306
67

78
group: motion
89
since: 2.1.2

‎_gcode/M900.md‎

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,18 @@
11
---
22
tag: m0900
33
title: Linear Advance Factor
4-
brief: Get and set Linear Advance K value
4+
brief: Set/report Linear Advance K value
55
author: thinkyhead
66

77
group: control
8-
requires: LIN_ADVANCE
8+
requires: LIN_ADVANCE or FT_MOTION
99
eeprom: true
1010

1111
codes: [ M900 ]
1212

13-
notes: See [Linear Advance](/docs/features/lin_advance.html) for details on how to determine the K factor and a link to our calibration tool.
13+
notes:
14+
- See [Linear Advance](/docs/features/lin_advance.html) for details on how to determine the K factor and a link to our calibration tool.
15+
- Since Marlin 2.1.3 this command also pertains to `FT_MOTION`.
1416

1517
parameters:
1618

0 commit comments

Comments
 (0)