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 > G-Code Programing


G-Code Programing Discuss G-code programing and problems here!


This forum is sponsored by:

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Ban this user!
Old 10-22-2009, 06:14 PM
Teyber12's Avatar  
Join Date: Jul 2008
Location: USA
Posts: 927
Teyber12 is on a distinguished road
noobie help with cutting a circle

hello!

i gave up learning g-code for the time being because i am using dolphin cad/cam for everything on my x3 cnc mill.

However, now i have to program something a little tricky for me by hand.

I have a 1.5" diameter solid copper round bar.
I want to create a slit for a snap ring thats 1/16" tall and 1/16" deep (making the diameter 1.375" for the bar where the snap ring pops in)
I have a slitting saw that is 3" in diameter. I want to approach it like follows:

(i want the same slit thats on the bottum there)

Could someone help me with this? or point me in the right direction..

Cheers!
Reply With Quote

  #2   Ban this user!
Old 10-26-2009, 08:05 AM
 
Join Date: Jan 2009
Location: USA
Posts: 39
ggborgen is on a distinguished road
Talking

If I understand you correctly you want just one circle?
This should give you one circle, question marks are for you to fill in because I do not know what offsets you are using or spindle speed and feedrate.

G90G54G00X-2.5Y2.1875M3S???
G90G00G43Z??H??
G01G41Y.6875D??
G01X0.0F??
G91G02Y-1.375J-.6875R.6875
G02Y1.375J.6875R.6875
G90G01X2.5
G91G28G00Z0
M30
Reply With Quote

  #3   Ban this user!
Old 10-31-2009, 03:42 PM
 
Join Date: Apr 2008
Location: The Netherlands
Posts: 9
Arlo Tol is on a distinguished road

Originally Posted by ggborgen View Post
If I understand you correctly you want just one circle?
This should give you one circle, question marks are for you to fill in because I do not know what offsets you are using or spindle speed and feedrate.

G90G54G00X-2.5Y2.1875M3S???
G90G00G43Z??H??
G01G41Y.6875D??
G01X0.0F??

G91G02Y-1.375J-.6875R.6875
G02Y1.375J.6875R.6875
G90G01X2.5
G91G28G00Z0
M30
I suggest to input the F value in the first line with G01 .. it will save you the error message ..


And why not use only:

G2 I0 J-0.6875

It's enough to run the full circle from and to the starting point.
No need to go G91.
Reply With Quote

  #4   Ban this user!
Old 11-06-2009, 09:11 AM
Teyber12's Avatar  
Join Date: Jul 2008
Location: USA
Posts: 927
Teyber12 is on a distinguished road

Thanks a million guys I have another question i will ask this weekend because i want to try to put some more code together first...

Cheers
Reply With Quote

  #5   Ban this user!
Old 11-15-2009, 07:59 PM
Teyber12's Avatar  
Join Date: Jul 2008
Location: USA
Posts: 927
Teyber12 is on a distinguished road

http://www.cnczone.com/forums/showth...t=76893&page=4

cheers
Reply With Quote

Sponsored Links
  #6   Ban this user!
Old 11-27-2009, 06:14 PM
 
Join Date: Mar 2005
Location: usa
Posts: 76
Bill Johns is on a distinguished road

Part center is X0Y0
T1M6
G90G0G54
X2.3Y0.0
S200M3
G43H1Z2.0
G1Z-.125F100.0
X2.188F4.0
G2I-2.188
G1X2.3
M5
M30
If you set z zero on top of part and bottom of wheel cutter, this would go into the first groove and cut the diameter then pull out and stop. Always run in single block to make sure nothing crashes.
Reply With Quote

  #7   Ban this user!
Old 12-03-2009, 11:30 AM
 
Join Date: Oct 2009
Location: Canada
Posts: 84
glenthemann is on a distinguished road

I guess I dont know the control but I always thought I and J represented the center of the arc?
Reply With Quote

  #8   Ban this user!
Old 12-03-2009, 12:50 PM
beege's Avatar  
Join Date: Feb 2008
Location: USA
Posts: 518
beege is on a distinguished road

Originally Posted by glenthemann View Post
I guess I dont know the control but I always thought I and J represented the center of the arc?
It is, if the plane is G17 (XY). Some machines define "center of the arc" differently. For most, it is relative to the start point of the arc. For some it is an absolute coordinate, relative to part origin.

Check your machine manual to be sure.
Reply With Quote

  #9   Ban this user!
Old 12-30-2009, 10:38 AM
Teyber12's Avatar  
Join Date: Jul 2008
Location: USA
Posts: 927
Teyber12 is on a distinguished road

thread bump

i almost have figured out the code (er- no thanks to myself! thank you cnczoners)

ok quick questions

1) why do i get a error at line 53, saying that the radius to endarc differs from line 53 when there is no differences in the code between all 5 blocks except the z axis height?

2) How would i add a ring for a snap ring that is 1.375" in diameter in a 1.5" diameter bar, with a 3.5" slitting saw? (i can post a cad drawing to help show what i mean if you guys are lost)

