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! > WoodWorking Machines > CNC Machining Centers


CNC Machining Centers Discuss wood cutting CNC machining centers, and Point-to-Point machines here.


This forum is sponsored by:

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Ban this user!
Old 09-27-2007, 05:19 AM
jorgehrr's Avatar  
Join Date: May 2006
Location: USA
Posts: 203
jorgehrr is on a distinguished road
Unhappy G92 And G54...G59

Hi, please help me to understand -

I'm trying to understand programs in machines centers. (I work with lathes)

What is the difference, relation between G92(selection of coordinate system)
and G54...G59. Aren't they the same (distance from machine zero and part zero) Do I need a G92 every time I programmed a G54...G59???

Also, I see the H (high) offset in some machines is positive and in others is negative.

And finally what are the G codes they need to be in a safety block.

Thank you in advance

Jorge
Reply With Quote

  #2  
Old 09-27-2007, 09:05 AM
HuFlungDung's Avatar
Moderator
 
Join Date: Mar 2003
Location: Canada
Posts: 4,825
HuFlungDung is on a distinguished road

When your machine boots up and homes itself, it establishes the machine coordinate system, and the origin of that coordinate system is typically set by parameter. The machine coordinate system is called G53 and it is the 'real coordinate system' upon which all the work shifts are based. The work shifts are your G54 to G59 and the coordinates associated with the work shifts are simple distances from the machine zero of the G53 machine coordinate system. You can always cancel a workshift by calling another workshift or making a move to a position in the machine coordinate system directly by calling a G00 G53 X.xxxx Z.zzzz

G92 has a lot more power than a workshift. It applies new values to the machine coordinate system axis, essentially moving the G53 origin somewhere else (this is a simplification, not exact but close enough to serve as a warning).

Thus, using a G92 supercedes all workshifts and will move them all, because the G92 represents new values assigned overtop the G53. Think of it as similar to reprogramming the axis displays to show values of your choice. Although in the background, the machine may maintain its own secret set of registers for the current position, what you see displayed will be fictitious axis values, but real enough to affect every program you run.

You cannot cancel a G92 because it is not a workshift. Rather, it was a renaming of the G53 axis positions, so to cancel the effect of calling a G92,you must return to a known position in the machine coordinate system, and then rename the axis back to what they 'should be'.

The danger of the G92 is that it is an immediate transposition of the coordinate system, and cannot be undone, and if a mid program restart is attempted with the machine out of position, and the control reads the G92 again, it will royally screw your tool positions from that point forth, because the G92 is applied always to the current position of the machine.

In lathe, you can and should return to home always, if you call a new G92 for each tool. Never restart the program from the current position after an abort. Staying with workshifts is the recommended safe way to operate nowadays. However, if you have to run an older control that has no workshift capability, then the above mentioned methods should keep you fairly safe.
__________________
First you get good, then you get fast. Then grouchiness sets in.

(Note: The opinions expressed in this post are my own and are not necessarily those of CNCzone and its management)
Reply With Quote

  #3   Ban this user!
Old 09-27-2007, 09:38 AM
 
Join Date: May 2006
Location: USA
Posts: 2
dlbnh is on a distinguished road

Long and short of it is as follows: I'll use Fanuc as a reference here.
G54 - G59 are "work coordinates", commonly the values are taken from machine home or machine coordinate (G52) and used to refererence a part zero or shifts for subs or whole programs. In the case of a lathe, your "X" is commonly spindle center. "Z" anywhere.
G92 is an "incremental" shift in work coordinate, in that it will describe a new point of departure. For instance, you have G54 active and want to move your stock out from the spindle an nose extra 3" to try something like 3 parts in a row before stock feed without losing the initial G54 value.
Physically Go to "Z" +3.0" farter from the spindle with your "zero tool" and MDI or in the body of the program, call G92 Z0.0 -Done-
"Beware" if you call (machine reads)G54 - G59,G52,G53 etc. it will revert to that WCO so make sure there is only one work corodinate offset called before G92 is used and none after it. Get the drift?
Crash city if you make mistakes.
Reply With Quote

  #4   Ban this user!
Old 09-27-2007, 10:37 AM
 
Join Date: Jul 2007
Location: USA
Posts: 195
JROM is on a distinguished road

I never use G92.
G54 thru G59 are what I call fixture offsets, like if you have 3 or four vises on the table and want to jump around for different jobs. When the control sees a M30 at the end of the program it rewinds the program and resets all the default settings. Most of the time this resets the fixture offset to G54. So what I do is put the fixture offset (G54-G59) at the top of every tool path.
Then if I want to do a restart at a certain tool in the middle of the program I know the proper fixture offset is being used.
__________________
Be carefull what you wish for, you might get it.
Reply With Quote

  #5   Ban this user!
Old 09-27-2007, 06:16 PM
jorgehrr's Avatar  
Join Date: May 2006
Location: USA
Posts: 203
jorgehrr is on a distinguished road
Smile

Well....I wish I could say that I got it... but I think I will understand better when I do my first set up.

The fact that G92 does not need to be used like JROM mentions, confuse even more. It has to be an advantage or disadvantage when this code is in use and I hope I can figure out tomorrow when I run my program. ( just a couple of holes and a tap to start)

Thank you all for sharing your time.


Jorge
Reply With Quote

Sponsored Links
  #6   Ban this user!
Old 09-29-2007, 08:25 PM
cnc-king's Avatar  
Join Date: Jul 2003
Location: united states
Posts: 232
cnc-king is on a distinguished road

Originally Posted by JROM View Post
I never use G92.
G54 thru G59 are what I call fixture offsets, like if you have 3 or four vises on the table and want to jump around for different jobs. When the control sees a M30 at the end of the program it rewinds the program and resets all the default settings. Most of the time this resets the fixture offset to G54. So what I do is put the fixture offset (G54-G59) at the top of every tool path.
Then if I want to do a restart at a certain tool in the middle of the program I know the proper fixture offset is being used.
i have to agree with you G92 is bad news because it resets the machine position and 90% of the time a program reset and rewind will not reset it. I always use G10 to set my work offsets
__________________
If you can ENVISION it I can make it
Reply With Quote

  #7   Ban this user!
Old 10-01-2007, 04:28 AM
jorgehrr's Avatar  
Join Date: May 2006
Location: USA
Posts: 203
jorgehrr is on a distinguished road
Thumbs up

Thank you all for taking some of your time and share your knowledge.
I really appreciated it.

I'm getting there... If it wasn't for the operator that push the "clear" key and wipe out all my offsets.

Is going to be fun setting all the stuff back. I guess is a good learning curve.

Thanks again

Jorge
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





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