CNCzone.com-The Largest Machinist Community on the net!



Home Page Mark Forums Read Today's Posts My Replies Classifieds Reviews Photo Gallery Web Links Share Files Advertise With Us Ad List
Go Back   CNCzone.com-The Largest Machinist Community on the net! > CAM Software > Mastercam


Mastercam Discuss Mastercam software here.


This forum is sponsored by:

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Ban this user!
Old 04-12-2009, 06:06 PM
 
Join Date: Apr 2009
Location: Sweden
Posts: 25
driftmaster is on a distinguished road
Cutter compensation..

Hello.
New here at the forums, i will probably find the answer in some thread but i'm too lazy right now =)

I'm using Mastercam 9.0 for my "small" home projects, with a mill using fanuc (don't remember what version) but anyways, i'm having problems when using cutter compensation (wear)..it generates too short path (imo), If using for example G41 it reads it and moves only 1mm in X and nothing in Y, i would like to make that moting a bit longer, but how?

I'm not very familiar with the program but i have tried everyhing i can think of without any success..

Any help would be great!
And sorry for my bad english =)
Tweet this Post!Share on Facebook
Reply With Quote

  #2   Ban this user!
Old 04-12-2009, 06:30 PM
 
Join Date: Jun 2005
Location: us
Posts: 210
timlkallam is on a distinguished road
Insted of wear use control it will generate a toolpath a least the radius of the cutter.
__________________
Tim
Tweet this Post!Share on Facebook
Reply With Quote

  #3   Ban this user!
Old 04-12-2009, 11:51 PM
Superman's Avatar  
Join Date: Dec 2008
Location: Krypton
Age: 51
Posts: 1,504
Superman is on a distinguished road
Buy me a Beer?
For V9.0, you have 2 options

1/- extend your geometry
2/- use "Lead in/out" , this will add additional movement to the start and endpoints of your contours , the arc is the entity the connects to your geometry , the line is the extension onto the arc along which the cutter comp. is taken up, ( or if at the end, cancelled )

On many machines, cutter comp is taken up or cancelled on a line only
-if you use "Wear" , then the compensation value in the control should be 0(zero) , lead in / out ( lines & arcs ) can be zero or +ive. ( you are programming the tool centreline)
-if you use "Control" , then the compensation value in the control should be the tool radius , lead in / out ( lines & arcs ) can be zero or greater than the tool radius.( you are programming to the part contour )

If you can get V9.1 or .2 - go for it , it has more options in the lead in / out area ( eg extend/shorten path )
Tweet this Post!Share on Facebook
Reply With Quote

  #4   Ban this user!
Old 04-13-2009, 01:43 AM
Superman's Avatar  
Join Date: Dec 2008
Location: Krypton
Age: 51
Posts: 1,504
Superman is on a distinguished road
Buy me a Beer?
Originally Posted by driftmaster View Post
Hello.
New here at the forums, i will probably find the answer in some thread but i'm too lazy right now =)
I should have come back saying, "sorry, I don't have the time, but you'll find that someone has already answered your query" LOL.

anyway, hope the answer helps
Tweet this Post!Share on Facebook
Reply With Quote

  #5   Ban this user!
Old 04-13-2009, 03:12 AM
 
Join Date: Apr 2009
Location: Sweden
Posts: 25
driftmaster is on a distinguished road
Superman, thank you for replying =)