3) How do i change it so it doesn't start cutting at 1.5" In diameter, but at 1.375" in diameter? (it would save a bit of time. In the picture of the evaporator, you can see that the copper diameter is 1.5" but the diameter where the steps are is 1.375". in my program it starts going around thinking its cutting at 1.5" diameter)

4) finally, the copper is getting WAY to hot when i run this program. My mill doesn't have enough torque really to run the proper speeds/feeds, (gotta amp up the rpm's a bit), but what would be a general idea for a good ipm and rpm with a .05" doc?

Cheers guys!

oh, and the slitting saw is 3.5" in diameter (as per the code), but i have two 4" slitting saws on the way. I think this might be better? i will have 1/16" or so of clearance in the y direction with a 4" slitting saw... lol lucky i got the x3 NOT the x2

here is the code.

n001 g0 z1

n002 f8
n003 g0 x-3 y0
n004 g0 z-.125
n005 g1 x-2.5 y0
n006 g2 x-2.45 y0 i2.5 j0
n007 g2 x-2.4 y0 i2.45 j0
n008 g2 x-2.34 y0 i2.4 j0
n009 g2 x-2.3 y0 i2.35 j0
n010 g2 x-2.25 y0 i2.3 j0
n011 g2 x-2.2 y0 i2.25 j0
n012 g2 x-2.15 y0 i2.2 j0
n013 g2 x-2.1 y0 i2.15 j0
n014 g2 x-2.05 y0 i2.1 j0
n015 g0 x-3 y0
n016 g0 z-.25
n017 g1 x-2.5 y0
n018 g2 x-2.45 y0 i2.5 j0
n019 g2 x-2.4 y0 i2.45 j0
n020 g2 x-2.34 y0 i2.4 j0
n021 g2 x-2.3 y0 i2.35 j0
n022 g2 x-2.25 y0 i2.3 j0
n023 g2 x-2.2 y0 i2.25 j0
n024 g2 x-2.15 y0 i2.2 j0
n025 g2 x-2.1 y0 i2.15 j0
n026 g2 x-2.05 y0 i2.1 j0
n027 g0 x-3 y0
n028 g0 z-.375
n029 g1 x-2.5 y0
n030 g2 x-2.45 y0 i2.5 j0
n031 g2 x-2.4 y0 i2.45 j0
n032 g2 x-2.34 y0 i2.4 j0
n033 g2 x-2.3 y0 i2.35 j0
n034 g2 x-2.25 y0 i2.3 j0
n035 g2 x-2.2 y0 i2.25 j0
n036 g2 x-2.15 y0 i2.2 j0
n037 g2 x-2.1 y0 i2.15 j0
n038 g2 x-2.05 y0 i2.1 j0
n039 g0 x-3 y0
n040 g0 z-.5
n041 g1 x-2.5 y0
n042 g2 x-2.45 y0 i2.5 j0
n043 g2 x-2.4 y0 i2.45 j0
n044 g2 x-2.34 y0 i2.4 j0
n045 g2 x-2.3 y0 i2.35 j0
n046 g2 x-2.25 y0 i2.3 j0
n047 g2 x-2.2 y0 i2.25 j0
n048 g2 x-2.15 y0 i2.2 j0
n049 g2 x-2.1 y0 i2.15 j0
n050 g2 x-2.05 y0 i2.1 j0
n051 g0 x-3 y0
n052 g0 z-.625
g053 g1 x-2.5 y0
n054 g2 x-2.45 y0 i2.5 j0
n055 g2 x-2.4 y0 i2.45 j0
n056 g2 x-2.34 y0 i2.4 j0
n057 g2 x-2.3 y0 i2.35 j0
n058 g2 x-2.25 y0 i2.3 j0
n059 g2 x-2.2 y0 i2.25 j0
n060 g2 x-2.15 y0 i2.2 j0
n061 g2 x-2.1 y0 i2.15 j0
n062 g2 x-2.05 y0 i2.1 j0
n063 g0 x-3 y0

*ADD IN SNAP RING GROOVE*
n064 g0 z2
Reply With Quote

  #10   Ban this user!
Old 01-01-2010, 03:43 PM
 
Join Date: Sep 2009
Location: USA
Posts: 41
Mkroe is on a distinguished road

Your line number is written as a GCode g053 not N053
Reply With Quote

Sponsored Links
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
Newbie- circle cutting Jcip GibbsCAM 32 05-13-2010 08:16 AM
Need Help!- Sherline 5400 circle cutting albert_la Benchtop Machines 1 08-09-2009 08:34 PM
circle cutting soundwaves Joes CNC Model 2006 5 11-12-2008 11:46 PM
Circle not cutting completly hduke47 Laser Engraving & Cutting Machines 1 02-18-2008 02:36 PM
circle cutting wizard problem kb7vms Mach Wizards, Macros, & Addons 7 11-05-2006 11:14 PM




All times are GMT -5. The time now is 12:23 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