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! > MetalWorking Machines > Haas Mills


Haas Mills Discuss Haas machinery here!


This forum is sponsored by:

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Ban this user!
Old 06-02-2010, 06:50 AM
 
Join Date: Feb 2009
Location: USA
Posts: 1,475
mcphill is on a distinguished road
Buy me a Beer?
Helping make CAM program for a friend...

I am helping a friend with a CAM program for his Haas VF 3. At the end of this message is the start of the CAM file I made for him. The problem we are having is that the machine is going to machine home before travelling to the part home position. Can someone tell me which code to remove from the file so that it will NOT go to machine home at the start?

%
O100 (PROGRAM NUMBER)
(PROGRAM NAME - BLOCK2ROUGH.TXT)
(POST - HAAS VF)
(DATE - TUE. 05/25/2010)
(TIME - 04:06PM)

N01 G00 G17 G20 G40 G49 G80 G90

N02 G91 G28 Z0.
N03 G91 G28 X0. Y0.

(FIRST CUT - FIRST TOOL)
(JOB 1 ZLEVEL ROUGH)
(FEATURE Z-LEVEL ROUGH)

N04 T01 M06
N05 G90 G54 X4.1482 Y-2.5066 S499 M03
N06 G43 H01 Z.1 M08
N07 G01 X3.5422 Y-2.8115 Z.0644 F2.9947
N08 X4.4355 Y-2.362 Z.012
N09 X3.5422 Y-2.8115 Z-.0404
... rest of program runs fine...
I think he should take out the homing calls in lines N02 and N03, is that right?
Reply With Quote

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

mcphill

Yes that is correct take that N02 & N03 out it should not be there
__________________
Mactec54
Reply With Quote

  #3   Ban this user!
Old 06-02-2010, 07:11 AM
 
Join Date: Feb 2009
Location: USA
Posts: 1,475
mcphill is on a distinguished road
Buy me a Beer?

Thanks for the fast reply! Will also edit the post...
Reply With Quote

  #4   Ban this user!
Old 06-02-2010, 08:33 AM
Donkey Hotey's Avatar  
Join Date: Nov 2007
Location: USA
Posts: 1,636
Donkey Hotey is on a distinguished road

That was a safe move put into the program so an errant operator who hits Cycle Start with the spindle down near the part, won't crash into something. Why would you remove it from your post processor? How many of these parts is he going to run (in other words, how much time is really being wasted, verses screwing around with all of this)?
__________________
Greg
Reply With Quote

  #5   Ban this user!
Old 06-02-2010, 08:47 AM
 
Join Date: Feb 2009
Location: USA
Posts: 1,475
mcphill is on a distinguished road
Buy me a Beer?

Originally Posted by Donkey Hotey View Post
Why would you remove it from your post processor? How many of these parts is he going to run (in other words, how much time is really being wasted, verses screwing around with all of this)?
He doesn't like this move, so I will remove it for him (modify the post for him). The way he does his work is position the tool at workspace 0,0,0 and run the program from there. He is a shop owner and very experienced machinist, and somewhat "set in his ways", not an operator making 100's of identical parts...

Your comment is appreciated and warranted for "production" environments, but for this guy it is not wanted or needed.
Reply With Quote

Sponsored Links
  #6   Ban this user!
Old 06-02-2010, 01:10 PM
CNCRim's Avatar  
Join Date: Feb 2006
Location: usa
Posts: 947
CNCRim is on a distinguished road

Put Single block on...... and find out which code is doing what.
__________________
The best way to learn is trial error.
Reply With Quote

  #7   Ban this user!
Old 06-02-2010, 01:23 PM
 
Join Date: Jul 2005
Location: Canada
Posts: 11,565
Geof will become famous soon enough

Originally Posted by mcphill View Post
...... He is a shop owner and very experienced machinist, and somewhat "set in his ways", not an operator making 100's of identical parts...

