cancel
Showing results for 
Search instead for 
Did you mean: 

Cutter comp in PB

Genius
Genius

I need to tweak little bit post output for turning operation. Cutter comp in the non-cutting moves is on , no UDE.Her's the code:

 

N140 M0
N145 S2000 M03
N150 X2.48 Z2.899
N155 G42
N160 G01 X4.8 Z5.3 F.1 M08

 

 

I would like to  have this

 

N140 M0
N145 S2000 M03
N150 G42 G00 X2.48 Z2.899
N155 G01 X4.8 Z5.3 F.1 M08

 

NX9

9 REPLIES

Re: Cutter comp in PB

Phenom
Phenom

first you have to realise that output of G41/42 is linked to the event in nx.

Snímka.JPG

 

 

You want to output G41/42 where the event doesnt exist.

I think you shouldnt think about some workaround in PB.

It doesnt represents the real position of the tool. Be careful.

---------------------------------------------
#♫ PB, 5ax, itnc, nx, vericut ♫ #

Re: Cutter comp in PB

Genius
Genius

This part of the code

 

N140 M0
N145 S2000 M03
N150 X2.48 Z2.899

 

is related to local return in non cutting moves,where  I added M0.

In Stop marker  PB

 

M0

S M

G0 X Z

 

blocks are added.If I force G0 X Z ,I have this

 

N150 X2.48 Z2.899

N155 G00 X2.48 Z2.899

 

In local return i would like to have G00 and G42.

Re: Cutter comp in PB

Phenom
Phenom

try to force G_cutcom,

or save recent cutcom status variable then set it and force G_cutcom

maybe in your new UDE for handling this

 

 

---------------------------------------------
#♫ PB, 5ax, itnc, nx, vericut ♫ #

Re: Cutter comp in PB

PLM World Member Phenom PLM World Member Phenom
PLM World Member Phenom
Most machines do not like G0 and G41, G42, G40 Will this work at the machine? Typically these are on a G1 motion. I f this works then in PB you may be able to add the G41/42 to the rapid motion
John Joyce, Manufacturing Engineer,
Senior Aerospace Connecticut
www.senioraeroct.com
Production: NX11.0.2.7, Vericut 8.0.3
Development: Tcl/Tk

Re: Cutter comp in PB

Esteemed Contributor
Esteemed Contributor

If it comes out on a separate line, then (in PB) Program & tool path -> Program -> machine control -> cutcom events (off and on) delete the "G_cutcom" word.

Then make sure the G_cutcom word is added to linear move (and if it supports it, rapid move) block output (if you do work plane change, where XY is separate than Z, make sure it is on XY move).

Ken Akerboom Sr CAx Systems Engr, Moog, Inc.
Production: NX10.0.3.5 MP5 + patch/TC11.2
I'd rather be e-steemed than e-diseaseled


Re: Cutter comp in PB

Genius
Genius

Thank you very much for your replay's,  I tried all sorts of combination ,and the best thing I could get is this

 

N110 X152.812 Z60.971

N115 M0

N120 S2000 M03
N125 G00   (If  I force here X  Z i get X  Z before M0  -repeats N110)
N130 X2.48 Z2.899
N135 G42 G00 X2.48 Z2.899   (in cutcom on event -force G0 X Z)
N140 G01 X4.8 Z5.3 M08

 

 


Ken_A wrote:

If it comes out on a separate line, then (in PB) Program & tool path -> Program -> machine control -> cutcom events (off and on) delete the "G_cutcom" word.

Then make sure the G_cutcom word is added to linear move (and if it supports it, rapid move) block output (if you do work plane change, where XY is separate than Z, make sure it is on XY move).


 If I try that it turns on cutcom on retract move in final pass.

 

@camster

 

If I try with G1, same thing it separates X Z with G42 and G1.

 

Re: Cutter comp in PB

Esteemed Contributor
Esteemed Contributor

You might want to review the internal toolpath (right-click on operation -> Toolpath -> list; or if you are editing the operation, the right most button in the bottom of the dialog)

Review the CUTCOM events to see that it is being turned on / off at the correct time.

Ken Akerboom Sr CAx Systems Engr, Moog, Inc.
Production: NX10.0.3.5 MP5 + patch/TC11.2
I'd rather be e-steemed than e-diseaseled


Re: Cutter comp in PB

Esteemed Contributor
Esteemed Contributor

Also, which G_cutcom word did you add to the linear/rapid events?

I would have added the "G41-Cutcom (LEFT/RIGHT/OFF)"

Ken Akerboom Sr CAx Systems Engr, Moog, Inc.
Production: NX10.0.3.5 MP5 + patch/TC11.2
I'd rather be e-steemed than e-diseaseled


Re: Cutter comp in PB

Genius
Genius

Ken_A wrote:

Also, which G_cutcom word did you add to the linear/rapid events?

I would have added the "G41-Cutcom (LEFT/RIGHT/OFF)"


Thanks Ken ,yes I did that "G41-Cutcom (LEFT/RIGHT/OFF)" is added in cutcom.

 

Here's the list code

 

STOP
RAPID
GOTO/1.2400,0.0000,2.8993
CUTCOM/RIGHT,1
PAINT/COLOR,6
GOTO/2.4000,0.0000,5.3000
CIRCLE/2.4000,0.0000,1.7000,0.0000000,1.0000000,0.0000000,3.6000,0.0002,0.5000,2.4000,4.0000

 

G code

 

N115 M0

N120 S2000 M03
N125 G00 
N130 X2.48 Z2.899
N135 G42 G00 X2.48 Z2.899  
N140 G01 X4.8 Z5.3 M08

 

What do you think about using a proc in this case?

 

Another thing I would like to know, is it possible in PB to customize rounding 4th decimal place,or excluding rounding?

 

 

Learn online





Solution Information