Electronic gearing and camming, and when you need either
Following a master axis in a ratio, following it through an arbitrary profile, and the registration problem both exist to solve.
Short answer
Electronic gearing makes a slave axis follow a master at a fixed ratio, replacing a mechanical gear train. Electronic camming makes it follow an arbitrary profile defined as a table of master position against slave position, replacing a mechanical cam. Both are position based rather than speed based, which is what keeps them synchronised over time instead of drifting.
Both of these replace something that used to be made of metal, and understanding what they replaced explains what they do.
Electronic gearing
A mechanical gear train forces two shafts to turn in a fixed ratio. Turn the master one revolution, the slave turns exactly the ratio, forever, with no drift, because they are connected.
Electronic gearing does the same thing in software. The slave's position command is the master's position multiplied by a ratio.
The important word is position. Commanding both axes to the same speed looks equivalent and is not: any difference in following error integrates into a position offset that grows without bound. Gearing on position corrects rather than accumulates.
This is the whole reason to use a motion controller rather than two drives with a shared analogue reference. The shared reference is speed matching, and speed matching drifts.
Electronic camming
A mechanical cam is a shaped disc; a follower rides on it, and the follower's position is an arbitrary function of the cam's angle.
An electronic cam is that function as a table: master position in one column, slave position in the other, interpolated between points.
It does everything gearing does, since a straight line in the table is a fixed ratio, and everything gearing cannot: dwell while the master keeps moving, accelerate through part of the cycle and decelerate through another, reverse briefly.
Where each is used
Gearing. Two rollers that must stay in step. A conveyor and an indexer. Anything that used to be a shared line shaft.
Camming. A flying shear that accelerates to web speed, cuts, and returns. A rotary filler where the nozzle follows the bottle. A packing machine where a flight bar must dwell at the load point. Anything that used to be a barrel cam with a mechanic adjusting it.
The virtual master
The design decision that makes a machine maintainable.
Rather than every axis following a physical encoder on one of them, generate a master position in software. Every axis, including what would have been the master, follows the virtual one.
The benefits are immediate. The whole machine is jogged by moving one number. Stopping is one deceleration profile rather than a negotiation. And nothing depends on a physical axis that might be the one that has failed.
Registration
The reason cams alone are not enough on anything involving a web.
Printed film stretches. Over a hundred metres the print drifts relative to any fixed count of encoder pulses, and a cut positioned purely by the cam lands progressively further from the mark.
A registration sensor sees the mark, the controller compares where it arrived with where it expected, and applies a small correction to the cam offset. The correction is deliberately limited per cycle, so a missed mark produces a small error rather than a lurch.
Where this leaves ladder
Worth being honest about the boundary. This is motion controller territory, programmed in the vendor's motion environment or in PLCopen motion function blocks, not in ladder.
Ladder's job around it is the machine sequence: when to engage the cam, when to disengage it, what to do when a fault occurs mid-profile. That part is ordinary logic and belongs where the rest of the sequence lives.
Common questions
- Why not just give both axes the same speed reference?
- Because speed matching drifts. Any small difference in following error integrates into a growing position offset, and after a few minutes the axes are out of phase with nothing indicating why. Gearing follows position, so an error is corrected rather than accumulated.
- What is a virtual master axis?
- A master position generated in software rather than read from a physical encoder. Every slave follows it, which means the whole machine can be jogged, stopped and restarted by moving one number, and there is no dependence on a real axis that might be the one that failed.
- What is registration used for?
- Correcting for accumulated error in a material, typically printed film. A sensor detects a printed mark, and the cam or gear relationship is shifted slightly so the cut lands in the right place. Without it, small stretch in the web accumulates and the print drifts relative to the cut.
Keep reading
- Safety
SIL or PL: which one does your machine need?
Two standards, two scales, and one machine. Which one applies, how they map to each other, and why the answer is usually ISO 13849.
- Safety
Categories B, 1, 2, 3 and 4, in plain terms
Five architectures, what a single fault does to each, and the practical wiring that goes with them.
- Safety
Safety relay or safety PLC: how to decide
One is a wiring decision, the other is a programming one. The count of safety functions, not the size of the machine, is what settles it.