Continue to Site

Eng-Tips is the largest engineering community on the Internet

Intelligent Work Forums for Engineering Professionals

  • Congratulations KootK on being selected by the Eng-Tips community for having the most helpful posts in the forums last week. Way to Go!

NX 8.0 CAM Post (Subroutines)

Status
Not open for further replies.

dstryr08

Aerospace
Oct 21, 2012
9
Anyone have a fanuc post that will post subroutines when instances are used? Or even a post that will post subroutines at all? My reseller said they could make me one but I wanted to see if someone had one already done.

Thanks

Dennis
 
Replies continue below

Recommended for you

As strange as it sounds NX and Post Builder "out of the box" do not support sub programs. It requires some post customization. I do not have any posts that I can share. We have several UDE's that we use to define the main program and sub programs as well as linked posts one for subs and one for the main and stand alone programs. We use the methods objects and program groups to seperate then on the operation navigator. If your nof familiar with creating your own posts then you have some options. Learn Post Builder, Pay someone to create the post for you or manualy edit the output to create main and sub programs. If you post one the siemens confrencing site you may get some assistance.



John Joyce
N.C. Programming Supervisor
Barnes Aerospace, Windsor CT
NX6 & NX7.5
 
Do you have any documentation on Post builder available? I used to use Delcam's Featurecam and wrote my own posts but haven't been able to figure out Postbuilder and I can't seem to navigate the Siemens site at all.... If you were to pay for a post what would you value it at? I was quoted $1500 for modifying our post to do sub routines.

 
Building this into your own post shouldn't be difficult.
You add it in to the sub-routine section of post builder, specify all the variables as required by the programming manual and call it through a UDE in the CAM.
If you give me some specifics I can go into some more detail.

What type of sub-routine are you trying to create?
 
Basically some of my machines are limited in memory and instead of running off a memory card I'd like to use subroutines. I was hoping to trigger the use of subroutines through the "instance" function. Basically when it is instanced, I need 1 sub program for the operation and then the main program to use the instance spacing and amount of instances as the number of times to run the subroutine.
 
dstryr08 I have made a few posts with subroutines, I attach a sample from a fanuc postprocessor calling subprograms stored in a CF card.

Just postprocess a program containg different operations and the postprocessor outputs diferent subprograms and a main one, they can be split by tools or by operations depending on customer's requirements, no udes, no after-postprocess manual editing, our customer is postprocessing the programs directly to the CF and straight away plugs it to the machine.

Hope this helps to show it can be done.



MAIN PROGRAM O5000

Code:
%
O5000 (ROUGH_TOP_DIE)
G10G90L2P0X0.Y0.Z0.
GOTO1

N1 (TOR-D3-R0.75_EMUGE)
G65P8991T1.C54.S7500F2000.0M77.A5001.W1.I0.75Q0.Z5.
M01

N2 (MITSU_CBN_BALL_D1)
G65P8991T0.C54.S18000F1000.0M77.A5002.W1.I0.00Q0.Z6.

(Total Time = 25.33 MIN.)
M30
%

SUBPROGRAM O5001

Code:
%
O5001 (FIXED_CONTOUR_COPY)
G00 X21.2 Y-2.608 M03
G05 P10000
G00 Z32.403
G01 Z31.403
G01 Y-1.308
G03 X20. Y-.108 I-1.2 J0.0
G01 X-.01
G01 X-.064 Y-.104
G01 X-.104 Y-.064
(...)
G00 Z80.915
G05 P0
M05 M09
G53 Z0
M99
%
 
Would you like to share the post with the community?
 
It's not about wanting or not to share, somebody invested a fair amount in this post.

My aim was just to show you this can be done.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor