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 01-08-2008, 11:38 AM
 
Join Date: Dec 2006
Location: USA
Age: 70
Posts: 416
Vern Smith is on a distinguished road
Changing tool diameter in the tool offset screen

I'm hoping someone can tell me when the Haas control accepts or uses a change to the tool diameter. I'm working on a vertical mill less than a year old. Yesterday I made the stupid mistake of changing a tool but forgetting to update the diameter in the offset page from zero. The software called for comp and the cutter did the predictable thing. I stopped the program, threw away the part, corrected the tool diameter and started again at the top of the program. To my surprise it did the same thing again. Just to be sure I checked the tool register to be sure the correct diameter was listed for the tool in the spindle and ran the program from the top leaving the ruined part in place. It still did not recognize the new diameter. I then called another program to active status, then called the first program to active status and ran it again. All was well.

I apologize if my terminology is not correct, I'm rather new to CNC. I looked through the manual and found lots of information on tool offsets and such but never could locate anything that described the situation I was in. There are a few guys on this site that know the Haas manuals like the back of their hands so I doubt if an explanation is far away.

Thanks for reading, Vern
Tweet this Post!Share on Facebook
Reply With Quote

  #2   Ban this user!
Old 01-08-2008, 11:48 AM
 
Join Date: Jul 2005
Location: Canada
Posts: 11,419
Geof will become famous soon enough

One way you can possibly get this is if you do not use M30 at the bottom of a program...I think... or if you stopped the program part way through. This could result in the older entry being the one that was still in some memory location.

Do you have a 'safety line' at the top of the program that includes a G40 to make sure tool comp is cancelled when a program starts?

See if you can repeat what happened. I have sometimes had inexplicable things occur and have not been able to repeat them. My conclusion is that gemlins exist .

EDIT: gremlins do exist, obviously and gemlins.
__________________
An open mind is a virtue...so long as all the common sense has not leaked out.
Tweet this Post!Share on Facebook
Reply With Quote

  #3   Ban this user!
Old 01-08-2008, 11:59 AM
djr76's Avatar  
Join Date: Nov 2007
Location: automation alley
Age: 35
Posts: 304
djr76 is on a distinguished road

I've never had a problem with just 'Reset'. I guess like Geof pointed out is using the G40 at the top of the program or you could just do it in MDI mode, then Reset/Edit/Mem/Curnt Comds/Cycle start.
Tweet this Post!Share on Facebook
Reply With Quote

  #4   Ban this user!
Old 01-08-2008, 12:47 PM
 
Join Date: Dec 2006
Location: USA
Age: 70
Posts: 416
Vern Smith is on a distinguished road

I'm glad to hear that an eminent authority like yourself also believes in Gremlins. They have been a constant companion of mine for 60 plus years. My CAM software always puts M30 at the end of a program but this brings up an interesting point, I did not let the program complete, rather I interrupted it when the control developed a mind of it's own and hit reset so the control never had a chance to see the M30. This was also the first time through for this program so I had used feed hold several times before coming to the comp problem. I do have G40 in my safety line.

Between the interruptions and resetting without the control seeing M30 you may have found the problem, excluding the most probable cause.....Gremlins

Vern
Tweet this Post!Share on Facebook
Reply With Quote

  #5   Ban this user!
Old 01-08-2008, 08:30 PM
Shotout's Avatar  
Join Date: Jun 2006
Location: USA
Age: 37
Posts: 443
Shotout is on a distinguished road

Originally Posted by Vern Smith View Post
I'm glad to hear that an eminent authority like yourself also believes in Gremlins. They have been a constant companion of mine for 60 plus years. My CAM software always puts M30 at the end of a program but this brings up an interesting point, I did not let the program complete, rather I interrupted it when the control developed a mind of it's own and hit reset so the control never had a chance to see the M30. This was also the first time through for this program so I had used feed hold several times before coming to the comp problem. I do have G40 in my safety line.

Between the interruptions and resetting without the control seeing M30 you may have found the problem, excluding the most probable cause.....Gremlins

Vern
Did you do a program restart from a specific line number after changing the value? If so this might be pertinent; we where told in school that a program restart would use the last values picked up from the offset registries. It is suppose to be part of the restart routine that unless processing an M30 or starting at the beginning of the program where the controller has to actually process the proceeding lines of code, I assume making a call to the memory address where they are stored, it just performs a true not true check on them and that this could happen.
__________________
Suppose you were an idiot and suppose you were a member of Congress. But I repeat myself.
Mark Twain
Tweet this Post!Share on Facebook
Reply With Quote

Sponsored Links
  #6   Ban this user!
Old 01-08-2008, 09:09 PM
gar gar is offline
 
Join Date: Mar 2005
Location: USA
Posts: 1,498
gar is on a distinguished road

080108-2045 EST USA

I use a tool change routine that dynamically changes the tool diameter throughout the program. Never a problem.

Following is a portion of a program:

