Tuning examples come from a public Siemens CNC4YOU article (Bai Zhifu, 2020-03-24, citing the SINUMERIK 840D sl/828D Basic Functions manual 08/2018); machine-data definitions come from the official parameter manual (MD10061 POSCTRL_CYCLE_TIME etc.). Methods, parameter numbers and criteria only — actual values follow your machine’s measurements and manual.
38.1 Separate three kinds of wave first: witness marks / chatter / water waves
Diagnosis starts with classification — the three have different causes and tools:
| Type | Form | Source | Spectral signature |
|---|---|---|---|
| Witness marks | a fixed line at one spot | transition deceleration, tool-change dwell | synchronous with blocks/tool changes, not continuously periodic |
| Chatter | high frequency, ridged, felt by hand | mechanical resonance, tool overhang, cutting parameters | clear spectral peak, frequency tied to speed/tooth count |
| Water waves | periodic undulation along the surface | servo following error, acceleration jumps | stable period, typically tens of Hz |
Criterion: stable period → use Trace to measure frequency; proportional to speed/tooth count → check cutting and mechanics; fixed point → check transitions and tool change. The tools below mainly address the latter two kinds that have a clear frequency.

38.2 Tool one: servo Trace — the velocity / following error / position error curves
Servo Trace is the first tool for finding a frequency:
- Select signals: velocity setpoint / actual, following error, position error and others available in your Trace function.
- Run once on the segment that shows the problem; export the curve.
- Read the vibration period T (time between adjacent peaks) and amplitude. Period T → frequency f = 1/T.
Example: contour-deviation curve shows a stable vibration with period 0.075 s, so f = 1/0.075 ≈ 13.33 Hz. That frequency is the basis for the filter setting. Signal selection and sampling follow your HMI/manual — the core of curve reading is “is the period stable, and how large is the amplitude”.
38.3 Tool two: contour-error Trace — Control deviation vs Contour deviation
Contour-error Trace shows two curves with different roles:
- Contour deviation: normal deviation of the actual tool path from the programmed contour — maps directly to shape error on the part.
- Control deviation: the control loop’s internal deviation signal — closer to the servo layer.
Reading logic: both curves vibrate → control/servo issue (filter can help); only contour deviation vibrates while control deviation is clean → more likely mechanical, programming or measurement side. This distinction is the tool’s core value — it tells you “tune parameters or inspect mechanics”. The CNC4YOU example observes a 0.075 s period through these two variables before setting MD32410.
38.4 Tool three: speed-loop Bode plot + mechanical zero point — find the real resonance
The first two tools infer frequency from the *result* (the waveform); the Bode plot reads the resonance point from *system characteristics*:
- Open the speed-loop Bode plot screen.
- In curve/graph and signal settings, uncheck “calculated control loop”, check mechanical frequency and mechanical zero point.
- Confirm, then move the pointer to the first mechanical zero point; the screen shows the frequency — e.g. 68.989 Hz.
This is the machine’s real mechanical resonance, more reliable than inference from a waveform (if the Bode signal settings are right). Relationship of the three tools: servo Trace and contour Trace give the vibration period; the Bode plot gives the mechanical resonance point; both routes yield the frequency needed for the filter, and cross-checking is stronger.

