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! > Machine Controllers Software and Solutions > Fanuc


Fanuc Discuss Fanuc controllers here!


This forum is sponsored by:

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Ban this user!
Old 11-29-2007, 09:53 AM
venomgrrrl's Avatar  
Join Date: Nov 2007
Location: canada
Age: 30
Posts: 50
venomgrrrl is on a distinguished road
Talking Setting Z axis with G92 work shift

Have my X, Y's s set...and all my tools measured...can anyone tell me how to set my Z axis (do i have to do so with every tool?)

I noticed in the programs in my m/c from previous owner all state a Z0.0 in there G92 line!

Im new to this old skool style of programming..any advice is welcome advice
Thanx

Last edited by venomgrrrl; 11-30-2007 at 03:59 PM.
Reply With Quote

  #2  
Old 11-29-2007, 12:47 PM
HuFlungDung's Avatar
Moderator
 
Join Date: Mar 2003
Location: Canada
Posts: 4,825
HuFlungDung is on a distinguished road

I sent you this as a PM, but I thought I might post it here, in case other users might have some additional insight

Obviously, this G92 system makes it awkward to reuse a set of tools on a new job where the top of the job zero is different. But its not impossible. All you need is to implement a system: beginning with the spindle up at home, set the tools to the top of a reasonably high guage, like a 6" or 8" gauge block sitting on the table. Pick a guage height that is typically higher than any part you are likely to fixture.

This will give you a set of raw length figures to put in your tool length offset table. This has nothing to do with workshift, BTW.

Now, to set the G92Z, you take any tool, touch it to the top of the part. Zero your operator axis display (if you can, this makes it easier to measure), and jog up to the top of the guage block. This should give you a positive Z value, which becomes your Z G92, so write it down.

Now, return the machine to home (spindle up) and modify the G92 Z that you will use in your program to the same value as you just measured.

In operation, with slow rapids first!! when you execute a tool length offset, you should see the toolpoint come down to the height of the guage block. The absolute display will not show any change, it will still be holding the G92 Z value, which if correctly measured and entered, will be the exact distance from the top of the job.

Your next programmed move can be your typical G00 Z1.0 which will bring the tool down to the rapid plane and you can then execute the program normally. Program with the top of the part as being Z0.

Let me know what you see in real life when you try this out. My experience was not with an old Fanuc, but with an old Bandit, but I'm reasonably sure that this phase of operation will be similar. It is possible, of course, that FANUC might invert a direction sign for offsets or something.
__________________
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 11-30-2007, 05:02 AM
 
Join Date: Mar 2006
Location: Australia
Posts: 163
Ozemale6t9 is on a distinguished road

The way I would do it, is set a tool to be used as a datum tool for every job (eg. tool 1). Set the tool offset for that tool to 0 (eg. offset 1), MDI G43 H1 (or whatever offset you chose) and then set the Z value of your work offset (eg. G54), using that datum tool, the same as for setting X&Y. I usually set the top of the job as Z zero. Also zero the Z value of your relative position display at this time. After this, you simply bring each of the other tools down to touch your Z datum position, read off the Z relative position, and enter that into the offset for that tool.

Then in your program, after you have done the tool change, you put a line such as:

G0 G43 Z100.0 H2 (calls offset #2 and rapids to 100mm above the job)

and the rest of your Z positions are simply negative values from the top of the job.
Reply With Quote

  #4   Ban this user!
Old 11-30-2007, 09:19 AM
venomgrrrl's Avatar  
Join Date: Nov 2007
Location: canada
Age: 30
Posts: 50
venomgrrrl is on a distinguished road

This would be typiucally what i would usally do BUT my m/c is not reading any G54's ect...I am currently trying Huflungs idea and cant wait to post what happens
Reply With Quote

  #5   Ban this user!
Old 11-30-2007, 09:39 AM
venomgrrrl's Avatar  
Join Date: Nov 2007
Location: canada
Age: 30
Posts: 50
venomgrrrl is on a distinguished road
Talking

Ok ... Using the "gauge block set-up" here is what I did:
I chose a Gauge that was 13" as the top of my piece is 8"
I home all axis
Touch top of my piece w T1, Zero on "relitave" screen
Jog to top of 13" gauge...readout is +5.794
I imput this into my G92 Z line (wich read out as 0)
When i ran it made no attemt to stop @ 1.5" abouve (wich is where it is prgmd to stop)
sO it prob would have tried to rapid thru piece LOL...it didnt though (quick like rabbit..I AM)
I tried using the Negitive version of this number, +Z O.T.

What i am to understand is that G92 is reading all co-ords from home post. So i am going to try (again) to get a readout from home and put this into program...pain in ass cuz if it works i will need to do for every tool...every time >.<

ps I freakin love this place!
Reply With Quote

Sponsored Links
  #6   Ban this user!
Old 11-30-2007, 10:31 AM
venomgrrrl's Avatar  
Join Date: Nov 2007
Location: canada
Age: 30
Posts: 50
venomgrrrl is on a distinguished road

OKiee- now what ive tried:

In Offsets pg there is a "00" this is my workshift offset (01=G54 02=G55ect)

I home my axis Z0, in relitive pg. I set Zero, jogged dwn to piece, got a readout of 11.394. I imput this into my 00 z (Z=11.394) My G92 line was still reading a Z0.

It stopped tool 6" above piece, rpd dwn 1.5" to end up at 4" above work (1.5" is my ref above piece.

I ran these steps again with a -11.394 and came up w exactly same results therefore the 00 workshift page does not register or i am not putting in right #

I tried imputing this value directly into the G92 line...as a positive value it would have rapid into piece, as a negitive it O.T. the Z+

So i am going to try now to deduct 6" of of my (Z home to piece value), imout into "00" shift pg. and see if that does not work. If this is the case i would have to deduct a variable # from every Z value.. should be interesting
Reply With Quote

  #7   Ban this user!
Old 11-30-2007, 11:09 AM
venomgrrrl's Avatar  
Join Date: Nov 2007
Location: canada
Age: 30
Posts: 50
venomgrrrl is on a distinguished road
Angry

And so on....
I have deducted the 6" from my Z value (in pure desperation...ill try anything)
In the workshift pg (00) i still end up 6" above piece, so this pg is usless,
Tried directly in prgm. as a positive value it would go thru piece, as negitive it O.T +Z.
*whew* this is getting trying
Reply With Quote

  #8   Ban this user!
Old 11-30-2007, 03:57 PM
venomgrrrl's Avatar  
Join Date: Nov 2007
Location: canada
Age: 30
Posts: 50
venomgrrrl is on a distinguished road
Talking

Problem resolved...
Huflundung is a genius...was exactly right in operation instructions, i just executed it poorly.
All my H (tooling) Had been put in program in accordance to block#'s ex N1=H1 even if it was tool 16 (N5 T18 would read H5) thus pulling offsets from wrong tools.
And so 1 more bug squashed...lol

Thanx for all the help everbody
__________________
The road to hell is paved with good intentions
Reply With Quote

  #9  
Old 12-01-2007, 11:37 PM
HuFlungDung's Avatar
Moderator
 
Join Date: Mar 2003
Location: Canada
Posts: 4,825
HuFlungDung is on a distinguished road



Glad to hear you got it.

Now be really careful (ie., paranoid) about returning the axis to home before the machine re-reads a programmed G92, and you will steer clear of most all of the bad luck associated with the dread G92. Did I say this before? It bears repeating
__________________
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

  #10   Ban this user!
Old 12-01-2007, 11:54 PM
 
Join Date: Jul 2005
Location: Canada
Posts: 11,563
Geof will become famous soon enough

I have followed this thread because G92 totally confuses me and I wanted to get hints. When I moved to CNC the way things worked out I started using Haas. And I am soooo glad....setting tool offsets means bringing the tool down to then part and pushing TOOL OFSET MESUR. That is within my limited capability.
__________________
An open mind is a virtue...so long as all the common sense has not leaked out.
Reply With Quote

Sponsored Links
  #11  
Old 12-02-2007, 09:09 AM
HuFlungDung's Avatar
Moderator
 
Join Date: Mar 2003
Location: Canada
Posts: 4,825
HuFlungDung is on a distinguished road

Geof,
As I became familiar with the use of G92 on old cnc's through trial and error, I think I came to better understand why G92 behaves as it does only after using a modern cnc.

I believe it is a matter of how many 'levels' of axis position registers the cnc can maintain. The old slow cnc's only had perhaps two such levels, the machine coordinate system and the tool length offset register for the Z axis, and the radius offsets for X and Y. The old Bandits did not even have a name for the machine coordinate system (G53) but it was still there

When the cnc was powered up, it knew nothing except to assume that all axis positions were all zero. In the most simplistic cnc, you could power up, jog around to find a part datum, then power down and reboot just to get the axis registers to show all zeroes again.

So the power of the G92 command was to eliminate the necessity to power off the cnc to reset the axis registers. However, its effects worked directly on the machine coordinate system registers, ie., you were altering the very lowest level of positional status that the computer had. This is why the G92 was clumsy and dangerous, because there was no way to call up an even lower level of position registers.....nothing 'keeping track' of where the coordinate system was shifting. Multiple G92 calls are like incremental positioning of the machine coordinate system!

So return to home commands were devised to serve as a sort of last resort to get the machine to run back to some physical switches, with known position assumed to be machine zero. At least with the return to home switch, the G92's would only have one such incremental effect of repositioning of the coordinate system, after which it would be checked by return to home where it was ready to reassign a new G92 for a move to a new datum.

So because the G92 fiddles with the machine coordinate system, this is why G92 affects all the work offsets by the same amount, at least this is how I interpret the info on operation of a couple of modern cnc's that I have run. I believe that the modern cnc maintains its G53 coordinate system unchanged at the lowest level, even if a G92 is called, because it is possible to recover position at any time with a G53 command. However, the legacy effects of G92 coordinate system shift are still with us, that danger is that the G92 command has such an immediate effect such that "right here right now, this is new absolute position of the machine" regardless of where it is and this poses the same danger as a loose cannon on deck
__________________
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

  #12   Ban this user!
Old 12-02-2007, 10:31 AM
 
Join Date: Jul 2005
Location: Canada
Posts: 11,563
Geof will become famous soon enough

Hu; Why did you not put this explanation up a couple of years ago? I had already worked out much of what you write but you filled in some holes. It is a legacy thing really and is redundant in a machine that can have a couple of hundred work zeroes and a similar number of tool offsets. Not to mention G52 which is I think safer to use than G92.
__________________
An open mind is a virtue...so long as all the common sense has not leaked out.
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
Setting Tool and Work Offsets Donkey Hotey Haas Lathes 30 08-31-2009 09:42 PM
Manual Setting of Work Zeros (0-M fanuc) venomgrrrl Fanuc 33 07-08-2009 12:43 AM
Automatic work shift on lathe, is it possible? DonutSlayer G-Code Programing 28 05-28-2007 11:48 AM
loosing z axis zero setting contractdesign Bridgeport and Hardinge Mills 6 09-02-2006 07:28 PM
Setting Work & Tool offsets Shizzlemah Fadal 7 04-16-2005 12:04 PM




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