I messed with lead in/ out but i'm still not satisfied..i think..First it position the tool at "X-7.502 Y1" And reads g41 moving to "G1 G41 D1 X-7.5 Y0."
I can get 1mm in X or Y but not both, how come? =(
Or is it ok to just read it in X or Y?
I think i read in machine manual it must be in both X and Y in order to work right..
Hmmf..
Tweet this Post!Share on Facebook
Reply With Quote

Sponsored Links
  #6   Ban this user!
Old 04-13-2009, 05:53 AM
Superman's Avatar  
Join Date: Dec 2008
Location: Krypton
Age: 51
Posts: 1,504
Superman is on a distinguished road
Buy me a Beer?
OK, let us go back to some sort of default settings

use 2Dcontour,wear, left, XYoffset=0
geometry = a straight line starting at X0Y0 to X100 Y0
tool #1 = 16mm diameter endmill, length off#=1, dia.off#=1

in the lead in / out dialog area
on "lead in" side
line tangent
line length = 50% (8mm)
arc length = 50% (8mm)
arc sweep = 90 deg

now click the arrow in the middle to copy data to "lead out" side
accept and re-generate t/path , now post this t/path
it should be similar to the following
Code:
G0 X-8. Y24. ( rapid to point )( start of lead in line)
G1 Z0.
G41 D1 X-8 Y16 ( lead in line- takeup comp.)
G3 X0. Y8. R8. ( lead in arc )
G1 X100. ( the actual geometry )
G3 X108. Y16. R8. ( lead out arc )
G40 G1 Y24. ( lead out line - cancel comp. )
G0 Z3. ( retract )
If line length has a setting of zero, this line will not be output
If either arc length or arc sweep has a setting of zero, the arc will not be output

A line by itself can only be "perpendicular" or tangent", if you want a line at a 45 deg approach, it is controlled by the arc sweep and the line will be tangent

ie tangent, line 55mm,arc 13mm,sweep 30deg ( try it )
now change tangent to perpendicular, then try a 90 deg sweep

this should all be viewable on the screen, your post may have some issues and we are trying to understand lead in / out at this stage

Your query "I think i read in machine manual it must be in both X and Y in order to work right.. "
Depends on your machine, compensation movement has a look ahead function ( it would be better explained in your machine's manual )

a rough example

a straight line from X0Y0 to X100 and taking up comp
Code:
X-20. Y0.    ( if D1 in control =8.0)
G1 G41 D1 X0.( goes to X0 Y8)( comp ON)
X100.        ( goes to X100 Y8)
G40 X120.Y0  ( goes to X120 Y0)(comp OFF)
Tweet this Post!Share on Facebook
Reply With Quote

  #7   Ban this user!
Old 04-13-2009, 10:18 AM
 
Join Date: Apr 2009
Location: Sweden
Posts: 25
driftmaster is on a distinguished road
Originally Posted by Superman View Post
OK, let us go back to some sort of default settings

use 2Dcontour,wear, left, XYoffset=0
geometry = a straight line starting at X0Y0 to X100 Y0
tool #1 = 16mm diameter endmill, length off#=1, dia.off#=1

in the lead in / out dialog area
on "lead in" side
line tangent
line length = 50% (8mm)
arc length = 50% (8mm)
arc sweep = 90 deg

now click the arrow in the middle to copy data to "lead out" side
accept and re-generate t/path , now post this t/path
it should be similar to the following
Code:
G0 X-8. Y24. ( rapid to point )( start of lead in line)
G1 Z0.
G41 D1 X-8 Y16 ( lead in line- takeup comp.)
G3 X0. Y8. R8. ( lead in arc )
G1 X100. ( the actual geometry )
G3 X108. Y16. R8. ( lead out arc )
G40 G1 Y24. ( lead out line - cancel comp. )
G0 Z3. ( retract )
If line length has a setting of zero, this line will not be output
If either arc length or arc sweep has a setting of zero, the arc will not be output

A line by itself can only be "perpendicular" or tangent", if you want a line at a 45 deg approach, it is controlled by the arc sweep and the line will be tangent

ie tangent, line 55mm,arc 13mm,sweep 30deg ( try it )
now change tangent to perpendicular, then try a 90 deg sweep

this should all be viewable on the screen, your post may have some issues and we are trying to understand lead in / out at this stage

Your query "I think i read in machine manual it must be in both X and Y in order to work right.. "
Depends on your machine, compensation movement has a look ahead function ( it would be better explained in your machine's manual )

a rough example

a straight line from X0Y0 to X100 and taking up comp
Code:
X-20. Y0.    ( if D1 in control =8.0)
G1 G41 D1 X0.( goes to X0 Y8)( comp ON)
X100.        ( goes to X100 Y8)
G40 X120.Y0  ( goes to X120 Y0)(comp OFF)
Thank you!
That made it!
Now the lead in and lead out is just like i wanted..

Thanks alot mate!
Tweet this Post!Share on Facebook
Reply With Quote

  #8   Ban this user!
Old 04-13-2009, 06:39 PM
Superman's Avatar  
Join Date: Dec 2008
Location: Krypton
Age: 51
Posts: 1,504
Superman is on a distinguished road
Buy me a Beer?
Great!!

I tried to give examples of what you can do by just altering the lead in / outs
Many create extra geometry, just to get the tool to drop in on a safe spot,
some times creating extra goem. is unavoidable, but I try keeping that option for the more difficult paths.

Steve
Tweet this Post!Share on Facebook
Reply With Quote

  #9   Ban this user!
Old 03-08-2010, 03:05 PM
 
Join Date: Apr 2009
Location: Sweden
Posts: 25
driftmaster is on a distinguished road
x3

Hello again..

I have been trying X3 for a while now, now been trying to work out the cutter compensation again and got in to problems..

So Superman, or somebody else who is familiar with Mastercam..Help needed =)

Ok, so i'm trying to make a simple circle with cutter compensation inside the countour.

Withour lead in or lead out it posts :

"N40 G0 G90 G54 X14.978 Y1.M3 T225
N80 G43 H5 Z25.
N100 G1 G41 D0 X14.975 Y0.
N110 G0 Z5.
N120 G1 Z-34.
N130 G3 X-14.975 R14.975
N140 X14.975 R14.975
N150 G0
N160 G0 Z25.
N170 X14.975 Y0.
N180 G40 X13.975"

Here i can see last line is not like it used in mc9.0, it used to move in both X and Y while reading G40..Hmm, meaby its enough in X? don't know, havent tried in machine yet.

Not i try with lead in and lead out as i want to have more movement in G41 movement, now just 0.003 in X axis. (i got a alarm while ago because it didnt have enough movement..hmm)

Now it posts :
"N40 G0 G90 G54 X6.268 Y-12.021M3 T225
N80 G43 H5 Z25.
N100 G1 G41 D0 X6.975 Y-11.314
N110 G0 Z5.
N120 G1 Z-34.
N130 X12.632 Y-5.657
N140 G3 X14.975 Y0. R8.
N150 X-14.975 R14.975
N160 X14.975 R14.975
N170 X12.632 Y5.657 R8.
N190 G0
N200 G0 Z25.
N210 X-10000. "

So now im happy with the G41 movement but something is messed with the lead out part i think...What should i change or tweak?

I used the tool in mastercam x3 to upgrade my post processor from v9.0 to x3..

//
Tweet this Post!Share on Facebook
Reply With Quote

  #10   Ban this user!
Old 03-09-2010, 05:09 PM
Superman's Avatar  
Join Date: Dec 2008
Location: Krypton
Age: 51
Posts: 1,504
Superman is on a distinguished road
Buy me a Beer?
N40 G0 G90 G54 X6.268 Y-12.021M3 T225
N80 G43 H5 Z25.
N100 G1 G41 D0 X6.975 Y-11.314
N110 G0 Z5.
N120 G1 Z-34.
N130 X12.632 Y-5.657
N140 G3 X14.975 Y0. R8.
N150 X-14.975 R14.975
N160 X14.975 R14.975
N170 X12.632 Y5.657 R8.
N190 G0
N200 G0 Z25.
N210 X-10000.

N100 is a move to the start of lead in with cuttercomp using offset#0 ( most use the same # as the tool # for length and dia offsets )
(H0 and D0 usually are zero and are not changeable )
it then rapids down to the clearance plane, feeds into the job (note!! no feedrate applied - should be XY Feedrare on the G41 line , and Plunge rate on the Z)
N140 and N170 are your arc lead in/outs
you seem o be missings the lead out line and a cutter comp cancel (G40), without this you may get errors going to the next point

We have set our order of doing profiles as:-
-set co-ord system
-rapid to start point ( usually 1st point of lead in line )
-set spindle RPM , start spindle
-rapid descent to clearance plane and take up tool length offset
-coolant on
-Rapid to Retract plane
-feed to Z depth
-take up comp ( onto the 2nd point of lead in line )
-lead in arc ( if required )
-do profile
-lead out out ( if required )
-lead out line, cancel comp on last point
-rapid retract or do next depth ( depends on your settings )

Our Okuma's require a line to take up and cancel comp on
Tweet this Post!Share on Facebook
Reply With Quote

Sponsored Links
  #11   Ban this user!
Old 03-10-2010, 03:18 PM
 
Join Date: Apr 2009
Location: Sweden
Posts: 25
driftmaster is on a distinguished road
First, thanks alot Superman for taking your time and replys.

Now lets see, Feedrates are posted as should be, it was just that i didnt bother put any there because im just testing. But i tried, and its like it should.

Same with the D0, it was specified in tools and i changed it. Posts it like it should.

So ive been messing more with the lead out settings and it just wont work. posts the damn x-10000 everytime...

In v9.0 i havent seen this happen..

If i try to not use the EXIT in lead in/ lead out it posts
N160 G40 X-14.975 R14.975

But im not satiesfied with this neather..=(

Why won't it just make a simple move in x and y like it does when it reads the G41 code?

I had no issues in mc9.0 after your help..

Is this a error in post processor or what do you think?
I have no experience working with post processors...
Tweet this Post!Share on Facebook
Reply With Quote

  #12   Ban this user!
Old 03-10-2010, 06:19 PM
Superman's Avatar  
Join Date: Dec 2008
Location: Krypton
Age: 51
Posts: 1,504
Superman is on a distinguished road
Buy me a Beer?
OK, you're working with V9
can you make a test Mcam file with a circle and a line
and create operations to profile both using what you think is correct lead in and out ( so it looks good on screen )
-create a ZIP folder and place this Mcam file and the post you're using
-attach this ZIP folder to your next posting so I can have a look

Your on a FANUC machine , 3 axis ?
I think the X-1000 is set in the post , but I'll have a look first for you
I should be able to compare it to one of our V9 posts

Steve
Tweet this Post!Share on Facebook
Reply With Quote

Reply




Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Cutter compensation???? Clawsie Machine Cincinnati CNC 6 11-13-2008 02:19 PM
cutter compensation functionbikes Tormach PCNC 2 06-17-2008 03:39 AM
Cutter Compensation? Joe Petro Autodesk Software (Autocad, Inventor etc) 6 03-08-2006 01:04 AM
Cutter compensation? Tonenc G-Code Programing 4 11-03-2005 12:53 AM
Cutter compensation woes!! RBCMan G-Code Programing 7 02-16-2005 10:43 AM




All times are GMT -5. The time now is 10:57 AM.





Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2012, vBulletin Solutions, Inc.
Content Relevant URLs by vBSEO
Template-Modifications by TMS

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353