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 08-18-2005, 04:10 PM
 
Join Date: May 2004
Location: United States
Posts: 33
Tulak is on a distinguished road
G code sample needed

Can someone please email me a sample for Hass VF-2 or somethig closer.
I will make my own post but I like to see how needs to be posted out.I am looking for mill,drill and tap with midle of program tool change.

Thanks
jozef@hwindustries.com
Tweet this Post!Share on Facebook
Reply With Quote

  #2  
Old 08-19-2005, 05:08 AM
Moderator
 
Join Date: Apr 2003
Location: Canada
Posts: 692
Dan B is on a distinguished road
Here is a drilling program with tool changes for a Haas controller.

%
O102
M0 (Confirm job number: job #13264)
M0 (Confirm code: This is path #102)
M0 (Confirm action: drilling operation)
M0 (This is a concatenated toolpath)
N2 T6M6
N4 G0G43H6Z10.
N6 S1370M3
N8 G54G90
N10 G0X163.258Y344.160 (Feature: 8.8 mm drilled hole)
N12 G0Z0.M8
N14 G73G98R-47.625Z-78.800Q2.0F135.
N16 X163.258Y391.400
N18 X206.510Y266.191
N20 X247.920Y185.251
N22 X319.539Y135.965
N24 X326.770Y343.775
N26 X349.448Y201.438
N28 X338.589Y116.915
N30 X374.848Y258.588
N32 X471.552Y271.076
N34 X477.053Y170.825
N36 X490.283Y344.250
N38 X490.283Y391.400
N40 G80M5
N42 M9
N44 G28G91Z10.
N46 G28Y0
N48 G90
N50 T3M6
N52 G0G43H3Z10.
N54 S1795M3
N56 G54G90
N58 G0X44.450Y44.450 (Feature: M8 tapped hole)
N60 G0Z0.M8
N62 G73G98R-47.625Z-78.800Q2.0F180.
N64 X44.450Y539.750
N66 X69.731Y320.485
N68 X69.731Y260.485
N70 X139.731Y320.485
N72 X139.731Y260.485
N74 X590.550Y44.450
N76 X590.550Y539.750
N78 G80M5
N80 M9
N82 G28G91Z10.
N84 G28Y0.
N86 G90
N88 T8M6
N90 G0G43H8Z10.
N92 S1605M3
N94 G54G90
N96 G0X69.731Y285.485 (Feature: 8 mm reamed hole)
N98 G0Z0.M8
N100 G73G98R-47.625Z-78.800Q2.0F160.
N102 X139.731Y285.485
N104 G80M5
N106 M9
N108 G28G91Z10.
N110 G28Y0.
N112 G90
N114 T4M6
N116 G0G43H4Z10.
N118 S2160M3
N120 G54G90
N122 G0X182.308Y344.160 (Feature: 6 mm reamed hole)
N124 G0Z0.M8
N126 G83G98R-47.625Z-78.800P2.0Q2.0F165.
N128 X224.911Y271.121
N130 X229.519Y180.320
N132 X349.448Y258.588
N134 X374.848Y201.438
N136 X446.428Y179.200
N138 X471.233Y391.400
N140 X502.178Y262.702
N142 G80M5
N144 M9
N146 G28G91Z10.
N148 G28Y0.
N150 G90
N152 T4M6
N154 G0G43H4Z10.
N156 S2160M3
N158 G54G90
N160 G0X125.000Y50.000 (Feature: 6 mm tooling ball hole)
N162 G0Z0.M8
N164 G83G98R-47.625Z-78.800P2.0Q2.0F165.
N166 X350.000Y500.000
N168 X525.000Y50.000
N170 G80M5
N172 M9
N174 G28G91Z10.
N176 G28Y0.
N178 G90
N180 T2M6
N182 G0G43H2Z10.
N184 S2875M3
N186 G54G90
N188 G0X101.188Y50.000 (Feature: M5 tapped hole)
N190 G0Z0.M8
N192 G83G98R-47.625Z-78.800P2.0Q2.0F145.
N194 X148.813Y50.000
N196 X326.188Y500.000
N198 X373.813Y500.000
N200 X501.188Y50.000
N202 X548.813Y50.000
N204 G80M5
N206 M9
N208 G28G91Z10.
N210 G28Y0.
N212 G90
N214 M30
%


Dan
__________________
(Note: The opinions expressed in this post are my own and are not necessarily those of CNCzone and its management)
Tweet this Post!Share on Facebook
Reply With Quote

  #3   Ban this user!
Old 08-23-2005, 10:05 PM
 
Join Date: May 2004
Location: United States
Posts: 33
Tulak is on a distinguished road
to Dan B

Thanks DAN B
looks like people do not care
Tweet this Post!Share on Facebook
Reply With Quote

  #4  
Old 08-23-2005, 10:11 PM
Gold Member
 
Join Date: Apr 2003
Location: Ohio, USA
Posts: 1,734
Ken_Shea is on a distinguished road
Oh Boo-Hoo

No mill on this but there is spot, deep hole drill, peck ream (thanks Ward) and obvious tool changes.

%
O4004(BLOCK #4 .5 DRILL)
T0 M06 (.50 INCH SPOT DRILL)
G90 G80 G40 G55
S1504 M03
G43 H0
/
G00 X-1. Y-0.5 Z1.
G99 G82 R0.1 Z-0.1227 P F15.04
X-4.501
G80
G00 Z1.
M01
T2 M06 ( 1/2 DRILL FOR 14 X 1.25MM TAP)
G90 G80 G40 G55
S763 M03
G43 H2
/M08
G00 X-1. Y-0.5 Z1.
Z1.
G99 G83 R0.1 Z-2.15 Q0.05 F15.26
X-4.501
G80
G00 Z1.
M01
T3 M06 (.505 REAM)
G90 G80 G40 G55
S400 M03
G43 H3
/M08
G00 X-1. Y-0.5 Z1.
M5
M01
G84 R0.1 Z-0.75 F15.
G84 R0.1 Z-1.5 F15.
G84 R0.1 Z-2.15 F15.
G00 Z1.
X-4.501
G84 R0.1 Z-0.75 F15.
G84 R0.1 Z-1.5 F15.
G84 R0.1 Z-2.15 F15.
G00 Z1.
G80
G00 Z1.
M01
M30
%
Tweet this Post!Share on Facebook
Reply With Quote

  #5   Ban this user!
Old 08-24-2005, 11:05 AM
 
Join Date: Jul 2005
Location: Canada
Posts: 11,419
Geof will become famous soon enough
Originally Posted by Ken_Shea
T3 M06 (.505 REAM)
G90 G80 G40 G55
S400 M03
G43 H3
/M08
G00 X-1. Y-0.5 Z1.
M5
M01
G84 R0.1 Z-0.75 F15.
G84 R0.1 Z-1.5 F15.
G84 R0.1 Z-2.15 F15.
G00 Z1.
X-4.501
G84 R0.1 Z-0.75 F15.
G84 R0.1 Z-1.5 F15.
G84 R0.1 Z-2.15 F15.
G00 Z1.
G80
G00 Z1.
M01
M30
%
The G84 canned cycle will reverse the spindle direction when retracting the reamer. This is not a good idea; reamers should always be run in their cutting direction.
Tweet this Post!Share on Facebook
Reply With Quote

Sponsored Links
  #6  
Old 08-24-2005, 11:20 AM
Gold Member
 
Join Date: Apr 2003
Location: Ohio, USA
Posts: 1,734
Ken_Shea is on a distinguished road
Thanks Geof,
Good information timing, I was going to do these blocks tonight.

Never thought about the reversal using the G84, only have used reamers on my manual mill.


Just looked at the toolpaths, I already had changed to a G83 but not for the reason you brought up, thanks again for spotting this error.

Ken

Tulak here is the proper post.

%
O4004(BLOCK #4 .5 DRILL)
T0 M06 (.50 INCH SPOT DRILL)
G90 G80 G40 G55
S1504 M03
G43 H0
/
G00 X-1. Y-0.5 Z1.
G99 G82 R0.1 Z-0.1227 P F15.04
X-4.501
G80
G00 Z1.
M01
T2 M06 ( 1/2 DRILL FOR 14 X 1.25MM TAP)
G90 G80 G40 G55
S763 M03
G43 H2
/M08
G00 X-1. Y-0.5 Z1.
Z1.
G99 G83 R0.1 Z-2.15 Q0.05 F15.26
X-4.501
G80
G00 Z1.
M01
T3 M06 (.505 REAM)
G90 G80 G40 G55
S400 M03
G43 H3
/M08
G00 X-1. Y-0.5 Z1.
Z1.
G99 G83 R0.1 Z-2.15 Q0.25 F15.
X-4.501
G80
G00 Z1.
M01
M30
%
Tweet this Post!Share on Facebook
Reply With Quote

  #7   Ban this user!
Old 01-01-2006, 12:27 PM
deanrach's Avatar  
Join Date: Jun 2005
Location: USA
Posts: 75
deanrach is on a distinguished road
Ken,

G85 is a good option for reaming as well. The feed-in and feed-out will help to eliminate fast spirals as a result of exiting at rapid.
Tweet this Post!Share on Facebook
Reply With Quote

  #8   Ban this user!
Old 01-01-2006, 01:01 PM
gar gar is offline
 
Join Date: Mar 2005
Location: USA
Posts: 1,498
gar is on a distinguished road
060101-1300 EST USA

Tulak:

See a previous thread in CNCZONE that I started on a macro for tool change.

A sample tool change macro.

.
Tweet this Post!Share on Facebook
Reply With Quote

  #9   Ban this user!
Old 01-01-2006, 08:04 PM
Paul_S's Avatar  
Join Date: Mar 2003
Location: Mira Loma, California
Posts: 147
Paul_S is on a distinguished road
Originally Posted by Ken_Shea
Thanks Geof,
Good information timing, I was going to do these blocks tonight.

Never thought about the reversal using the G84, only have used reamers on my manual mill.


Just looked at the toolpaths, I already had changed to a G83 but not for the reason you brought up, thanks again for spotting this error.

Ken

Tulak here is the proper post.

%
O4004(BLOCK #4 .5 DRILL)
T0 M06 (.50 INCH SPOT DRILL)
G90 G80 G40 G55
S1504 M03
G43 H0
/
G00 X-1. Y-0.5 Z1.
G99 G82 R0.1 Z-0.1227 P F15.04
X-4.501
G80
G00 Z1.
M01
T2 M06 ( 1/2 DRILL FOR 14 X 1.25MM TAP)
G90 G80 G40 G55
S763 M03
G43 H2
/M08
G00 X-1. Y-0.5 Z1.
Z1.
G99 G83 R0.1 Z-2.15 Q0.05 F15.26
X-4.501
G80
G00 Z1.
M01
T3 M06 (.505 REAM)
G90 G80 G40 G55
S400 M03
G43 H3
/M08
G00 X-1. Y-0.5 Z1.
Z1.
G99 G83 R0.1 Z-2.15 Q0.25 F15.
X-4.501
G80
G00 Z1.
M01
M30
%
Peck reaming? I don't think so. Reaming should be done straight through. A G81 feeds to depth and rapids out. A G85 feeds in and feeds out.

A G82 feeds in and dwells at depth then rapids out. (I don't see any advatage of dwelling in reaming a hole.)

Drilling should be done with G81, unless the hole depth of the hole is 4 or more times the diameter of the drill. G83 peck drills and pulls the drill out with chips, rapids to the last depth and drills to the next depth until final depth.

G73 is chip breaking routine, pecks but does not pull the drill out to clearance plain. This is to break up the chips. (Like you would get drilling plastics.)

A G82 is for counter sinking where you want to control the depth to better control the diameter of the c'sink. For example, 100 deg c'sink, .002 depth is .005 on the diameter. A G82 can be used for drilling if you must control the drill depth to a close dim. The dwell probably should not be more than 3 revolutions. At least 1 revolution. If the dwell is in milliseconds then the P word value would be equal to the integer value of 60000 divided by the RPM for 1 revolution. An example of 2 revolutions at 1504 RPM, P80 ( 79.787 = 2 x 60000 / 1504)

Anyway, peck reaming makes no sense. Your hole size for reaming should be about 2% times the square root of the reamer dia smaller than the reamer dia. For example .505 reamer you would want a hole size of close to .491 dia (.4907 = .505 - .02 x sqr(.505)) You would not want to use a drill no smaller than 31/64 or .484 dia. A 12.5MM (.492 dia) drill would be ideal. If you use 1/2 drill for .505 reamer, that will work. But you are leaving less than .0025 per side for reaming. For that little material, peck reaming is . . . out of the question. If you are leaving so much material that you think you need to do peck reaming, you are leaving too much material. The bottom line, peck reaming should never be done.
__________________
Safety - Quality - Production.

Last edited by Paul_S; 01-01-2006 at 09:06 PM.
Tweet this Post!Share on Facebook
Reply With Quote

  #10  
Old 01-01-2006, 10:48 PM
Gold Member
 
Join Date: Apr 2003
Location: Ohio, USA
Posts: 1,734
Ken_Shea is on a distinguished road
Paul,
If you look again you will see that there was no G82 used in the Reaming it was used in the Spot operation, no dwell was used, since P had no value I am assuming it is ignored.

My thinking on the pecking was simply mimicking how I did manual reaming so it seemed appropriate at the time.

In retrospect, pecking would seem to offer no benefit, however, it did not seem to cost anything but some extra time, since they turned out very well.

Thanks for the formula for the hole size and advice, it is noted.

Ken
Tweet this Post!Share on Facebook
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





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