×
INTELLIGENT WORK FORUMS
FOR ENGINEERING PROFESSIONALS

Log In

Come Join Us!

Are you an
Engineering professional?
Join Eng-Tips Forums!
  • Talk With Other Members
  • Be Notified Of Responses
    To Your Posts
  • Keyword Search
  • One-Click Access To Your
    Favorite Forums
  • Automated Signatures
    On Your Posts
  • Best Of All, It's Free!
  • Students Click Here

*Eng-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail.

Posting Guidelines

Promoting, selling, recruiting, coursework and thesis posting is forbidden.

Students Click Here

Jobs

NX Postbuilder... a simple question

NX Postbuilder... a simple question

NX Postbuilder... a simple question

(OP)
Hello,
Hi,

first of all: sorry for my bad english :)

I am using NX postbuilder since a few weeks.
We get some new machines and i edited some postprocessors.
We have some different Heidenhain TNC 530i-Controls on different machines.
DMC 104V linear, DMU 80 monoblock, AXA VPC-40U and AXA DBZ.
Each machine has its own postprocessor due different homepositions, etc.
An each 5axis mill hast 2 PP's for 3axis- and 5axis-programs

To see in Fileexplorer i added the name of the pp in the file-extension of postbuilder.
for example:
programname.h - is the standardname. But in this name i can't see from which PP it is.
so i changed extension in Postbuilder to:
programname.VPC-3AX.h - for a program from the PP for AXA VPC 3axis

But on some older TNC530i's i have problems to see this "double-extension" in filemanager on machine
or in TNCremo. In some cases the machine is shutting completely down due the transfer from DNC-PC to machine.

Is there any in Postbuilder to add words to the desired Programname?

Regards,
simon

RE: NX Postbuilder... a simple question

I am not a fan of using a second period (or spaces) in file names for exactly the reason you have discovered. Use an underscore or dash to separate the generic name from the machine specific portion.

I do realize that all OSs and applications CLAIM to support most characters in a filename, there is some old legacy code in some programs that hasn't been fixed yet.

"Wildfires are dangerous, hard to control, and economically catastrophic."

Ben Loosli

RE: NX Postbuilder... a simple question

(OP)
Hello.

Thanks for your reply.
Yes. I want to get a filename like "programmname_VPC-3AX.h"
But the given name in NX CAM should be "programmname" and the postprocessor adds the "_VPC-3AX.h" specific for each PP i have.
The double period was the fastets way to realize that through the function "file extension" in postbuilder.
But as i explained, with some problems on some machines.
Maybe you have a solution for my problem?

RE: NX Postbuilder... a simple question

(OP)
Sorry for double-posting...
With the variable "$mom-output_file_base_name" i get desired filename from nx-cam.
For example:
#############################################
global mom_output_file_basename
global ac_part_name

set mom_output_file_basename [string toupper $mom_output_file_basename]_VPC-3A

set ac_part_name [string toupper $mom_output_file_basename]
MOM_output_literal "0 BEGIN PGM $ac_part_name MM"
MOM_set_seq_on
#############################################
This is the section for the first line in my nc programm.
The programm head is then the desired for example
0 BEGIN PGM test_VPC-3A MM
This works perfectly. But i want to set the filename from nx-cam to "$desiredFilename" + _ppName

You know what i mean?

...sorry for my bad english. I try my best...

RE: NX Postbuilder... a simple question

(OP)
Found a solution for my "problem"...
In the end of Postbuilder i set folowing custom command:

#############################
global ptp_file_name

if {[file exists [string toupper $ptp_file_name]_DMU_5A.h]} {
MOM_remove_file [string toupper $ptp_file_name]_DMU_5A.h
}
file copy $ptp_file_name [string toupper $ptp_file_name]_DMU-5A.h
#############################

So i have a copy of the original with my extension "_DMU-5A.h".
As example 4711_DMU-5A.h
In Postbuilder itself is no extension for the file set.
The initial file "4711" can't be deleted from postbuilder. Permission denied.
Never mind. This solution works for me.

...sorry for my bad english. I try my best...

Red Flag This Post

Please let us know here why this post is inappropriate. Reasons such as off-topic, duplicates, flames, illegal, vulgar, or students posting their homework.

Red Flag Submitted

Thank you for helping keep Eng-Tips Forums free from inappropriate posts.
The Eng-Tips staff will check this out and take appropriate action.

Reply To This Thread

Posting in the Eng-Tips forums is a member-only feature.

Click Here to join Eng-Tips and talk with other members!


Resources