Cancel
Showing results for 
Search instead for 
Did you mean: 

Guideline for generating a Post Processor with reduced functions

Experimenter
Experimenter

Hi there,

 

i am trying to build an Postprocessor for a glueing machine with NX 11 and Post Configurator.

I started with a General Machine (MILL, 3-axis, Generalcontrol) and want to ignore some functions which are normally necessary but aren't needed in this case.

 

Now I dont want to describe it in the long way. Instead i show you the code how it is at the moment and where i want to go.

 

Actual output:

 

(CREATED BY      : )
(DATE            :                    )
(PARTNAME        :                       )
N0010 G261
 
(FLOOR_WALL , TOOL : MILL_3MM)
(DIES IST EIN TEST NOTE)
 
N0020 G0 G53 G90 Z99999.9000
N0030 M06
N0040 S0 M03
N0050 G40 G17 X162.3000 Y-26.1244
N0060 G43 Z10.0000 H02
N0070 Z3.4000
N0080 G94 G01 Y0.0000 Z-3.6000 F3000.
N0090 Y257.8000
...
N0170 G01 Y0.0000
N0180 Y28.9778 Z4.1646
N0190 Z7.1646
N0200 G0 Z10.0000
N0210 M05
N0220 G49
N0230 G53 Z99999.9000
N0240 G260 M02

 

Goal:

 

( CREATED BY: ....    )
( DATA: ....                 )
( PARTNAME : ....      )
N0010 G261
N0020 G00 X162.3000 Y-26.1244 Z10.0000
N0030 Z3.4000
N0040 G01 Y0.0000 Z-3.6000 F3000.0
N0050 Y257.8000
... (Just G00, G01, G02, G03, F codes)
N0170 G01 Y0.0000
N0180 Y28.9778 Z4.1646
N0190 Z7.1646
N0200 G0 Z10.0000
N0210 G260

 

The needed block templates are: absolute_mode, circular_move, linear_move, rapid_move, sequence_number, start_of_programm, stop,  from, end_of_path, end_of_program

 

And may: comment_data

 

But how can i disable the other Templates e.g. init blocks, coolant control or spindle control.

 

So i would be really happy if someone can describe me the way i have to go and give me some helpful tips / links.

 

I tried to Modify the Postprocessor with Post Builder but it is not possible to open the configuration from Post Configurator.

 

Thanks and have a nice day!

M. Mack

2 REPLIES

Re: Guideline for generating a Post Processor with reduced functions

Gears Phenom Gears Phenom
Gears Phenom

I am not sure, you have to turn on debugging and see what library outputs template you want.

Or you can control it through the entry points ?

Somebody more experienced will help you how to do it.

 

In postbuilder it is more clear what and where stuff is executed or you can find it in well known places.

And you can make changes in few minutes or even seconds.

---------------------------------------------
#♫ PB, 5ax, itnc, nx, vericut ♫ #

Re: Guideline for generating a Post Processor with reduced functions

Experimenter
Experimenter
============================
EVENT: MOM_start_of_program			<-- OPTIONAL
============================
(CREATED BY      :                                 )
(DATE            : 08.09.2017 , 09:45                      )
(PARTNAME        : TETDRSTSET.PRT                          )
N0010 G261
============================
EVENT: MOM_machine_mode				<-- REMOVE / IGNORE
============================
============================
EVENT: MOM_start_of_path			<-- OPTIONAL, but without empty lines
============================
 
(FLOOR_WALL , TOOL : MILL_3MM)
(DIES IST EIN TEST NOTE)
 
============================
EVENT: MOM_set_csys					<-- REMOVE / IGNORE
============================
============================
EVENT: MOM_first_tool				<-- REMOVE / IGNORE
============================
N0020 G0 G53 G90 Z99999.9000
N0030 M06
============================
EVENT: MOM_msys						<-- REMOVE / IGNORE
============================
============================
EVENT: MOM_before_motion			<-- REMOVE / IGNORE
============================
============================
EVENT: MOM_initial_move				<-- REMOVE / IGNORE
============================
N0040 S0 M03
N0050 G40 G17 X162.3000 Y-26.1244
N0060 G43 Z10.0000 H02
============================
EVENT: MOM_before_motion			<-- REMOVE / IGNORE
============================
============================
EVENT: MOM_rapid_move				<-- NECESSARY
============================
N0070 Z3.4000
============================
EVENT: MOM_before_motion			<-- REMOVE / IGNORE
============================
============================
EVENT: MOM_linear_move				<-- NECESSARY, without G9x
============================
N0080 G94 G01 Y0.0000 Z-3.6000 F3000.
============================
EVENT: MOM_before_motion			<-- REMOVE / IGNORE
============================
============================
EVENT: MOM_linear_move				<-- NECESSARY
============================
N0090 Y257.8000
============================
EVENT: MOM_before_motion			<-- REMOVE / IGNORE
============================
============================
EVENT: MOM_circular_move			<-- NECESSARY
============================
N0100 G03 X158.8000 Y261.3000 R3.5000
============================
EVENT: MOM_before_motion			<-- REMOVE / IGNORE		
============================
============================
EVENT: MOM_linear_move				<-- NECESSARY
============================
N0110 G01 X-158.8000
============================
...
============================
EVENT: MOM_before_motion			<-- REMOVE / IGNORE
============================
============================
EVENT: MOM_rapid_move				<-- NECESSARY
============================
N0200 G0 Z10.0000
============================
EVENT: MOM_end_of_path				<-- REMOVE / IGNORE
============================
N0210 M05
N0220 G49
N0230 G53 Z99999.9000
============================
EVENT: MOM_end_of_program			<-- NECESSARY
============================
N0240 G260

 

Hi there,

 

thanks for the hint with Debug-Outputs, juraj.

 

I marked the necessary and unused functions.

 

Greetings,

M. Mack

 

Learn online





Solution Information