Are You Using Swing Machining on CNC EDM Machines Correctly?
Swing machining moves the electrode on a programmed orbit instead of plunging straight down. This page covers what the orbit does to flushing, side gap and corner geometry, and how to pick amplitude and undersize. Written for die sinker operators and process engineers who already run EDM.

What swing machining actually changes
The electrode path, the gap, and the debris exit route all change at once.
Straight plunge vs. orbit: what the machine is doing
On a CNC die sinker, a straight Z plunge removes material only under the electrode face. The side gap stays narrow, and the dielectric has to push eroded particles up through that gap. As depth grows past roughly two to three times the gap width, the flow stalls and you get arcing, taper and burnt corners.
Swing machining adds a horizontal orbit to the servo path, usually programmed as a circular, square or vector pattern with a set amplitude. The electrode still feeds down, but the orbit widens the effective cutting envelope. That extra width lets fresh dielectric reach the bottom of the cavity and carry sludge out along the sides.
Two numbers describe the orbit. Amplitude is how far the electrode center travels from the cavity center at the widest point. Offset is the programmed shift between electrode and finished wall. Operators often confuse them, then wonder why the cavity comes out oversize.
The servo reacts faster than most people expect. When the orbit sweeps, average gap voltage rises because part of the cycle is cutting air or partly flushed material. The control sees this and advances the Z axis. Set the amplitude too high and the machine feeds down hard, then stalls at the corners.
Why orbiting fixes deep cavities and thin ribs
Eroded debris is the main reason a die sinker stalls. Particles are conductive. Once they collect in the gap, they bridge the electrode and the workpiece, and the next discharge happens through that bridge instead of through the dielectric. The result is a pit, a black spot or a broken corner.
An orbit gives those particles a way out. As the electrode sweeps sideways, the gap opens on one side and closes on the other. Dielectric flows into the widening side and pushes sludge toward the opening. On a 40 mm deep cavity in a hardened tool steel insert, that alone can cut the number of retract cycles in half.
Thin ribs and slots behave differently. A rib that is 0.8 mm wide with a 0.15 mm side gap leaves very little room for orbit. Push the amplitude too far and the electrode bends or the rib washes out at the tip. Many shops keep the orbit tight on ribs and rely on a jump cycle instead.
Deep pockets with a small radius at the bottom are the hardest case. The orbit has to be small enough to fit that radius but large enough to flush. On our own die work we usually start at 0.02–0.05 mm amplitude and raise it in steps once the first few millimeters are cut.
Setting amplitude, offset and electrode undersize
Undersize is calculated before the electrode is cut, not after. A roughing electrode needs to be smaller than the finished cavity by twice the total gap, and that gap is the sum of the spark gap and the orbit amplitude. Get the arithmetic wrong and the finishing electrode cannot clean up the wall without cutting into tolerance.
A practical order is: fix the finish cavity size, pick the finishing orbit from the required surface finish, then subtract the spark gap. The roughing electrode is then built from the roughing orbit, which is usually two to three times larger. On a cavity with a ±0.01 mm wall tolerance, keeping these numbers separate matters more than any single setting.
Watch the corner radius. A circular orbit rounds inside corners by the amplitude value. If the drawing calls for a sharp 0.3 mm corner and you run a 0.1 mm circular orbit, the corner will never clean up. Vector or square orbits reduce this effect, but they load the servo differently and can chatter on tall electrodes.
Amplitude is not a constant. It is a starting value you trim by depth. Shallow cuts tolerate more orbit because the electrode is short and stiff. Past about 50 mm of electrode length, reduce the amplitude and add a jump cycle. Copper tungsten holds its shape better than graphite here, which is why it still gets used on deep, fine work.
Starting values by cavity type
Typical ranges for a die sinker running copper or graphite electrodes in hardened steel. Trim to your own machine and gap voltage.
| Cavity feature | Orbit amplitude | Approach | Watch for |
|---|---|---|---|
| Shallow pocket, under 10 mm | 0.05–0.10 mm | Circular orbit, low jump | Corner rounding |
| Deep cavity, 40–80 mm | 0.02–0.05 mm | Orbit plus jump cycle | Arcing, taper |
| Thin rib, under 1 mm wide | 0.01–0.02 mm | Vector orbit, light feed | Rib washout |
| Fine corner, R under 0.5 mm | Match radius | Vector or square orbit | Uncut corner |
| Large flat face | 0.10–0.20 mm | Circular orbit, high jump | Edge rounding |
| Blind hole with taper limit | 0.03–0.06 mm | Reduced orbit near bottom | Side taper |
When swing machining is the wrong choice
Orbiting is not free. Every sweep adds a small amount of side wear to the electrode, and that wear shows up as taper on the wall. On a part with a tight straightness call over 100 mm of depth, a straight plunge with a good jump cycle can hold the wall better than a wide orbit.
Sharp internal corners are another limit. A circular orbit cannot produce a corner tighter than its own radius. If the drawing shows a true sharp corner, the electrode must be dressed to that shape and run with a very small orbit, or the corner is finished by milling before heat treatment.
Graphite wears in a different way than copper. Under a long orbit, graphite tends to lose its corners first, so the cavity gets rounder as the electrode wears. Copper and copper tungsten hold corners longer but cost more to machine. For a short run of five cavities, the difference rarely pays back.
Small features below about 0.2 mm across are usually better served by wire EDM or by a dedicated micro-hole machine. The electrode is too fragile to orbit, and the flushing benefit never arrives because the gap is already at the minimum the dielectric can pass.
Common questions
Does swing machining improve surface finish?
It helps indirectly. The orbit improves flushing, so fewer particles sit in the gap and re-discharge into the wall. That reduces pitting and black spots.
The Ra value itself is set by the discharge energy on the finishing pass, not by the orbit. A wide orbit on a rough setting will not give you a fine finish.
How do I know the amplitude is too high?
Look at the gap voltage trace and the sound. A stable orbit gives a steady, even discharge. When the amplitude is too high, the servo drives down between sweeps and you hear a rhythmic thump as it retracts.
The part tells you too. Oversize corners, rounded edges and a wall that measures bigger than the electrode plus gap all point to too much orbit.
Can I use swing machining on a ram EDM without a C axis?
Yes, if the control supports orbital motion on the X and Y axes. Many ram machines without a rotating C axis still run circular, square and vector orbits.
What you lose is the ability to index the electrode and spread wear. On deep cavities with a long orbit, a C axis helps the electrode wear more evenly.
Should the roughing and finishing electrodes be the same size?
No. The roughing electrode is undersized by the roughing orbit plus the roughing spark gap, which is larger than the finishing gap.
Machining them to the same size is a common mistake. The finishing electrode then has to remove a step, and it usually ends up cutting into the wall tolerance.
How does electrode material change the orbit setting?
Graphite is lighter and machines faster, and it tolerates a wider orbit at low current. It also wears at the corners, so the orbit has to be reduced on fine corner work.
Copper and copper tungsten hold edges longer and are the better choice for deep cavities and tight corners, at higher material and machining cost.
Does orbiting shorten electrode life?
It adds side wear, so yes, in most cases. The trade is flushing. A tight plunge cycle with poor flushing will short out and damage the electrode faster than a controlled orbit.
Track the number of cavities per electrode. If it drops after you widen the orbit, the orbit is costing more than the flushing gain.
Send us your EDM and hard-milled parts
Upload a drawing or STEP file and we will review the cavity geometry, electrode plan and finishing route, then quote with a DFM note within 12 hours.
12-hour quote100% inspectionNDA on request