5426
XL2CL; Encoder Backlash Simulation.
XL200

Closed Loop PC Simulator — Backlash Simulation Fixes

The Closed Loop PC simulator includes an optional backlash simulation used during development to reproduce the effect of mechanical slack and motor-follower lag in the drive train, so loop tuning and the feed-forward feature can be evaluated without a machine. Two defects in that simulation have been corrected.

The simulated delayed encoder signal was being generated from a running total rather than from the individual per-sample movements. With any appreciable amount of simulated delay this let the delayed value grow without bound and eventually reverse sign, so the simulated feedback would invert and the control loop would behave erratically. The simulation now delays the individual per-sample movements, which keeps the values bounded and correct at any delay setting.

In addition, the delayed-encoder buffer was not cleared between moves. Leftover movement data from the previous move — or from a setting that had since been changed — would be played back at the start of the next move, causing the simulated feedback to begin inverted. The buffer is now cleared between moves so each move starts from a clean state, matching the behavior seen right after startup.

The backlash simulation remains turned off by default and has no effect on normal operation; these corrections apply only when it is explicitly enabled for development testing. No shipped machine behavior is changed.

Model Version Released
XL2CL 5.112.0 10/30/2026
XL220CL 5.112.0 10/30/2026
XL2CL 4.112.0 10/30/2026
XL220CL 4.112.0 10/30/2026