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
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
John Joyce
Tata Technologies
1675 Larimer St.
Denver, CO
www.myigetit.com
RE: Postbuilder Challenge, NX5
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
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