Jump to content

Welcome to eMastercam

Register now to participate in the forums, access the download area, buy Mastercam training materials, post processors and more. This message will be removed once you have signed in.

Use your display name or email address to sign in:

How to copy toolpath(s) from G54 to G55 in Mastercam


PGcam
 Share

Recommended Posts

Tutorial: Simplest method for copying toolpaths to G55 in Mastercam and avoiding manual gcode editing

I’ve encountered several CNC programmers who aren’t familiar with the use of planes in Mastercam, even with years of experience, so I decided to make this tutorial. Hopefully it’s easy and intuitive to follow.

This is the quickest way to duplicate your toolpaths to your 2nd part in another vise in your machine, once you get the hang of the steps in the procedure.

This method eliminates unnecessary tool changes, and if you make changes in the source toolpath, they will automatically be applied to the transformed toolpath copy. Making production faster and more efficient, even if you have to edit your program in Mastercam later.

 

Let’s begin…

 

STEP 1

First, model and toolpath your 1st part.

image.png.2004f97dbd5fd0baf1c1fa3014a07eb4.png

 

 

STEP 2

Translate-copy your model somewhere to the side, in X or Y direction. Distance doesn’t matter but avoid changing Z height, to keep the process simple.

image.png.21054244ad95f0d9b940e213b0bb4ecc.png

Now you have 2 models at some random distance appart. One will be your G54 and the other your G55.

At the end, Mastercam will output G54 for your Top plane, and G55 for the other plane we’re about to make.

The two different points is where you will pickup with your edge-finder while setting up your two parts for simultaneous machinning.

The terms Plane, Program Origin, Offset, Pickup Location, G54, G55, G56, etc…  all mean the same thing in this case.

 

 

STEP 3

After copying your model to the side…

Go to the Planes manager panel, right-click on the plane you’re using for your 1st part (TOP?), select Duplicate

image.png.e14957de6e63a7ef75b08ea6415415e7.png

Normally when you duplicate the "Top" plane, it will show up as "Top-1", this is what you want to Edit (move and rename). In my screenshot I already have it renamed. Terrible, I know...

Edit the duplicate plane: shift it to the same location on the 2nd part, give it a new name like “Top @ G55”, or “Origin 2”, whatever you want to name it, accept changes.

image.png.da96ee4142967739a63c5cd5c07e7b78.png

image.png.d22e5cab3bc09ba0d809f34d9bd88aa6.png

6.png.c344f67186c717e20b23fd9456b02c38.png

 

 

STEP 4

Now go to your Toolpaths tab, click on Toolpaths Transform

7.png.27f920257f5dec4207bcfaa2425111dc.png

 

STEP 5

In the Transform Operation Parameters window, make sure to select:

Source operation: your source toolpath

Type: Translate

Method: Tool plane; checkmark Include Origin

Source: Geometry

Group NCI output by: Operation type

In Comment box write: “TRANSFORM TO G55”; this will add a separate line of text on top of existing toolpath name in final NC output, to make it easier to differentiate between source toolpath and a transformed toolpath

8.thumb.png.099e8a2a7a5baef10dfe383222968282.png

 

In the same Transform Operation Parameters window, now go to the next tab Translate, and select the following:

Method: Between planes

Checkmark: From plane; select part 1 origin

To plane: select part 2 origin (the plane you duplicated and moved)

Under Pattern origin shift: click on the mouse cursor button under From part, select origin 1 location

Under Pattern origin shift: click on the mouse cursor button under To part, select origin 2 location

9.thumb.png.5220809428b7730788be95fa1bae4646.png

10.thumb.png.7c040d3b8bcb8fd8e02af5361a4063d7.png

11.png.d078b30ea4ca5fe19ebd7450fe222a38.png

 

 

END RESULT

Nice clean NC (gcode) output, with automatic G55 output, no unnecessary toolchange or send-to-home commands.

When tool is done machining 1st part @ G54, it rapids to the clearance plane Z2., and goes directly to machine your 2nd part @ G55 without any interruption.

12.thumb.png.2930d96eb3b6f0cd1b94d9efae358665.png

 

 

If for any reason you DO want to send-tool-home and M01 between your source toolpath and tansformed toolpath (if for example, you’re proving your 1st part before running production), you can always checkmark the “Force tool change” option, and turn it off after you’ve proven your program, to speed up production.

13.png.186ad5515d4101ba494a50b0aac91792.png

 

Hope this useful to someone out there in the beginning of their programming career.

If you’re doing this for the first time, it may take a while to practice and understand the steps, but once you get used to it – you're on autopilot. It takes only a minute to get a toolpath transform.

If you already know all this, excellent! Please share some other useful tips on this topic.

-          Paul G.

Link to comment
Share on other sites

Keeping the same planes with a 0 in all fields for offset deltas gives you the ability to do n copies instead of one per physical (virtual?) plane, as per above post. And you can verify all copies of your toolpaths on a single original solid, including 2nd ops.

It can get hairy moving and copying, especially for the next guy who has to open your programs later. Source: am next guy opening old programs.

  • Thanks 2
  • Like 1
Link to comment
Share on other sites
6 hours ago, Werktuigbouwer said:

Also set the start field to 0

And delta to 2

2 Instances?

or Click +1 & +2 buttons and draw a line?

Or set some other value under the Translate tab?

 

I've tried a bunch of combinations. The closest I get is G54 and G55 output, but now get extra duplicate code under G54.

Link to comment
Share on other sites
1 hour ago, PGcam said:

Oh sorry, didn't know what you meant by "sample file". 

Are you able to open .mcam from Mastercam 2022?

Yes I that is far back as I go on my 1st drive. I have until 2018 on my 2nd bootable drive. I am running a dual boot system where I can go back in time so speak without having to have it all on one drive. 

Link to comment
Share on other sites
6 hours ago, PGcam said:

2 Instances?

or Click +1 & +2 buttons and draw a line?

Or set some other value under the Translate tab?

 

I've tried a bunch of combinations. The closest I get is G54 and G55 output, but now get extra duplicate code under G54.

In start field:

0 = G54

Increment field to 1, so when delta = 2 you would get output for G54 and G55

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.

Join us!

eMastercam - your online source for all things Mastercam.

Together, we are the strongest Mastercam community on the web with over 56,000 members, and our online store offers a wide selection of training materials for all applications and skill levels.

Follow us

×
×
  • Create New...