View Single Post
  #7   Ban this user!
Old 06-09-2003, 11:45 AM
HomeCNC's Avatar
HomeCNC HomeCNC is offline
 
Join Date: Mar 2003
Location: United States
Age: 54
Posts: 779
HomeCNC is on a distinguished road

Don,

This is the way I run all my CNC machines. I have a CNC Mill as well as a CNC router. You must use fixed tooling for this to work. I use Home switches because this is one position that is somewhat repeatable. When you home your machine you are setting the machines coordinate system, which is G53. For the record a coordinate system is a spot that the DRO’s read 0,0,0 I always home in the far positive direction.

After I have the machine coordinate system defined, I then move to the material corner (I use Lower Left) and you can find this by edge finder or other methods. What you are doing here is finding the coordinate offset position as measured from the machines coordinate system. In Gcode standard you can have many different coordinate offsets defined. Machine 0 is G53. The first offset is G54, second is G55 and so on. By finding the edge of the material in X and Y you will have a negative number for both. Next I find the Z position of the stock. I do this with no tool in the spindle or router. I move the Z down until I touch the stock top. This will be a negative number as well. You now have three negative offset numbers for X, Y, and Z. If your Gcode controller is good it should have a place to enter the coordinate offset for G54. You enter the three numbers here.

I get my tool length by clamping a tool in the holder and placing it in the spindle. I move the Z down until I touch the top of the part. I read the Z dro and subtract this number from the Z offset number I got above. This will give you the tool length. You enter your tool numbers in the controllers tool offset database.

Now when you have this data you just make sure that your Gcode has a G54 at the start and a G43 for the tool length offset. When you switch your CNC from machine coordinate system and use the offset your DRO will now read 0,0 when your are at the corner of your part. When you turn on the tool offset and place the correct tool in the spindle your Z DRO will read 0 when you touch the top of the material.

The nice thing about doing it this way is: 1) if you machine off the top of the part you will still be able to do tool changes and not loose where the material was. 2) if you shut down the machine for the night you just home it again and you are ready to go.
__________________
Thanks

Jeff Davis (HomeCNC)
http://www.homecnc.info


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