Home / Case Studies / Multi-Turn Position That Survives a Power Cut

Technical note

Multi-Turn Position That Survives a Power Cut

A machine that indexes a fixture by rotation needs to know its angle after the power comes back. Within one revolution that is easy: the absolute encoder reports the angle directly. Past one revolution it is not, because the encoder only knows where it is inside the turn, and the number of turns has to be counted and kept somewhere that survives a power-down. On this cleaning station the count was being lost every time the machine was switched off — the fixture came back up at the right angle but the wrong turn, and the machine had to re-home before it could run. That is a few minutes every morning, and one more thing for an operator to get wrong.

26-bitencoder resolution
0homes per shift
−40 to +85 °Cstorage range

Drive used in this class of machine: DG series, multi-turn absolute · not sure which? five questions →

Display panel cleaning station: a glass panel on a chuck under a row of spray nozzles
Illustrative: a wafer transfer robot. The machine in this case handles display panels rather than wafers, but the motion problem is the same — a rotating fixture that has to know where it is after a power cycle.

The machine and the failure

The station cleans display panels on a rotating fixture. The fixture turns several revolutions in a cycle, stops at indexed angles, and the process runs. The drive is an EtherCAT unit with a Tamagawa absolute encoder on the motor, and a second encoder channel used for the fixture side. Within one revolution, everything behaved: power down, power up, position restored. Past one revolution the multi-turn value came back as zero, the axis re-homed, and the cycle restarted from a known point.
ConditionBehaviour before the fixBehaviour after
Power cycle inside one revolutionPosition restored correctlyPosition restored correctly
Power cycle past one revolutionMulti-turn count lost, axis re-homedCount restored, axis resumes without homing
Passing the multi-turn maximum and minimumCount latched or wrappedCount follows through both limits
Repeat testReproducible failureReproducible pass over repeated cycles

What was actually wrong

It was firmware, not wiring and not the encoder. The second channel's multi-turn accumulator was not being committed to non-volatile storage before the rail dropped, so the value that came back after a power cycle was the value from before the last several turns. Because the single-turn value was correct, the failure looked like a logic error rather than a data-loss error, which is why it survived the first round of site checks. Once the accumulator was committed on a change-of-turn rather than on a timer, the count survived both the power cut and the wrap at the multi-turn limits.

Why a second encoder channel is worth having on a rotating fixture

The fixture side and the motor side see different things. The motor encoder sees the shaft; the fixture encoder sees the part after the coupling, the belt or the gearbox. When the two disagree, something mechanical has slipped, and on a machine that indexes to an angle, that disagreement is the difference between a good panel and a scrap one. Keeping both channels and comparing them is cheaper than adding a separate position sensor, and it turns a mechanical fault into an alarm instead of a batch of bad parts.

Key takeaways

Common questions

Does every EtherCAT drive keep multi-turn position through a power cut?

No. It depends on how the multi-turn accumulator is persisted and on whether the encoder protocol carries the count. A single-turn absolute encoder plus a persisted count is a common arrangement, and it is exactly the arrangement where a commit-on-timer policy loses data.

Can I use the second channel for a linear scale instead of a rotary encoder?

On the units with two feedback channels, yes — the second channel is a full encoder interface, not a tachometer input. On a ZR module this is how the linear and rotary axes are closed separately.

What happens next

You have seen the numbers for one project. Mine would be built around yours — the five stages say what I need from you at each one.

Tell me your version of this problem

Three fields. The 81-page catalog goes to your inbox immediately; my own reply follows within a working day. The catalog is automatic — the answer is not.

Written by Jintao Chen, Sales Engineer at XActant. If this raised a question about your specific machine, send me the details — I answer these myself.