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 07-22-2008, 12:29 PM
 
Join Date: Feb 2008
Location: usa
Posts: 78
hkfanatic is on a distinguished road
G03 COMMAND HELP!!

ok im haveing a stupid beginner problem thats causeing my brain to melt.

im trying to cut a 180deg radius on the out side of a blocks sides

heres the blocks dimensions x 2.5 y 1.0 z 3.0

zero is in the dead center of the block.

im useing a 1.0dia endmill

heres how im programming it.

(starting at zero Assuming m3 and etc.. has been done)

N001 G0 Y-.938
N002 G01 Z-1.0 F2.0
N003 X1.250 (THIS IS WHERE THE ARC WILL START FROM)
N004 G03 Y.983 R1.001 (i want it to do an arc the same spot on the op side)
N005 G01 X-1.250
N006 G03 Y-.938 R1.001
N007 G01 X 0.0

so essentially it cut an oval shape into the out side of the block 1 inch deep

my machine acts like its a G01 cammand and doesent arc.

im not too proficiant at Gcode they only touched on it in school.

help!

thanks
Reply With Quote

  #2   Ban this user!
Old 07-22-2008, 01:34 PM
CNCRim's Avatar  
Join Date: Feb 2006
Location: usa
Posts: 947
CNCRim is on a distinguished road

Originally Posted by hkfanatic View Post
ok im haveing a stupid beginner problem thats causeing my brain to melt.

im trying to cut a 180deg radius on the out side of a blocks sides

heres the blocks dimensions x 2.5 y 1.0 z 3.0

zero is in the dead center of the block.

im useing a 1.0dia endmill

heres how im programming it.

(starting at zero Assuming m3 and etc.. has been done)

N001 G0 Y-.938
N002 G01 Z-1.0 F2.0
N003 X1.250 (THIS IS WHERE THE ARC WILL START FROM)
N004 G03 Y.983 R1.001 (i want it to do an arc the same spot on the op side)
N005 G01 X-1.250
N006 G03 Y-.938 R1.001
N007 G01 X 0.0

so essentially it cut an oval shape into the out side of the block 1 inch deep

my machine acts like its a G01 cammand and doesent arc.

im not too proficiant at Gcode they only touched on it in school.

help!

thanks

N001 G0 X0 Y-.938 (Insert start position)
N002 G01 Z-1.0 F2.0
N003 X1.250 (THIS IS WHERE THE ARC WILL START FROM)
N004 G03 Y.983 R1.001 (Typo should be Y.938)
N005 G01 X-1.250
N006 G03 Y-.938 R1.001
N007 G01 X 0.0
__________________
The best way to learn is trial error.
Reply With Quote

  #3   Ban this user!
Old 07-22-2008, 01:53 PM
 
Join Date: Feb 2008
Location: usa
Posts: 78
hkfanatic is on a distinguished road

thanks, that was'nt a direct copy of my program (i've read through it there are no typos, at least none that i've found yet i'll go back through)

my concern was that im not inputing the right perameters for the G03 command do i have to dictate X on that line as well???

i have this: N004 G03 Y.983 R1.001

should it be: N004 G03 X1.250 Y.983 R1.001 ???
Reply With Quote

  #4   Ban this user!
Old 07-22-2008, 02:00 PM
 
Join Date: Feb 2008
Location: USA
Posts: 508
scadvice is on a distinguished road
Cool Don't feel bad...

Most of my programming is via CADCAM now, but every once in awile I will hand input a program (25 yrs of it) And.... I still can get caught on a simple error that is stareing me in the face... S### happens...
This forum is a good way to fix being stupid ...grin...and save the blood pressure and alot of time when we brain fade! Steve
Reply With Quote

  #5   Ban this user!
Old 07-22-2008, 02:03 PM
beege's Avatar  
Join Date: Feb 2008
Location: USA
Posts: 518
beege is on a distinguished road

Originally Posted by hkfanatic View Post
ok im haveing a stupid beginner problem thats causeing my brain to melt.

im trying to cut a 180deg radius on the out side of a blocks sides

heres the blocks dimensions x 2.5 y 1.0 z 3.0

zero is in the dead center of the block.

im useing a 1.0dia endmill

heres how im programming it.

(starting at zero Assuming m3 and etc.. has been done)

N001 G0 Y-.938
N002 G01 Z-1.0 F2.0
N003 X1.250 (THIS IS WHERE THE ARC WILL START FROM)
N004 G03 Y.983 R1.001 (i want it to do an arc the same spot on the op side)
N005 G01 X-1.250
N006 G03 Y-.938 R1.001
N007 G01 X 0.0

so essentially it cut an oval shape into the out side of the block 1 inch deep

my machine acts like its a G01 cammand and doesent arc.

im not too proficiant at Gcode they only touched on it in school.

help!

thanks
I'm not sure what you're trying to end up with here.
Y-.938 is going to take .062" from the minus side of your block.
X1.25 is going to put the cutter centerline on at the edge of your block
G03 Y.938 R1.001 is going to cut air to the far edge of your block
G01 X-1.25 puts the centerline of the tool again on the left edge of the part, taking .062" of material with it. (Finish dimension of the block (Y) will be .875)
G03 Y-.938 cuts air again to the near left corner
G01 X0 will finish the circuit, and take the rest of the .062 from the block.

