Machine Compensation

Introduction

This example will demonstrate using machine compensation in CAM operations, and will provide links to related topics.

System and Machine Compensation Example

For each operation you can choose to use compensation or not. When using compensation, you can choose to use System Compensation, Machine Compensation, or a combination of both. This example will explore machine compensation and the direction of the selected chain.

 

Important: When using machine compensation, the offset depends entirely on the value entered for the tool in the controller.

 

Create a Mill 2 Axis Feature

 

  1. In the CAM Tree, right-click the Machine Setup - 1 and select Mill 2 Axis.

    The Mill 2 Axis Wizard appears.

Feature Geometry Picking

  1. Click Select Geometry.

    The Feature Geometry Picking dialog appears. Focus is automatically placed on the Selected Geometry list allowing you to choose the feature geometry from the graphics area.



  2. In the graphics area, right-click the edge of the part and select Constant Z.



    The geometry is added to the Selected Geometry list, and the feature preview is visible.



  3. In the Profile Chains list of the Feature Geometry Picking dialog, click Chain-1.



    The chain direction is displayed in the graphics area. Pressing S will allow you to turn off Shaded view.



    We will leave our chain in its counter clockwise direction for now.

  4. At the bottom of the Feature Geometry Picking dialog, click in the Pick Bottom list.

    The list is given focus.



  5. In the graphics area, click the bottom edge of the model.



    The snap point is added to the Pick Bottom list, and the Depth is updated.

 

Note: Clicking the actual snap point that appears is not necessary. When you select an edge to pick a point, the closest snap point is always used.

 

  1. Click OK.

    The Mill 2 Axis Wizard reappears.

Setting the Machining Strategy

  1. In the tree in the left of the wizard, click Machining Strategy.

  2. In the Current Operations list, highlight Profile Rough and click the Delete button.

Setting Compensation

  1. In the tree in the left of the wizard, click Patterns.

  2. In the Compensation group, set the System Compensation to Off.

  3. In the Compensation group, set the Machine Compensation to Comp Right / G42.

Setting Leads

  1. In the tree in the left of the wizard, click Leads.

  2. In the Lead-in group, select Circular.

  3. In the Line group, set the Length to 0.0000.

  4. In the Arc group, set the Radius to 0.2000.

  5. Click Compute.

    The toolpath is created.

 

Warning: When using machine compensation, be sure to use a lead-in and a lead-out. Machine compensation is only called during a linear lead-in motion, and canceled during a linear lead-out. Because of this, it is also important to make sure the lead is large enough to accommodate the tool radius having no compensation at the start, and only fully compensated at the end of the first linear lead move. Since we are using the default tool with a quarter inch radius, this is why we set the radius on our Arc Leads to 0.3000.

Testing the Output Code

  1. In the CAM Tree, right-click Milling Job, and select Post.

    The posted code appears in the Post Manager.

    Notice there is no G42 output in the code. This is because we are not using a lead with a linear move.

Updating the Leads

  1. In the CAM Tree, right-click Feature 2 Axis, and select Edit.

    The Mill 2 Axis Wizard appears.

  2. In the tree in the left of the wizard, click Leads.

  3. In the Lead-in group, select Circular.

  4. In the Line group, set the Length to 0.0000.

  5. In the Arc group, set the Radius to 0.2000.

  6. Click Compute.

    The toolpath is created.

Testing the Output Code

  1. In the CAM Tree, right-click Milling Job, and select Post.

    The posted code appears in the Post Manager.

    Notice there is no G42 output in the code. Again, this is because we are not using a lead with a linear move.

Updating the Leads

  1. In the CAM Tree, right-click Feature 2 Axis, and select Edit.

    The Mill 2 Axis Wizard appears.

  2. In the tree in the left of the wizard, click Leads.

  3. In the Line group, set the Length to 0.2000.

  4. Click Compute.

    The toolpath is created.

Testing the Output Code

  1. In the CAM Tree, right-click Milling Job, and select Post.

    The posted code appears in the Post Manager.

    Notice we are now outputting our G42 in the code. Also notice how the compensation code is called after the tool is at depth, and prior to the first linear move. This means that it will only be properly compensated at the end of our first linear move. We will want to test this to make sure our first position, prior to compensation is not an issue.

Testing the Initial Position

  1. Since our toolpath is showing the tool position with no compensation, we can backplot the first position to make sure we are avoiding a gouge.

    In the CAM Tree, under Feature 2 Axis, right-click Profile Finish, and select Backplot.

    The Backplot dialog appears.

  2. Click Next twice to move the tool to the Feed Plane, and then to our Total Depth, and zoom in to the tool.



    Notice how the tool is biting into the part. This is because we are using a 0.5000 inch diameter tool, and a 0.2000 inch lead.

  3. In the Backplot dialog, click Close.

    The Backplot dialog closes.

Updating the Leads

  1. In the CAM Tree, right-click Feature 2 Axis, and select Edit.

    The Mill 2 Axis Wizard appears.

  2. In the tree in the left of the wizard, click Leads.

  3. In the Line group, set the Length to 0.3000.

  4. In the Arc group, set the Radius to 0.3000.

  5. Click Compute.

    The toolpath is created.

Testing the Initial Position

  1. In the CAM Tree, under Feature 2 Axis, right-click Profile Finish, and select Backplot.

    The Backplot dialog appears.

  2. Click Next twice to move the tool to the Feed Plane, and then to our Total Depth, and zoom in to the tool.



  3. Rotate the view to verify the tool position.



    Notice how the tool is set away from the part. This is because we are using a 0.5000 inch diameter tool, and a 0.3000 inch lead.

  4. In the Backplot dialog, click Close.

    The Backplot dialog closes.

    With the counter clockwise direction of our chain, and compensation to the right, we are currently using a conventional cut.

    We will change this to a climb cut.

Updating the Compensation

  1. In the CAM Tree, right-click Feature 2 Axis and select Edit.

    The Mill 2 Axis Wizard returns.

  2. In the tree on the left side of the wizard, click Patterns to open the Patterns page.

  3. In the Compensation group, change Machine Compensation to Comp Left / G41.

  4. Click Finish.

Updating the Chain direction

  1. In the CAM Tree, right-click the Geometry item in our Feature 2 Axis, and select Re/Select.

    The Feature Geometry Picking dialog opens.

  2. In the Profile Chains list, click Chain-1.

    The chain is displayed in the graphics area.

  3. Click the closer side of the part.



    The chain start point moves to the closes snap point.

    Our direction is still counter clockwise.

  4. Click the same area.



    The chain reverses direction.

  5. Click OK.

    The Feature Geometry Picking dialog closes.

  6. In the CAM Tree, right-click Feature 2 Axis and select Compute All Toolpath.



    The toolpath is updated, and we are now using a climb cut.

Related Topic

Example: No Compensation

Example: System Compensation Only

Example: System and Machine Compensation

Geometry Selection and Selection Mode