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-03-2010, 07:47 AM
 
Join Date: Feb 2010
Location: United States
Posts: 8
capitalcrew is on a distinguished road
I can't get this program to work right

I'm pretty new at this and I need to circular interpolate an 11/16s diameter boss on a small eccentric shaft. It will be .250 high when it's done. I have gotten it to graph on a haas TM1, and it does run, but it doesn't look like it is doing what I need it to do. The teacher of this class isn't much help, and I need to finish this today. If anyone can get back to me asap I'd really appreciate it.

I really only need one block of it to be right, then I can make the rest the same just with a different depth for it to feed down. Go easy on me guys.. lol


%
O04401 (part 44 side 1)
T1 M06 (LOAD ENDMILL)
G90 G54 G41 (ABS OFFSET CC ON LEFT)
G43 H01 (TOOL LENGTH TOOL#1)
M03 S300 (SPINDLE ON 300 RPM)
G00 X0 Y0 (RAPID TO ORIGIN)
G00 X2.0 Y0 (RAPID TO PT#1)
G00 Z0.1 (RAPID TO R-PLANE)
M08 (COOLANT ON)

G01 z-.050 D01 f4.0 (feed down .050)
G01 x.3438 f4.0 (move over to edge of circle)
G02 I.3438 J0.0 (circle clockwise)
G01 x2.0 (clear part)

G01 z-.1 D01 f4.0 (feed down .1)
G01 x.3438 f4.0 (move over to edge of circle)
G02 I.3438 J0.0 (circle clockwise)
G01 x2.0 (clear part)

G01 z-.15 D01 f4.0 (feed down .15")
G01 x.3438 f4.0 (move over to edge of circle)
G02 I.3438 J0.0 (circle clockwise)
G01 x2.0 (clear part)

G01 z-.2 D01 f4.0 (feed down .2)
G01 x.3438 f4.0 (move over to edge of circle)
G02 I.3438 J0.0 (circle clockwise)
G01 x2.0 (clear part)

G01 z-.25 D01 f4.0 (feed down 1/4")
G01 x.3438 f4.0 (move over to edge of circle)
G02 I.3438 J0.0 (circle clockwise)
G01 x2.0 (clear part)

G00 Z1 m09
G40
Z0 M05

M30
%
Reply With Quote

  #2   Ban this user!
Old 02-03-2010, 08:19 AM
 
Join Date: Jan 2005
Location: USA
Posts: 2,348
mactec54 is on a distinguished road
Buy me a Beer?

capitalcrew

You don't say what size tool you want to use
__________________
Mactec54
Reply With Quote

  #3   Ban this user!
Old 02-03-2010, 08:26 AM
 
Join Date: Feb 2010
Location: United States
Posts: 8
capitalcrew is on a distinguished road

I have the diameter set on the machine and the length is in the machine also. It says D01 for the diameter of tool 1
Reply With Quote

  #4   Ban this user!
Old 02-03-2010, 08:46 AM
 
Join Date: Jan 2005
Location: USA
Posts: 2,348
mactec54 is on a distinguished road
Buy me a Beer?

capitalcrew
Nobody can make you a program with that imformation what is the dia of the endMill you are using
__________________
Mactec54
Reply With Quote

  #5   Ban this user!
Old 02-03-2010, 08:52 AM
 
Join Date: Feb 2010
Location: United States
Posts: 8
capitalcrew is on a distinguished road

I wasn't asking for anyone to make me a program I was just asking if anyone saw anything wrong with the one I have.


The diameter of the endmill is 1.165, it is a 6 flute endmill. I want the center of the circle to be the origin.

Thanks.
Reply With Quote

Sponsored Links
  #6   Ban this user!
Old 02-03-2010, 09:14 AM
 
Join Date: Apr 2008
Location: USA
Posts: 49
guru is on a distinguished road

"I" should be negative (G02 I-.3438 not unless your control takes absolute I and J0).

Move G41 to (move over to edge of circle) block

Add G40 to G01 x2.0 (clear part) block

.....Try that first

Last edited by guru; 02-03-2010 at 09:16 AM. Reason: .
Reply With Quote

  #7   Ban this user!
Old 02-03-2010, 09:17 AM
 
Join Date: Apr 2006
Location: usa
Posts: 128
JWK42 is on a distinguished road

"G01 z-.050 D01 f4.0 (feed down .050)
G01 x.3438 f4.0 (move over to edge of circle)
G02 I.3438 J0.0 (circle clockwise)
G01 x2.0 (clear part)"

I think after a quick look you need to have a I-.3438 in your G02 line
I believe the rule is "Distance and direction from the start of the arc to the center of rotation."

Comment--

I see Guru posted while I was writing this. I agree with his answer

Last edited by JWK42; 02-03-2010 at 09:20 AM. Reason: comment
Reply With Quote

  #8   Ban this user!
Old 02-03-2010, 09:34 AM
 
Join Date: Jan 2005
Location: USA
Posts: 2,348
mactec54 is on a distinguished road
Buy me a Beer?

capitalcrew
This program will rough cut all the way done in .06 steps & then do a clean up pass around the part no D01 needed in the program, just save the program & put it in the machine, it has the same program number as you had plus same speed & feed
There is no G40/G41 if you want need to have cutter comp it will have to be added to the last operation
Attached Files
File Type: txt Zone Boss 11-16.txt‎ (339 Bytes, 50 views)
__________________
Mactec54

Last edited by mactec54; 02-03-2010 at 10:00 AM.
Reply With Quote

  #9   Ban this user!
Old 02-03-2010, 09:53 AM
beege's Avatar  
Join Date: Feb 2008
Location: USA
Posts: 518
beege is on a distinguished road

Originally Posted by capitalcrew View Post
I'm pretty new at this and I need to circular interpolate an 11/16s diameter boss on a small eccentric shaft. It will be .250 high when it's done. I have gotten it to graph on a haas TM1, and it does run, but it doesn't look like it is doing what I need it to do. The teacher of this class isn't much help, and I need to finish this today. If anyone can get back to me asap I'd really appreciate it.

I really only need one block of it to be right, then I can make the rest the same just with a different depth for it to feed down. Go easy on me guys.. lol


%
O04401 (part 44 side 1)
T1 M06 (LOAD ENDMILL)
G90 G54 G41 (ABS OFFSET CC ON LEFT) Save G41 for later
G43 H01 (TOOL LENGTH TOOL#1)
M03 S300 (SPINDLE ON 300 RPM)
G00 X0 Y0 (RAPID TO ORIGIN)
G00 X2.0 Y0 (RAPID TO PT#1)
G00 Z0.1 (RAPID TO R-PLANE)
M08 (COOLANT ON)

G01 z-.050 D01 f4.0 (feed down .050) Take out the D01, goes with comp.
G01 x.3438 f4.0 (move over to edge of circle) Put G41 D01
G01 x2.0 (clear part) and G40 here

G01 z-.1 D01 f4.0 (feed down .1) Take out D01
G01 x.3438 f4.0 (move over to edge of circle) G41 D01 here
G02 I.3438 J0.0 (circle clockwise)
G01 x2.0 (clear part) G40 here

G01 z-.15 D01 f4.0 (feed down .15") Take out D01
G01 x.3438 f4.0 (move over to edge of circle) Put G41 D01 here
G02 I.3438 J0.0 (circle clockwise)
G01 x2.0 (clear part) G40 here... etc.

G01 z-.2 D01 f4.0 (feed down .2)
G01 x.3438 f4.0 (move over to edge of circle)
G02 I.3438 J0.0 (circle clockwise)
G01 x2.0 (clear part)

G01 z-.25 D01 f4.0 (feed down 1/4")
G01 x.3438 f4.0 (move over to edge of circle)
G02 I.3438 J0.0 (circle clockwise)
G01 x2.0 (clear part)

G00 Z1 m09
G40
Z0 M05

M30
%
Corrections in-quote. G41 is usually instituted on the block before your profile starts, at least one tool radius away from the geometry, and turned off again when the geometry is complete. If you don't turn it off, you may get unexpected results. What controller/machine are you using?
Reply With Quote

  #10   Ban this user!
Old 02-03-2010, 10:03 AM
 
Join Date: Feb 2010
Location: United States
Posts: 8
capitalcrew is on a distinguished road

I figured out the cutter comp and d01 stuff, and changed it. I tried making the I value a negative and it didn't graph on the machine. I'm using a Haas TM1, I'm guessing the controller is the panel that has all of the controls on it haha. I'm not sure what it is, it came with the machine I believe.
Reply With Quote

Sponsored Links
  #11   Ban this user!
Old 02-03-2010, 10:07 AM
 
Join Date: Feb 2010
Location: United States
Posts: 8
capitalcrew is on a distinguished road

I just tried your program, mactec. It graphes niceley, I'm out of time to run it today though so I will give it a try tomorrow. If it works I'll be back to let you know. Thanks guys for everything so far!
Reply With Quote

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

Originally Posted by mactec54 View Post
capitalcrew
Nobody can make you a program with that imformation what is the dia of the endMill you are using
tool dia shoudlnt matter except for the lead in move on comp, must be larger distance away than the radius of the tool.. so just make some big value the size of the hole that way there is no way the lead in move would be smaller than the tool radius.

The problem I see with your initial program is that you are calling D01, but not calling it on a comp initation line G41/G42. Or rather you are not calling any compensation mode at all, so having the D01 in there does absolutely nothing
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
Will this program work? Technical Ted Okuma 15 03-02-2009 08:08 PM
Will this program work? Newbie question HRGlen Fanuc 2 07-18-2008 10:13 PM
4 work offsets one program kojack Mastercam 7 07-04-2008 08:58 PM
Changing Work offset from the program WITOMCIO Haas Mills 16 05-14-2007 07:40 AM
just a program that wont work kangarabbit G-Code Programing 13 09-02-2006 09:38 PM




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