Code:
%
O6901
(Beta TOOL CHANGE macro subroutine 981212-1750)
     G10  G90  L12        P#7       R#18
     G80       M09
     G90       M06  T#20
     G#8       M08
     S#19      M03
     G43            H#20  D#7
  M99


O3002
(D_36_TML.CNC     Date-time created  12-15-1998   21:11:44)
(Beta prog 981205-1357  )


(**** TOOL Change to Center Drill  **** --->1    IDD13C    HAAS TL #    1  )

G65  P6901    E54   R 0.500   S 5000  T01  D01

G99 G81    F  10.0000	R   0.1000			Z  -0.0700	L0	X   2.4000	Y  -2.0000
M97    P  11
G80


(**** TOOL Change to Drill         **** --->2    IDD13D    HAAS TL #    5  )

G65  P6901    E54   R 0.250   S 4500  T05  D05

G99 G83    F  25.0000	R   0.1000	Q   0.3500	Z  -1.1000	L0	X   2.4000	Y  -2.0000
M97    P  11
G80


(**** TOOL Change to Mill Cir Rfgh Pocket **** -->3    IDM20R    HAAS TL #    8  )
(**** Tool dia is modified to get rough offset -->3    IDM20R    HAAS TL #    8  )

G65  P6901    E54   R 0.505   S 7500  T08  D08

G90       G0	X   2.4000	Y  -2.0000
							Z   0.1000
	F 20.0  
G13	K   1.6410	Q   0.3787	I   0.2535	Z  -0.3500
G13	K   1.6410	Q   0.3787	I   0.2535	Z  -0.7000
G13	K   1.6410	Q   0.3787	I   0.2535	Z  -1.0500


(**** TOOL Change to Mill Cir Fin  Circum  **** -->4    IDM20F    HAAS TL #    8  )

G65  P6901    E54   R 0.499   S 7500  T08  D08

G90       G0	X   2.4000	Y  -2.0000
							Z   0.1000
	F 20.0  
G13	I   1.6410       				Z  -0.5250
G13	I   1.6410       				Z  -1.0500


(**** TOOL Change to Mill Cir Rfgh Circum **** -->5    IDM21R    HAAS TL #    8  )
(**** Tool dia is modified to get rough offset -->5    IDM21R    HAAS TL #    8  )

G65  P6901    E54   R 0.505   S 7500  T08  D08

G90       G0	X   2.4000	Y  -2.0000
							Z   0.1000
	F 20.0  
G13	I   1.7410       				Z  -0.2235
G13	I   1.7410       				Z  -0.4470
.
Tweet this Post!Share on Facebook
Reply With Quote

  #7   Ban this user!
Old 01-09-2008, 11:18 AM
 
Join Date: Dec 2006
Location: USA
Age: 70
Posts: 416
Vern Smith is on a distinguished road

Gar,

That's very interesting. My machine currently does not have macro's enabled but will in a week or so. I'm assuming the R value is the tool diameter. If I understand your system you use the program or your CAD system to enter all the tool offsets for a particular program rather than doing it at the Haas control.

I will be installing the Renishaw probe system shortly which includes macros. Can the macro's used by the probing system be employed to handle the tool off sets as part of their tool set up templates?

Shotout,

I did not restart the program from any line number except #1.

Vern
Tweet this Post!Share on Facebook
Reply With Quote

  #8   Ban this user!
Old 01-09-2008, 11:48 AM
 
Join Date: Jul 2005
Location: Canada
Posts: 11,419
Geof will become famous soon enough

It is not necessary to have macros enabled to do dynamic tool diameter changes, just use the G10 command.

G10 L12 G90 P1 R.5 sets the tool diameter entry for tool 1 at 0.5 so you can sprinkle these commands anyplace in the program.

Put in a G91 and you can increment the diameter up or down.

But my advice is don't do it this way. Should you want to change the program entries you need to find all the G10 lines and change them. This is not too difficult use the Find function in the editor but it is quicker to group all the various tool diameters in one location under different tool numbers. Haas machines have the capacity for several hundred tool diameters but rarely will you ever have more than 10, 20 or 25 tools actually in the machine depending on your toolchanger style.

As an example to use different diameters for tool 1 on a MiniMill with a ten position changer I use P1, P11, P21, P31, etc., in the G10 lines and have these all clustered right at the beginning of the program. In the program use D01, D11, D21, D31, etc.

Sometimes the diameters are the same because I am using the same tool to do different critical dimensions and I just want to be able to adjust the wear entry in a different direction; for instance if the tools is used for both an ID and an OD finish.

Sometimes the diameters are different when I am using a tool to take off a lot of material on a profile or are using a small tool for a large interpolated hole. This way I have have the profile coordinates or the hole interpolation in a subroutine and set tool comp before going to the sub. For instance if you use a P11 R1.0 for a 1/2" tool that will interpolate hole that is 1.875" ID you can write a very simple interpolation routine that uses the 0.9375 radius in the subroutine; then do G41 D11 and go the sub. The tool only moves out 0.4375, because it is using a radius value of 0.5 from the D11, and interpolates a starter hole. Cancel tool comp and return then use G41 D01 and go back to the same sub and finish the hole to size.

A similar sequence is used for profiles with the only thing to watch being concave sections. The largest 'false' D value has to be smaller than twice the radius of the smallest concave radius otherwise you get a tool to big alarm. When I have small concave radii in the profile I will have two subs, easy to do with copy/paste and for the subs called with a 'large' tool I take out the small concave radii.
__________________
An open mind is a virtue...so long as all the common sense has not leaked out.
Tweet this Post!Share on Facebook
Reply With Quote

  #9   Ban this user!
Old 01-09-2008, 12:56 PM
 
Join Date: Dec 2006
Location: USA
Age: 70
Posts: 416
Vern Smith is on a distinguished road

Goef,

Thanks for the detailed explanation and suggestions, give me a week or so to try to figure it out and I'll come back with some intelligent questions, maybe.

Vern
Tweet this Post!Share on Facebook
Reply With Quote

  #10   Ban this user!
Old 01-09-2008, 09:12 PM
gar gar is offline
 
Join Date: Mar 2005
Location: USA
Posts: 1,498
gar is on a distinguished road

080109-2059 EST USA

Vern:

Tool diameter/radius offsests are located at #2401-#2499 per one of my manuals.
Tool/diameter/radius wear are located at #2601-#2699.

These can be changed manually thru the table prior to execution of the program, or from within one or more programs, and the variable locations retain their last loaded value until next changed by any of the said means.

From within the program you can use the G10 command with or without macro capability to make changes from any place in the program prior to when you want to use that value. If you have macro capability you can use the assignment operation #24xx = 0.50 to load 0.5 into whatever address you need loaded. D01 is probably #2401.

Whether you set your values manually, at the beginning of the program, or distributerd thru the program is dependent upon your programming philosophy.

.
Tweet this Post!Share on Facebook
Reply With Quote

Sponsored Links
  #11   Ban this user!
Old 01-09-2008, 11:58 PM
 
Join Date: Jan 2008
Location: USA
Posts: 85
dapoling is on a distinguished road

Originally Posted by Vern Smith View Post
I'm hoping someone can tell me when the Haas control accepts or uses a change to the tool diameter. I'm working on a vertical mill less than a year old. Yesterday I made the stupid mistake of changing a tool but forgetting to update the diameter in the offset page from zero. The software called for comp and the cutter did the predictable thing. I stopped the program, threw away the part, corrected the tool diameter and started again at the top of the program. To my surprise it did the same thing again. Just to be sure I checked the tool register to be sure the correct diameter was listed for the tool in the spindle and ran the program from the top leaving the ruined part in place. It still did not recognize the new diameter. I then called another program to active status, then called the first program to active status and ran it again. All was well.

I apologize if my terminology is not correct, I'm rather new to CNC. I looked through the manual and found lots of information on tool offsets and such but never could locate anything that described the situation I was in. There are a few guys on this site that know the Haas manuals like the back of their hands so I doubt if an explanation is far away.

Thanks for reading, Vern
Vern if you could post your code where this happen it maybe helpful as some program their tool prep and paths a little different then others.

When you stopped the cycle of from running did you hit reset.
When starting the tool cutting again did you start it from the very begining or at least calling up the tool change portion of your code.

When reading M6T1 this will also set your H and D active at this point. Some machine you can go right into a G41 with out calling up your D value as it is already active.

Dave
Tweet this Post!Share on Facebook
Reply With Quote

  #12   Ban this user!
Old 01-10-2008, 09:48 AM
 
Join Date: Jul 2005
Location: Canada
Posts: 11,419
Geof will become famous soon enough

Originally Posted by dapoling View Post
.....When reading M6T1 this will also set your H and D active at this point. Some machine you can go right into a G41 with out calling up your D value as it is already active.

Dave
Sorry, not on a Haas it will not. T1 M06 just commands a tool change to tool 1, following this you need G43 H01 to set length compensation and then G41 (or 42) D01 for diameter compensation.

When Setting 15 H & T Code Agreement is turned ON the machine checks that the H number matches the tool number so you have to use H01 for Tool 1, H02 for Tool 2, etc. For the diameter offset D you can use any number and the machine will not do a check; so it is up to the programmer to make sure the correct D value is being called for a tool.

Things are different on lathes which do make all the offset values active at a tool change so you do not need to call them later.
__________________
An open mind is a virtue...so long as all the common sense has not leaked out.
Tweet this Post!Share on Facebook
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
6M quit tool changing Drew Fanuc 0 01-23-2007 01:32 PM
Tool offset ... patrickb Fanuc 13 08-21-2006 11:53 AM
Tool changing G30.1 ben92 G-Code Programing 0 11-17-2005 02:57 AM
' 04 VF 4 Rough Tool changing ap-machine Haas Mills 16 09-26-2005 08:56 AM
Any Info On Tool Diameter Compensation? FLUTE HEAD TurboCNC 13 10-26-2004 06:02 PM




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