cancel
Showing results for 
Search instead for 
Did you mean: 

special case with cutter compensation

Creator
Creator

hello dear colagues im trying to use the folowing combination in siemens NX for Z-level and Cavity mill2017-07-05_221531.png

 

and 

 

2017-07-05_221531.png

 

2017-07-05_221531.png

 

along with the folowing line for linear event move in postbuilder 

 

2017-07-05_221531.png

 

to generate a postprocesed toolpath 

that has the folowing structure for the above mentioned Z-level and Cavity Mill

 

note.these are only the first two lines of code where the problem apears the 

 

G0 X-81.818 Y-26.522 A0. C-5.
G43 Z37.666
Z17.168
G1 G41 D99 X25.428 Y21.232 F250
X-34.328 Y55.732
G40 X-81.818 Y-26.522
G0 Z16.67
G1 G41 X25.311 Y21.029
X-34.445 Y55.529
G40 X-81.818 Y-26.522
G0 Z16.172

 

on the first line i have G1 G41 D99

 AND ON THE SECONT THERE'S NO SUCH THING.Now i want to do this for lets say a cavity mill or Z-level profile that has 1000 lines of code or more.and on every line this G1 G41 D99 HAS TO BE PRESENT

 

IS THERE AN WAY TO ACHIEVE THIS.THANKS IN ADVANCE FOR ALL THE HELP

 

 

 

5 REPLIES

Re: special case with cutter compensation

Genius
Genius
If you define Cutter compensation in Non cutting moves than you should not define it with a User defined Event!
Dvalue is taken direct from the tool.

regards

Re: special case with cutter compensation

Genius
Genius
Anyway if you need G41 D99 in each line than set this 2 Addesses NON Modal in Postbuilde

Re: special case with cutter compensation

Creator
Creator

hello dear colague thanks in advance for the help turning bouth adreses to non modal does the trick i.ve got G41 D99 at every line.but since i'm using automatic cutter compensation in noncutting moves i only need G41 D99 at the begining of each linear move.Here's an example

 

G0 X-81.818 Y-26.522 A0. C-5.
G43 Z37.666
Z17.168
G1 G41 D99 X25.428 Y21.232 F250
X-34.328 Y55.732
G40  X-81.818 Y-26.522
G0 Z16.67
G1 G41 D99 X25.311 Y21.029
X-34.445 Y55.529
G40  X-81.818 Y-26.522
G0 Z16.172

 

i did the trick with adding D99 to the trailer of the cutter compenstaion it self but that does autput D99 to the cutter compensation cansel

 

2017-07-06_233346.png

 

the out put than is

G0 X-81.818 Y-26.522 A0. C-5.
G43 Z37.666
Z17.168
G1 G41 D99 X25.428 Y21.232 F250
X-34.328 Y55.732
G40 D99 X-81.818 Y-26.522
G0 Z16.67
G1 G41 D99 X25.311 Y21.029
X-34.445 Y55.529
G40 D99 X-81.818 Y-26.522
G0 Z16.172

 

as you can see i have G1 G41 D99 at the begining of each cuting pass

but i also have G40 D99 at the end where the cutter compensation is canseled.

 

im thinking about writing a TCL macro global cutcom_status to act as a find and replace

 

but im having trouble figuring out a simple algoritm for that kind of math Smiley Happy 

Re: special case with cutter compensation

PLM World Member Phenom PLM World Member Phenom
PLM World Member Phenom

 

Add a custom command to the Cutcom On event to force the D

 

 

 

 

 

 

 

 

 

 

 

John Joyce, Manufacturing Engineer,
Senior Aerospace Connecticut
www.senioraeroct.com
Production: NX11.0.2.7, Vericut 8.0.3
Development: Tcl/Tk

Re: special case with cutter compensation

Creator
Creator

thank you all for the help regarding my problem with postbuilder.fortunetly for me folowing tha default lochik behind the NX/ postbuilder i was able to solve the dilema.Here's the solution i found

 

i wanted the cutter compensation and the tool radius adjust register 

G1 D41 D99 X Y F

...........................

G40 X Y

 

i Took a look at the blok linear move event

 

2017-07-10_231254.png

 

and made a similar block at the program and toolpath tab under operation start sequence

 

here's where the logick behind postbuilder came in handy.Since postbuilder reads multiple lewel planar operations such as cavity mill z-level and planar mill pass by pass until it reaches the final depth set in the iperation itself.it reads engage linear move retract for as many as are the passes along the axsis of the tool for multiple level operations.

i made this block in the engage move

2017-07-10_231254.png

 

2017-07-10_231254.png

 

i made the cutter compensation optional since im using auto cutter compensation in the non cutting moves and i made the tool radius adjust register(cutter comp offcet) optional and to be forced output all together

 

and i had my luck

 

and for the folowing operation 

2017-07-10_232239.png

 

here's the NC output

 

G0 X-81.818 Y-26.522 A0. C-5.
G43 Z37.666
Z17.168
G1 G41 D99 X25.428 Y21.232 F250
X-34.328 Y55.732
G40 X-81.818 Y-26.522
G0 Z16.67
G1 G41 D99 X25.311 Y21.029
X-34.445 Y55.529
G40 X-81.818 Y-26.522

 

again thank you for the help.Im sure i'll have more question ti'll something intresting poups up

 

 

Learn online





Solution Information