Program formats (Milling)

As Post reads each segment from the part data file, it determine whether the segment is:

Using this information, Post outputs the appropriate block (that is, Program Start, Tool Change, or Segment Start) before executing segment data. Only one of these three program formats is used at the beginning of any one segment.

Note: Each definition can include multiple lines, and each line must end with <EOB>.

Program Start

The Program Start format is called once at the beginning of each program. This format must contain instructions for doing the following:

Functions such as <SPEED>, <SPINDLE> and <COOLANT> status can be passed to the Post output with the first positioning move via <X-COORD> and <Y-COORD>.

If the target machine tool uses fixture offsets (G54, G55/E1, E2), the reserved word <FIXTURE> should be positioned before the <MOTION>, <X COORD>, and <YCOORD> words.

Tool Change

Segment Start

Segment End — Use this to output cancel codes without having to wait until the next Tool Change or Segment Start Format is called.

Program End — This block is normally used to output the rewind command and to reset the control to standard settings after program completion.

File End

File End specifies the format of the line(s) to be placed at the end of a file. This is generally used with the End of Prog specification (selected in the Macro Type field in the General Information dialog).