During servo running a number called following error often jumps on the screen and new hands do not know its use. This page explains where following error comes from how the in position signal is generated and how to set the windows.
Following error equals position command value minus encoder actual feedback value in pulses or mm. It shows how far the motor lags the command at any instant. A small steady following error is normal; a growing one means the axis cannot keep up with the command due to load or gain shortage.
The in position signal is not issued just because the axis arrived but when following error falls inside a set in position window such as plus minus five pulses. Only then the drive asserts INP. If the window is too small the axis never settles and the line stalls; if too large it claims done while still off. When following error exceeds the over error limit the drive alarms and stops to protect the machine.
| Parameter | Meaning | Typical | Wrong setting |
|---|---|---|---|
| Follow error | cmd minus actual | few pulses | large means soft |
| In pos window | judge done | plus minus 5 | too small stalls |
| Over error | alarm limit | 100 pulses | too large crashes |
| Gain link | gain decides err | tune | low gain grows |
| Use | watch in tune | set 1/3 acc | protect |
Watch following error during tuning to judge gain; set the in position window to about one third of the accuracy requirement too small stalls the line too large misreports; set over error limit small to alarm early and prevent crash. Verify both with a real move test.
The quantities and component characteristics discussed here follow current national standards and the corresponding IEC documents: Servo interface and judgement see IEC 61800-3 and electrical safety see GB/T 5226.1. Always check the device datasheet and the product design file for ratings and derating.
Locate the issue with the approach above, then confirm with measurements; safety-related circuits must follow the standards and manufacturer requirements.