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 11-17-2010, 09:54 PM
 
Join Date: Jun 2004
Location: United States
Posts: 24
Castle1 is on a distinguished road
Question best (easiest way to increment Z depth)

We don't have the Macro option, although I enabled the timed demo mode so I could use variables. Would anyone know of a simple way other than copying and pasting & making the program longer than it should, a way to increment the Z depth per pass, I was thinking there should be a G91 way of cutting an arc with cutter comp, then moving back to the beginning and lowering Z another .050, for a total of -.650 Z depth. Code is below,
Does anyone know how much the Macro option costs on a TM-1 2007 model?
Without variables because we wont have this after the demo runs out.

Thanks for any help.

Code:
O00011 
#100= -.050 (VARIABLE 100 SETS 1ST Z DEPTH) 
N10 (T5 .501 4FL EM) 
T5 M06 
G54 G90 G00 X0.5 Y-1.8 
G43 Z0.5 H05 
S304 M03 

N150 G00 X0.5 Y-1.8 
G01 Z#100 F20 
G01 G41 X0.3 Y-1.7022 D05 F10. (D5 IS NEEDED)
G02 X-0.75 Y-2. R2. F1.8 
G01 X-1.01 
G01 Y-2.3 F20 
Z0.5 F20. 
G40 
G01 Y-2.5 F20 
#100= [ #100 - 0.050 ] (DECREMENT Z AMOUNT)
IF [ #100 LT -0.65 ] GOTO200 
GOTO150 
N200 G40 
G01 Z0.5 F20. 
G00 Z7. 
X2. Y1. 
G53 G49 M05 
M09 
M30
Reply With Quote

  #2   Ban this user!
Old 11-17-2010, 10:03 PM
 
Join Date: Jul 2005
Location: Canada
Posts: 11,565
Geof will become famous soon enough

You can do it with nested subroutines using an L count with the M97.

What is it you want to make, hole, pocket, step down a perimeter, ??

For interpolating a hole of course you can just use G91 and L right in the interpolation command;

G91 G03 I J Z-.1 L10

will do ten counterclockwise interpolations moving down -0.1 every time for a total of 1.0.

If you can give me some sizes I might be able to give you some sample code the way I would do it.
__________________
An open mind is a virtue...so long as all the common sense has not leaked out.
Reply With Quote

  #3   Ban this user!
Old 11-17-2010, 10:46 PM
 
Join Date: Jun 2004
Location: United States
Posts: 24
Castle1 is on a distinguished road

It is a steel rectangular bar sticking out of a vise, with a 2.0" clockwise arc.

see attached

Then I will rotate 90 and put the same doubled (mirror image of the same)
Attached Thumbnails
Click image for larger version

Name:	011.jpg‎
Views:	17
Size:	2.6 KB
ID:	119404  
Reply With Quote

  #4   Ban this user!
Old 11-17-2010, 10:57 PM
 
Join Date: Jul 2005
Location: Canada
Posts: 11,565
Geof will become famous soon enough

Is that a top view? You want to take the arc in several cuts rather than one cut?
__________________
An open mind is a virtue...so long as all the common sense has not leaked out.
Reply With Quote

  #5   Ban this user!
Old 11-18-2010, 12:00 AM
 
Join Date: Jun 2004
Location: United States
Posts: 24
Castle1 is on a distinguished road

Yes several cuts , then a finish cut.
Reply With Quote

Sponsored Links
  #6   Ban this user!
Old 11-18-2010, 12:45 AM
 
Join Date: Oct 2007
Location: Canada
Posts: 152
laszlozoltan is on a distinguished road

Sorry, but I have to say I was looking at a HAAS awhile ago, but I didn't know this that they would choose to reward their customers choice by charging them extra to enable such a measly little macro that would make their mill a bit more versatile. Booo on HAAS man, Boooo.
Reply With Quote

  #7   Ban this user!
Old 11-18-2010, 08:43 AM
 
Join Date: Jun 2010
Location: USA
Posts: 32
MILLMARK is on a distinguished road

You can turn the timed demo off after the program is written/loaded, and the machine will still run it. If you remember to turn it off every time, it'll last a long, long time.
Reply With Quote

  #8   Ban this user!
Old 11-18-2010, 09:09 AM
 
Join Date: Jul 2005
Location: Canada
Posts: 11,565
Geof will become famous soon enough

Here it is using a 3/4" mill (enter 0.75 in the tool diameter on the offsets page.)

I am using 1" square material

The work zero is placed at the corner of the material.

T1 M06 (3/4" MILL)
etc
etc
N1 G00 X0.4 Y0.4 Z0.0
N2 G91 G01 Z-0.1 F50. M97 P100 L10
N3 G90 G01 Z-1.05 F50. M97 P100 L2
N4 G90 G00 Z1.0
etc
etc
etc
G53 G00 Z0.0
M30
-------
N100 G90 G41 D01 G01 X0.0 Y0.0
N101 G02 R2.0 X-1.732 Y-1.0 F20.
N102 G40 G00 X-2.0 Y-1.4
N103 X0.4
N104 Y0.4
N105 M99

Line N1 moves to the start point.
N2 increments down Z-0.1 then goes to line N100
N100 moves to the corner and sets tool compensation, notice we are back in absolute (G90)
N101 does the radius
N102 cancels tool compensation and moves away
N103 moves to the X coordinate for the start point
N104 moves to the Y coordinate for the start
N105 returns to N2
N2 increments Z down again and goes to N100
When L has counted to zero N105 returns to N3
N3 moves the cutter just below the bottom of the part and goes to N100 twice for two finish passes
N4 moves Z clear


I think I have got it correct but I haven't checked this on a machine. You can run it in Graphics or do a dry run without any tools or material.


Laslo; There is another way to look at the way Haas prices their machines. If I don't want Macros, which I don't because I can't be bothered learning how to write them, I can save a couple of thousand dollars on the machine price and spend it on tooling. I have found because Haas has local subroutines that are tacked on the the end of the main program, can do subroutine calls with an L count and can nest subroutines many times deep I can do a lot of things that would need macros on a different machine.
__________________
An open mind is a virtue...so long as all the common sense has not leaked out.
Reply With Quote

  #9   Ban this user!
Old 11-18-2010, 05:06 PM
 
Join Date: Jun 2004
Location: United States
Posts: 24
Castle1 is on a distinguished road

Thanks Geof I'll try that out when I get back to work . I'm taking a week off so it will be awhile until I can try it.

Thanks for the tip MillMark, now are you saying that the Macro option can be off and it will still run? If so I can program off line with variables and it will load in and run too? With macro demo off that is.

Thanks again everyone!
Reply With Quote

  #10   Ban this user!
Old 11-19-2010, 08:21 AM
 
Join Date: Jun 2010
Location: USA
Posts: 32
MILLMARK is on a distinguished road

The demo must be on to load a program with macros, or to write any macros at the control, but once the program is in the machine you can turn the demo off, and the program will run. I realized this while using G47 text engraving, which is all macros, on a mill without the macro option
Reply With Quote

Sponsored Links
Reply

Tags
increment, z depth




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
Jog increment and continous/step rrrevels Machines running Mach Software 3 08-12-2009 08:09 PM
Need Help!- How do I increment step in one direction? gurvy Mach Software (ArtSoft software) 7 10-21-2008 05:48 AM
How to increment a parameter in G-code Involute Syil Products 3 09-22-2007 12:59 AM
Jog Increment gleas Larken 1 07-24-2007 12:07 AM
Increment the Z. civilseal Machines running Mach Software 6 03-06-2007 08:46 PM




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