Cancel
Showing results for 
Search instead for 
Did you mean: 
Highlighted

NX10 Postbuilder Heidenhain Drilling Cycle Multi Line Format

Experimenter
Experimenter

Hi,

I’m writing a PP for a Heindenhain 3-axis machine with TNC 530

is there a setting (or another way) in the NX10 post builder to output the drill cycles in multi line format (see sample below) instead of all parameters in one line?

84 CYCL DEF 200 BOREN~

      Q200=+3. ; VEILIGHEIDSAFST.~

      Q201=-9.039 ; DIEPTE~

      Q206=+550. ; F DIEPTEVERPL.~

      Q202=+9.039 ; DIEPTE-INSTELLING~

      Q210=+0. ; ST.TIJD BOVEN~

      Q203=-8. ; COORD.OPPERVL.~

      Q204=+11.5 ; 2e VEILIGHEIDSAFST.~

     Q211=+0. ; ST.TIJD BENEDEN

I could do it with an own proc with the code as seen below.

COM_output_literal "CYCL DEF 200 BOREN ~"

MOM_set_seq_off

MOM_output_literal "   Q200 = [format %3.2f $mom_cycle_rapid_to] ;VEILIGHEIDSAFSTAND ~"

MOM_output_literal "   Q201 = [format %3.2f $mom_cycle_feed_to] ;DIEPTE ~"

MOM_output_literal "   Q206 = [format %3.2f $mom_cycle_feed_rate] ;AANZET DIEPTEVERPLAATSING ~"

MOM_output_literal "   Q202 = [format %3.2f $cycle_peck_size] ;DIEPTEVERPLAATSING ~"

MOM_output_literal "   Q210 = 0 ;STILSTANDSTIJD BOVEN ~"

MOM_output_literal "   Q203 = [format %3.2f $mom_pos(2)] ;COORD. OPPERVLAK ~"

MOM_output_literal "   Q204 = [format %3.2f $js_return_pos] ;2e VEILIGHEIDSAFSTAND ~"

MOM_output_literal "   Q211 = [format %3.2f $mom_cycle_delay] ;STILSTANDSTIJD ONDER ~"

MOM_set_seq_on

The problem with this method is that in every drill cycle all the parameters are output in the NC –code wat is not necessary if nothing has changed. I know it can be solved with parameters and conditions in tcl code but this is a lot of work.

Could someone help me with this problem?

 

 

 

4 REPLIES

Re: NX10 Postbuilder Heidenhain Drilling Cycle Multi Line Format

Gears Phenom Gears Phenom
Gears Phenom

It looks Ok to me

use conditions to avoid outputing cycle in case no parameter wasnt changed.

From my point of view you have no problem, one condition is not lots of work

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

Re: NX10 Postbuilder Heidenhain Drilling Cycle Multi Line Format

Experimenter
Experimenter

thx for the reply,

 

could you give me a short sample from such a condition, I haven't lot of experience yet with the tcl code?

Re: NX10 Postbuilder Heidenhain Drilling Cycle Multi Line Format

Gears Phenom Gears Phenom
Gears Phenom

I sent you some construction.

Just comparing variables with cycle parameters.

 

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

Re: NX10 Postbuilder Heidenhain Drilling Cycle Multi Line Format

Experimenter
Experimenter

thx a lot,

problem solved.

 


@Juraj wrote:

I sent you some construction.

Just comparing variables witch cycle parameters.

 


 

Highlighted

NX10 Postbuilder Heidenhain Drilling Cycle Multi Line Format

Experimenter
Experimenter

Hi,

I’m writing a PP for a Heindenhain 3-axis machine with TNC 530

is there a setting (or another way) in the NX10 post builder to output the drill cycles in multi line format (see sample below) instead of all parameters in one line?

84 CYCL DEF 200 BOREN~

      Q200=+3. ; VEILIGHEIDSAFST.~

      Q201=-9.039 ; DIEPTE~

      Q206=+550. ; F DIEPTEVERPL.~

      Q202=+9.039 ; DIEPTE-INSTELLING~

      Q210=+0. ; ST.TIJD BOVEN~

      Q203=-8. ; COORD.OPPERVL.~

      Q204=+11.5 ; 2e VEILIGHEIDSAFST.~

     Q211=+0. ; ST.TIJD BENEDEN

I could do it with an own proc with the code as seen below.

COM_output_literal "CYCL DEF 200 BOREN ~"

MOM_set_seq_off

MOM_output_literal "   Q200 = [format %3.2f $mom_cycle_rapid_to] ;VEILIGHEIDSAFSTAND ~"

MOM_output_literal "   Q201 = [format %3.2f $mom_cycle_feed_to] ;DIEPTE ~"

MOM_output_literal "   Q206 = [format %3.2f $mom_cycle_feed_rate] ;AANZET DIEPTEVERPLAATSING ~"

MOM_output_literal "   Q202 = [format %3.2f $cycle_peck_size] ;DIEPTEVERPLAATSING ~"

MOM_output_literal "   Q210 = 0 ;STILSTANDSTIJD BOVEN ~"

MOM_output_literal "   Q203 = [format %3.2f $mom_pos(2)] ;COORD. OPPERVLAK ~"

MOM_output_literal "   Q204 = [format %3.2f $js_return_pos] ;2e VEILIGHEIDSAFSTAND ~"

MOM_output_literal "   Q211 = [format %3.2f $mom_cycle_delay] ;STILSTANDSTIJD ONDER ~"

MOM_set_seq_on

The problem with this method is that in every drill cycle all the parameters are output in the NC –code wat is not necessary if nothing has changed. I know it can be solved with parameters and conditions in tcl code but this is a lot of work.

Could someone help me with this problem?

 

 

 

NX CAM Postprocessor Group
NX CAM Postprocessor Group

Members (139)