cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Showing results for 
Search instead for 
Did you mean: 

Community Tip - Your Friends List is a way to easily have access to the community members that you interact with the most! X

Indexed machining, how?

JavierGarcia
6-Contributor

Indexed machining, how?

Hello, i would like to know which CAM-technique are people using for indexing machining (3+2). I want to get machining code, where the output coordinates are related to different CSYS, not to a unique CSYS.


See attached image. It shows a simple part with holes in two different planes with 2 CSYS (X,Y,Z and X1,Y1,Z1). Sometimes happens that CAM generated programs must be modified by the machine operator. For example, you need to change drilling coordinates.

The code we want is something like this:


...

(CSYS XYZ)

...

DRILLING CYCLE

X12.5 Y25

X12.5 Y50

...

...

(CSYS X1Y1Z1)

...

DRILLING CYCLE

X15 Y15

X55

Y40

X15

...


Imagine the operator needs to change drilling coordinates of the inclined plane (from X15 Y15 to X16 Y16). It would be difficult to change if all coordinates are from a single CSYS (XYZ). What would be the appropriate way of working with Creo/NC:


- Should I create different operations for each setup (plane) or

- Should I create different sequences setting local CSYS for that sequence


Is this a task for the postprocessor?

How are you doing this?


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.
1 ACCEPTED SOLUTION

Accepted Solutions

Hello Javier

For his job, you need to create several Csys for each plane in the same operation.

Then, in each sequence, you need to pick the correct Csys and set the parameter:

COORDINATE_OUTPUT SEQUENCE_CSYS.

This will ouput the motions in your Csys offset.

This offset appears in the TRANS function in the ncl file

LOADTL / 1017, LENGTH, 80.00000

$$-> CUTTER / 6.000000

SET / OFSETL, 55

$$-> TRANS / 0.0000000000, 16.5000000000, 0.0000000000

$$-> CSYS / 0.0000000000, 1.0000000000, 0.0000000000, 0.0000000000, $

-0.5000000000, 0.0000000000, 0.8660254038, 0.0000000000, $

0.8660254038, 0.0000000000, 0.5000000000

In the post, it will depend the way the operator will work in the machine.

- if he wants to set all the Csys manually in the Workoffset (i.e. G54...G59) then you will not have a lot of work to do in the post. You can use the parameter FIX_OFFSET_REG to set the correct workoffset register. It will ouput a SET/OFFSET,.. function in the ncl file and normally a G54..G59 code in the tape file.

- if he wants to see the offset in the tape file (i.e. G52X Y Z for fanuc), then the post needs to handle the TRANS/ function in the ncl file to output the correct offset value in the tape file

Hope this helps you

Olivier

View solution in original post

3 REPLIES 3

Hello Javier

For his job, you need to create several Csys for each plane in the same operation.

Then, in each sequence, you need to pick the correct Csys and set the parameter:

COORDINATE_OUTPUT SEQUENCE_CSYS.

This will ouput the motions in your Csys offset.

This offset appears in the TRANS function in the ncl file

LOADTL / 1017, LENGTH, 80.00000

$$-> CUTTER / 6.000000

SET / OFSETL, 55

$$-> TRANS / 0.0000000000, 16.5000000000, 0.0000000000

$$-> CSYS / 0.0000000000, 1.0000000000, 0.0000000000, 0.0000000000, $

-0.5000000000, 0.0000000000, 0.8660254038, 0.0000000000, $

0.8660254038, 0.0000000000, 0.5000000000

In the post, it will depend the way the operator will work in the machine.

- if he wants to set all the Csys manually in the Workoffset (i.e. G54...G59) then you will not have a lot of work to do in the post. You can use the parameter FIX_OFFSET_REG to set the correct workoffset register. It will ouput a SET/OFFSET,.. function in the ncl file and normally a G54..G59 code in the tape file.

- if he wants to see the offset in the tape file (i.e. G52X Y Z for fanuc), then the post needs to handle the TRANS/ function in the ncl file to output the correct offset value in the tape file

Hope this helps you

Olivier

Hi Olivier, i tried some of the settings you are talking about but I need some work on the post.

Thank you!

Hello Olivier.

Finally we got the post work the way we wanted and the code is almost perfect, there are just some little details to sort out.

Many thanks for your tips.

Javier

Top Tags