CCNC Software Hub

GUIDE

4-Axis Machining Simulation in SSMAM: Rotary Tables, Indexing Heads, and AC vs BC Setups

Learn 4-axis machining in SSMAM before you touch a real rotary table: how indexing heads work, what AC and BC setups mean, and how to simulate, check and fix a 4-axis program step by step.

4-Axis Machining Simulation in SSMAM: Rotary Tables, Indexing Heads, and AC vs BC Setups
Most machinists meet multi-axis work through a 4th axis, not a full 5-axis machine. A rotary table or indexing head bolted onto a 3-axis mill turns it into a 4-axis machine, and it is the cheapest way to machine several faces of a part in one setup. Before you clamp a real rotary table to a real machine, you can learn the whole workflow in SSMAM, the CNC simulation and training software that runs the real FANUC 0iM, Siemens 828D and HEIDENHAIN control panels on screen. What a 4th Axis Actually Does A normal 3-axis mill moves the tool in X, Y and Z. A 4th axis adds one rotary axis that turns the workpiece. On most vertical mills the rotary axis is the A axis, mounted so it rotates around the X axis. The part is clamped in a chuck or fixture on the rotary table, and the table turns it to a new angle while the spindle does the cutting. With that one extra axis you can mill a face, rotate the part 90 degrees, mill the next face, and keep going, all without unclamping and re-indicating the part. There are two ways to use a 4th axis, and the difference matters for programming. In indexing, also called 3+1 machining, the rotary axis moves to a fixed angle, locks, and the machine cuts with three linear axes only. The A axis never moves while the tool is in the cut. In simultaneous 4-axis machining, the rotary axis turns while the tool is cutting, so the tool follows a curved surface around the part. Indexing is simpler, safer and covers most real work: bolt patterns, flats and pockets on several faces. AC vs BC: Two Ways to Build a Rotary Setup When people talk about AC and BC structures, they are describing which two rotary axes a 5-axis machine has. A 4-axis machine has only one of them, but understanding the pair helps you read machine specifications and choose the right simulation model in SSMAM. The letter tells you which linear axis the rotary axis is parallel to. An A axis rotates around X, a B axis rotates around Y, and a C axis rotates around Z. In an AC setup, the A axis tilts the workpiece, usually on a trunnion that swings it up and down, and the C axis spins it like a turntable. In a BC setup, the B axis tilts the workpiece and the C axis spins it. The cutting result is similar, but the machine looks different, the work envelope is different, and the program reads differently: an AC machine positions with A and C values, a BC machine with B and C values. When you pick a machine model in SSMAM, check which rotary letters its configuration uses, because a program written for an AC machine will not run correctly on a BC machine. A single rotary table on a 3-axis mill is the simplest case: one A axis, no C axis. That is the setup most beginners start with, and it is also the most common 4-axis job in a small shop. SSMAM includes 4-axis machine models, so you can practise on the structure you actually own or plan to buy, rather than on a generic 5-axis machine. Step 1: Pick the Right Machine Model Start SSMAM and choose a machine with a rotary axis that matches your program. If your program uses A-axis moves, pick a model with an A rotary table; if it uses B, pick a B-axis model. Do not load a 4-axis program onto a 3-axis machine model and hope for the best: the control will alarm on the rotary commands, and you will have learned nothing about the real setup. If you are just learning, a FANUC 0iM model with an A-axis rotary table is a good first choice, because FANUC is the most common control in small shops and the A-axis table is the most common 4th axis. Step 2: Load the Program and Read It First Load your program into the control panel, then read it before you press cycle start. Look for the rotary moves: lines with an A value, such as A90. or A-45., are the indexing positions. Each one should have a clear purpose, a face to machine, a hole pattern, a flat. If you see an A move while the tool is still inside the part, that is a crash in real life. In simulation it shows up as the tool dragging through the workpiece as the table turns. You can write the program by hand or import one from UG NX or Mastercam. SSMAM accepts programs posted from both, so you can take a program you already use in the shop and rehearse it in simulation first. When you import a posted program, check the post processor settings: the rotary axis letter, the direction of rotation and the zero position must match the machine model you picked in SSMAM, or the simulation will turn the part the wrong way. Step 3: Set the Stock, the Fixture and the Rotary Zero Mounting the part on a rotary table changes where zero is. In 3-axis work you usually set the work offset, for example G54, on a corner or the top face of the part. With a rotary axis, the work offset is normally set on the centreline of the rotary axis, because that is the point the part rotates around. In SSMAM, set the stock size, clamp the part in the rotary fixture, and set the work offset on the rotary centreline. Then rotate the table to A0 and check the tool against the part: the tool should sit exactly where the program expects it at the start. Now index to A90 and check again. If the tool is not where it should be, the offset is wrong, and it is far better to find that out on screen than on the machine. Step 4: Run the Simulation and Watch the Table Run the program in single-block mode first, so you can stop at every A move and look at the machine. Watch three things. First, the table itself: does it turn the way you expect, and does the part swing into the spindle, the fixture or the table? A part clamped too far from the centreline sweeps a big circle and can hit the column. Second, the tool: at each indexed position, is the tool cutting the face you intended? Third, the control panel: an alarm on a rotary move usually means the program asked for an angle the machine cannot reach, or a rotary axis that does not exist on the model. When the single-block run looks right, run the whole program at full speed in simulation and watch for collisions between the tool holder and the rotary fixture. The holder is the part beginners forget: the cutter is short, the holder is wide, and at A90 the holder can hit the chuck while the cutter is still clear of the part. Common 4-Axis Mistakes, and How Simulation Catches Them The most common mistake is the wrong rotary zero. The program assumes the part rotates around the table centreline, but the offset was set on a face. The symptom in simulation is that every face after the first is machined in the wrong place, by the same distance, and the error flips side when the table turns 180 degrees. The second mistake is rotating with the tool still in the cut. The symptom is a gouge across the part as the table turns. The fix is a retract move before every A move, high enough to clear the part and the fixture. The third mistake is the wrong rotation direction. The part turns clockwise when the program meant counter-clockwise, so a hole pattern lands mirrored. In simulation you see the holes on the wrong side; on a real machine you scrap the part. From 4-Axis to 5-Axis Once indexed 4-axis work feels comfortable, the step to full 5-axis is smaller than it looks. The ideas are the same: one more rotary axis, the same work-offset logic, the same habit of retracting before a rotary move and checking the holder against the fixture. The main new skill is RTCP, tool center point control, which keeps the tool tip on the programmed point while the rotary axes move. SSMAM supports RTCP, and we explain it in detail in our RTCP guide. Practise the setup until the sequence feels boring: pick the machine, read the program, set the offset on the centreline, retract before every rotary move, run it single-block, then run it whole. When you can do that without a surprise in simulation, you are ready to clamp a real rotary table to a real machine and cut the same part with confidence. The 6-day free trial covers this whole guide; after it, 4-axis practice needs the $25 one-time license from the download page.

Get SSMAM 7.41

The installer is free to download. A registration code is $25, one-time, bound to one machine.