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 02-07-2008, 10:40 PM
300sniper's Avatar  
Join Date: Jul 2007
Location: usa
Posts: 382
300sniper is on a distinguished road
can this be programmed manually?

i am new to cnc and am still teaching myself so i have a lot to learn. i have a project i need to do that i am not sure if it can be programmed manually or if it is going to need a cad/cam program for it.

i need to make a 5.725" diameter pocket .375" deep with a .375" radius. it would be easy to do with a 3/4" ball mill but i don't have one. i really don't want to get one for this quick project and not need it again. i was thinking about cutting the flat bottom of the pocket with a 1/2" endmill and using a 1/2" ball mill to cut the radius. i have no idea how to go about programing the radius part of it though.

can this be programmed manually or am i better off just buying a 3/4" ball mill? i don't have any 3d cad/cam programs nor would i know how to use them either.

i'd appreciate any help.

thanks.
Reply With Quote

  #2   Ban this user!
Old 02-07-2008, 10:50 PM
holbieone's Avatar  
Join Date: Feb 2007
Location: usa
Posts: 523
holbieone is on a distinguished road

you could trig it out ,but that would take a few

i would be faster with a .75 ball

with a .5 ball you would have scallops
Reply With Quote

  #3   Ban this user!
Old 02-07-2008, 11:04 PM
holbieone's Avatar  
Join Date: Feb 2007
Location: usa
Posts: 523
holbieone is on a distinguished road

if you can wait until Sunday i can write a program for you

is your os Microsoft windows
Reply With Quote

  #4   Ban this user!
Old 02-07-2008, 11:45 PM
300sniper's Avatar  
Join Date: Jul 2007
Location: usa
Posts: 382
300sniper is on a distinguished road

Originally Posted by holbieone View Post
if you can wait until Sunday i can write a program for you

is your os Microsoft windows

if it's not that big of a deal for you i'd really appreciate it. i would like to keep it as smooth as possible so if .002" step over works for you, that would be great. i am in no big hurry to get it done and have a few weeks so don't go out of you way.

and yes, windows it is.

thanks a lot,
robert.
Reply With Quote

  #5   Ban this user!
Old 02-08-2008, 12:30 AM
holbieone's Avatar  
Join Date: Feb 2007
Location: usa
Posts: 523
holbieone is on a distinguished road

it's no big deal ,i have some software I've been writing that i would like to test

I'll need an example of how your machine does circle interpolation

like G2x1.y1.i0.j0.f10.

and can it be run absolute

or i can program it point to point

how big is your program buffer
Reply With Quote

Sponsored Links
  #6   Ban this user!
Old 02-08-2008, 12:53 AM
300sniper's Avatar  
Join Date: Jul 2007
Location: usa
Posts: 382
300sniper is on a distinguished road

Originally Posted by holbieone View Post
it's no big deal ,i have some software I've been writing that i would like to test

I'll need an example of how your machine does circle interpolation

like G2x1.y1.i0.j0.f10.

and can it be run absolute

or i can program it point to point

how big is your program buffer
the circle interpolation you show will work with my machine. it can be run absolute or incremental (i assume that is what you are asking). again i am new to this so i am not sure about the program buffer. is that the length of the program it will take? if so, i have run some programs that were a couple thousand lines long. it is mach3 that came with a tormach.

let me know if you need any more information.

thanks again.
Reply With Quote

  #7   Ban this user!
Old 02-08-2008, 01:19 AM
holbieone's Avatar  
Join Date: Feb 2007
Location: usa
Posts: 523
holbieone is on a distinguished road

Originally Posted by 300sniper View Post
the circle interpolation you show will work with my machine. it can be run absolute or incremental (i assume that is what you are asking). again i am new to this so i am not sure about the program buffer. is that the length of the program it will take? if so, i have run some programs that were a couple thousand lines long. it is mach3 that came with a tormach.

let me know if you need any more information.

thanks again.
ok then program size should not be a problem
Reply With Quote

  #8   Ban this user!
Old 02-08-2008, 11:10 AM
 
Join Date: May 2007
Location: US
Posts: 779
Andre' B is on a distinguished road

Playing around on break I came up with this, not sure if it will run in Mach but it does in NCPlot.

Down feeds and radial outfeeds are set very small, not sure what your machine can handle.

