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 04-22-2008, 01:20 PM
glovebox20's Avatar  
Join Date: Jul 2007
Location: US
Posts: 233
glovebox20 is on a distinguished road
what is the G52 function

Hello.

I'm retivaly new to the HAAS controls (VF-2) and was wondering what the G52 offset is used for. Is it another work offset or is it a shift offset like a Fanuc (work offset #00). I just like the Fanuc controls (OM,16M) how they have the shift offset and would like to know if HAAS has something like this.

thanks

glovebox20
Reply With Quote

  #2   Ban this user!
Old 04-22-2008, 02:36 PM
 
Join Date: Oct 2007
Location: USA
Age: 43
Posts: 142
orizaba is on a distinguished road

G 52 resets the the part zero, I think. If wrong somebody let me know.
Reply With Quote

  #3   Ban this user!
Old 04-22-2008, 02:42 PM
 
Join Date: Oct 2007
Location: USA
Age: 43
Posts: 142
orizaba is on a distinguished road

I found this, hope it helps
http://www.mmsonline.com/articles/0100cnc.html
Reply With Quote

  #4   Ban this user!
Old 04-22-2008, 02:49 PM
gar gar is offline
 
Join Date: Mar 2005
Location: USA
Posts: 1,498
gar is on a distinguished road

080422-1442 EST USA

glovebox20:

In HAAS or Fanuc mode this is a very useful function.

There are memory registers for each axis for G52, G54 .....

The contents of G52 are added to the current active G5x to define the work zero coordinates. In HAAS mode the contents of G52 remain unchanged until explicitly changed, even thru power down and up. There are a number of conditions in Fanuc mode where automatic reset of G52 occurs.

.
Reply With Quote

  #5   Ban this user!
Old 04-23-2008, 08:25 AM
 
Join Date: May 2007
Location: US
Posts: 779
Andre' B is on a distinguished road

I know it as the local work offset and use it to temporarily reset the work zero.
Very useful when used in subs as it can almost completely eliminate the need for incremental programming.

Edit: Add example sub.

Code:
O1004(EM-DO-STUFF-PROGRAM )
#1=#5001(SAVE X POSITION)
#2=#5002(SAVE Y POSITION)
#3=#5003(SAVE Z POSITION)
G52X#1Y#2(SET LOCAL COORDINATE)

(DO STUFF)

G0X0.000Y0.000
G52X0Y0
M99
Reply With Quote

Sponsored Links
  #6   Ban this user!
Old 04-23-2008, 09:07 AM
 
Join Date: Oct 2007
Location: USA
Age: 43
Posts: 142
orizaba is on a distinguished road

Is there a "conversational" equivlent. I would like to find a way to put a second vice on the the mill. I'm using Bobcad V22
Reply With Quote

  #7   Ban this user!
Old 04-23-2008, 09:30 AM
 
Join Date: Jul 2005
Location: Canada
Posts: 11,565
Geof will become famous soon enough

Originally Posted by orizaba View Post
G 52 resets the the part zero, I think. If wrong somebody let me know.
It does not reset it but adds to it.

For example you could have the G54 work zero set at X-8. Y-6. Z0.

Program:

G54 G00 X0. Y0. Z0.

And the machine moves to -8. on the X axis, -6. on the Y axis and stays at Z zero.

Now program:

G54 G52 X2. Y4. Z-8.
G00 X0. Y0. Z0.

And the machine will move to -6. on X, -2. on Y and -8. on Z.

As GAR says the machine adds the G52 values to any other work coordinate values.

You use G52 X0. Y0. Z0. to set the G52 values back to zero.

Very usefule for subroutines and fixtures holding multiple parts. A reference point on the fixture is located at G54 and all the parts have G52 coordinates calibrated from there.

Not really needed if all you have is two vises; just make one vise G54 and the other vise G55.
__________________
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 04-23-2008, 10:21 AM
gar gar is offline
 
Join Date: Mar 2005
Location: USA
Posts: 1,498
gar is on a distinguished road

080423-1014 EST USA

When I use the term G52 is added to G5x it does not mean that G5x is modified.

What it means is that internally there is some set of computer registers that represent where the current tool position is supposed to be and there are various components that are added into these registers to define that location. These components always include G52 and the current G5x as well as other components.

So even if you never put a non-zero value in G52 the content of G52 is combined with G5x.

.
Reply With Quote

  #9   Ban this user!
Old 04-23-2008, 12:21 PM
glovebox20's Avatar  
Join Date: Jul 2007
Location: US
Posts: 233
glovebox20 is on a distinguished road

Thanks for the help guys. That clears thing up for me.

glovebox20
Reply With Quote

  #10   Ban this user!
Old 04-23-2008, 12:30 PM
 
Join Date: Oct 2007
Location: USA
Age: 43
Posts: 142
orizaba is on a distinguished road

Originally Posted by Geof View Post
It does not reset it but adds to it.

For example you could have the G54 work zero set at X-8. Y-6. Z0.

Program:

G54 G00 X0. Y0. Z0.

And the machine moves to -8. on the X axis, -6. on the Y axis and stays at Z zero.

Now program:

G54 G52 X2. Y4. Z-8.
G00 X0. Y0. Z0.

And the machine will move to -6. on X, -2. on Y and -8. on Z.

As GAR says the machine adds the G52 values to any other work coordinate values.

You use G52 X0. Y0. Z0. to set the G52 values back to zero.

Very usefule for subroutines and fixtures holding multiple parts. A reference point on the fixture is located at G54 and all the parts have G52 coordinates calibrated from there.

Not really needed if all you have is two vises; just make one vise G54 and the other vise G55.
Does conversational code have this ability?
Reply With Quote

Sponsored Links
  #11   Ban this user!
Old 04-23-2008, 10:37 PM
 
Join Date: Sep 2006
Location: USA
Posts: 56
pdoherty is on a distinguished road

Andre' B wrote:

"I know it as the local work offset and use it to temporarily reset the work zero."

Nice! Thanks for sharing this. Very powerful.
Reply With Quote

  #12   Ban this user!
Old 04-23-2008, 11:29 PM
CNCRim's Avatar  
Join Date: Feb 2006
Location: usa
Posts: 947
CNCRim is on a distinguished road

Originally Posted by orizaba View Post
Does conversational code have this ability?
From what I know "no". It need all the infomation then spit out the long XY coord.....
__________________
The best way to learn is trial error.
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
2nd home function 1ctoolfool Haas Mills 5 10-01-2007 11:40 PM
Mirror function SWPM Surfcam 1 08-17-2007 04:04 PM
Chiron M66 function Help!!! paulu5 Fanuc 0 05-31-2006 03:48 PM
Search Function Chunky Forum Questions or Problems 1 07-26-2005 03:29 PM
Using the difference function ? Ken_Shea OneCNC 20 09-21-2003 06:11 AM




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