×
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

Operation Start for Tapping in NX Post

Operation Start for Tapping in NX Post

Operation Start for Tapping in NX Post

(OP)
thread561-177672: Post Builder - Tap Cycle

Hi,

I have the same issue as in the referenced thread and it seems the original question was never fully answered. In our case I would like to have a different operation start and op end for tapping(if possible)- I like to use G95 so the the operator is looking at the thread pitch rather than a random feed number based on the spindle speed.

Thanks

RE: Operation Start for Tapping in NX Post

You will need some TCL code, Something like

#=============================================================
proc PB_CMD_tap_start { } {
#=============================================================
# this command used with PCB_CMD_tap_start and PCB_CMD_tap_start
# will output an M and s code before tapping cycles
# put this command in the above the cycle ouput blocks
# in "tap" event


global mom_spindle_speed tap_set

if { $tap_set == "OFF" } {
MOM_output_literal "G95 (FPR)"
MOM_output_literal "M135 S[format %0.0f $mom_spindle_speed]"
set tap_set "ON"
}
}

Regards
Greg

RE: Operation Start for Tapping in NX Post

(OP)
Thanks Greg,

I'm sure that's close - but I'm still learning post builder and still very green with Tcl. I have the command above the G84 output(in the same block) but I still get the error in the attached screenshot. I've tried to figure it out but I'm not having much success. Could you possibly have a look? Help is much appreciated.

NX9.01

RE: Operation Start for Tapping in NX Post

It looks like you only have part of the solution. You also need a User Defined Event (UDE) to pass the value of $tap_set to the postprocessor. I would highly recommend reading the help doc's on the post and creating UDE's
There is a section on UDE creation

There is a lot of information available from the PLM World website from previous user group presentations that cover creating and modifying posts. www.plmworld.org membership is free to current customers of NX.

John Joyce
N.C. Programming Supervisor
Barnes Aerospace, Windsor CT
NX6, NX7.5,NX8.5, NX9.0
Vericut7.3

RE: Operation Start for Tapping in NX Post

Add this to the start of program

#=============================================================
proc PB_CMD_tap_initialise { } {
#=============================================================
# this command used with PCB_CMD_tap_start and PCB_CMD_tap_end
# will output an M and s code before tapping cycles
# put this command in the "start of program" event
# Also this will initialise the coolant dwell

global tap_set

set tap_set "OFF"
}

and this bit
#=============================================================
proc PB_CMD_tap_end { } {
#=============================================================
# this command used with PCB_CMD_tap_initialise and PCB_CMD_tap_start
# will output an M and s code before tapping cycles
# put this command in the "cycle off" event


global mom_spindle_speed tap_set

if { $tap_set == "ON" } {
MOM_output_literal "G94 (FPM)"
set tap_set "OFF"
}
}

Regards
Greg

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