×
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

group output in postprocessor

group output in postprocessor

group output in postprocessor

(OP)
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

RE: group output in postprocessor

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.

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