Your comment is appreciated and warranted for "production" environments, but for this guy it is not wanted or needed.
I also am a shop owner and very experienced machinist somewhat set in my ways; and one of the ways I am set in is to have a Z homing command right at the top of every program as Donkey Hotey suggests.

Maybe after your friend has accidently positioned the tool at the wrong location and starts a program in incremental (G91) he will decide it is best practise to pull the tool well clear of the workpiece as a first move.
__________________
An open mind is a virtue...so long as all the common sense has not leaked out.
Reply With Quote

  #8   Ban this user!
Old 06-02-2010, 01:29 PM
 
Join Date: Jan 2005
Location: USA
Posts: 2,348
mactec54 is on a distinguished road
Buy me a Beer?

mcphill

If the Z was a problem then you could add were N2 was just a G0Z3.0 or what ever number he would need if he had to clear a part before a X Y move
__________________
Mactec54
Reply With Quote

  #9   Ban this user!
Old 06-02-2010, 01:36 PM
 
Join Date: Jan 2005
Location: USA
Posts: 2,348
mactec54 is on a distinguished road
Buy me a Beer?

Geof

No experienced machinist is going to use a G91 at the start of a program, if they know what they are doing
You also have a T01M6 first line of code so if it needs to change the tool then it will be up already before it will make a X Y move

Now what if it does not do a tool change, well if you have just run the program you will have a Z move at the end of the program, this will place the Z in a safe place for the next start, Like G0Z3. or what ever number is safe to clear your part for the next start
__________________
Mactec54
Reply With Quote

  #10   Ban this user!
Old 06-02-2010, 01:55 PM
 
Join Date: Apr 2010
Location: USA
Posts: 184
mfgbydesign is on a distinguished road
Buy me a Beer?
Full retract is good.

Probably a good idea to leave the N02 G91 G28 Z0 in for a full retract prior to tool change. The X and Y in N03 are what is sending it to machine home.
Contrary to popular discussion, the G91 in N02 & N03 are NOT putting the machine into incremental mode, it refers to the distance moved (in this case "0 incremental" before moving the designated axis to the machine home position via the G28 command.
Reply With Quote

Sponsored Links
  #11   Ban this user!
Old 06-02-2010, 02:45 PM
 
Join Date: Feb 2009
Location: USA
Posts: 1,475
mcphill is on a distinguished road
Buy me a Beer?

Originally Posted by mfgbydesign View Post
Contrary to popular discussion, the G91 in N02 & N03 are NOT putting the machine into incremental mode, it refers to the distance moved (in this case "0 incremental" before moving the designated axis to the machine home position via the G28 command.
That part was really confusing me, thanks.

To some of the other posters, he does not use his tool crib (I have told him we need to get there, he doesn't do it yet). So, he does not need to do a tool change, as he preloads the tool before starting, and I only post the code for one tool at a time.

Slow and steady, we will get him more automated.
Reply With Quote

  #12   Ban this user!
Old 06-02-2010, 02:49 PM
 
Join Date: Jul 2005
Location: Canada
Posts: 11,565
Geof will become famous soon enough

You say he is an experienced machinist yet it appears he is trying to run a CNC one tool at a time without having a clue about preparing code. That does not meet my definition of experienced.
__________________
An open mind is a virtue...so long as all the common sense has not leaked out.
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
Helping my husband:) pmelrose General Metalwork Discussion 4 12-12-2009 11:48 AM
looking for someone helping for drawing plans. will pay draftdodger Mechanical Calculations/Engineering Design 2 09-02-2009 09:41 AM
Need Help!- Make backup off parameters and program ladder VIDE Fanuc 1 11-28-2008 08:22 AM
How do I make the program pause until it sees a TTL input? damae G-Code Programing 4 08-31-2005 07:18 PM
How do you make Bridgeport execute program? Bill Gillen Bridgeport and Hardinge Mills 10 06-14-2005 08:26 AM




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