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
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 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
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
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
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...