cancel
Showing results for 
Search instead for 
Did you mean: 

Postbuilder issues

PLM World Member Legend PLM World Member Legend
PLM World Member Legend

Still strugeling with postbuilder.

using ootb mill_5axis_actt_Sinumerik_840D_mm post.

 

Problem 1

I'm having trouble with generating a tool list at the end of the output.

In Start Of Program Events I have the command PB_CMD_initialize_tool_list

in the End of Program events there's the command PB_CMD_create_tool_list

 

When I run the post Only the last used tool of each type is listed.

 

Problem 2

In my tool change custom command, $mom_next_tool_name seems to be unavailible.

How to preselect a tool? (automatically, so no UDE in NX)

 

Problem 3

When in sinumerik "Swiveling" mode I need CYCL800 output if rotations ABC are zero.

 

Please advice.

I make postprocessors for over 15 years in Icam's Campost and trying to switch to postbuilder, but seeing the trouble I have with basic stuff makes me wonder if I'll ever get it going

 

 

 

Patrick Delisse
KMWE - DutchAero
NX11.0, CAMPOST V22, Vericut 8.0
17 REPLIES

Re: Postbuilder issues

Patrick,

I'm sure some users will chime in here, but I ask - have you taked the Post Building class? Or talked to the GTAC CAM team about these issues?

Mark Rief
Retired Siemens

Re: Postbuilder issues

Esteemed Contributor
Esteemed Contributor

paehv wrote:
Problem 2

In my tool change custom command, $mom_next_tool_name seems to be unavailible.

How to preselect a tool? (automatically, so no UDE in NX)

 


 

I do have the following code in the Tcl script of a postprocessor:

 

    global mom_next_tool_number mom_tool_number
    if { [info exist mom_next_tool_number] && $mom_next_tool_number != $mom_tool_number } {
        # MOM_output_literal "; Next Tool ... '$mom_next_tool_number'"
        MOM_force Once Text T
        MOM_do_template initial_move
    }

 

This is the definition of the block:

 

  BLOCK_TEMPLATE initial_move 
  {
       Text[TOOL DEF ]
       T[$mom_next_tool_number]
  }

 

Don't know why this should not work.

 

mom_kin_read_ahead_next_motion is usually only needed to read ahead for motions, so the mom_nxt_... variables.

Stefan Pendl, Systemmanager CAx, HAIDLMAIR GmbH
Production: NX10.0.3, VERICUT 8.0, FBM, MRL 3.1.4 | TcUA 10.1 MP7 Patch 0 (10.1.7.0) | TcVis 10.1
Development: VB.NET, Tcl/Tk    Testing: NX11.0 EAP, NX12.0 EAP

How to Get the Most from Your Signature in the Community

Re: Postbuilder issues

Valued Contributor
Valued Contributor

Patrick,

 

Please take a look at the attached file ---> GTAC_Patrick.7z.

 

Open up "Punch File.mpf"... scroll all the way to end...you'll find the tool list...it's generated using cc PB_CMD_creat_tool_list  which can be found under

 

Program---Program End Sequence---End of Program---PB_CMD_creat_tool_list

 

Post processor contains Tool preselect as well as CYCLE800

 

I'm not too familiar with CYCLE800;  on our machine, I moved FRAME via TRANS & AROT.

 

I hope this helps.

Kal.

NX 9.0.3.4 MP12
PB 9.0.3.2
Vericut7.3.4

Re: Postbuilder issues

Legend
Legend
How is your program setup structure wise? I have a cycle800 post and it outputs at every operation. I tried testing the OOTB one you are talking about and got the same results.
NX11.0.1

Re: Postbuilder issues

PLM World Member Legend PLM World Member Legend
PLM World Member Legend

Thanks for all the replies.

Got the preselect figured out, it was a typo Smiley Sad , Thanks Stefan.

 

The toollist still doesn't work. Even with the post from Kal, it still doesn't list all tools.

 

Here the nx-part i'm using for testing things.

 

Patrick Delisse
KMWE - DutchAero
NX11.0, CAMPOST V22, Vericut 8.0

Re: Postbuilder issues

Valued Contributor
Valued Contributor

Patrick,

Using NX9xxx, when you post processor "Cincinnati_Lamb_FTV5_840D_Patrick.prt", do you get the tool list towards the end of the punch file?

Kal.

NX 9.0.3.4 MP12
PB 9.0.3.2
Vericut7.3.4

Re: Postbuilder issues

PLM World Member Legend PLM World Member Legend
PLM World Member Legend
Kal,
With your part and post, the toollist is OK.
With my part and your post, the toollist is NOT OK ???
With your part and my post, the toollist is OK ???

Ok that means that the problem is my part.
Looking at your part I noticed that you use a tool caririer with pockets and have tool/adjust set to the pocket number.
When I do this in my part, it doesn't make a difference
Patrick Delisse
KMWE - DutchAero
NX11.0, CAMPOST V22, Vericut 8.0

Re: Postbuilder issues


paehv wrote:

Looking at your part I noticed that you use a tool caririer with pockets and have tool/adjust set to the pocket number.
When I do this in my part, it doesn't make a difference


Is the inheritance turned on for the operation, tool, and pocket? You can check in the details panel of the Operation Navigator.

 

I would also look in the post to see what mom variable is being used for the tool number.

Mark Rief
Retired Siemens

Re: Postbuilder issues

PLM World Member Legend PLM World Member Legend
PLM World Member Legend

Inheritance is turned on. The tool number is stored in the normal mom_tool_number variable.

When I generate a shop-doc toollist it outputs all tools.

It must be something in my NX part, because output is fine when I post the sample Kal submitted with my post. See added files.

Patrick Delisse
KMWE - DutchAero
NX11.0, CAMPOST V22, Vericut 8.0

Learn online





Solution Information