Are you STARTING with a block that size, or are you FINISHING withthe block that size?
Do you want convex arcs on the ends, or concave? (concave gives you very sharp corners, the other doesn't).

Perhaps a better description of what you want is needed, as well as what you're starting with.

Good luck, lotsa brains to help in here.
Reply With Quote

Sponsored Links
  #6   Ban this user!
Old 07-22-2008, 02:10 PM
 
Join Date: Feb 2008
Location: USA
Posts: 508
scadvice is on a distinguished road
Red face Beege is right...

A little more detail... Steve
Reply With Quote

  #7   Ban this user!
Old 07-22-2008, 02:15 PM
tauntdesigns's Avatar  
Join Date: Nov 2005
Location: USA
Posts: 519
tauntdesigns is on a distinguished road

If I got this right you are setting the X,Y zero in the center of the block(1.25 from left edge of part and .5 from the lower edge) and wanting 1. radius starting at the bottom edge to top of part then a .5 flat on top and then 1. radius to the bottom edge again.

The z move at 2." a min may be a slow air cut but here's my code for it. It comes to the right bottom of part then ramps onto the part with a G2 move then cuts a G3 move cutting the radius then G1 move to the start of the next G3 radius cut and then a G2 move ramping off part.

g0x2.y-.5
g1z-1.f2.
g2x1.75y-.5i-.125j0
g3x.25y1.i-1.5j0
g1x-.25
g3x-1.75y-.5i0j-1.5
g2x-2.y-.5i-.125j0
g0z0
m30

Hope this helps,
Jack
__________________
Walking is highly over-rated
Reply With Quote

  #8   Ban this user!
Old 07-22-2008, 02:23 PM
tauntdesigns's Avatar  
Join Date: Nov 2005
Location: USA
Posts: 519
tauntdesigns is on a distinguished road

After re-reading your post........are you looking for a .5" radius or 1" radius?

a picture would help(even if drawn with pen)

I also notice you were using R's.......... I used I&J incremental
__________________
Walking is highly over-rated
Reply With Quote

  #9   Ban this user!
Old 07-22-2008, 02:29 PM
 
Join Date: Feb 2008
Location: USA
Posts: 508
scadvice is on a distinguished road
Cool I most likely doesn't matter but ...

also tell us what control your using. S
Reply With Quote

  #10   Ban this user!
Old 07-22-2008, 02:47 PM
tauntdesigns's Avatar  
Join Date: Nov 2005
Location: USA
Posts: 519
tauntdesigns is on a distinguished road

Originally Posted by hkfanatic View Post
thanks, that was'nt a direct copy of my program (i've read through it there are no typos, at least none that i've found yet i'll go back through)

my concern was that im not inputing the right perameters for the G03 command do i have to dictate X on that line as well???

i have this: N004 G03 Y.983 R1.001

should it be: N004 G03 X1.250 Y.983 R1.001 ???
I missed this post!

G2 and G3 need an X and Y unless your finishing point is the same as your starting point.

The X and Y is the finish point of the move (telling it where to go)
The I,J describes the distance to the center of arc from the starting point.(I being X direction and J being Y direction)
R describes the radius

Is that what you wanted.

Cheers,
Jack
__________________
Walking is highly over-rated

Last edited by tauntdesigns; 07-22-2008 at 07:47 PM. Reason: I had a mistake in descibing how the R's worked
Reply With Quote

Sponsored Links
  #11   Ban this user!
Old 07-22-2008, 03:29 PM
 
Join Date: Feb 2008
Location: usa
Posts: 78
hkfanatic is on a distinguished road

ok a little more info is definetly needed. im posting a pic of the finished part the reason the radiuses are cutting air and only skimming the corners is because its a progressive cut inward to help keep deflection and tool breakage down, its cutting mild steel and im running 2 ipm just to keep things slow right now once i get the program right i'll mess with the feed and speed.

heres a pic of the finished part, zero is at x1.25 y .5 from the left lower corner. the reason is at one point there is a peck drill cycle to drill the center out and its just easier (at least for me to do it that way)




the final diameter/ thickness of the parts is .630, the shelf is going to be done with a shell mill so i can under cut the stock.

its the outside im haveing a problem with again the tool doesent want to arc it just go's straight and by the last post i think i know what it is i didint put the X starting point into the G03 command

its a bunch of counter clockwise circles takeing .062 off until final dimension, a tool change to a shell mill then the under cut for the shelf. tool change to a 3/4 end mill to do the peck drill in the center, tool change to a letter O drill and peck drill holes at x.75 and x-.75, tool change to a 1/4 end mill and circle mill holes to final dimension at .75 and -.75 at .525 deep

the slot happens afer i cut the parts off the block and reset fixtures

im useing a bridgeport BTC-1 with a 24 Atc fanuc control.

im useing an old copy of master cam i got from school but the program crashes when i tried to do the outside profileing so i wrote the code by hand and thats where im getting tied up.

hope this is a little helpfull, i REALLY need to start making some chips. i'll post the full program tonight when i get home if needed
Reply With Quote

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

So it looks like the radius end points in X are all X.750, X-.750, to get them concentric with the drillled holes. X1.25 just won't do... I'm not giving you all the answers, just hints to help you learn...
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


Similar Threads
Thread Thread Starter Forum Replies Last Post
problem with ,C command cncozz G-Code Programing 12 07-02-2008 11:23 AM
does it have FOPEN command? hop Fanuc 2 06-20-2006 11:10 PM
what is the same command? hop G-Code Programing 0 06-20-2006 05:24 AM
What G_code command? hop G-Code Programing 4 06-14-2006 05:24 AM
Sleep Command howling60 CamSoft Products 12 03-02-2006 09:27 AM




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