Continue to Site

Eng-Tips is the largest engineering community on the Internet

Intelligent Work Forums for Engineering Professionals

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

group output in postprocessor

Status
Not open for further replies.

kukelyk

Industrial
Mar 21, 2005
315
Hi.
I post all my programs selecting "NC_PROGRAM" group.
The problem is the header. Only the first prg. contains G54; if the previous prg. use the same tool (in the end) as the current prg, there will no T M6 in the program start, etc.:

The first prg:
%
O9999
G0 G80 G49 G90 G40 G98
T02 M6
( DIAM20R0 )
G54 X0.0 Y0.0 S10000 M3
G43 Z150. H02 D2
M8
G0 X-53. Y-5.745 A0.0
Z77.
G1 Z75. F1000.
...
The 2nd prg:
%
O9999
G0 G80 G49 G90 G40 G98
<-- no tool call
<--no G54
<--G43 should be here
G0 A0.0
G0 X50. Y39.994 A-179.964 S0 M3
G43 Z50.031 <-- no H01D01
Z10.031
G1 Y40.095 Z8.608 F250. M8
Y40.399 Z7.214
...

How can I reset these parameters without outputting?

----
kukelyk
 
Replies continue below

Recommended for you

Assuming Tool word is T, M of tool is M word, Spindle is S, M of spindle is M_spindle, G43 is G_adjust, G54 is G you can force this words to appear creating a custom command and just after the % insert the custom command like this:

PB_CMD_force_header {

MOM_force once T M S M_spindle G_adjust G
}

Add the words you need to output at your convenience.

Frank.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor