Hooking a linear scale into a CNC passes four gates: signal level matching, pulse-equivalent setup, homing configuration and interference control. Only when all four are right does full-closed-loop feedback pay off.
First match the scale output to the control interface: TTL differential (RS-422) plugs into systems with digital position-feedback ports; 1Vpp sine needs an analogue interpolation interface or an external interpolation box converting to digital. Get the parameter chain right: a 20µm grating period through a 5-fold interpolation box gives a 4µm signal period, and further electronic division yields the final equivalent - 1µm per count in this example - set exactly as the box manual states. One wrong figure in the chain and every full-loop position lies, so write period, interpolation and equivalent on paper and tick them one by one.
Enable full closure via the feedback-selection parameters of your system, compute the feed gear ratio from the scale equivalent and the ball screw lead per the manual, and refresh backlash compensation with scale-measured values. Homing: distance-coded scales (reference marks every 20 or 50mm) home by traversing two reference marks - one is not enough to fix the position uniquely; plain incremental scales home on a dog plus Z pulse. Start homing at a slow 500mm/min to prove it, then raise to normal speed. Interference control: separate cable ducts 200mm from servo power, shield earthed at the drive end, control earth within 4 ohms to the machine grid. Accept by comparing semi-loop versus full-loop positioning error, then laser-measure repeatability - better than 3µm on precision grades. If the full loop oscillates, drop the position gain 20 percent first and walk it back up; a hard-cut gain softens the loop and loses accuracy.
| Item | Example parameter | Check point |
|---|---|---|
| Output standard | TTL differential or 1Vpp sine | Match the interface, box for 1Vpp |
| Grating and interpolation | 20µm period, 1µm equivalent | The three-figure chain must agree |
| Pulse equivalent | 1µm per count | One decade off ruins everything |
| Full-closure selection | Feedback set to external scale | Parameters per the system manual |
| Homing method | Distance-coded or dog plus Z | Coded needs two reference marks |
| Repeatability acceptance | Better than 3µm precision grade | Laser measurement over full travel |
Interfacing means making the control believe the scale: the chain from grating period to equivalent to gear ratio must close without a break. Photograph the parameter sheet each time and store it - restoring a dead control from the sheet beats re-deriving by ten to one.
The quantities and component characteristics discussed here follow current national standards and the corresponding IEC documents: CNC interfaces and control circuits per GB/T 5226.1 (IEC 60204-1); accuracy inspection per the relevant national machine-tool standards. 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.