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! > WoodWorking Machines > DIY-CNC Router Table Machines


DIY-CNC Router Table Machines Discuss the building of home-made CNC Router tables here!


This forum is sponsored by:

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Ban this user!
Old 02-18-2010, 10:37 AM
 
Join Date: Jan 2010
Location: USA
Posts: 56
basskitcase is on a distinguished road
Mach 3 double offsetting for tool?

in using my cam program, i am asked to tell the program what tool i am using. As such I assumed it was adjusting the g code for that offset. When it tells mach3 what tool, using the M6 T1 line, Mach3 now knows that i am using tool 1, which has the same offsets i put in my cam program. I thought mach 3 would automaticly adjust for tool offset as well, but it appears it is not, and that my cutouts are correctly offset.

My question is, which one is actually doing the offsetting? Could i do the offset in my cam program, and then always have it tell mach3 that i am using tool 0, so i dont have to put my tool profiles in mach 3, or is it the other way around?

Sorry for the "noob" question.
Reply With Quote

  #2   Ban this user!
Old 02-18-2010, 11:16 AM
 
Join Date: Apr 2003
Location: United States of America
Posts: 14
CNCRouterm is on a distinguished road

As a general statement, tool offsets can happen in two environments, CAD/CAM software, or controller.
The way the machine knows the difference is generally determined by whether or not the feed move is commanded as "with" or "without" cutter compensation. Typically with a G41 or G42 command. If they are all G40, then no cutter comp is applied or existing comp is removed, exact behavior depends on the controller.

In the CAD/CAM package, one usually has the option of using "Machine compensation" or "CAD/CAM compensation". In the first case, the CAD/CAM package Post Processor will output the necessary tool comp commands such as G41 or G42 (comp left and comp right respectively) and the coordinates are the geometry coordinates plus actual lead-in and lead-out end points. In the latter case, the CAD/CAM package will output the actual tool path that is to be followed. This means that the machine will follow the CAM generated path regardless of the tool in the spindle and regardless of the tool diameter information in the offset registries/tables.

So, in your described case it is hard to tell with the information given. If your code includes a G41 or G42 then the machine controller is applying the offset.

So, to answer the end question:
I can't tell which one is doing the offsetting, but it would be easy to tell by lie-ing to either the machine or the CAM software, cut something, and determine from the finished size which one was used. Yes you could do all the offset work in the CAM program, however, that may be unwise. The primary purpose for cutter compensation is to accomodate tools sizes deviation from nominal, through sharpening of the tool or by deliberately using a differnet size tool for the job WITHOUT requiring a change to the program. Note: using a smaller tool is usually easier than using a larger one if your lead ins are along an edge and nearly tangent to the tool path, as a larger tool may foul the part, a smaller one will not.

Tool profiles and how they are defined is another matter, and I suspect it is software specific. I use a AlphaCAM so my experience may be substantially different than yours. In my CAM software, I define tools, and save them in the tool library, so when I want a 1/2"cd 1.25" cl 2 flute compression bit, I select that tool. The library tells AlphaCAM what the tool length is, and diameter, starting rpms and feedrates (optionally depending on material, sfm, number of flutes and rpm-derived-from sfm). I choose either machine compensation or ACAM generated toolpath. If I want a roundover tool, or custom ground profile, I first draw the tool profile, then use the AlphaCAM "User defined tool" feature to input it into the library. This process also includes the option to define a specific point on the profile for determining the diameter and a similar option for the tools Z reference point. These options can be used in special cases such as mutli profile tools or cases where you want to reference the small diameter of a round over tool instead of the default intersection between the material top and where the tool touches the top (typically the major diameter or close too it).
__________________
Eric Neumann
http://www.cncrouterworks.com
Reply With Quote

  #3   Ban this user!
Old 02-18-2010, 11:36 AM
 
Join Date: Jan 2010
Location: USA
Posts: 56
basskitcase is on a distinguished road

Ok, thanks! I'll check my gcode to see which is happening. I still get all the G** commands confused.
Reply With Quote

  #4  
Old 02-18-2010, 05:32 PM
ger21's Avatar
Community Moderator
 
Join Date: Mar 2003
Location: Shelby Twp, MI....USA
Posts: 20,445
ger21 is on a distinguished road
Buy me a Beer?

My question is, which one is actually doing the offsetting? Could i do the offset in my cam program, and then always have it tell mach3 that i am using tool 0, so i dont have to put my tool profiles in mach 3, or is it the other way around?
Mach3 just reads the gcode and does what the code tells it to. So, technically, the CAM software is always in charge of the offsetting. It either spits out offset g-code, or g-code with G41/G42 so that Mach3 will do the offsetting. It's highly unlikely that the CAM software will give you code with offset coordinates, AND G41/G42.
__________________
Gerry

Mach3 2010 Screenset
http://home.comcast.net/~cncwoodworker/2010.html

(Note: The opinions expressed in this post are my own and are not necessarily those of CNCzone and its management)
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 On
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
how to Zero point 1 Tool on geometry offsetting Haas SL20 HAASboi Haas Lathes 5 08-23-2009 07:24 AM
T32 Tool offsetting for EIA/ISO mbpp Mazak, Mitsubishi, Mazatrol 2 01-09-2009 12:29 PM
Tool Offsetting on a Bridgrport Interact 316 Fanuc O-Mate mbpp Bridgeport and Hardinge Mills 2 04-09-2008 04:36 PM
offsetting tools earl General Metalwork Discussion 2 02-22-2007 03:14 PM
Offsetting Polylines tahlinc Tahlcam 0 10-08-2003 06:35 AM




All times are GMT -5. The time now is 04:08 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 354 355 356 357 358 359 360 361