We are getting some machines, Mazak Integrex E-1850V 5 axis vertical mill/turn, where the programmers want to use a G68. They want to do this when positioning somewhere in a 5 axis world and the tool is not sitting at B0 (that is the tool is perpendicular to the table), but only do simple 3 axis sequences, drilling, facing, etc. and use cycle statements.
The problem comes when we have multiple holes around a cylindrical part that would be ideal to use either a pattern or a subroutine. We first create a 3 axis sequence using a sequence coordinate system located at the start of the hole for the output. The only way we were able to do this G68 in the post processor was to insert a word to turn G68 on, then look for the $$TRANS and $$CSYS statements in the ncl file. This would give the translation from machine zero to the sequence coordinate system (G68 origin).
We have tried patterns and subroutines with no success. Patterning works for the first pattern, not for following patterns, the G68XYZ's get messed up. Similar problem with subroutines. The problem appears to be that the TRANS statements start moving around when multiple sequences are output. I would really like avoid doing all this in customize.
Is anyone doing G68's with patterns/subroutines in Pro/NC, if so, how are you doing it?? Are you having to insert a lot of stuff. Should we not be using G68 along with cycle statements, should we be trying to use GOTO movement instead??
This thread is inactive and closed by the PTC Community Management Team. If you would like to provide a reply and re-open this thread, please notify the moderator and reference the thread. You may also use "Start a topic" button to ask a new question. Please be sure to include what version of the PTC product you are using so another community member knowledgeable about your version may be able to assist.