38.5 The formula and practice: two examples, two ways of writing it
This is the most often-garbled part online. MD32410 is not computed by a single formula — it depends on where the frequency came from:
| Frequency source | Known | MD32410 value | Example |
|---|---|---|---|
| Vibration period from contour Trace | period T | MD32410 = T | T=0.075 s → MD32410=0.075 |
| Bode mechanical zero point | frequency f | MD32410 = 1/f | f=68.989 Hz → MD32410≈0.0145 |
| Speed-loop oscillation | frequency f | MD32410 = 1/f | f=37 Hz → MD32410≈0.027 |
Why does one example equal the period and another equal the reciprocal of frequency? Because T and f are reciprocals (T = 1/f) — the contour Trace measures period T directly, so use it; the Bode plot gives frequency f, so take its reciprocal. Both arrive at the same thing: set the filter time constant to one period of the vibration to be removed. Once you understand this, the three CNC4YOU examples (0.075 / 0.0145 / 0.027) stop looking contradictory.
General steps: MD32400=1 to activate → compute MD32410 → enter it → re-test. The official recommended range for MD32410 is about 1 to 127 position-control cycles (about 0.002–0.254 s at a 2 ms cycle); be cautious outside it.
38.6 MD32402 mode selection: the five official types
The filter type is chosen by MD32402; official definitions (828D Axes and spindles manual 10/2020 / CNC4YOU 3109):
| Type | Name | Extra parameters | Traits |
|---|---|---|---|
| 1 | Arithmetic-average filter | MD32410 | large contour deviation, kept for compatibility, not recommended |
| 2 | Single moving average | MD32410 | recommended: lower contour error at the same smoothing |
| 3 | Band-stop | MD32410 + MD32412 + MD32414 | suited to a known single frequency, official not recommended for routine use |
| 4 | Double moving average | MD32410 + MD32411 | two type-2 filters in series, stronger smoothing, larger contour distortion |
| 5 | FIR lowpass | MD32407 + MD32408 + MD32409 + Top speed option | rarely used, needs option licence |
Selection discipline: default to type 2; consider type 3 band-stop only for a known single resonance when normal methods fail; type 4 smooths more but distorts contour more; type 5 needs an option. The circulating “type 1 = second-order, type 2 = moving average, type 3 = band-stop” description is imprecise — official type 1 is an arithmetic average already superseded by type 2.
38.7 Two hard constraints on MD32410 and how activation works
Two hard conditions — miss one and the filter does nothing or misbehaves:
- MD32410 must exceed MD10061 (position controller cycle). MD10061 POSCTRL_CYCLE_TIME is a read-only displayed value computed internally from SYSCLOCK_CYCLE_TIME etc. (the parameter manual marks it non-modifiable). A time constant shorter than one position cycle is equivalent to no setting.
- Changing MD32402 from type 1 to type 2 requires a power-on cycle; if another filter mode was already active, “enable machine data” or panel RESET is usually enough (version-dependent). MD32410 changes also need “enable machine data” or RESET to take effect.
One consequence to expect: enabling the position setpoint filter slightly lowers position-loop gain — the axis feels “softer” — an inherent cost of filtering, not a mistake (see 38.8).
38.8 The axis feels soft after enabling the filter — do not raise gain to compensate
Classic misoperation: after enabling MD32400/32410 the axis feels slower and the cut “soft”, so you raise position-loop gain to compensate. Filtering suppresses vibration while higher gain amplifies it — they fight, and the waves come back.
The right mental model: filtering trades a little response/contour accuracy for vibration suppression. If softness actually hurts the job: ① check whether MD32410 is set too large (well beyond the necessary period, causing visible contour distortion); ② use type 2 rather than type 1 (lower contour error at the same smoothing); ③ reconsider — maybe the resonance should be solved mechanically (overhang, fixture, tool) instead of by heavy filtering. Never “fight” the filter with gain.

38.9 Re-test after tuning: before/after Trace on the same program
Tuning is not complete until verified:
- Run the same program segment with the same cutting parameters — change only the filter, so the comparison is valid.
- Record the same Trace signals (Contour deviation / Control deviation) and compare vibration period and amplitude before/after.
- Criterion: amplitude clearly lower and curve smoother, and contour error has not grown to an unacceptable level — both must hold.
A single run is not conclusive: filter behaviour depends on real conditions (load, attitude, temperature); run several times and use a stable result.
38.10 Division of labour, and four checks when no frequency is found
Division: this is the “diagnosis layer” — how to find the frequency, read the waveform and compute MD32410; 840D sl compressor + jerk + filter is the “setup layer” — the full compressor, BRISK/SOFT and filter-trio settings. The two cross-link; diagnose first, then set up.
If no frequency can be found or the filter does nothing, rule out four things before returning to filtering:
- Mechanical looseness: clearance and preload of guides, ballscrew, couplings, bearings.
- Excessive tool overhang: the longer the overhang the easier resonance — shorten it and use a more rigid holder first.
- Fixture rigidity: is the workpiece clamped solidly, does a thin wall resonate?
- Mismatched servo gains: speed/position loop gains not matched to the machine mechanics — see servo vibration, overshoot and noise and drive-side tuning.

Frequently Asked Questions
Regular waves on a 840D sl surface — what screen do I look at first?
Start with servo Trace or contour-error Trace to find the vibration period T (time between adjacent peaks); a stable period means a vibration with a definite frequency, and you can then use the Bode mechanical zero point to find the resonance. Do not change MD32410 before looking at the waveform.
Should MD32410 be computed from the resonance frequency or from 1/f — what is the relationship?
They are the same thing: period T and frequency f are reciprocals (T=1/f). If contour Trace gives period T directly, set MD32410=T (e.g. 0.075 s); if the Bode plot gives frequency f, take the reciprocal MD32410=1/f (e.g. 68.989 Hz→0.0145 s). Both set the filter time to one period of the vibration to be removed.
The axis feels soft after enabling the position filter — is something wrong?
No, it is the inherent cost of filtering — a little response/contour accuracy traded for vibration suppression. Do not raise position-loop gain to “compensate”; filtering and gain then fight each other. If softness hurts the job, check whether MD32410 is too large, use filter type 2, or solve the resonance mechanically.
Last updated: 2026-11-24
Where to go next
- FANUC Troubleshooting — the full guide library: alarms, diagnosis numbers, servo, spindle, PMC and electrical faults, organised by symptom.
- CNC Repair Tools — which instrument measures what: multimeters, clamp meters, insulation testers and oscilloscopes, with the specification that actually matters.
- Remote Technical Support — have the readings reviewed with you: alarm reverse lookup, PMC ladder analysis and servo tuning advice by call. Repair companies and integrators welcome.
- Buying & Ownership Decisions — refurbished vs new, used-machine checks, software licensing and manuals: spend with the field facts in hand.
Read the guide, get the right instrument, or walk the diagnosis through with someone — pick whichever you need.
The original Chinese version — same procedure, with the full field notes.












































暂无评论内容