Hey, i used a code a few years back when i was learning that set the z workshift in programme.
can anyone remind me of the code to use.
Fanuc system.
Thanks.
Lee
Hey, i used a code a few years back when i was learning that set the z workshift in programme.
can anyone remind me of the code to use.
Fanuc system.
Thanks.
Lee
Hi,
Don't know if you are refering to a Machining Centre, but if you are: -
Work Offsets are called using G54-59 or G54.1 P_ on newer Fanuc.
If you are refering to offsetting the Z in relation to compensating for current Tool Length use G43 H_ (Tool Length Offset No.)
G52 Z_ will offset the current work offset also - but you must reset this back to zero in pgm I believe.
These codes are probably the same for lathes, not sure.
DP
yes, im working on a lathe, i just need to set the current position of the tool as Z0.0.
i dont recognise those methords for what i did before.
thanks for the input though.
Hi,
You should be able to touch on a face with a tool and input that position into your work offset table, either with some kind of 'measure' key or look at the current 'machine' co-ordinate and input that figure into your work offset table.
Note that your tool length will need to be set correctly first (or you may have a 'zero length' tool you use for setting Z. Your program must call the correct work offset (G54-59 I presume).
DP
Summer,
What kind of Fanuc control are you using? This will dictate what you were probably doing in the past. If you were on the older controls that did not have G54-G59 workcoordinates then you could have been using a "workshift" or G50 setting. If you are on the later controls you could have been using the G10 function.
Are you using tool offsets as well?
Stevo
It can be done in Macro B.
Were there any # (hash) symbols do you remember?
The Fanuc Support Center Team
www.fanuc-support.com
im not sure exactly what controls i was using. i set a work position on a work offset position.
ita just a code in the programme that changes the z in the work offset.
it was a simple G or M code followed by Z*.*
*.* being the new Z position you wish to change it to.
thanks again for your input.
g92 z0
is G92 not a threading cycle?
G92 on a mill is for coordinate offsets -- lathe its threading
http://www.cncezpro.com/gcodes.cfm