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:

Tree Mill cutter comp code


Garutek
 Share

Recommended Posts

Thanks gents, I have dynapath controls I'm not near them now but I believe they all also say Anilam.

Can either of you use cutter comp? my dealer rep is working with me and we tried the newest post, but I can't tell him what we need to change. If possible please show some code if it works, this would be a great help. I'll check back tomorrow during the day!

Gman

Link to comment
Share on other sites

I have a Lagun with a dynapath control.

On my mach. the caharacter insid the parenteses is the conversationa event type. I program in MC w/ wear comp.

 

(9) is a preparatory funtion

(0) is a rapid move

(1) is a linear move at a F

(2) is circular interpolation w/D indicating direction

C1 turns cutter comp on

C0 turns it off

 

code:

 N200(9)E01$

N205(0)X-0.522Y-0.0216Z0.25$

N210(0)Z0.1$

N215(1)Z-0.265F40.0$

N220(1)X-0.373Y-0.0042F2.2C1$

N225(2)Y0.0042I-.3735J0.D1$

N230(1)X-0.4227Y0.01C0$

N235(9)E01$

I just started w/ the conversational dynapath post.

Link to comment
Share on other sites

Our Tree VMCs have AutoconDynapth controls on them. We don't need to call out "D" or "H" for comps, the "T" call takes care of both.

 

If you use wear type compensation in Mastercam you'll be better off. The code will be cleaner and easier to read. On ours, when using Control Type comp, we had to turn off cutter comp with an incremental zero move above then turn it on with another linear move and then feed to depth.

 

example of our control comp code:

code:

N0091(9)M06E1T02$

N0092(9)M03S150$

N0093(9)M08$

N0094(0)X-3.2343Y-6.3815Z0.1$

N0095(1)Y0/F80C0$

N0096(1)Y-5.6315C1$

N0097(1)Z-6.0$

N0098(1)Y-4.1315F0.8$

N0099(2)D0X-3.2343Y0.1815I0.998J-1.975$

N0100(1)Y0.9315$

N0101(1)Z0.1F80$

N0102(1)Y0/C0F80$

We switched to wear type comp about 5 years ago and our code looks very much the same as 3rd String's now. The latest and greatest post from CNC should get you going in the right direction with wear.

 

HTH

Link to comment
Share on other sites

i've been having a problem with comp on linear milling. the comp will pick at start of contour and not get to position to the end of countour on a staright line. lets say i have -.001 wear in offset page of machine the tool does not move off at start .0005 . it gradually moves into position by the time it reaches the end of toolpath. result is a out of square edge. works find in a arc or circular path. something to do with the incr move before you turn comp on i believe

Link to comment
Share on other sites

Heavy,

 

is your code similar to what I posted (control) or 3rd String's (wear, I'm assuming)? Could we see a sample? I only ask because you said "incr move before you turn comp on". Using wear type comp doesn't require me to use the incremental move/comp off line any longer.

Link to comment
Share on other sites

quote:

do you have tangent instead of perp. checked? that would do that

htm01,

 

the tool should still be in the correct position at the end of the lead-in and before it starts it's move across the part though, shouldn't it? Would it really matter if the lead-in was tangent or perpendicular? Using control comp as I posted above, my lead-ins were all tangent. The machine would make a physical 90° X move on line "N0095(1)Y0/F80C0$" if the tool diameter offset was >0. Using wear type comp I have forgone this move and can now just make small perpendicular lead-ins at cutting depth.

Link to comment
Share on other sites

I had technical dificulties on friday so I could not log in.

I'll try again Monday.

my code matches and I was using wear compensation.

 

N100(9)M08$

N110(9)S3000M03T01E00$

N120(0)X0.725Y-0.449Z2.$

N130(0)Z0.1$

N140(1)Z-0.028F15.0$

N150(1)Y-0.349F48.0C1$

N160(2)X0.625Y-0.249I.625J-.349D1$

N170(1)X0.125$

N180(2)X-0.124Y0.I.125J0.D0$

N190(1)Y1.3937$

 

I'm thinknn :

The line moves did not equal the tool table offset amount. I had a diameter (.464) entered instead of the diameter differance (.018 rad or .036 dia). Dahh.

Thanks this really helps!

 

Gman

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...