Show all articles

Biesse CNC toolpath error caused by a duplicate CAD line

TRASA3 Blog

CNC maintenance and repair Published: 2026-10-14 Author: trasa3 149 views
Biesse CNC toolpath error caused by a duplicate CAD line

A Biesse CNC machining centre was set up to cut a rectangular opening in an HPL sheet. The contour and toolpath looked correct in Biesse B Suite, and the visual simulation check did not reveal a problem. During machining, however, the cutter made additional moves and damaged the workpiece.

Running the same program again on a scrap workpiece produced the same result. The explanation emerged from the exported ISO file: along one side of the rectangle, the program instructed the cutter to move left, return to the right and move left again. Inspection of the source CAD drawing then revealed a duplicate line directly on top of the original.

This article examines that specific shop-floor case and the checks that connected the drawing geometry, the CAM toolpath and the commands sent to the machine.

A rectangular cut that failed on the machine

The job followed a familiar workflow. A rectangular contour was created in CAD, then machining was prepared in Biesse B Suite. The tool, cutting depth and cutting conditions were selected, with arc lead-in and lead-out moves. After reviewing the toolpath, the program was transferred to the machine.

The cutter was identified as HPL_12MM_DIA. Based on the programmed linear moves, the rectangular contour measured approximately 270 × 490 mm. Machining was performed in three depth passes.

The screen showed an ordinary rectangle with an arc entry and exit. Once cutting began in HPL, the tool made additional moves and the result differed from the intended cut. Several explanations could initially seem plausible: a cutter compensation problem, an interpolation issue, incorrect axis behaviour or corruption during program transfer.

To check whether the problem was repeatable, the same program was run on a scrap workpiece. The unwanted cut occurred again. Repeatability alone does not rule out a hardware fault, but it gives a clear reason to inspect the program section associated with the unexpected movement.

The next step was to compare the intended rectangle traversal with the ISO commands generated by the Biesse B Suite postprocessor. This check must use the actual file run on the machine. A different export or an edited copy may no longer contain the original defect.

The ISO file already contained the extra moves

The following sequence was found in the program:

N240 G1 XI=135.00000 F=4.00000
N250 G1 YI=490.00000
N260 G1 XI=-270.00000
N270 G1 XI=270.00000
N280 G1 XI=-270.00000
N290 G1 YI=-490.00000
N300 G1 XI=135.00000

In the format used by this program, XI and YI specify incremental coordinate changes from the previous point. These identifiers belong to the format being analysed; they should not be assumed to have the same meaning on other CNC controls without checking their documentation.

BlockIncrementMovement
N240X +135 mmRight
N250Y +490 mmAlong the first side
N260X −270 mmLeft
N270X +270 mmBack to the right
N280X −270 mmLeft again
N290Y −490 mmAlong the opposite side
N300X +135 mmRight

The critical section consists of three consecutive blocks:

N260 G1 XI=-270.00000
N270 G1 XI=270.00000
N280 G1 XI=-270.00000

First, the program calls for a 270 mm move to the left. It then calls for a 270 mm return move to the right, followed by another 270 mm move to the left. There is no change in the programmed Y coordinate between these blocks. The programmed segment is therefore traversed three times, with two direction reversals.

A single traversal of this rectangle side requires only one XI=-270.00000 move before continuing to the next side. Here, the extra commands increase the travel along that segment from 270 to 810 mm. The net X increment remains −270 mm, so checking only the final point would miss the redundant movement.

This is an explanation of the block sequence, not a ready-to-use instruction for deleting lines from a production program. The source geometry needs to be corrected and the machining regenerated, with the entry, exit and tool compensation checked as well.

The sequence appeared at all three cutting depths

File analysis showed the same extra moves in each depth pass:

  • first pass: N260–N280;
  • second pass: N520–N540;
  • third pass: N780–N800.

The repeated sequence demonstrates that the extra commands were present in the generated file. They did not arise randomly while the machine was executing one particular pass.

Two CAD lines occupied exactly the same position

Once the repeated moves had been identified, attention turned to the source drawing. The lower horizontal side of the rectangle contained two coincident lines. Their coordinates matched, so the normal CAD display showed what appeared to be a single segment.

Visually, it was one side of a rectangle. In the drawing data, it was two separate geometric objects. Preparing machining from that contour introduced additional moves, which subsequently appeared in the ISO file.

The sequence in this case was: duplicate CAD line → repeated moves during machining preparation → extra X commands in the ISO file → program execution on the machine.

