×
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

Postbuilder Challenge, NX5

Postbuilder Challenge, NX5

Postbuilder Challenge, NX5

(OP)
Hi all,

I am trying to acomplish a very simple task, but simple tasks always seem to be the most difficult. :S

All I want to do, is get a "D" value output everytime a G41 is output, on the same line. And only on this line.
Sounds easy. It isn't.

I can get it to output on the line before the G41, but that is the closest I can get. I have one machine in my shop that will not accept the "D" and "G41" on seperate lines.

Any suggestions?

J

RE: Postbuilder Challenge, NX5

In Post Builder on the Linear feed motion event add the cutcom word (G41,G42,G40) and the D word.  You may want to add the G40 block to the Rapid Motion event too.

 

John Joyce
Tata Technologies
1675 Larimer St.
Denver, CO
www.myigetit.com

RE: Postbuilder Challenge, NX5

(OP)
Thanks Joycejo, But that's not it.
I have those codes in there already. They work just fine EXCEPT it will only output the "D" value ONCE( you see, "D" is considered modal. I know, you're thinking well, make it non-modal then....If you do that, it outputs "D" on every line of the program.).

My goal is to have it output each and everytime a "G41" is specified (must be on the same line).

Here is a sample;
The regular, black text is the standard output.
the red text is what I want to add.

N52 G01 Z8.8658 F4.
N53 G41 X-.6097 Y4.7726 D51
N54 X-.5303 Y4.6932
N55 G03 X0.0 Y4.4735 I.5303 J.5303
N56 G02 X2.1113 Y2.3622 I0.0 J-2.1113
N57 X0.0 Y.2509 I-2.1113 J0.0
N58 X-2.1113 Y2.3622 I0.0 J2.1113
N59 X0.0 Y4.4735 I2.1113 J0.0
N60 G03 X.5303 Y4.6932 I0.0 J.75
N61 G40
N62 G01 X.5877 Y4.7751
N63 X-.5877 Y4.7701
N64 G41 X-.5303 Y4.6882 D51
N65 G03 X0.0 Y4.4685 I.5303 J.5303
N66 G02 X2.1063 Y2.3622 I0.0 J-2.1063
N67 X0.0 Y.2559 I-2.1063 J0.0
N68 X-2.1063 Y2.3622 I0.0 J2.1063
N69 X0.0 Y4.4685 I2.1063 J0.0
N70 G03 X.5303 Y4.6882 I0.0 J.75
N71 G01 X.6137 Y4.7716
N72 G40

 

RE: Postbuilder Challenge, NX5

(OP)
I came up with a solution this morning.

I made a custom command like this;

"force once G_cutcom X Y D"

and I placed it in the "cutcom_on" event in machine control.

Seems to work like a charm. I'm gonna go with it.

J

 

RE: Postbuilder Challenge, NX5

Well simple solution, in the linear move event, for the D you probablly have it set to modal, disable that so it can be used every time a linear feed event is created.   If the D is posting before the G41, go to Program & Tool Path -> Word Sequencing, and place the D after the G41.

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