View Single Post
  #12   Ban this user!
Old 09-17-2007, 10:46 AM
jim_stoll jim_stoll is offline
 
Join Date: Dec 2006
Location: USA
Posts: 62
jim_stoll is on a distinguished road

Wow, Thanks Chad - that was a fantastic explanation for a layman like myself! I now see why my radius and length offset values weren't having any effect on the gcode, too. <:-) I'll have to check EMC to see if it supports these compensation registers - I'm guessing it must, but don't know for sure.

It had previously been suggested to me, and it may be the simplest approach, that I simply fudge the cutter size in the tool definition in DCAD - it sounds like the offset register is just another approach to the same end. What I need to experiment with is whether I get the same effective size difference under all conditions or if its more prevalent when cutting circles than lines, holes vs outside countours, climb vs conventional, etc. I've cut a number of parts previously, but this was the first time that fit on a particular feature was critical, so I may have had this happening all along and just not realized it.

BTW, the modified TurboCNC Post that you did for me has been working fine - no more issues with the arcs not mating up - Thanks!

It would be nice to add the G40, G41 and G42 capabilities to it. The Mach2 Post will output a G4x with the H register value, but not the D register value. I was going to try to copy & paste the relevant sections of the Mach2 Post to the TurboCNC Post, but given that the Mach2 output doesn't include the D register value, it may need a little further looking at by you.

Here is the gcode produced by the original, unmodified Mach2 Post for a tool selection that has the radius and length offset both set to 3 - note that a G43 is generated that provides an H value, but no D value is output anywhere:

O100
N7G00G20G17G90G40G49G80
N8Z0.25
N9G49
N10T3M06 ( End Mill )
N11G00G43Z0.25H3
N12S1000M03
N13G94
N14M08
N15S1000
N16X0.9063Y0.5
N17Z0.1181
N18G01Z-0.25F0.163
N19G03X0.5Y0.9063I0.5J0.5
N20X0.0938Y0.5I0.5J0.5
N21X0.5Y0.0938I0.5J0.5
N22X0.9063Y0.5I0.5J0.5
N23G00Z0.25
N24M09
N25M30


Here is the output of the latest TurboCNC Post that you sent me for the same program - no G4x code of any variety is produced:

G90
G20
G00 X0.0 Y0.0 Z0.25
G00
M05
M06 T03 ( End Mill )
M03 S1000
M07
M03 S1000
G00 X0.9063 Y0.5
G00 Z0.1181
G01 Z-0.25 F0.163
G03 X0.5 Y0.9063 I-0.4063 J0.0
G03 X0.0938 Y0.5 I0.0 J-0.4063
G03 X0.5 Y0.0938 I0.4063 J-0.0
G03 X0.9063 Y0.5 I0.0 J0.4063
G00 Z0.25
M02

Thanks Again for the help!!
Reply With Quote

 

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