Cancel
Showing results for 
Search instead for 
Did you mean: 

Line Number in Post builder

Builder
Builder

chnage line number in output NC file

for ex.

by default post buider gives N0010 up to N9999

But i want to N1 to N(infinite)

8 REPLIES

Re: Line Number in Post builder

Gears Phenom Gears Phenom
Gears Phenom

Hi

 

1. NC data definitions - Word - N address - set new format to 9 digits.

                                                                        - set  Maximum value to 999999999  (also it is 9 places)

2. NC data definitions - Other data elements - Sequence number maximum - set it to 999999999 (same)

 

It is not infinity

 

cheers

JB

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

Re: Line Number in Post builder

Builder
Builder
Post builder give only up to 9999

Re: Line Number in Post builder

Gears Phenom Gears Phenom
Gears Phenom

do what I wrote and it will give you 999999999

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

Re: Line Number in Post builder

Builder
Builder
#Gears Phenom
Thanx Brother

DO you know how to post process multiple selection of operation and as a result of separated NC File ????

Re: Line Number in Post builder

Gears Phenom Gears Phenom
Gears Phenom

To sequence number - If you wan t you can create your own string address and in custom command calculate your sequence number and go more far then 999999999.(not sure)

 

To Separate files -

You can use postbuilder settings ass well. Otput settings - Other options - generate group output. And in spcialconditions it can automatically generate multiple separate nc files.

See also NX documentation.

 

There lots of threads about it. Just browse.

https://community.plm.automation.siemens.com/t5/NX-CAM/How-to-separate-files-nc-code-in-Group-progra...

 

https://community.plm.automation.siemens.com/t5/Discussion-Forum-NX-Manufacturing/Postprocessor-with...

 

 

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

Re: Line Number in Post builder

Builder
Builder

https://community.plm.automation.siemens.com/t5/Discussion-Forum-NX-Manufacturing/Postprocessor-with...

 

#Gears Phenom

 

i cant understand  how to start with it

 

do you please explain????

Re: Line Number in Post builder

Gears Phenom Gears Phenom
Gears Phenom

as I said you can also do it with setting  in postpbuilder

"generate group output" - mentioned in comment above.

 

https://docs.plm.automation.siemens.com/tdoc/nx/11.0.1/nx_help#uid:id1341987as

 

to threads in this forum, it is not so simple to describe it in few minutes.

you have to close file, delete it, open new one, reset sequence number, close in the end - and make it work as a loop with operations, or other logic. Each step is some procedure or function and if you dont know how to do it you have to spend more time with tcl and postbuilder. It is not solution on few clicks.

Read documentation and practise, open OOTB posts or post templates and read/check how "they" do it. Inspire with their programming, use their procedures.

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

Re: Line Number in Post builder

Siemens Legend Siemens Legend
Siemens Legend

First off in post builder you will have to define a new format, currently it is set to 4, 9 is the greatest value. To edit this, go to N/C Dat Definitionss tab from top row, then pick Word tab, scroll down toward bottom, select N.

Select New Format, enter Digit_9, arrow up until 9 is in box, Data Type Numeric, check Output Trailing Zeros. Pick OK.

Set Maximum Value to 999999999

Now hope your machine will not error out on such a large number.

 

Switch to Other Data Elements tab

Set Sequence Number Start to 1

Set Sequence Number Frequency to 1

This should set your output to start with N1 and go all they way to N999999999 before starting over at N1

 

To break up tape:

Program & Tool Path tab -> Custom Command tab -> Import

Browse for POSTBUILD\pblib\custom_command in NX structure

Import pb_cmd_tape_break.tcl and follow instructions.

 

 

Learn online





Solution Information