Also you would need to add tool changes and length compensation code for however you normally do them.


Code:
(X ZERO CENTER OF HOLE)
(Y ZERO CENTER OF HOLE)
(Z ZERO FINISHED TOP OF PART)
(TOOL CENTERLINE PROGRAMMING)
(THE LINES WITH COMMENTS ABOUT ,FEED PER,)
(CAN BE CHANGED FOR MORE OR LESS CUT PER PASS)
(DURING THE SPIRAL DOWN AND OUT)

(THE LINE WITH THE COMMENT ,STEP ANGLE, CAN)
(BE CHANGED FOR MORE OR LESS CUT PER PASS)
(AROUND THE RADIUS)




(*************)
(PROGRAM FOR)
(1/2 IN FLAT END MILL)
G0X0.230Y0.000
G0Z1.000
G1Z0.100F30.0
()
#1=0.03
#2=0.005(DOWN FEED PER G3)
()
WHILE[#1GT-0.375]DO1
G3X0.230I-0.230Z[#1]F5.0
#1=[#1-#2]
END1
G3X0.230I-0.230Z[-0.375]F5.0
(MAKE BOTTOM FLAT)
G3X0.230I-0.230F5.0

(5.725/2 = 2.8625)
(2.8625-0.375 = 2.4875)
(2.4875-0.250 = 2.2375)
()
#1=0.230
#2=0.005(OUT FEED PER G3)
()
WHILE[#1 LT 2.2375]DO1
G1X[#1]F2.0
G3X[#1]I[-#1]F5.0
#1=[#1+#2]
END1
G1X2.2375F2.0
G3X2.2375I-2.2375F5.0




(*************)
(PROGRAM FOR)
(1/2 IN BALL END MILL)
()
G0X2.4875Y0.000
G0Z1.000
G1Z0.100F30.0
()
#1=0.03
#2=0.005(DOWN FEED PER G3)
()
WHILE[#1GT-0.375]DO1
G3X2.4875I-2.4875Z[#1]F5.0
#1=[#1-#2]
END1
G3X2.4875I-2.4875Z[-0.375]F5.0
(MAKE BOTTOM FLAT)
G3X2.4875I-2.4875F5.0

#1=0.0
#2=0.0
#3=0.0
#4=2.0(STEP ANGLE AROUND 0.375 RAD)
()
WHILE[#3 LT 100]DO1
#1=[0.125-[0.125*COS[#3]]]
#2=0.125*SIN[#3]
G1Z[-0.375+#1]F5.0
G1X[2.4875+#2]F2.0
G3X[2.4875+#2]I[-[2.4875+#2]]F5.0
#3=[#3+#4]
END1
Reply With Quote

  #9   Ban this user!
Old 02-08-2008, 04:58 PM
 
Join Date: Jul 2003
Location: New Zealand
Posts: 1,039
Kiwi is on a distinguished road

Andre'B
Is this all the part that handles the .375 radius?
Am I missing something? I don't see how this handles the changing radius of the cutter.
Just trying to understand.

(1/2 IN BALL END MILL)
WHILE[#1GT-0.375]DO1
G3X2.4875I-2.4875Z[#1]F5.0
#1=[#1-#2]
END1
Reply With Quote

  #10   Ban this user!
Old 02-09-2008, 03:12 AM
 
Join Date: Jul 2003
Location: New Zealand
Posts: 1,039
Kiwi is on a distinguished road

This code is for a 1/2in dia. Ball Nose cutter for the corner only

G01 X2.6125 Y0 Z-0.25
G03 X2.6125 Y0 I-2.6125 J0
G01 X2.6118 Y0 Z-0.2631
G03 X2.6118 Y0 I-2.6118 J0
G01 X2.6098 Y0 Z-0.276
G03 X2.6098 Y0 I-2.6098 J0
G01 X2.6064 Y0 Z-0.2886
G03 X2.6064 Y0 I-2.6064 J0
G01 X2.6017 Y0 Z-0.3008
G03 X2.6017 Y0 I-2.6017 J0
G01 X2.5958 Y0 Z-0.3125
G03 X2.5958 Y0 I-2.5958 J0
G01 X2.5886 Y0 Z-0.3235
G03 X2.5886 Y0 I-2.5886 J0
G01 X2.5804 Y0 Z-0.3336
G03 X2.5804 Y0 I-2.5804 J0
G01 X2.5711 Y0 Z-0.3429
G03 X2.5711 Y0 I-2.5711 J0
G01 X2.561 Y0 Z-0.3511
G03 X2.561 Y0 I-2.561 J0
G01 X2.55 Y0 Z-0.3583
G03 X2.55 Y0 I-2.55 J0
G01 X2.5383 Y0 Z-0.3642
G03 X2.5383 Y0 I-2.5383 J0
G01 X2.5261 Y0 Z-0.3689
G03 X2.5261 Y0 I-2.5261 J0
G01 X2.5135 Y0 Z-0.3723
G03 X2.5135 Y0 I-2.5135 J0
G01 X2.5006 Y0 Z-0.3743
G03 X2.5006 Y0 I-2.5006 J0
G01 X2.4875 Y0 Z-0.375
G03 X2.4875 Y0 I-2.4875 J0
Reply With Quote

Sponsored Links
  #11   Ban this user!
Old 02-09-2008, 11:17 AM
300sniper's Avatar  
Join Date: Jul 2007
Location: usa
Posts: 382
300sniper is on a distinguished road

Originally Posted by Andre' B View Post
Playing around on break I came up with this, not sure if it will run in Mach but it does in NCPlot.

Down feeds and radial outfeeds are set very small, not sure what your machine can handle.

Also you would need to add tool changes and length compensation code for however you normally do them.
i am still new to cnc and honestly, i don't understand that. i do appreciate it though.
Reply With Quote

  #12   Ban this user!
Old 02-09-2008, 11:32 AM
300sniper's Avatar  
Join Date: Jul 2007
Location: usa
Posts: 382
300sniper is on a distinguished road

Originally Posted by Kiwi View Post
This code is for a 1/2in dia. Ball Nose cutter for the corner only

G01 X2.6125 Y0 Z-0.25
G03 X2.6125 Y0 I-2.6125 J0
G01 X2.6118 Y0 Z-0.2631
G03 X2.6118 Y0 I-2.6118 J0
G01 X2.6098 Y0 Z-0.276
G03 X2.6098 Y0 I-2.6098 J0
G01 X2.6064 Y0 Z-0.2886
G03 X2.6064 Y0 I-2.6064 J0
G01 X2.6017 Y0 Z-0.3008
G03 X2.6017 Y0 I-2.6017 J0
G01 X2.5958 Y0 Z-0.3125
G03 X2.5958 Y0 I-2.5958 J0
G01 X2.5886 Y0 Z-0.3235
G03 X2.5886 Y0 I-2.5886 J0
G01 X2.5804 Y0 Z-0.3336
G03 X2.5804 Y0 I-2.5804 J0
G01 X2.5711 Y0 Z-0.3429
G03 X2.5711 Y0 I-2.5711 J0
G01 X2.561 Y0 Z-0.3511
G03 X2.561 Y0 I-2.561 J0
G01 X2.55 Y0 Z-0.3583
G03 X2.55 Y0 I-2.55 J0
G01 X2.5383 Y0 Z-0.3642
G03 X2.5383 Y0 I-2.5383 J0
G01 X2.5261 Y0 Z-0.3689
G03 X2.5261 Y0 I-2.5261 J0
G01 X2.5135 Y0 Z-0.3723
G03 X2.5135 Y0 I-2.5135 J0
G01 X2.5006 Y0 Z-0.3743
G03 X2.5006 Y0 I-2.5006 J0
G01 X2.4875 Y0 Z-0.375
G03 X2.4875 Y0 I-2.4875 J0

that definatly looks right. what kind of a finish do you think that will leave? i would like to make it as smooth as possible. did you come up with that by hand or a program? how difficult would it be to set the z increments to .002"?

i really appreciate it.
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
Programmed RS-232 output ghyman G-Code Programing 13 07-11-2008 03:53 AM
code rotary manually daisydog Mastercam 3 01-19-2008 02:20 PM
Manually Change Endmill DroopyPawn G-Code Programing 9 11-20-2007 01:04 AM
How do you move an axis manually ? Eurisko DIY-CNC Router Table Machines 6 04-06-2007 09:00 PM
Need PIC programmed randyf1965 CNC Wood Router Project Log 0 03-26-2005 05:56 PM




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