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! > Machine Controllers Software and Solutions > General CNC (Mill and Lathe) Control Software (NC)


General CNC (Mill and Lathe) Control Software (NC) General Discussion of CNC (Mill and Lathe) control software here!


This forum is sponsored by:

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1  
Old 09-19-2006, 06:33 PM
Gold Member
 
Join Date: Mar 2005
Location: USA
Posts: 582
InspirationTool is on a distinguished road
Anyone have a edge finder G-code routine?

I don't have homing switches on my mill, and I am thinking about writing a G-code routine to make it easier/faster to set 0,0 to one of the corners of the fixed jaw.

Am I re-inventing the wheel here? Anybody have something like this already?

-Jeff
Reply With Quote

  #2  
Old 09-29-2006, 07:22 PM
Gold Member
 
Join Date: Mar 2005
Location: USA
Posts: 582
InspirationTool is on a distinguished road

Here's what I ended up doing... I created a edge find verification tool. I try to leave the bit parked over the corner of the vise every night. This code can verify location after re-start.

Posted for deskcnc, this code should be verified carefully and safely on your machine if you wigh to use it... yadda yadda...

-Jeff

----------------

(Created 6:29:19 PM 9/19/2006 from edge-find-right.dxf)
(Post = ISO G-Code - Non Modal)
(Tool 0 = Tool Reset)
(Visually place the edge finder centered on the corner of the vise and slightly above the top of the jaw)
(Then zero the XYZ)
N0001 G90
N0003 T0 M06 S10000
N0005 G00 Z0.0500 (come up a bit)

N0007 G00 X-0.1000 Y-0.2000 Z0.0500 (move to front of vise jaw)
N0009 G00 X-0.1000 Y-0.2000 Z-0.2000 (go down)
N0011 G01 X-0.1000 Y-0.1010 Z-0.2000 F5.00 (approach vise, not quite to edge)
N0013 G04 P.5 (dwell with edge finder hopefully NOT offset)
N0009 G00 X-0.1000 Y-0.2000 Z-0.2000 (pull back)
N0011 G01 X-0.1000 Y-0.0990 Z-0.2000 F5.00 (approach vise, hopefully to edge)
N0013 G04 P.5 (dwell with edfinder hopefully offset)
N0015 G00 X-0.1000 Y-0.2000 Z-0.2000 (pull back)

N0017 G00 X0.2000 Y-0.2000 Z-0.2000 (move outside of vise jaws)
N0019 G00 X0.2000 Y0.1000 Z-0.2000 (move back)
N0021 G01 X0.1010 Y0.1000 Z-0.2000 (approach vise, not quite to edge)
N0023 G04 P.5 (dwell with edge finder hopefully NOT offset)
N0025 G00 X0.2000 Y0.1000 Z-0.2000 (pull back)
N0027 G01 X0.0990 Y0.1000 Z-0.2000 (approach vise, hopefully to edge)
N0029 G04 P.5 (dwell with edge finder hopefully offset)
N0031 G00 X0.2000 Y0.1000 Z-0.2000 (pull back)

N0033 G00 X0.2000 Y0.1000 Z0.05000 (pull up)
N0035 G00 X0.000 Y0.000 Z0.0500 (go home)
N0036 G00 X0.000 Y0.000 Z0.0000 (go home)
N0037 M05
N0039 M02
Reply With Quote

  #3   Ban this user!
Old 10-02-2006, 12:12 PM
 
Join Date: Jun 2006
Location: USA
Age: 46
Posts: 478
ajl6549 is on a distinguished road

Dosen't your mill have a hand pulse generator (handwheel)?
Reply With Quote

  #4  
Old 10-02-2006, 03:37 PM
Gold Member
 
Join Date: Mar 2005
Location: USA
Posts: 582
InspirationTool is on a distinguished road

It has a keyboard, but I need to put it in an easier location to work with. The other thing is that DeskCNC doesn't switch easily between jog speeds.

-Jeff
Reply With Quote

  #5   Ban this user!
Old 10-02-2006, 07:20 PM
 
Join Date: Jun 2006
Location: USA
Age: 46
Posts: 478
ajl6549 is on a distinguished road

So how does it work? I'm guessing that you stop it when it's close? or run in single blk.?
Reply With Quote

Sponsored Links
  #6  
Old 10-02-2006, 07:48 PM
Gold Member
 
Join Date: Mar 2005
Location: USA
Posts: 582
InspirationTool is on a distinguished road

That's what I was thinking originally, but now it is a "confirmation" zero. If it doesn't break, then breaks on y and then doesn't break, and breaks on X then I'm +/- .001".

So, if it breaks, breaks on y, I'm too high on Y and I need to move the edge finder closer to me and try again.

It starts and ends at zero, zero.

Normally, I park the axis at zer, zero at night, so I can hit it in a few tries.

I may try it with pausing instead at some point, but this works for now.

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





All times are GMT -5. The time now is 03:09 PM.





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