A Siemens 828D with a Y axis, C axis, and driven tooling can machine the specified external helical oil groove by programming the cylindrical surface as an unwrapped plane. In ShopTurn, enter the circumferential travel as a linear Y coordinate; in DIN, interpolate Z with the rotary axis. Keep the defined endpoints at Z=-52.5, C=0° and Z=-97.5, C=0° without adding a lead-in or lead-out.
Groove geometry and endpoint constraints
The workpiece outside diameter is 105 mm. The radius groove is R3, its axial pitch is 22.5 mm/revolution, and it completes two revolutions. The axial displacement confirms the turn count:
ΔZ = -97.5 - (-52.5) = -45.0 mm
Revolutions = |ΔZ| / pitch = 45.0 / 22.5 = 2
C-axis travel = 2 × 360° = 720°
Both endpoints lie at C=0° because two complete revolutions return the spindle to the same angular orientation. A hole is located at each endpoint, so the groove must start and finish at the stated coordinates. A contour cycle that automatically extends the path for entry or exit changes the functional geometry and is unsuitable unless those extensions can be disabled.
| Observed symptom | Cause | Commissioning action |
|---|---|---|
The ShopTurn contour mask offers Y and Z, but no C-axis endpoint. |
The mantle is represented as an unwrapped plane. | Convert the required rotation to circumferential Y travel. |
The endpoint does not return to C=0°. |
The unwrapped distance does not equal two circumferences at the declared mantle diameter. | Recalculate Y from πDN. |
| The pitch or path length is wrong when the C axis is omitted. | The circumferential component has not been included in the contour. | Program the diagonal in the unwrapped Y-Z plane. |
| The groove overruns either endpoint. | A lead-in, lead-out, or contour extension is active. | Remove the extension and use the endpoint holes for the required entry and exit arrangement. |
Check 1: Expect an axial displacement of 45.0 mm, exactly two revolutions, and the same angular orientation at both endpoints.
Mantle coordinate definition
The term unwrapped mantle means that rotation around a cylinder is expressed as linear distance along a flat coordinate. ShopTurn therefore does not need a C-axis field inside the contour definition. Select the mantle machining mode associated with the C axis, declare the mantle diameter as 105 mm, and describe the path with Y and Z.
Use 105 mm as the unwrapping diameter. Do not reduce the calculation diameter to 99 mm merely because an R3 groove represents a 6 mm diameter difference between X=105 and X=99. The surface coordinate is based on the declared outside mantle. The path-milling operation applies the groove depth separately.
This distinction prevents two operations from being mixed:
- The contour defines where the groove travels around the outside surface.
- The path-milling settings define how deeply the tool cuts relative to that surface.
If a CAD model supplies a spatial curve, ShopTurn still needs the curve expressed in the coordinate system accepted by its mantle contour mask. CAD path length alone does not replace the unwrapped Y-Z coordinates.
Check 2: Expect the contour setup to show mantle diameter 105 mm, start coordinate Y=0, and no requirement to enter C=720° in the contour mask.
Unwrapped contour calculation
For diameter D and revolution count N, the circumferential endpoint is:
Yend = π × D × N
Yend = π × 105 mm × 2
Yend = 659.734 mm
A rough calculation using π=3.14 gives 659.4 mm. That rough value produced an indicated angular result of approximately 719.635°, rather than exactly 720°. Use the control's full numerical precision where endpoint alignment matters.
The ShopTurn contour is a diagonal from:
Start: X=105, Y=0, Z=-52.5
End: X=105, Y=659.734, Z=-97.5
Depending on the displayed direction convention, the circumferential coordinate may require the opposite sign. Determine the sign with a dry run and the machine's positive-C convention; retain a magnitude of two circumferences. The axial slope angle of the unwrapped line is directly derived from the two coordinate differences:
α = atan(ΔZ / ΔY)
α = atan(-45.0 / 659.734)
α ≈ -3.904°
The diagonal length is not the same as its circumferential Y component. Enter the endpoint coordinates required by the mask rather than substituting a CAD-reported three-dimensional path length for Y.
Check 3: Expect ShopTurn's angular display to resolve to 720° when Y=659.734 mm and the mantle diameter is 105 mm. Expect the line angle to be approximately -3.904°.
ShopTurn contour entry
- Create a new contour for mantle machining with the C-axis mantle option active.
- Declare the mantle diameter as
105 mm. - Enter the contour start at
X=105,Y=0,Z=-52.5. - Add a straight or inclined segment ending at
Y=659.734,Z=-97.5. KeepX=105in the contour description because depth belongs to the path-milling operation. - Review the calculated angle or angular display. It must represent two complete turns.
- Attach the contour to the mantle path-milling operation and disable any entry or exit motion that would extend the defined endpoints.
ShopTurn screen layouts and licensed options can differ. A solid-model display is not required for the coordinate method. The decisive functions are the mantle contour definition and mantle path milling, not the availability of a volume model.
If the control displays the computed angle after the Y value is entered, use that field as an independent geometry check. A value short of or beyond 720° points to an incorrect diameter, rounded circumference, wrong turn count, or mistaken endpoint.
Check 4: Expect one straight diagonal in the unwrapped view, beginning at Y=0, ending at two circumferences, and containing no automatic extension beyond Z=-52.5 or Z=-97.5.
Depth and tool-path configuration
Set the cutting depth in the path-milling operation rather than changing the mantle diameter used by the contour. For the stated R3 groove, the geometric diameter change from X=105 to X=99 corresponds to 3 mm radial depth:
Radial depth = (105 - 99) / 2 = 3 mm
Tool geometry, compensation, and the required groove form determine the actual programmed tool-center depth. Read those values from the selected tool record and the ShopTurn path-milling fields; the source geometry does not define a cutter model or compensation setting. Do not transfer the later example using an R2.5 radius cutter and 1 mm infeed to this R3, 105 mm groove. That example belongs to a different program geometry.
The driven tool and main spindle must operate in the modes required for simultaneous mantle milling. Confirm the tool assignment, spindle selection, C-axis positioning state, and axis availability on the actual machine before cutting. The presence of a Siemens 828D does not by itself prove that every machine builder enabled the same transformations or simultaneous-axis functions.
Check 5: Expect the contour to retain diameter 105 mm while the path-milling operation supplies the infeed. In graphics or an air cut, the groove must make two turns without its angular endpoint shifting when depth is changed.
DIN interpolation alternative
Where the machine supports direct simultaneous rotary interpolation, a DIN path can couple Z travel with C=720. The supplied pattern was:
SETMS(2)
G95 S.. M3 SPOS=0
G0 X106 Z-52.5 C0
G1 X.. F..
G1 Z-97.5 C720 F..
G1 X106
G0 X.. Z..
The ellipses are unresolved machine-specific spindle, feed, depth, and clearance values; replace them from the setup sheet and tool data. Do not execute the template literally. Support for this motion depends on the machine configuration.
For grouped interpolation, FGROUP identifies the participating axes and FGREF supplies the reference radius used to relate rotary motion to path feed. A program that used an unqualified statement such as FGREF=40/2 did not run. The working correction included the axis qualifier:
FGROUP(X,Z,C4)
FGREF[C]=20
The tested qualifier was [C], while the interpolation group named the rotary axis C4. Use the axis identifier defined by the machine configuration and accepted by the control. The values 20, X=45/2, the Z coordinates, and the R2.5 cutter from that DIN example are not dimensions for the 105 mm groove.
After the grouped move, cancel the group and restore the reference-radius state used by the surrounding program. The example ended with:
STOPRE
FGROUP()
FGREF=360/(2*$PI)
G18
Check 6: Expect the program parser to accept the axis-qualified FGREF, the interpolation group to contain the intended linear and rotary axes, and the C axis to accumulate exactly 720° while Z moves from -52.5 to -97.5.
End-to-end commissioning verification
-
Check 7—geometry: Expect
D=105 mm,ΔZ=-45 mm, pitch22.5 mm/revolution, and two revolutions. -
Check 8—unwrapped endpoint: Expect
Y=659.734 mmwith full-precision π, equivalent to720°. Treat659.4 mmas a rough value only. -
Check 9—path limits: Expect the simulated cut to begin at
Z=-52.5,C=0°and finish atZ=-97.5,C=0°, with no lead motion outside those limits. - Check 10—depth separation: Expect changes to the path-milling depth to alter radial penetration without changing the two-turn circumferential endpoint.
- Check 11—machine motion: Run graphics, then a single-block air cut at a safe clearance. Expect smooth coordinated axial and rotary motion, the commanded rotation direction, and no unexpected shortest-path reversal.
-
Check 12—part result: After the controlled first cut, inspect both endpoint alignment and axial pitch. Expect each revolution to advance
22.5 mmand the second revolution to terminate at the second endpoint hole.
FAQ
What happens if I calculate the ShopTurn Y coordinate at 99 mm?
The unwrapped endpoint becomes too short because 99 mm is the groove-bottom diameter, not the declared 105 mm mantle. Keep D=105 mm for the contour and apply radial depth in path milling.
What happens if ShopTurn asks for Y instead of a C-axis angle?
Enter the unwrapped circumferential distance. For two turns at 105 mm diameter, use Y=π×105×2=659.734 mm, equivalent to 720°.
What happens if FGREF has no rotary-axis qualifier?
The grouped DIN program may fail to run. Use an axis-qualified form such as the tested FGREF[C]=20, substituting the actual configured axis name and the reference radius required by that program.
What happens if direct Z-C interpolation is unsupported?
Use the ShopTurn mantle contour and path-milling method, or a machine-supported transformation such as the available TRACYL option. Complete the final verification with graphics and a single-block air cut, expecting exactly 720° of rotation and a finish at Z=-97.5, C=0°.