Share

Configure EDM menu

Use the options on the Configure EDM menu to configure EDM process output.

Use the options on the Confiigure EDM > NC File Header/Footer Formats menu to configure NC File Header/Footer formats for EDM process output.

File Start

This program format is the first format called in ConfigPost. It is only called once and is used to output %, program numbers, etc. It can also be used to initialize variables that are to be used in other formats.

Program End

This program format is output at the end of a part program. You can use this program format to empty the coolant tank and end the program.

{N<seq> }M88<eob>
{N<seq> }G23<eob>
{N<seq> }M02<eob>
%<eob>

File End

This program format specifies the end of the output file.

Use the options on the Configure EDM > Process Header/Footer Formats menu to configure Process Header/Footer formats for EDM process output.

Program Start

PartMaker outputs lines defined in Program Start at the beginning of a part program. You must place general preparatory codes such as absolute, incremental, etc. in this program format to define the dimension system. You must also define preparatory commands in this program format. Positioning moves (<x-coord> and <y-coord>) also must be entered in this program format.

;-------------------SET VAR<eob>
~<v05-FEED-UPM>25.<eob>
;-------------------<eob>
%<eob>
L<prog-num1>/<prog-name><eob>
{N<seq> }(CREATED BY MITSUBISHI FX20 POST VER A11)<eob>
{N<seq> }(TOTAL MACHINING TIME: <time-total>)<eob>
{N<seq> }(MACHINING <face-name> <group-name>)<eob>
{N<seq> }(MACHINING PROCESS <process-id>)<eob>
<p04-PROCESS>
{N<seq> }G62 X0 Y0<eob>
{N<seq> }G97 X0<eob>
{N<seq> }G90 G70 (INCH)<eob>
{N<seq> }M78 M78 (FILL TANK)<eob>
{N<seq> }G1 X<x-coord> Y<y-coord> F<v05-FEED-UPM><eob>
{N<seq> }G92 X<x-coord> Y<y-coord><eob>
<IF><thread-wire><THEN>
<p01-THREAD-WIRE>
<ENDIF>
{N<seq> }M90<eob>
<IFNOT><eq-number>(<offset-value>,<$offset-value>)<THEN>
{N<seq> }H01=<offset-value><eob>
<ENDIF>

Process Start

A process start block is output only between individual processes in the Process Table. The Process Start program format must contain all commands that might change between processes such as <offset-value>. You must also include the <x-coord> and <y-coord> reserved words in this program format.

;-------------------SET VAR<eob>
~<v05-FEED-UPM>25.<eob>
;-------------------<eob>
<32><32><eob>
{N<seq> }(MACHINING <face-name> <group-name>)<eob>
{N<seq> }(MACHINING PROCESS <process-id>)<eob>
<p04-PROCESS>
<IFNOT><thread-wire><THEN>
<IF><eq-number>(<oper-num>,2)<THEN>
{N<seq> }M78 M78 (FILL TANK)<eob>
{N<seq> }M80 M82 M84<eob>
<ENDIF>
<ENDIF>
{N<seq> }G1 X<x-coord> Y<y-coord> F<v05-FEED-UPM><eob>
<IF><thread-wire><THEN>
{N<seq> }G92 X<x-coord> Y<y-coord><eob>
<p01-THREAD-WIRE>
<ENDIF>
{N<seq> }M90<eob>
<IFNOT><eq-number>(<offset-value>,<$offset-value>)<THEN>
{N<seq> }H01=<offset-value><eob>
<ENDIF>

Process End

It is not recommended to use Process End format for Basic Post Processors. For Multi-Axis Post Processors, Process End Format is commonly used to cancel synchronization modes and retract the tool to a safe location before the tool change.

Motion Formats

Use the options on the Configure EDM > Motion Formats menu to configure EDM Motion formats for EDM process output.

Rapid Move

The Rapid Move program format determines the output of rapid positioning moves in the part program. When you use modality delimiters { } around the <x-coord> and <y-coord> reserved words in this program format, PartMaker will strip redundant X or Y coordinates from each line as they are encountered.

~<v05-FEED-UPM>25.<eob>
{N<seq> }{<motion> }{X<x-coord> }{Y<y-coord> }{F<v05-FEED-UPM>}<eob>

Linear Move

The Linear Move program format defines the part program output for linear moves. You must define the <comp-status>, <motion>, <x-coord>, <y-coord>, and <feed-upm> reserved words in this program format.

~<v05-FEED-UPM><feed-upm><eob>
;-------------IF COMP OFF, THEN INCREASE FEED<eob>
<IF><comp-end><THEN>
~<v05-FEED-UPM>5.<eob>
<ENDIF>
;-------------<eob>
{N<seq> }{<comp-status> }{<motion> }{X<x-coord> }{Y<y-coord> }{F<v05-FEED-UPM> }{E<e-pack> }
<IF><taper-used-in-proc><THEN>
<IF><comp-start><THEN>
A<taper-angle><32>
<ENDIF>
<IFNOT><comp-start><THEN>
{A<taper-angle>}<32>
<ENDIF>
<ENDIF>
<IF><comp-start><THEN>
H01
<ENDIF>
<IF><comp-end><THEN>
M91
<ENDIF>
<eob>
<IF><glue-stop><THEN>
/M1 (GLUE STOP)<eob>
<ENDIF>

Circular Move

In this program format, the reserved words <arc-x>, <arc-y>, <radius>, <center-x>, and <center-y> can be used, for example:

~<v05-FEED-UPM><feed-upm><eob>
{N<seq> }{<motion> }{X<x-coord> }{Y<y-coord> }R<radius> {F<v05-FEED-UPM>}
<IF><taper-used-in-proc><THEN>
{A<taper-angle>}
<ENDIF>
<eob>
<IF><glue-stop><THEN>
/M1 (GLUE STOP)<eob>
<ENDIF>

XY UV Linear Move

{N<seq> }{<comp-status> }{<motion> }{X<x-coord> }{Y<y-coord> }
{U<u-relat> }{V<v-relat> }{F<feed-upm> }{E<e-pack> }<eob>

XY UV Circular Move

{N<seq> }{<comp-status> }{<motion> }{X<x-coord> }{Y<y-coord> }{I<center-x> }{J<center-y> } 
{U<u-relat> }{V<v-relat> }{K<center-u> }{L<center-v> }  {F<feed-upm> }{E<e-pack> }<eob>
Note: To use this format, you must first configure Multi Quadrant Arcs in the General Information dialog.

Procedure Formats

For more information, see Using Procedures

General Information

This command displays the General Information dialog where you can specify information for a part program such as machining constants and the type of circular interpolation your CNC uses.

Preparatory Functions

This command displays the Preparatory Functions dialog where you can specify machining codes to be used in the part program for motion formats and cutter compensation.

Words Information

This command displays the Words Information dialog where you can specify parameters for reserved words used in a Post file.

Was this information helpful?