The original geometry defect was established. Determining exactly how CAM traversed the duplicate and what the postprocessor did would require a comparison between the internal CAM toolpath and the postprocessed output. The ISO excerpt alone does not establish which software module produced every part of the sequence.

Changing the feed rate, spindle speed or cutter does not remove redundant commands from a program. Resolving this defect requires correcting the contour, recalculating the machining and generating a new export.

Why active G41 compensation matters

The program used G41 cutter radius compensation. During contour machining, the CNC control calculates the cutter centre position relative to the programmed contour, allowing for the tool radius.

The sequence X−270 → X+270 → X−270 introduces two 180° reversals along the same programmed segment. With compensation active, this deserves a specific check. Travel direction is involved in determining the offset side, and the control must handle the transition between segments pointing in opposite directions.

The outcome depends on the particular control’s algorithm, the compensation value and its handling of reversals. Possible consequences include additional transition moves, a deviation in the calculated path or a compensation error. These are possible effects, not a confirmed description of the algorithm used by this machine.

The excerpt does not establish the exact mechanism behind the unwanted cut. That requires the compensated toolpath, relevant settings and documentation for the specific control. The extra programmed moves themselves, however, are directly visible in the ISO file.

In this case, there is no basis for treating uncommanded axis motion or a servo fault as the root cause: the machine received a program containing additional moves. How that program was executed with G41 active remains a separate part of the analysis.

How a visual toolpath check can miss a repeated segment

Coincident geometry is difficult to spot both in a drawing and in a toolpath overview. When several moves follow the same geometric segment, a static display may show just one line.

Three traversals of one segment differ in their sequence and direction, but may look identical in an overall contour view. A useful check needs to follow the traversal order, segment directions and the result with cutter radius compensation applied.

In the reported case, the review in Biesse B Suite did not reveal the duplicated segment. That observation describes the check performed. Without details of the software version and simulation mode, it cannot support a claim that all Biesse simulation tools always miss this type of defect.

A CAM project review also does not necessarily validate the same ISO file that the control will interpret. After postprocessing, it is useful to inspect the actual command sequence separately, particularly where it contains return moves, compensation or unusual transitions.

Checking geometry before passing it to CAM

A check for coincident objects is particularly useful after importing DXF, DWG or other files from an external CAD system. Several practical checks can help:

  1. Use the CAD system’s duplicate-removal tool. In AutoCAD, OVERKILL removes duplicate or overlapping lines, arcs and polylines. Its tolerance settings affect object comparison, so they should be chosen to suit the drawing geometry. These functions are described in the Autodesk documentation.
  2. Inspect a suspect segment through object selection. Cycling through overlapping objects can reveal that several entities occupy the same position.
  3. Compare the entity count with the intended contour. A simple rectangle should not contain additional coincident segments. Tool lead-in and lead-out moves belong to the machining path and can legitimately add their own movements.
  4. Review the traversal order and directions. One line on the screen can represent several passes in different directions.
  5. Inspect the generated ISO file. Successive positive and negative increments along the same segment need an explanation. They can indicate redundant geometry or an incorrectly constructed toolpath.
  6. Recalculate the machining and export a new program after correction. Deleting a line in CAD does not alter an ISO file that has already been generated and transferred to the machine.

A practical sequence for investigating unexpected tool motion

If the actual cut differs from the intended result, first stop machining and assess whether further checks can be performed safely. Retaining the original files makes it possible to trace the cause rather than investigate an already modified project.

  1. Save the CAM project and the NC/ISO file actually used on the machine.
  2. Identify the section associated with the unwanted cut.
  3. Check the coordinate command sequence and travel directions.
  4. Establish which tool compensation modes were active, including G41 and G42.
  5. Compare the commands with the source CAD geometry and check for duplicates, intersections and open segments.
  6. After correction, regenerate and verify the program, including entry, exit and transitions between segments.

Before cutting again, an independent check of the ISO file is useful. A non-cutting path check, dry run or debugging mode should be used only according to the procedure for that particular machine, accounting for compensation, workholding, safe heights and protective systems.

In this case, the repeat test confirmed that the problem was reproducible. The ISO file exposed extra moves in all three depth passes, and the source drawing contained two coincident lines. Together, those checks connected the geometry defect with the commands received by the machine.

A correct-looking contour on the CAM screen is not a substitute for verifying the machining program. Investigating this type of problem means comparing the entire sequence: CAD → CAM → postprocessor → NC/ISO → CNC control → actual tool motion.

Biesse CNC toolpath error caused by a duplicate CAD line

This article is available in the following languages:

Related posts