×
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

Post Builder, can't force output of high speed codes at every G00/G01/G02/G03.

Post Builder, can't force output of high speed codes at every G00/G01/G02/G03.

Post Builder, can't force output of high speed codes at every G00/G01/G02/G03.

(OP)
I am trying to out G187 P1 right before every G00 and ouput G187 P3 right before every G01/g02/g03. I used a pb_cmd with mom_output_literal but the post only outputs the codes once then not again after a tool change. I also tried a simple text command and that gave the same result.

Here is an example of one of the pb_cmd's:

# This cmd outputs the G code for smoothness level: finish
#
#
#
MOM_output_literal "G187 P3"

Quite simlple but I'm obviously missing something. By the way, when using the pb_cmd there is no force output choice when right clicking it but there is when using simple text input.

The reason I want to do this is the finish mode adversely affects positioning so I want to set it to rough for G00 and set it back to finish for G01/G02/G03.

NX8

RE: Post Builder, can't force output of high speed codes at every G00/G01/G02/G03.

create a new block using the user defined option. You may need to create new word so you get the format you need. This will allow you to force the output.

John Joyce
N.C. Programming Supervisor
Barnes Aerospace, Windsor CT
NX6 & NX7.5

RE: Post Builder, can't force output of high speed codes at every G00/G01/G02/G03.

(OP)
The blocks populated after creating the the codes for linear, circular and rapid motion but I don't know how to create new words. Force output is now available but it seems to have no effect. Also, I was wrong about the nc output; I verified the post outputs a G187 P1 at the beginning of each operation, not just after each tool change.

This is very frustrating because I have been told there are not any classes for PB and taking a Tcl-Tk class is overkill for what little syntax we need to know for PB. What to do?

It's almost 9pm and way past the time to leave the office.

NX8

RE: Post Builder, can't force output of high speed codes at every G00/G01/G02/G03.

"The blocks populated after creating the the codes for linear, circular and rapid motion but I don't know how to create new words"

To create a new word select the NC Data Definitions tab
You have BLOCK, WORD, and FORMAT available
Select the WORD you want to copy and like G_mode for example and click Create You should now have a new word G_mode_1 for example. Now you can edit this word and add it to a block. Blocks have words and words are formatted.

Ther is a PB course listed on the siemens website http://training.industrysoftware.automation.siemen...

John Joyce
N.C. Programming Supervisor
Barnes Aerospace, Windsor CT
NX6 & NX7.5

RE: Post Builder, can't force output of high speed codes at every G00/G01/G02/G03.

(OP)
I tried your suggestion and I'm still not able to get the correct output. Sorry to say but I have to bail on this project. I just can't spend any more time spinning my wheels and getting nowhere. Perhaps it's time to take the PB class and a Tcl-Tk class. I appreciate the help, John, but at this point I think I'm looking at roughly $10K for classes, plus my time, to get this done. At least when I'm done I'll be able to write custom PB code on my own. In the long run it will be cost effective so we won't be paying VARs $3-4.5k per post.

NX8

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