You are on page 1of 86

Version 9.

1 Changes to the MP Post Processor Reference Guide

Version 9.1 Changes to the MP Post Reference


Guide
This document summarizes changes made to the MP Post Reference Guide for Version 9.1. These
changes occur only in Volume 3, MP Post Language Reference, and apply to all Mastercam products
(Mill, Lathe, Router, and Wire). These changes and other smaller changes have also been made to the
Volume 3 chapters, which are available for download from http://www.mastercam.com.

In this document and also in the MP Post Reference Guide itself, the following color-coding scheme
has been used to highlight changes.

green CHANGED items

blue ADDED items.

red CHANGED parameter number

grey SUPERSEDED items.

yellow May need more attention.

Change summaries included in this document


Chapter 2, Postblock Definitions

Chapter 3, Formulas

Chapter 4, Numeric Variables

Chapter 5, String Variables

Chapter 6, The NCI File


Chapter 7, Parameter Information

November 2002 Mastercam Version 9.1 MP Post Processor Reference Guide 1


Version 9.1 Changes to the MP Post Processor Reference Guide

Volume 3, Chapter 2, Postblock Descriptions


Added descriptions for the new comment postblocks: pcomment0 and pcomment_end.
Added descriptions for the new block drill postblock: pblockdrl
Added descriptions for the following ‘_end’ postblocks:

Mill/Router/Lathe Wire
plin_end plin_end
pcir_end pcir_end
pmx_end pedm_end
pdrl_end pcan_end
pthd_end plow_uv_end
psof_end psof_end
ptlchg0_end ptlchg0_end
ptlchg_end ptlchg_end

M/L/W/R pcomment0
Postblock Type Standard postblock, Command postblock
NCI Gcode 1005, 1006, 1007, 1008
Category Comment
Description This postblock is called every time a comment is read in from the NCI
file. This allows the post to examine the comment gcode
(1005,1006,1007,1008) and the actual comment string, which is passed
in the pre-defined string variable scomm0. You can also examine the
value in the variable comm._cnt.
Dependencies

Assigned or Variables common to comments


Calculated
Variables
Recommended gcode, scomm0, comm._cnt
Variables
Code Example pcomment0 #Called at each buffered comment read (comm._cnt
is the buffer index)
comm._size = comm._cnt # Storing the current comment count
in a user variable

Notes See Volume 1, How Comments from the NCI Work for more
information!

2 Mastercam Version 9.1 MP Post Processor Reference Guide November 2002


Version 9.1 Changes to the MP Post Processor Reference Guide

M/L/W/R pcomment_end
Postblock Type Standard postblock, Command postblock
NCI Gcode 1005, 1006, 1007, 1008
Category Comment
Description This postblock is called after the comment output loop (calls to the
pcomment postblock). The comm_cnt variable is reset to zero on this call.

Dependencies

Assigned or Variables common to comments


Calculated
Variables
Recommended gcode, scomm0, comm._cnt
Variables
Code Example pcomment_end # End of buffered comment output, (comm._cnt is
zero)
if comm._call = 2, com_size = 0

Notes See Volume 1, How Comments from the NCI Work for more
information!

R pblockdrl
Postblock Type Standard postblock
NCI Gcode 83
Category Drill (Block drilling)
Description See note below
Dependencies

Assigned or Variables common to drill canned cycle Gcode 81


Calculated
Variables
Recommended Variables common to drill canned cycle Gcode 81
Variables
Code Example
Notes Used to capture the drill positions from NCI gcode 83 data.
These positions are passed in the variables bdrl_x,2, bdrl_y2, and bdrl_z2, and
this postblock is called on each line. Block drill executes the drill cycle after the
last position has been read. (Drilling calls the usual Mill drill routine.)

November 2002 Mastercam Version 9.1 MP Post Processor Reference Guide 3


Version 9.1 Changes to the MP Post Processor Reference Guide

M/L/R plin_end
Postblock Type Standard postblock
NCI Gcode 1
Category Linear feed
Description This postblock is called after all calls to plin are completed.
Dependencies None
Assigned or
Calculated
Variables
Recommended
Variables
Code Example Post dependent
Notes The plin (mlin or llin) linear output postblocks may be called multiple times
to process an move depending on any motion breakup in effect. lin_end is
called after the linear motion is processed.
See the related pcir_end postblock

W plin_end
Postblock Type Standard postblock
NCI Gcode 1 (also 21, 31 if 4-axis Wire path)
Category Linear feed
Description This postblock is called after all calls to plin are completed.
Dependencies None
Assigned or
Calculated
Variables
Recommended
Variables
Code Example Post dependent
Notes The plin linear output postblocks may be called multiple times to process
a move depending on any motion breakup in effect. plin_end is called
after the linear motion is processed.
See the related pcir_end postblock for Wire

4 Mastercam Version 9.1 MP Post Processor Reference Guide November 2002


Version 9.1 Changes to the MP Post Processor Reference Guide

M/L/R pcir_end
Postblock Type Standard postblock
NCI Gcode 2, 3
Category Arc
Description This postblock is called after all calls to pcir are completed.
Dependencies None
Assigned or
Calculated
Variables
Recommended
Variables
Code Example Post dependent
Notes Called on NCI Gcode 2 or 3 termination.
The pcir (mcir or lcir) circular output postblocks may be called multiple
times to process an arc move depending on any motion breakup in effect.
(breakarcs : 1 # break arc at quadrants)
pcir_end is called after the arc motion is processed.
See the related plin_end postblock

November 2002 Mastercam Version 9.1 MP Post Processor Reference Guide 5


Version 9.1 Changes to the MP Post Processor Reference Guide

W pcir_end
Postblock Type Standard postblock
NCI Gcode 2, 3, 32, 33
Category Arc
Description This postblock is called after all calls to pcir are completed.
Dependencies None
Assigned or
Calculated
Variables
Recommended
Variables
Code Example Post dependent
Notes Called on NCI Gcode 2, 3, 32, 33 termination.
The pcir circular output postblocks may be called multiple times to
process an arc move depending on any motion breakup in effect.
(breakarcs : 1 # break arc at quadrants)
pcir_end is called after the arc motion is processed.
See the related plin_end postblock

M/L/R pmx_end
Postblock Type Standard postblock
NCI Gcode 11
Category 5-axis motion
Description This postblock is called after the call to pmx is completed.
Dependencies None
Assigned or
Calculated
Variables
Recommended
Variables
Code Example Post dependent
Notes Called on NCI Gcode 11 termination

6 Mastercam Version 9.1 MP Post Processor Reference Guide November 2002


Version 9.1 Changes to the MP Post Processor Reference Guide

W pedm_end
Postblock Type Standard postblock
NCI Gcode 11
Category UV taper
Description This postblock is called after the call to pedm is completed.
Dependencies None
Assigned or
Calculated
Variables
Recommended
Variables
Code Example Post dependent
Notes Called on NCI Gcode 11 termination (4-axis taper mode path).
See the related pedm postblock

M/L/R pdrl_end
Postblock Type Standard postblock
NCI Gcode 81, 100
Category Drill
Description This postblock is called after all calls to the active canned cycle
postblock are completed.
Dependencies

Assigned or
Calculated
Variables
Recommended Variables common to drill canned cycle Gcode 81
Variables Variables common to drill canned cycle Gcode 100

Code Example

Notes Called on NCI Gcode 81 or 100 termination.

November 2002 Mastercam Version 9.1 MP Post Processor Reference Guide 7


Version 9.1 Changes to the MP Post Processor Reference Guide

W pcan_end
Postblock Type Standard postblock
NCI Gcode 81, 100
Category Wire canned cycle
Description This postblock is called after all calls to the active canned cycle
postblock are completed.
Dependencies

Assigned or NCI Gcode 81 - Variables common to drill canned cycle Gcode 81


Calculated NCI Gcode 100 - Variables common to wire canned cycle Gcode 100
Variables
Recommended None
Variables
Code Example

Notes Called on NCI Gcode 81 or 100 termination.

L pthd_end
Postblock Type Standard postblock
NCI Gcode 201
Category Threading
Description This postblock is called after the calls to the threading postblocks are
completed.
Dependencies None
Assigned or
Calculated
Variables
Recommended
Variables
Code Example Post dependent
Notes Called on Gcode 201 termination.
See related lathe threading postblocks.
See Volume 3, Lathe Threading Cycles for more information.

8 Mastercam Version 9.1 MP Post Processor Reference Guide November 2002


Version 9.1 Changes to the MP Post Processor Reference Guide

W plow_uv_end
Postblock Type Standard postblock
NCI Gcode 20, 21, 22, 23
Category UV direct
Description This postblock is called after the call to plin or pcir is completed.
Dependencies None
Assigned or
Calculated
Variables
Recommended
Variables
Code Example Post dependent
Notes Called on NCI Gcode 20,21, 22, 23 termination (4-axis direct mode path).
See the related postblocks plin and pcir

M/L/R/W psof_end
Postblock Type Standard postblock
NCI Gcode 1001
Category Start of file
Description This postblock is called after the call to psof is completed.
Dependencies None
Assigned or
Calculated
Variables
Recommended
Variables
Code Example Post dependent
Notes Called on Gcode 1001 termination or tlchng_aft completion.
See tlchng_aft in Volume 3, Numeric Variables for more information.
See ptlchg1002 postblock for related information.

November 2002 Mastercam Version 9.1 MP Post Processor Reference Guide 9


Version 9.1 Changes to the MP Post Processor Reference Guide

M/L/R/W ptlchg0_end
Postblock Type Standard postblock
NCI Gcode 1000
Category Null tool change
Description This postblock is called after the call to ptlchg0 is completed.
Dependencies None
Assigned or
Calculated
Variables
Recommended
Variables
Code Example Post dependent
Notes Called on Gcode 1000 termination or tlchng_aft completion.
See related ptlchg0 postblock for Mill/Lathe/Router.
See related ptlchg0 postblock for Wire.

M/L/R/W ptlchg_end
Postblock Type Standard postblock
NCI Gcode 1002
Category Null tool change
Description This postblock is called after the call to ptlchg is completed.
Dependencies None
Assigned or
Calculated
Variables
Recommended
Variables
Code Example Post dependent
Notes Called on Gcode 1002 termination or tlchng_aft completion.
See related ptlchg postblock for Mill/Lathe/Router.
See related ptlchg postblock for Wire.

10 Mastercam Version 9.1 MP Post Processor Reference Guide November 2002


Version 9.1 Changes to the MP Post Processor Reference Guide

Volume 3, Chapter 3, Formulas


The description of mprint has been enhanced to document added functionality.

mprint
Formula Type File function
Description Displays a message to the screen. The output message is not written to
the NC output. The return value is 0 if numeric variable was passed, or
1 if a string variable was passed to the function.
Form function argument
Argument numeric variable, value
string variable
Return Type numeric variable (scalar)
Formula Code Ex. string1 “ERROR FOUND”
real_var : 100

pblock # A postblock
real_result = mprint (string1)
real_result = mprint (real_var)

In this example, first “ERROR FOUND” is displayed, then “100.”


Boolean Code Ex. if mprint (string1) = 0, “DISPLAY A STRING”
if mprint (real_var) = 1, “DISPLAY A VALUE”
Notes The user must press [Enter] in Mastercam to continue post processing.
Starting with Version 9, mprint is able to take two parameters. The
second parameter, if it is there and not zero, pops up a message box.
For example:
result = mprint (stringmsg, 2)
These are the possible second arguments:
1 = MB_OK The message box contains one pushbutton: OK.
2 = MB_OKCANCEL Message box with: OK and Cancel buttons.
3 = MB_ABORTRETRYIGNORE Three buttons: Abort, Retry, and
Ignore.
4 = MB_YESNOCANCEL Three buttons: Yes, No, and Cancel.
5 = MB_YESNO Two buttons: Yes and No.
6 = MB_RETRYCANCEL Two buttons: Retry and Cancel.
If this message box format is used, mprint returns a number:
1 = IDOK The OK button was selected.
2 = IDCANCEL The Cancel button was selected.
3 = IDABORT The Abort button was selected.
4 = IDRETRY The Retry button was selected.
5 = IDIGNORE The Ignore button was selected.
6 = IDYES The Yes button was selected.
7 = IDNO The No button was selected.
November 2002 Mastercam Version 9.1 MP Post Processor Reference Guide 11
Version 9.1 Changes to the MP Post Processor Reference Guide

Volume 3, Chapter 4, Numeric Variables


Added descriptions for the new comment variables: comm_call and comm_cnt.

Added descriptions for the new SIM information variables: sim_no and sim_type.

Added description for the new Contour Flag style option switch: skp_lead_flgs.

Added description for the new end_ variables available in the ptoolend postblock: end_op_id, end_opcode,
end_tlplnno

Added descriptions for the new block drilling variables for Router
bdrl_ofs_x, bdrl_ofs_y, bdrl_ofs_z

bdrl_tool_grp

bdrl_tool_no

bdrl_u, bdrl_v, bdrl_w

bdrl_use_lead

bdrl_wrk_ofs

bdrl_x, bdrl_y, bdrl_z

bdrl_x2, bdrl_y2, bdrl_z2

Added descriptions for the new right-angle head variables:


ra_head_no

ra_hvecx, ra_hvecy, ra_hvecz

ra_offset

ra_rot_head

ra_svecx, ra_svecy, ra_svecz

ra_translated

ra_tvecx, ra_tvecy, ra_tvecz

ra_type

ra_vecx, ra_vecy, ra_vecz

Deleted entries for these variable descriptions. (They no longer exist.): ra_strt_on, ra_on, ra_length

12 Mastercam Version 9.1 MP Post Processor Reference Guide November 2002


Version 9.1 Changes to the MP Post Processor Reference Guide

R bdrl_ofs_x
Variable Type NCI variable
Category Block drilling (Router)
Description Distance of drill hole minus the lead drill position - X
Values

R bdrl_ofs_y
Variable Type NCI variable
Category Block drilling (Router)
Description Distance of drill hole minus the lead drill position - Y
Values

Code Example none

Notes This is only valid in the Mastercam Router product.

R bdrl_ofs_z
Variable Type NCI variable
Category Block drilling (Router)
Description Distance of drill hole minus the lead drill position -Z
Values

Code Example none

Notes This is only valid in the Mastercam Router product.

R bdrl_tool_grp
Variable Type NCI variable
Category Block drilling
Description Block drill group number
Values

Code Example none

Notes This is only valid in the Mastercam Router product.

November 2002 Mastercam Version 9.1 MP Post Processor Reference Guide 13


Version 9.1 Changes to the MP Post Processor Reference Guide

R bdrl_tool_no, bdrl_tool_no1 … bdrl_tool_no9


Variable Type NCI variable
Category Block drilling (Router)
Description Tool numbers; first head (bdrl_tool_no) thru nineth head
(bdrl_tool_no9)
Values

Code Example none

Notes This is only valid in the Mastercam Router product.

R bdrl_u
Variable Type NCI variable
Category Block drilling
Description Position of lead drill at initial height - X
Values

Code Example none

Notes This is only valid in the Mastercam Router product.

R bdrl_v
Variable Type NCI variable
Category Block drilling
Description Position of lead drill at initial height – Y
Values

Code Example none

Notes This is only valid in the Mastercam Router product.

R bdrl_w
Variable Type NCI variable
Category Block drilling
Description Position of lead drill at initial height – Z
Values

Code Example none

14 Mastercam Version 9.1 MP Post Processor Reference Guide November 2002


Version 9.1 Changes to the MP Post Processor Reference Guide

Notes This is only valid in the Mastercam Router product.

R bdrl_use_lead
Variable Type Post switch variable
Category Post switch, Preparatory
Description Output the lead drill (on block drilling) as the drill position
Values

0 No
1 Yes
Code Example none

Notes This is only valid in the Mastercam Router product.

R bdrl_wrk_ofs
Variable Type NCI variable
Category Block drilling
Description Work offset for drill position
Values

Code Example none

Notes This is only valid in the Mastercam Router product.

R bdrl_x
Variable Type NCI variable
Category Block drilling
Description Lead drill position at depth - X
Values

Code Example none

Notes This is only valid in the Mastercam Router product.

November 2002 Mastercam Version 9.1 MP Post Processor Reference Guide 15


Version 9.1 Changes to the MP Post Processor Reference Guide

R bdrl_y
Variable Type NCI variable
Category Block drilling
Description Lead drill position at depth - Y
Values

Code Example none

Notes This is only valid in the Mastercam Router product.

R bdrl_z
Variable Type NCI variable
Category Block drilling
Description Lead drill position at depth - Z
Values

Code Example none

Notes This is only valid in the Mastercam Router product.

R bdrl_x2
Variable Type NCI variable
Category Block drilling
Description X position for pblockdrl data collection
Values

Code Example none

Notes This is only valid in the Mastercam Router product.


See postblock pblockdrl for more information.

16 Mastercam Version 9.1 MP Post Processor Reference Guide November 2002


Version 9.1 Changes to the MP Post Processor Reference Guide

R bdrl_y2
Variable Type NCI variable
Category Block drilling
Description Y position for pblockdrl data collection
Values

Code Example none

Notes This is only valid in the Mastercam Router product.


See postblock pblockdrl for more information.

R bdrl_z2
Variable Type NCI variable
Category Block drilling
Description Z position for pblockdrl data collection
Values

Code Example none

Notes This is only valid in the Mastercam Router product.


See postblock pblockdrl for more information.

comm_call
Variable Type Calculated variable
Category Comment
Description Reports how many times the comment output loop has been
called (calls to the pcomment postblock), either by the command
word comment, or internally from MP.This makes the count from
a tool change different than from a motion postblock call.
Values Value
Code Example None

Notes Initializing comm._cnt = -1, will allow the comment output loop to
be called only with the command word comment.
See Volume 1, Posting Comments into the NC File for more
information.

November 2002 Mastercam Version 9.1 MP Post Processor Reference Guide 17


Version 9.1 Changes to the MP Post Processor Reference Guide

comm_cnt
Variable Type Calculated variable
Category Comment
Description Reports how many comments have been buffered in from the
NCI data prior to output in a comment output loop.
Values Value
Code Example None

Notes comm._cnt allows the user to control the comment buffer output
by redefining the number of comments that MP has written to the
comment buffer. This tricks the MP executable into ending or
rereading the buffered comments
See Volume 1, Posting Comments into the NC File for more
information.

end_op_id
Variable Type Calculated variable
Category Tool change information, operation type
Description In postblock ptoolend, this is the Operation ID on the next tool
change.
Values Value
Code Example ptoolend #End of tool path, before reading new tool data
if end_gcode = 1000,
[
#Null toolchange
if end_op_id <> op_id, pretract_mov
]
else,
[
#Actual toolchange
pretract
]
Notes

18 Mastercam Version 9.1 MP Post Processor Reference Guide November 2002


Version 9.1 Changes to the MP Post Processor Reference Guide

end_opcode
Variable Type Calculated variable
Category Tool change information, operation type
Description In postblock ptoolend, this is the Operation code on the next tool
change.
Values Value
Code Example ptoolend #End of tool path, before reading new tool data
if end_gcode = 1000,
[
#Null toolchange
if end_op_id <> op_id, pretract_mov
]
else,
[
#Actual toolchange
pretract
]
Notes

end_tlplnno
Variable Type Calculated variable
Category

Description In postblock ptoolend, this is the tool plane (Tplane) number on


the next tool change.
Values Value
Code Example ptoolend #End of tool path, before reading new tool data
if end_gcode = 1000,
[
#Null toolchange
if end_op_id <> op_id, pretract_mov
]
else,
[
#Actual toolchange
pretract
]

November 2002 Mastercam Version 9.1 MP Post Processor Reference Guide 19


Version 9.1 Changes to the MP Post Processor Reference Guide

M R ra_head_no
Variable Type NCI variable
Category Right-angle head support
Description Head number
Values

Code Example none

Notes

M R ra_hvecx, ra_hvecy, ra_hvecz


Variable Type NCI variable
Category Right-angle head support
Description Vector from zero reference to head reference (user defined)
Notes

M R ra_offset
Variable Type NCI variable
Category Right-angle head support
Description Work offset overide
Notes

M R ra_rot_head
Variable Type NCI variable
Category Right-angle head support
Description Flags when the head has rotary capabilities
Values
0 Fixed head
1 Rotary motion in head
Code Example none

Notes From parameter 17 of the 1028 NCI line.

20 Mastercam Version 9.1 MP Post Processor Reference Guide November 2002


Version 9.1 Changes to the MP Post Processor Reference Guide

M R ra_svecx, ra_svecy, ra_svecz


Variable Type NCI variable
Category Right-angle head support
Description Unit vector of initial tool direction (tip to pivot)
Notes For independent head rotation reference.

M R ra_translated
Variable Type NCI variable
Category Right-angle head support
Description Flags coordinate translation.
Values
0 Coordinates are not translated to the machine view.
1 All coordinates are translated to the machine view.
Notes From parameter 16 of the 1028 NCI line

M R ra_tvecx, ra_tvecy, ra_tvecz


Variable Type NCI variable
Category Right-angle head support
Description Vector representing the offset from the head pivot
Notes

M R ra_type
Variable Type NCI variable
Category Right-angle head support
Description Defines head type
Values
0 No head (off)
1 Right angle
2 Compound angle
3 Block drill
Notes

November 2002 Mastercam Version 9.1 MP Post Processor Reference Guide 21


Version 9.1 Changes to the MP Post Processor Reference Guide

M R ra_vecx, ra_vecy, ra_vecz


Variable Type NCI variable
Category Right-angle head support
Description Unit vector of tool direction (tip to pivot)
Notes OAL from tool definition is tool length to pivot and is used to
scale this vector when needed.

M R L W redo_proc
Variable Type Command variable
Category Process control
Description The command variable redo_proc allows exiting the current
postline and all subsequent processing on the current NCI line.
The posting process is then restarted on the NCI line that the
redo_proc exited on. The purpose of this command variable is to
enter an internal MP procedure and then abort the process in
order to restart it with a different condition. Some examplese are
to linearize arcs after calling into pcir, to break lines after calling
into plin, to switch long drill cycles on or off, etc.
To avoid endless looping, a call to redo_proc is performed once
and then is disabled until the next NCI line is read.
Caution: This procedure can produce undesirable effects on tool
tables, etc. There is no control over what internal variables are
updated before a procedure is restarted! Generally, the sooner
the procedure is aborted, the safer it is.
New postblocks have been added to allow the user to see when
the procedure has exited in the normal read loop. These
postblocks are called just before the next NCI line set is read.
Variables can safely be reset here that are modified before the
redo_proc is called.
Added Mill/Router/Lathe postlocks:
plin_end - Gcode 0 or 1 termination
pcir_end - Gcode 2 or 3 termination
pmx_end - Gcode 11 termination
pdrl_end - Gcode 81 or 100 termination
pthd_end - Gcode 201 termination
psof_end - Gcode 1001 termination or tlchng_aft completion
ptlchg0_end - Gcode 1000 termination or tlchng_aft completion

22 Mastercam Version 9.1 MP Post Processor Reference Guide November 2002


Version 9.1 Changes to the MP Post Processor Reference Guide

ptlchg_end - Gcode 1002 termination or tlchng_aft completion


Added Wire postblocks:
plin_end - Gcode 0, 1, 30 or 31 termination
pcir_end - Gcode 2, 3, 32, 33 termination
pedm_end - Gcode 11 termination
pcan_end - Gcode 81 or 100 termination
plow_uv_end - Gcode 20, 21, 22, 23 termination (direct lower
wire read)
psof_end - Gcode 1001 termination or tlchng_aft completion
ptlchg0_end - Gcode 1000 termination or tlchng_aft completion
ptlchg_end - Gcode 1002 termination or tlchng_aft completion
Code Example pcir #Output to NC of circular interpolation
if sweep >= 180,
[
breakarcs = 1
redo_proc
]
prapid
pcir_end #End of circular
breakarcs = 0
Notes See Volume 3, Postblocks for more information.

sim_no
Variable Type Global variable
Category SIM (HASP) data
Description Holds the SIM (HASP) serial number.
Values Value
Code Example None

Notes New starting with Version 9.06 of the MP DLLs.

November 2002 Mastercam Version 9.1 MP Post Processor Reference Guide 23


Version 9.1 Changes to the MP Post Processor Reference Guide

sim_type
Variable Type Global variable
Category SIM (HASP) data
Description Holds the SIM (HASP) user type
Values

0 industrial
1 educational
2 dealer
3 control
Code Example None

Notes New starting with Version 9.06 of the MP DLLs.

skp_lead_flgs
Variable Type Post switch variable
Category Post switch, Process modification
Description Controls the handling of the contour flags.
Values

0 Use new style contour flags.


1 Do NOT use new style contour flags
Code Example skp_lead_flgs : 1 #Do NOT use new style contour flags.

Notes Indicates that the new style leads (2000s and 200s, 3000s and
300s) for cstart and cend are to be converted to Version 9.0 and
earlier style. This replaces the rpd_typ_v7 variable that was used in
Wire for this purpose.
See cur_cflg for contour flag information.

24 Mastercam Version 9.1 MP Post Processor Reference Guide November 2002


Version 9.1 Changes to the MP Post Processor Reference Guide

Variables that were DELETED…

M / L ra_strt_on
Variable Type NCI variable
Category Future development
Notes Right-angle head support

M / L ra_on
Variable Type NCI variable
Category Future development
Notes Right-angle head support

M / L ra_length
Variable Type NCI variable
Category Future development
Notes Right-angle head support

November 2002 Mastercam Version 9.1 MP Post Processor Reference Guide 25


Version 9.1 Changes to the MP Post Processor Reference Guide

Volume 3, Chapter 5, String Variables


scommwith
Variable Type NCI variable
Category Comment strings
Description This string is used to capture the comments with output and prevent them
from being overwritten by other string comments in the NCI file. The
1007 comments are also concatenated before output. (They were
overwritten in prior versions of MP.)
Code Example
Notes See Volume 1, How Comments from the NCI Work for more
information.

26 Mastercam Version 9.1 MP Post Processor Reference Guide November 2002


Version 9.1 Changes to the MP Post Processor Reference Guide

Volume 3, Chapter 6, The NCI File


Added the ROUTER “NCI Gcode Summaries” list. The ONLY difference between the Router and
Mill lists is that Router has the G83 NCI data, so the lists have not been included in that list in this
document.

Added descriptions for the new NCI code 1028 (Lathe and Mill).

Added description for the new NCI code 83 (Router).

Altered the description of parameter 10 of the NCI code 1013 (Wire).

L M 1028 (Right-angle head data)

g
1 2 3 4 5 6 7 8 9 10 11 1213 14 15 16 17
g 1027 gcode
1 Holder type ra_type 0 No head
1 Right-angle
2 Compound
3 Block drill
2 Offset register ra_offset
3 Tool path pector X ra_vecx
4 Tool path pector Y ra_vecy
5 Tool path vector Z ra_vecz
6 Tool initial vector X ra_svecx
7 Tool initial vector Y ra_svecy
8 Tool initial vector Z ra_svecz
9 Head offset X ra_hvecx
10 Head offset Y ra_hvecy
11 Head offset Z ra_hvecz
12 Tool offset X ra_tvecx
13 Tool offset Y ra_tvecy
14 Tool offset Z ra_tvecz
15 Head number ra_head_no only used for block drilling
16 ra_translated 0 coordinates no translated
1 coordinates are translated to the
machine view
17 ra_rot_head 0 Fixed-head
1 roatry motion in head

November 2002 Mastercam Version 9.1 MP Post Processor Reference Guide 27


Version 9.1 Changes to the MP Post Processor Reference Guide

R 83 (Block Drill / Canned Cycle Parameters)


g
1 2 3 4 5 6 7 8 9 10 11 12

g 83 gcode
1 Lead drill at depth - X bdrl_x
2 Lead drill at depth - Y bdrl_y
3 Lead drill at depth - Z bdrl_z
4 Distance of drill hole bdrl_ofs_x
minus lead drill
position - X
5 Distance of drill hole bdrl_ofs_y
minus lead drill
position - Y
6 Distance of drill hole bdrl_ofs_z
minus lead drill
position - Z
7 Group number bdrl_tool_grp
8 Work offset for drill bdrl_wrk_ofs
position
9 Position of lead drill bdrl_u
at initial height - X
10 Position of lead drill bdrl_v
at initial height – Y
11 Position of lead drill bdrl_w
at initial height – Z
12 Bitwise tool number, bdrl_tool_no – In this parameter, the data stored in
first head bdrl_tool_no9 “bitwise” format. TEN separate post
variables are extracted from it.
bdrl_tool_no, bdrl_tool_no2,
bdrl_tool_no3, through
bdrl_tool_no9

Note: The G83 NCI data is ONLY written by the Mastercam ROUTER product.

28 Mastercam Version 9.1 MP Post Processor Reference Guide November 2002


Version 9.1 Changes to the MP Post Processor Reference Guide

W 1013 (Define Miscellaneous Parameters)


g
1 2 3 4 5 6 7 8 9 10

g 1013 gcode
1 Cutter
compensation cc 0 Cutter compensation modal
use
40 Cancel cutter compensation in the
control
41 Cutter compensation in the control
= left
42 Cutter compensation in the control
= right
140 Cancel cutter compensation last
move in the contour
2 Tool (wire) tldia
diameter
3 Tool (wire) tlrad
radius
4 Overburn
overburn
amount
5 Wire status wire 0 Off
1 On
6 Power status power 0 Off
1 On
7 Work origin X wox

8 Work origin y woy


9 Operation code opcode 201 Contour
202 Contour
203 Canned (Drill)
204 No Core
205 4-axis taper, no skim
206 2D reverse skimcut
207 (Not used)
208 4-axis direct, reverse skimcuts
209 4-axis direct, no skimcuts
210 4-axis taper, reverse skimcuts
211 4-axis taper, one-way skimcuts
212 4-axis direct, one-way skimcuts
213 2D one-way skimcuts
214 Rapid point
10 Power library strtool, Full path and name of the power
path and name strtoolpath library used for the operation

November 2002 Mastercam Version 9.1 MP Post Processor Reference Guide 29


Version 9.1 Changes to the MP Post Processor Reference Guide

Volume 3, Chapter 7, Parameter Information


The following parameters were ADDED:
OPS: PRM_WIRE_EE3
OPS: PRM_XFORM_VIEW2
OPS: OP_VIEW3 (WCS view data)
OPS: PRM_EXT_SHORT
OPS: PRM_EXT_SHORT2
OPS: PRM_ROUT_CUTOFF
OPS: MULTAX_LIMIT
OPS: MULTAX_LIMIT2
OPS: MULTAX_LIMIT3
OPS: PRM_5AX_LIMIT
OPS: PRM_LATHE_CORNER_BREAK
OPS: PRM_LSTOCK_XFER
OPS: PRM_LSTOCK_FLIP
OPS: PRM_LBARFEED
OPS: PRM_LCHUCK_CLAMP
OPS: PRM_LTAILSTOCK
OPS: PRM_LSTEADYREST
OPS: PRM_PKT_HSOPTS
OPS: PRM_THINWALL
OPS: PRM_SRF_RGH_RESTMILL
OPS: PRM_ROUT_SRF_RGH_POCKET
OPS: OP_CC
OPS: OP_CC001
OPS: OP_CC002
OPS: PRM_NESTING
OPS: PRM_WIRE_TAB
OPS: PRM_HELIX_BORE
OPS: PRM_SLOTMILL

The following parameters were entirely REPLACED.


OP_CC_COMPUTER (replaced by OP_CC)
OP_CC_COMPUTER001 (Lathe and Wire) (replaced by OP_CC002)
OP_CC_CONTROL (replaced by OP_CC001)
OP_CC_CONTROL001 (pocket) (replaced by OP_CC)
OP_CC_CONTROL002 (Lathe and Wire) (replaced by OP_CC002)

Note: These are partial lists. Other parameters may have been changed. See the complete document
for color-coded changes.

30 Mastercam Version 9.1 MP Post Processor Reference Guide November 2002


Version 9.1 Changes to the MP Post Processor Reference Guide

OPS: PRM_WIRE_COMMON (pages 77-78)


Added parameters

14084 Use rapid height (True/False)


14085 Use UV extension (True/False)
10486 Use UV trim plane(True/False)
14087 Use XY trim plane (True/False)
14088 Use XY extension (True/False)
14089 Suppress thread (True/False)
14090 Suppress cut (True/False)

OPS: PRM_WIRE_COMMON001 (pages 79-80)


Added parameters

14084 Use rapid height (True/False)


14085 Use UV extension (True/False)
10486 Use UV trim plane(True/False)
14087 Use XY trim plane (True/False)
14088 Use XY extension (True/False)
14089 Suppress thread (True/False)
14090 Suppress cut (True/False)

OPS: PRM_WIRE_COMMON002 (pages 81-82)


Added parameters

14084 Use rapid height (True/False)


14085 Use UV extension (True/False)
14086 Use UV trim (True/False)
14087 Use XY trim (True/False)
14088 Use XY extension (True/False)
14089 Suppress thread (True/False)
14090 Suppress cut (True/False)

November 2002 Mastercam Version 9.1 MP Post Processor Reference Guide 31


Version 9.1 Changes to the MP Post Processor Reference Guide

OPS: PRM_WIRE_EE3 (page 85)


Added this entire section Æ

14116 Lead in: N = none, A = arc, L = line


14117 Lead out: N = none, A = arc, L = line
14118 Radius of entry arc
14119 Sweep angle of entry arc (in radians)
14120 Apply the value in max_lead_len (True/False) (even if 0)
14121 Maximum lead out length
14122 Overlap amount (can be negative for tabs)
14123 Cut wire before leaving contour (True/False)

OPS: PRM_WIRE_CONTOUR (pages 87-89)


Altered parameter description Æ

(was) 14031 True = use cancel_taper_pass, false = no cancel taper


(now) 14031 0=no cancel taper, 1=cancel after, 2=apply after

Added these parameters-Æ

14074 Taper active (True/False)


14105 Contour type: (0=No taper, 1 = Taper IN, 2 = Taper OUT, 3 = Land UP, 4 = Land
DOWN )
14106 Chain Height position:0 = XY height, 1 = Land height, 2 = UV height
14107 Land Height
14108 True = land height is set incremental
14109 Generate stop: 0 = always, 1 = first only, 2 = never
14110 Use sub offset (True/False)
14111 Sub offset

Added link to Æ PRM_WIRE_EE


Added link to Æ PRM_WIRE_EE2

14112 'Perform rough cut' option is checked (True/False)


14113 'Tab' cut option is checked (True/False)
14114 'Skim cuts after tab' option is checked (True/False)

32 Mastercam Version 9.1 MP Post Processor Reference Guide November 2002


Version 9.1 Changes to the MP Post Processor Reference Guide

OPS: PRM_WIRE_NOCORE (page 91)


Added these parameters Æ

14110 Use sub offset (True/False)


14111 Sub offset

OPS: PRM_WIRE_4AXIS (pages 93-94)


Added these parameters Æ

14109 Generate stop: 0 = always, 1 = first only, 2 = never


14110 Use sub offset (True/False)
14111 Sub offset

Added link to Æ PRM_WIRE_TAB


Added link to Æ PRM_WIRE_EE3

14112 Rough on (True/False)


14113 Tab on (True/False)
14114 Finish on (True/False)

November 2002 Mastercam Version 9.1 MP Post Processor Reference Guide 33


Version 9.1 Changes to the MP Post Processor Reference Guide

OPS: PRM_XFORM_VIEW2 (page 96)


Added this entire section Æ

15391 View matrix


15392 View matrix
15393 View matrix
15394 View matrix
15395 View matrix
15396 View matrix
15397 View matrix
15398 View matrix
15399 View matrix
15400 View origin
15401 View origin
15402 View origin
15403 View number at time of creation

OPS: PRM_XFORM_ROTATE (page 98)


Altered parameter description Æ

(was) 15046 Rotation point in world coordinates


(now) 15046 Rotation angle (in degrees)

34 Mastercam Version 9.1 MP Post Processor Reference Guide November 2002


Version 9.1 Changes to the MP Post Processor Reference Guide

OPS: PRM_XFORM_TRANSLATE (page 99)


Altered parameter descriptions Æ

(was) 15032 Pol


(now) 15032 Polar distance (if polar method used)

(was) 15033 pol[0] = polar distance, pol[1] = angle (degrees)


(now) 15033 Polar angle (in degrees) (if polar method used)

Added parameters Æ

15390 Use source view (True/False)

Added link to Æ PRM_XFORM_VIEW2

OPS: PRM_CONTOUR (page 106)


Altered parameter descriptions Æ

12014 Contour type:


0 = 2D Contour
1 = 3D Contour
2 = 2D Chamfer
3 = 3D Chamfer
4 = Ramp
5 = Remaching

Added link to Æ prm_ext_short // Start extend/shorten


Added link to Æ prm_ext_short2 // End extend/shorten

Added parameters Æ

15485 Entry feed rate override


15486 Entry feed rate override is enabled (True/False)
15487 Exit feed rate override
15488 Exit feed rate override is enabled (True/False)

November 2002 Mastercam Version 9.1 MP Post Processor Reference Guide 35


Version 9.1 Changes to the MP Post Processor Reference Guide

OPS: PRM_ROUT_TAB (page 108)


*Added these parameters Æ

16053 Overwrite tab edit (True/False)


16054 Cutoff type (0 = none, 1 = after)
16055 Do tab cutoff pass on finish (True/False)

OPS: PRM_ROUT_CNTR (page 109)


16025 Contour type

Added link to Æ PRM_EXT_SHORT Start extend/shorten


Added link to Æ PRM_EXT_SHORT2 End extend/shorten

15485 Entry feed rate override


15486 Entry feed rate override enabled (True/False)
15487 Exit feed rate override
15488 Exit feed rate override enabled (True/False)

OPS:PRM_DRILL (pages 110-111)

Added link to Æ PRM_5AX_LIMIT multi-axis limits

OPS:PRM_LDRILL (page 112)


Removed these parameters (no longer exist!) Æ

10502 Drill point in X


10504 Feed plane (retract setting)
10506 Drill depth
10518 Depth incremental mode is checked (True/False)

36 Mastercam Version 9.1 MP Post Processor Reference Guide November 2002


Version 9.1 Changes to the MP Post Processor Reference Guide

OPS: PRM_LATHE_EE_VEC (Entry/Exit parameters) (page 113)


11001 Vector
11002 Vector
13000 Arc
13001 Arc
11007 Arc
13002 Arc
11008 Arc
11023 0=user, 1=tangent, 2=perpendicular

OPS: PRM_LATHE_EE_VEC2 (Entry/Exit parameters) (page 114)


11011 Vector
11012 Vector
13010 Arc
13011 Arc
11017 Arc
13012 Arc
11018 Arc
11028 0 = user, 1 = tangent, 2 = perpendicular

OPS: PRM_LATHE_PLUNGE (Lathe Finish) (page 116)


Altered parameter descriptions Æ

OPS:PRM_LATHE_PLUNGE001 (Lathe Rough) (page 117)


Altered parameter descriptions

OPS:PRM_LFINISH (page 119)


Added link to Æ PRM_LATHE_CORNER_BREAK

November 2002 Mastercam Version 9.1 MP Post Processor Reference Guide 37


Version 9.1 Changes to the MP Post Processor Reference Guide

OPS: PRM_LROUGH (page 120)


Altered parameter description Æ

(was) 10214 Direction: 0 = ID, 1 = OD, 2 = face, 3 = back


(now) 10214 Direction: 0 = OD, 1 = ID, 2 = face, 3 = back

Added these parameters Æ

13188 Use minimum angle (True/False)


13189 Minimum overlap angle
13190 Minimum overlap angle absolute (True/False)
13191 Minimum step amount
13192 Do semi-finish pass (True/False)
13193 Number of cuts
13194 Step amount
13143 Stock to leave in X
13144 Stock to leave in Z

10205 lrough_ltol

OPS: PRM_LATHE_PECK (page 121)


Altered parameter descriptions Æ

(was) 10744 0= none, 1 = number, 2 = incremental, 3 = decreasing increment


(now) 10744 Peck type: 0= none, 1 = number, 2 = incremental, 3 = decreasing increment

(was) 10740 0= none, 1 = absolute, 2 = incremental


(now) 10740 Retract type: 0= none, 1 = absolute, 2 = incremental

(was) 10743 0= none, 1 = all pecks, 2 = last peck


(now) 10743 Dwell type: 0= none, 1 = all pecks, 2 = last peck

(was) 13023 0 = seconds, 1 = revolutionss


(now) 13023 Dwell units: 0 = seconds, 1 = revolutionss

10703 lgroove_peck_number
10704 lgroove_peck_incr
10706 lgroove_last_incr
10742 lgroove_retract_incr
10741 lgroove_retract_incr

38 Mastercam Version 9.1 MP Post Processor Reference Guide November 2002


Version 9.1 Changes to the MP Post Processor Reference Guide

OPS: PRM_LATHE_PECK2 (page 122)


Altered parameter descriptions Æ

(was) 10723 0= none, 1 = number, 2 = incremental, 3 = decreasing increment


(now) 10723 Peck type: 0= none, 1 = number, 2 = incremental, 3 = decreasing increment

(was) 10727 0= none, 1 = absolute, 2 = incremental


(now) 10727 Retract type: 0= none, 1 = absolute, 2 = incremental

(was) 10731 0 = none, 1 = all pecks, 2 = last peck


(now) 10731 Dwell type: 0 = none, 1 = all pecks, 2 = last peck

(was) 13025 0 = seconds, 1 = revolutions


(now) 13025 Dwell units: 0 = seconds, 1 = revolutions

10724 lgroove_peck_number
10725 lgroove_peck_incr
10726 lgroove_last_incr
10728 lgroove_retract_incr
10729 lgroove_retract_incr

OPS: PRM_LATHE_PECK001 (page 123)


Altered parameter descriptions Æ

(was) 10744 0 = none, 1 = number, 2 = incremental, 3 = decreasing increment


(now) 10744 Peck type: 0 = none, 1 = number, 2 = incremental, 3 = decreasing increment

(was) 10319 0 = none, 1 = absolute, 2 = incremental


(now) 10319 Retract type: 0 = none, 1 = absolute, 2 = incremental

(was) 10743 0 = none, 1 = all pecks, 2 = last peck


(now) 10743 Dwell type: 0 = none, 1 = all pecks, 2 = last peck

(was) 13023 0 = seconds, 1 = revolutions


(now) 13023 Dwell units: 0 = seconds, 1 = revolutions

10315 lgroove_peck_number
10316 lgroove_peck_incr
10318 lgroove_last_incr
10742 lgroove_retract_incr
10320 lgroove_retract_incr

November 2002 Mastercam Version 9.1 MP Post Processor Reference Guide 39


Version 9.1 Changes to the MP Post Processor Reference Guide

OPS: PRM_LCUTOFF (page 137)


10701 lcutoff_x_tangent
10711 lcutoff_to_back_rad
10712 lcutoff_leadin
10750 0=none, 1=absolute, 2=incremental, lcutoff_retract_on
10719 lcutoff_clearance_cut_x
10720 lcutoff_clearance_cut_z

OPS: PRM_GROOVE_DEPTH (page 139)


10322 lgroove_do_depth
10323 True = increments, false = number, lgroove_use_depth_incr
10325 lgroove_depth_incr
10324 lgroove_n_depth

OPS: PRM_GROOVE_ROUGH (page 141)


Altered parameter descriptionsÆ

(was) 10309 0 = positive, 1 = negative, 2 = center start, 3 = chain direction


(now) 10309 Cut direction: 0 = positive, 1 = negative, 2 = bi-directional (center start), 3 = chain
direction

(was) 13129 0 = use number of steps, 1 = use step, 2 = use percent of tool width
(now) 13129 Rough step: 0 = use number of steps, 1 = use step, 2 = use percent of tool width

OPS: PRM_GROOVE_FINISH (page 142)


10365 lgroove_fin_cut

40 Mastercam Version 9.1 MP Post Processor Reference Guide November 2002


Version 9.1 Changes to the MP Post Processor Reference Guide

OPS: PRM_LGROOVE (page 143)


Altered parameter descriptions Æ

(was) 13137 0 = 1 point, 1 = 2 point, 2 = 3 line, 3 = 2 boundary method


(now) 13137 Groove defintion type: 0 = 1 point, 1 = 2 point, 2 = 3 line, 3 = 2 boundary method (chain)

(was) 13138 0 = ID, 1 = OD, 2 = Face, 3 = back, 4 = angle


(now) 13138 Groove cut direction: 0 = ID, 1 = OD, 2 = face, 3 = back, 4 = angle

(was) 10326 True = rapid, false = feed


(now) 10326 Retract moves rate: true = rapid, false = feed

Added these parameters Æ

*added> 13240 Finish backoff


*added> 13241 Backoff type: 0 = invalid (pre v9.1), 1 = percent of tool width, 2 = distance

OPS: PRM_THREAD_SHAPE (page 145)


Altered parameter descriptions Æ

(was) 10419 0 = ID, 1 = OD, 2 = face/back


(now) 10419 Thread cut type: 0 = ID, 1 = OD, 2 = face/back

(was) 10400 Thread lead


(now) 10400 Thread lead :thread/inch (mm) setting returns a negative value,
inches(mm)/thread setting returns a positive value

Added parameter Æ

13195 Diameter at small end (True/False)

November 2002 Mastercam Version 9.1 MP Post Processor Reference Guide 41


Version 9.1 Changes to the MP Post Processor Reference Guide

OPS: PRM_THREAD_CUT (page 146)


Altered parameter descriptions Æ

(was) 10409 0 = longhand (G32), 1 = canned (G76), 2 = box (G92)


(now) 10409 NC output type: 0 = longhand (G32), 1 = canned (G76), 2 = box (G92)

(was) 10421 clearance_from_formula


(now) 10421 Auto compute acceleration clearance (True/False)

10431 True = convert to number of threads for gui


10434 True = convert to number of threads for gui
10435 True = convert to number of threads for gui

OPS: PRM_LTHREAD (page 147)


10422 cur_thread_name
10423 cur_allow_name

OPS: PRM_LCAN_ROUGH (page 148)


Altered parameter descriptions Æ

(was) 10214 Direction: 0 = ID, 1= OD, 2 = face, 3 = back


(now) 10214 Direction: 0 = OD, 1= ID, 2 = face, 3 = back

(was) 10201 ESCAPING AMOUNT


(now) 10201 Overlap

Added these parameters Æ

Added link to Æ PRM_LATHE_PLUNGE

13239 True = profile has an undercut (relief) condition

10205 lrough_ltol

42 Mastercam Version 9.1 MP Post Processor Reference Guide November 2002


Version 9.1 Changes to the MP Post Processor Reference Guide

OPS: PRM_LCAN_FINISH (page 149)


Altered parameter descriptions Æ

(was) 13143 stock_x


(now) 13143 fin_stock_x (not used)

(was) 13144 fin_stock_z


(now) 13144 fin_stock_z (not used)

Added this parameter Æ

13239 True = profile has an undercut (relief) condition

OPS: PRM_LCAN_PATTERN (page 150)


Altered parameter descriptions Æ

(was) 10100 n_fin_cuts


(now) 10100 Number of passes

(was) 10101 fin_cut


(now) 10101 Stepover

(was) 10102 fin_stock_x


(now) 10102 Stock to leave in X

(was) 10103 fin_stock_z


(now) 10103 Stock to leave in Z

(was) 13149 Pattern offset angle


(now) 13149 Pattern offset angle (in radians)

OPS: OPS: PRM_OPEN_POCK (page 157)


Parameter number change Æ

(was) 10442 Overlap distance on the open side


(now) 12413 Overlap distance on the open side

November 2002 Mastercam Version 9.1 MP Post Processor Reference Guide 43


Version 9.1 Changes to the MP Post Processor Reference Guide

OPS: PRM_POCKET (page 158-159)


10300 Cutting Method(zigzag, one way, etc)

Added these parameters Æ

Added link to Æ PRM_PKT_HSOPTS

15474 Number of finish spring cuts


15475 Feed rate override
15476 Spindle speed override
15477 Feed rate override enabled (True/False)
15478 Spindle speed override enabled (True/False)

Added link to Æ PRM_THINWALL

15479 Entry feed rate override


15480 Entry feed rate override enabled (True/False)
15481 Exit feed rate override
15482 Exit feed rate override enabled (True/False)

OPS: PRM_ROUT_POCK (pg160-161)


16034 Cutting Method(zigzag, one way, etc)
16051 Pocket type

Added these parameters Æ

Added link to Æ PRM_PKT_HSOPTS

15474 Number of finish spring cuts


15475 Feed rate override
15476 Spindle speed override
15477 Feed rate override enabled (True/False)
15478 Spindle speed override enabled (True/False)

Added link to Æ PRM_THINWALL

15479 Entry feed rate override


15480 Entry feed rate override enabled (True/False)
15481 Exit feed rate override
15482 Exit feed rate override enabled (True/False)

44 Mastercam Version 9.1 MP Post Processor Reference Guide November 2002


Version 9.1 Changes to the MP Post Processor Reference Guide

OPS: PRM_FACING (page 162)


Altered parameter descriptions Æ

(was) 12051 Zigzag, oneway_climb, oneway_conv, one_pass


(now) 12051 Cut method: Zigzag, oneway (climb), oneway (conv), one pass

(was) 12052 HS_loops, linear, rapid


(now) 12052 Move between cuts: HighSpeed loops, linear, rapid

OPS: PRM_SRF_COMMON (page 163)


Parameter number changes Æ

(was) 12004 True = comp to tip


(now) 12410 Comp to tip (True/False)

(was) 10410 Maximum stepdown


(now) 12411 Maximum stepdown

OPS: PRM_SRF_GAP_SETTINGS (page 164)


Altered parameter description Æ

(was) 10258 Percentage of stepover (or tool diameter)


(now) 10258 Maximum short gap (as percentage of stepover (or tool diameter))

Parameter number change Æ

(was) 10401 Tangential arc radius


(now) 12414 Tangential arc radius

November 2002 Mastercam Version 9.1 MP Post Processor Reference Guide 45


Version 9.1 Changes to the MP Post Processor Reference Guide

OPS: PRM_SRF_EDGE_SETTINGS (page 165)


Altered parameter descriptions Æ

(was) 10252 True = search for shared edges


(now) 10252 Search for shared edges (obsolete - defaulted to False)

(was) 10251 True = use edge percentage, False = use edge distance
(now) 10251 Use "solid hidden face" (True/False)

(was) 10249 Shared edge tolerance, as distance


(now) 10249 Containment boundary offset distance (set to '0' in v8 ops)

(was) 10250 as percentage of cut tolerance


(now) 10250 Containment boundary offset option
0 = offset inside
1 = no offset (center) (this is default)
2 = offset outside

(was) 10240 As percentage of cut tolerance


(now) 10240 Sharp corner tolerance (as percentage of cut tolerance)

OPS: PRM_SRF_DEPTHS (page 167-168)


Parameter number change Æ

(was) 10408 Absolute: highest cut


(now) 12412 Absolute: highest cut

OPS: PRM_SRF_RGH_PARALLEL (page 171)


Added parameter Æ

12428 Tangent line length (gap setting)

OPS: PRM_SRF_RGH_RADIAL (page 172)


Added parameter Æ

12428 Tangent line length (gap setting)

46 Mastercam Version 9.1 MP Post Processor Reference Guide November 2002


Version 9.1 Changes to the MP Post Processor Reference Guide

OPS: PRM_SRF_RGH_PROJECT (page 173)


Altered parameter description Æ

(was) 12110 Projection type: 0 = NCI, 1 = curves, 2 = points


(now) 12110 Projection type: 0 = NCI, 1 = curves, 2 = points, 3 = blend

Added parameters Æ

12310 0=across, 1=along


12428 Tangent line length (gap setting)

OPS: PRM_SRF_RGH_FLOWLINE (page 174)


Altered parameter descriptions Æ

(was) 10208 cut_method


(now) 10208 Cut method: 0 = zigzag, 1 = one-way, 2 = spiral

(was) 12120 check_cuts


(now) 12120 Check flowline motion for gouge (True/False)

Added parameters Æ

12421 True = row only (v8 code), false = grid (v9)


12428 Tangent line length (gap setting)

12121 Corner
12122 upalong

OPS: PRM_SRF_RGH_CONTOUR (page 175-176)


Added these parameters Æ

12310 True = use helix, False = straight


12311 Helix radius
12312 Helix Z clearance
12313 Helix Z angle
12314 True = output arcs, False = lines
12315 Helix tolerance
12316 Helix direction: True = CCW, False = CW
12317 Helix feed: True = feed rate, False = plunge
12318 Top of stock is on (True/False)
12428 Tangent line length (gap setting)
15471 Allow burial: True = allow in cut order, False = minimize it
November 2002 Mastercam Version 9.1 MP Post Processor Reference Guide 47
Version 9.1 Changes to the MP Post Processor Reference Guide

OPS: PRM_SRF_RGH_POCKET (page 177)


Removed these parameters (no longer exist!) Æ

12127 Sharp corner smoothing length


12305 Channel radius (for highspeed pocket)

Added these parameters Æ

12308 Channel everywhere (for deep Z cut) (True/False)


12418 True = pre-drill and enter at deepest point(s)
12428 Tangent line length (gap setting)

OPS: PRM_SRF_RGH_PLUNGE (page 178)


Added these parameters Æ

12113 Operation ID # of NCI to project


12310 True = use helix, 1 = straight
12310 True = use helix, False = straight
12311 Helix radius
12312 Helix Z clearance
12313 Helix Z angle
12314 True = output arcs, False = lines
12315 Helix tolerance
12316 Helix direction: True = CCW, False = CW
12317 Helix feed: True = feed rate, False = plunge rate
12318 Top of stock is on (True/False)
12319 Path type: 0 = 2 point grid, 1 = NCI
12428 Tangent line length (gap setting)

OPS: PRM_SRF_FIN_PARALLEL (page 179)


Altered parameter description Æ

(was) 10208 0 = zigzag, 1 = one way


(now) 10208 Cut method: 0 = zigzag, 1 = one way

Added parameter Æ

12428 Tangent line length (gap setting)

48 Mastercam Version 9.1 MP Post Processor Reference Guide November 2002


Version 9.1 Changes to the MP Post Processor Reference Guide

OPS: PRM_SRF_FIN_RADIAL (page 180)


Altered parameter description Æ

(was) 10208 0 = zigzag, 1 = one way


(now) 10208 Cut method: 0 = zigzag, 1 = one way

Added parameter Æ

12428 Tangent line length (gap setting)

OPS: PRM_SRF_FIN_PROJECT (page 181)


Altered parameter description Æ

(was) 12110 1=NCI, 2=curves, 3=points


(now) 12110 Projection type: 0=NCI, 1=curves, 2=points, 3 = two-curve blend

(was) 12112 nci_add_depths


(now) 12112 Add depths (True/False)

Added parameters Æ

10208 Cut method: 0 = zigzag, 1 = one way, 2 = spiral


12238 True = along, False = across
12417 If along, True = do 2D projection, false = do 3D
12428 Tangent line length (gap setting)
15472 Percentage of stepover to use for temporary 'across' cut used to build final along 3D cut.
15473 Skip vertical walls (True/False)

November 2002 Mastercam Version 9.1 MP Post Processor Reference Guide 49


Version 9.1 Changes to the MP Post Processor Reference Guide

OPS: PRM_SRF_FIN_FLOWLINE (page 182)


Altered parameter descriptions Æ

(was) 10208 Cut_method


(now) 10208 Cut_method: 0 = zigzag, 1 = one-way, 2 = spiral

(was) 12120 check_cuts


(now) 12120 Check flowline motion for gouge (True/False)

Added these parameters Æ

12421 True = row only (v8 code), false = grid (v9)


12428 Tangent line length (gap setting)

12121 Corner
12122 Upalong

50 Mastercam Version 9.1 MP Post Processor Reference Guide November 2002


Version 9.1 Changes to the MP Post Processor Reference Guide

OPS: PRM_SRF_FIN_CONTOUR (page 183 - 184)


Corrected error Æ
(was)
12128 How shallow is to be used in contour:
12129 Minimum stepdown to add cuts to shallow area:
0=shallow is off, remove cuts, allow partial
1=shallow is off, remove cuts, disallow partial
2=shallow is off, add cuts, allow partial
3=shallow is off, add cuts, disallow partial
10=shallow is on, remove cuts, allow partial
11=shallow is on, remove cuts, disallow partial
12=shallow is on, add cuts, allow partial
13=shallow is on, add cuts, disallow partial

(now)
12128 How shallow is to be used in contour:
0=shallow is off, remove cuts, allow partial
1=shallow is off, remove cuts, disallow partial
2=shallow is off, add cuts, allow partial
3=shallow is off, add cuts, disallow partial
10=shallow is on, remove cuts, allow partial
11=shallow is on, remove cuts, disallow partial
12=shallow is on, add cuts, allow partial
13=shallow is on, add cuts, disallow partial
12129 Minimum stepdown to add cuts to shallow area:

Altered parameter descriptions Æ

(was) 12301 Allow tangent entry/exit arc outside tc body


(now) 12301 Allow tangent entry/exit arc outside tool containment boundary (True/False)

Added parameters Æ

12310 True = use helix, False = straight


12311 Helix radius
12312 Helix Z clearance
12313 Helix Z angle
12314 True = output arcs, False = lines
12315 Helix tolerance
12316 Helix direction: True = CCW, False = CW
12317 Helix feed: True = feed rate, False = plunge rate
12318 Top of stock is on (True/False)
12428 Tangent line length (gap setting)
15471 Allow burial: True = allow burial in opt cut order, False = minimize it

November 2002 Mastercam Version 9.1 MP Post Processor Reference Guide 51


Version 9.1 Changes to the MP Post Processor Reference Guide

OPS: PRM_SRF_FIN_PENCIL (page 185)


Added link to Æ PRM_SRF_ROUGH_SETTINGS

Added parameters Æ
10415 True = climb, false = conventional cut
10223 Prompt for relative start point (True/False)
12104 Plunge distance
12105 Retract distance
10200 Machining angle (bias angle)
12263 True = ignore climb(/conv.) flag
12424 Number of total passes
12054 Stepover for offset passes
12428 Tangent line length (gap setting)

OPS: PRM_SRF_FIN_LEFTOVER (page 186)


Altered parameter description Æ
(was) 10208 0 = zigzag, 1 = one way, 2 = 3D collapse
(now) 10208 Cut method: 0 = zigzag, 1 = one way, 2 = 3D collapse

Added these parameters Æ


12320 True = blend Z cuts with XY, false = XY only
12321 Blend extension
12322 Blend angle
12323 Rough tool cut tolerance
12422 True = use rough tolerance, False = set rough tolerance = cut tolerance
12423 True = skip rough pencil map, false = use it
12428 Tangent line length (gap setting)
12430 True = skip internal lines in 3D collapse

OPS: PRM_SRF_FIN_STEEP (page 187)


Altered parameter description Æ
(was) 10208 0 = zigzag, 1 = one way
(now) 10208 Cut method: 0 = zigzag, 1 = one way

Added parameters Æ
12307 True = include cuts outside from/to range, false = do not include them
12428 Tangent line length (gap setting_

52 Mastercam Version 9.1 MP Post Processor Reference Guide November 2002


Version 9.1 Changes to the MP Post Processor Reference Guide

OPS: PRM_SRF_FIN_SHALLOW (page 188)


Altered parameter description Æ
(was) 10208 0 = zigzag, 1 = one way, 2 = 3D collapse
(now) 10208 Cut method: 0 = zigzag, 1 = one way, 2 = 3D collapse

Added parameters Æ
12428 Tangent line length (gap setting)
12430 True = skip internal lines in 3d collapse

OPS: PRM_SRF_FIN_CONSCALOP (page 189)


Added parameters Æ
12306 True = hold outermost zone
12428 Tangent line length (gap setting)
12430 True = skip internal lines in 3D collapse

November 2002 Mastercam Version 9.1 MP Post Processor Reference Guide 53


Version 9.1 Changes to the MP Post Processor Reference Guide

OPS: PRM_SRF_FLOW5AX (page 190)


Altered parameter descriptions Æ
(was) 12120 check_cuts
(now) 12120 Check flowline motion for gouge (True/False)

(was) 12139 positive is to the right, negative is to the left


(now) 12139 Side angle: positive is to the right, negative is to the left

10208 Cut method


12121 corner
12122 upalong

Added parameters Æ
12421 True = row only (v8 code), false = grid (v9)
12427 Tool display and NCI output length

Added link to Æ MULTAX_ENTRY_EXIT


Added link to Æ PRM_5AX_LIMIT

12019 OutputFormat (CM5dlg parameters)


12373 PatternType (CM5dlg parameters)
12142 ToolAxis (CM5dlg parameters)
12025 4th axis: 0 = X, 1 = Y, 2 = Z
12250 specflags : so far only used for chain tool axis control usage (bits 0 and 1)
12251 Plane vector for tool axis control
12252 Plane vector for tool axis control
12253 Plane vector for tool axis control

Added link to Æ PT_GENERATOR

54 Mastercam Version 9.1 MP Post Processor Reference Guide November 2002


Version 9.1 Changes to the MP Post Processor Reference Guide

OPS: PRM_SRF_4AX (page 191)


Altered parameter description Æ
(was) 12139 positive is to the right, negative is to the left
(now) 12139 Side angle: positive is to the right, negative is to the left

Added parameters Æ
12427 Tool display and NCI length

Added link to Æ MULTAX_ENTRY_EXIT


Added link to Æ PRM_5AX_LIMIT

12019 Output Format (CM5dlg parameters)


12373 PatternType (CM5dlg parameters)
12142 Tool Axis (CM5dlg parameters)
12025 4th axis: 0 = X, 1 = Y, 2 = Z
12250 specflags: so far only used for chain tool axis control usage (bits 0 and 1)
12251 Plane vector for tool axis control
12252 Plane vector for tool axis control
12253 Plane vector for tool axis control

Added link to Æ PT_GENERATOR

OPS: ENT_EXIT (page 192)


12271 length
12272 height
12273 thick
12274 pivotang

OPS: ENT_EXIT2 (page 193)


12279 length
12280 height
12281 thick
12282 pivotang

November 2002 Mastercam Version 9.1 MP Post Processor Reference Guide 55


Version 9.1 Changes to the MP Post Processor Reference Guide

OPS: PRM_CURVE_5AX (page 195 - 196)


Altered parameter descriptions Æ
(was) 12250 Bit 0 means lines are relative to toolpath direction
(now) 12250 Bit 0 means lines are relative to toolpath direction
Bit 1 was used for relative to surface
Bit 2 is used for finish all depths
Bit 3 is or chain tool axis control

Added link to Æ PRM_5AX_LIMITS

Added link to Æ PT_GENERATOR

56 Mastercam Version 9.1 MP Post Processor Reference Guide November 2002


Version 9.1 Changes to the MP Post Processor Reference Guide

OPS: PRM_SWARF_5AX (page 197-198)


12161 Floortype
12162 Walltype
12163 Dist_above_low
12164 userulings
12165 Bhavefloor
12166 Bnofloor
12167 Havefans
12168 Swarffan
12169 Stockwalls
12170 Addfloor
12171 Maxstepalong
12172 Wallpasses
12173 Walloffperpass
12174 Floorpasses
12175 Flooroffperpass
12176 Usefloor
12177 Floornorm
12178 Floornorm
12179 Floornorm
12180 Floorpt
12181 Floorpt
12182 Floorpt
12183 Fanfeed rate

Altered parameter descriptions Æ


(was) 12262 If chains are synced...
(now) 12262 Sync option setting: 0 = none, 1 = by Entity, ... 6 = Manual/Density

Added parameters Æ
12265 Do finish passes at all depths (True/False)
12429 Use zigzag muliple passes (True/False)

Removed this parameter (no longer exists!) Æ


12186 True if want to retract between passes

Added link to Æ PRM_5AX_LIMIT


Added link to Æ PT_GENERATOR

November 2002 Mastercam Version 9.1 MP Post Processor Reference Guide 57


Version 9.1 Changes to the MP Post Processor Reference Guide

OPS: PRM_THDMILL (page 199)


Added parameter Æ
12385 Taper angle (to centerline)

12193 thrdmill_abs or thrdmill_inc


12202 thrdmill_id or thrdmill_od
12204 thrdmill_right or thrdmill_left
12205 thrdmill_top_to_bottom or thrdmill_bottom_to_top

OPS: PRM_CIRCMILL (page 200)


Altered parameter descriptions Æ
(was) 12004 cmp_to_tip
(now) 12004 Comp to tip (True/False)

(was) 12107 Thread start angle


(now) 12107 Start angle

(was) 12206 entry_exit_sweep


(now) 12206 Entry/exit arc sweep

OPS: PRM_ROUT_CIRC (page 201)


Altered parameter descriptions Æ
(was) 12107 Thread start angle
(now) 12107 Start angle

Removed this parameter (no longer exists) Æ


16029 Compensation type: 0 = computer, 1 = control, 2 = wear

58 Mastercam Version 9.1 MP Post Processor Reference Guide November 2002


Version 9.1 Changes to the MP Post Processor Reference Guide

OPS: PRM_RULED (page 202)


Altered parameter descriptions Æ
(was) 12214 constant_z_initial
(was) 12214 Constant Z cutting - initial

(was) 12215 constant_z_final


(now) 12215 Constant Z cutting - final

(was) 12216 constant_z_step


(now) 12216 Constant Z cutting - step

(was) 12218 trim_pln1: 0=X, 1=Y, 2=Z, 3=none


(now) 12218 Trimming Plane 1: 0=X, 1=Y, 2=Z, 3=none

(was) 12219 trim_pln1_v


(now) 12219 Trimming plane 1 coordinate

(was) 12220 trim_pln2 : 0=X, 1=Y, 2=Z, 3=none


(now) 12220 Trimming Plane 2 : 0=X, 1=Y, 2=Z, 3=none

(was) 12221 trim_pln2_v


(now) 12221 Trimming plane 2 coordinate

(was) 12224 If chains are synced...


(now) 12224 Sync option setting: 0 = none, 1 = by Entity, ... 6 = Manual/Density

November 2002 Mastercam Version 9.1 MP Post Processor Reference Guide 59


Version 9.1 Changes to the MP Post Processor Reference Guide

OPS:PRM_REVOLVED (pg 203)


Altered parameter descriptions Æ
(was) 12226 N = nothing, H = height, W = width
(now) 12226 Trim: N = nothing, H = height, W = width

(was) 12227 False = convex


(now) 12227 Shape: True = concave, False = convex

(was) 12231 z
(now) 12231 Axis Depth (abs)

(was) 12232 maxz


(now) Height (under 'Trim toolpath to')

(was) 12233 width[2]


(now) Width - From (under 'Trim toolpath to')

(was) 12234 width[2]


(now) Width - To (under 'Trim toolpath to')

12235 trim_sign[2]
12236 trim_sign[2]

OPS: PRM_LOFTED (page 204)


Altered parameter descriptions Æ
(was) 10208 0 = zigzag, 1 = one way, 2 = circular, 3 = 5ax swarf
(now) 10208 Cut method: 0 = zigzag, 1 = one way, 2 = circular, 3 = 5ax swarf

(was) 12224 If chains are synced...


(now) 12224 Sync option setting: 0 = none, 1 = by Entity, ... 6 = Manual/Density

(was) 12240 0 = along, 1 = across


(now) 12240 Direction: 0 = along, 1 = across

60 Mastercam Version 9.1 MP Post Processor Reference Guide November 2002


Version 9.1 Changes to the MP Post Processor Reference Guide

OPS: PRM_SWEPT2D (page 205)


Altered parameter descriptions Æ
(was) 12239 across
(now) 12239 Across cut distance

(was) 12241 across_roll


(now) 12241 Across: roll cutter around corners (0 = none, 1 = sharp, 2 = all)

(was) 12242 cross_comp


(now) 12242 Across: Cutter comp in computer (0 = Right, 1 = Left)

(was) 12243 along_roll


(now) 12243 Along: roll cutter around corners (0 = none, 1 = sharp, 2 = all)

(was) 12244 along_comp


(now) 12244 Along: Cutter comp in computer (0 = Right, 1 = Left)

(was) 12224 If chains are synced...


(now) 12224 Sync option setting: 0 = none, 1 = by Entity, ... 6 = Manual/Density

Added parameter Æ
12409 Infinite look ahead enabled (True/False)

November 2002 Mastercam Version 9.1 MP Post Processor Reference Guide 61


Version 9.1 Changes to the MP Post Processor Reference Guide

OPS: PRM_SWEPT3D (page 206)


(was) 10208 0 = zigzag, 1 = one way, 2 = circular, 3 = 5ax swarf
(now) 10208 Cut direction: 0 = zigzag, 1 = one way, 2 = circular, 3 = 5ax swarf

(was) 12238 along


(now) 12238 Along cut distance

(was) 12239 across


(now) 12239 Across cut distance

(was) 12224 If chains are synced...


(now) 12224 Sync option setting: 0 = none, 1 = by Entity, ... 6 = Manual/Density

(was) 12240 0 = along, 1 = across


(now) 12240 Direction: 0 = along, 1 = across

(was) 12246 1 or 2
(now) 12246 Number of across contours: 1 or 2

OPS: PRM_COONS (page 207)


Altered parameter descriptions Æ
(was) 10208 0 = zigzag, 1 = one way, 2 = circular, 3 = 5ax swarf
(now) 10208 Cut method: 0 = zigzag, 1 = one way, 2 = circular, 3 = 5ax swarf

(was) 12247 0 = linear, 1 = parabolic, 2 = cubic, 3 = cubic with slope matching


(now) 12247 Blending: 0 = linear, 1 = parabolic, 2 = cubic, 3 = cubic with slope matching

(was) 12238 along


(now) 12238 Along cut distance

(was) 12239 across


(now) 12239 Across cut distance

(was) 12224 If chains are synced...


(now) 12224 Sync option setting: 0 = none, 1 = by Entity, ... 6 = Manual/Density

(was) 12240 0 = along, 1 = across


(now) 12240 Direction: 0 = along, 1 = across

62 Mastercam Version 9.1 MP Post Processor Reference Guide November 2002


Version 9.1 Changes to the MP Post Processor Reference Guide

OPS: AUTODRILLPRM (page 210)


Added Æ
Note: These parameters do NOT get to the Post because AutoDrill generates individual drilling
toolpath operations.

Altered parameter descriptions Æ


(was) 15278 Tool type: 4 = tap LH fine, 5 = reamer, 6 = boring bar, 7 = endmill
(now) 15278 Tool type: 0=Drill, 1=Tap RH Coarse, 2=Tap RH Fine, 3=Tap LH Coarse,
4=Tap LH Fine, 5=Reamer, 6=Boring Bar, 7=Endmill

(was) 15287 Depth conc


(now) 15287 Depth from top of arc (True/False)

(was) 15290 Pre drill min


(now) 15290 Minimum pre-drill diameter

(was) 15291 Pre drill inc


(now) 15291 Pre-drill diameter increment

15301 View RB
15305 Default diameter
15306 Sel

OPS: PRM_SOLID_DRILL (page 212)


Added parameter Æ
15502 Create points: (True/False)

OPS: OP_DB (page 213)


Added parameters Æ
15497 Aggregate head ID number assigned to this operation
15498 Tool position ID number assigned to this operation

15340 True = NCI section has been read in, False = go get it when needed
15499 Geometry sub-tree expanded (True/False)
15500 Last tab page in toolpath parameters page ('0' based)

November 2002 Mastercam Version 9.1 MP Post Processor Reference Guide 63


Version 9.1 Changes to the MP Post Processor Reference Guide

OPS: OP_COMMON (pages 214-215)


Parameter number change! Æ
(was) 10022 Retract plane
(now) 15374 Retract plane

Added parameter Æ
15339 Use clearance plane at start/end (True/False)

OPS: OP_COMMON001 (pages 216-217)


Added parameter Æ
15339 Use clearance plane at start/end (True/False)

OPS: OP_COMMON002 (pages 218-219)


Parameter number change ! Æ
(was) 10103 Retract plane
(now) 15374 Retract plane

Added parameter Æ
15339 Use clearance plane at start/end (True/False)

OPS: OP_COMMON003 (pages 220-221)


Added parameter Æ
15339 Use clearance plane at start/end (True/False)

OPS: OP_COMMON_LATHE (page 222)


Added parameters Æ
13196 True = use clearance from operation, False = from job setup
13197 Boundary avoidance clearance for lathe tools
13198 Entry/exit vector clearance
13199 Keep uncut stock (True/False)
13204 Entity ID for steadyrest

64 Mastercam Version 9.1 MP Post Processor Reference Guide November 2002


Version 9.1 Changes to the MP Post Processor Reference Guide

OPS: OP_FILTER (pg 226)


Added parameters Æ

15340 Create arcs in XY plane (True/False)


15341 Create arcs in XZ plane (True/False)
15342 Create arcs in YZ plane (True/False)
15343 One way (True/False)

OPS: OP_TOOL_INFO (page 227)


Altered parameter descriptions Æ
(was) 10092 Der tool tipin
(now) 10092 Tool tip angle

Removed this parameters (no longer exists) Æ


15142 True = Swiss-type Z axis

Added these parameters Æ


15345 Feed rate is actually a surface finish (True/False)
15375 Plunge feed rate is actually a surface finish (True/False)
15376 Custom tool display comes from auto(0), file (1) or level (2)
15377 Tool reference level

10093 Tool material: HSS, CAR, etc.

OPS: OP_TOOL_INFO001 (page 228)


Removed this parameter (no longer exists) Æ
15142 True = Swiss type- axis

Added these parameters Æ


15345 Feed rate is actually a surface finish (True/False)
15375 Plunge feed rate is actually a surface finish (True/False)
15376 Custom tool display comes from: auto(0), file (1) or level (2)
15377 Tool reference level

10093 Tool material: HSS, CAR, etc.

November 2002 Mastercam Version 9.1 MP Post Processor Reference Guide 65


Version 9.1 Changes to the MP Post Processor Reference Guide

OPS: OP_TOOL_INFO002 (page 229)


Removed this parameters (no longer exists) Æ
15142 True = Swiss type- axis

Added parameters Æ
15345 Feed rate is actually a surface finish (True/False)
15375 Plunge feed rate is actually a surface finish (True/False)
15376 Custom tool display comes from: auto(0), file (1) or level (2)
15377 Tool reference level

10093 Tool material: HSS, CAR, etc.

OPS: OP_TOOL_INFO003 (pg 230)


Removed this parameters (no longer exists) Æ
-14057 True = Swiss type Z axis

Added parameters Æ
-14124 Feed rate is actually a surface finish (True/False)
-14125 Plunge rate is actually a surface finish (True/False)

15376 Custom tool display comes from: auto(0), file (1) or level (2)
15377 Tool reference level

10093 Tool material: HSS, CAR, etc.

OPS: OP_CC_COMPUTER (page 231)


Added note Æ
The following no longer exists! See OP_CC, OP_CC001, OP_CC002

OPS: OP_CC_COMPUTER001 (page 232)


Added note Æ
The following no longer exists! See OP_CC, OP_CC001, OP_CC002

OPS: OP_CC_CONTROL (page 233)


Added note Æ
The following no longer exists! See OP_CC, OP_CC001, OP_CC002

66 Mastercam Version 9.1 MP Post Processor Reference Guide November 2002


Version 9.1 Changes to the MP Post Processor Reference Guide

OPS: OP_CC_CONTROL001 (page 234)


Added note Æ
The following no longer exists! See OP_CC, OP_CC001, OP_CC002

OPS: OP_CC_CONTROL002 (page 235)


Added note Æ
The following no longer exists! See OP_CC, OP_CC001, OP_CC002

OPS: OP_VIEW (page 236)


Added parameter Æ
15348 Named view ID #

Removed this parameter (no longer exists) Æ


10095 Predefined view name

OPS: OP_VIEW2 (pg 237)


Added parameter Æ
15349 Named view ID #

Removed this parameter (no longer exists) Æ


10096 Predefined view name

November 2002 Mastercam Version 9.1 MP Post Processor Reference Guide 67


Version 9.1 Changes to the MP Post Processor Reference Guide

Added this entire section Æ

OPS: OP_VIEW3 (WCS view data) (page 238)


15355 WCS is on
15356 WCS plane view number at time of creation
15357 WCS plane view matrix
15358 WCS plane view matrix
15359 WCS plane view matrix
15360 WCS plane view matrix
15361 WCS plane view matrix
15362 WCS plane view matrix
15363 WCS plane view matrix
15364 WCS plane view matrix
15365 WCS plane view matrix
15366 WCS plane origin (world coordinates)
15367 WCS plane origin (world coordinates)
15368 WCS plane origin (world coordinates)
15369 Named view ID #
15370 User-defined work offset number

OPS: OP_DEPTH_CUTS (pg 240)


Parameter numbers changed Æ
(was) 15212 True= output sub program labels
(now) 15378 True= output sub program labels

(was) 15213 True-output sub program incremental, false=absolute


(now) 15452 True-output sub program incremental, false=absolute

Added parameter Æ
15379 True = by depth, False = by contour

OPS: OP_MULTI_CUTS (pg 241)


Parameter number changes Æ
(was) 10108 Number of finish cuts
(now) 15380 Number of finish cuts

(was) 10109 Depth of finish cuts


(now) 15381 Depth of finish cuts

(was) 10123 True = keep tool down


(now) 15385 True = keep tool down

68 Mastercam Version 9.1 MP Post Processor Reference Guide November 2002


Version 9.1 Changes to the MP Post Processor Reference Guide

OPS: OP_ENTRY_EXIT (page 244)


Parameter number changed Æ
(was) 10115 True = output entry/exit on only first/last depth cut
(now) 15382 True = output entry/exit on only first/last depth cut

OPS: OP_ENTRY_EXIT_PK (page 246)


Parameter number changed Æ
(was) 10122 Output entry/exit on only first/last depth cut (True/False)
(now) 15389 Output entry/exit on only first/last depth cut (True/False)

OPS: OP_LEAD_IO (page 248)


Added parameters Æ
15449 Output first move before plunge (True/False)
15450 Output last move after plunge (True/False)

OPS: OP_LEAD_IO001 (page 249)


Added parameters Æ
15449 Output first move before plunge (True/False)
15450 Output last move after plunge (True/False)

OPS: OP_ROTARY (page 251)


Added parameters Æ
15351 Rotation type: 1 = axis substitution, 2 = rotary axis positioning,3 = 3-axis
15352 Rotary axis to rotate about: 1 = about X, 2= about Y, 3 = about Z
15258 Axis of rotation line (endpt)
15259 Axis of rotation line (endpt)
15260 Axis of rotation line (endpt)
15261 Axis of rotation line (endpt)
15262 Axis of rotation line (endpt)
15263 Axis of rotation line (endpt)
15371 Direction: CW or CCW
15372 Axis to substitute, relative to view: 1 = X, 2 = Y
15373 Angle point 0,0 rolls to

Removed this parameter (no longer exists) Æ


10071 0= replace Y CW, 1 = replace X CW, 3=replace X CCW

November 2002 Mastercam Version 9.1 MP Post Processor Reference Guide 69


Version 9.1 Changes to the MP Post Processor Reference Guide

OPS: LTOOL_REC (page 252)


Parameter numbers changed (AND better descriptions) Æ
(was) 10004 orientation
(now) 13200 Tool orientation number

(now) 13201 radius


(was) 10005 Corner Radius

(was) 10006 width


(now) 13202 Width (tool clearance data)

Altered parameter descriptions Æ


15246 back_v
15247 back_v
15248 front_v
15249 front_v
15250 Back used (True/False)
15251 Front used (True/False)

70 Mastercam Version 9.1 MP Post Processor Reference Guide November 2002


Version 9.1 Changes to the MP Post Processor Reference Guide

OPS: LTOOL_REC001 (page 253)


Parameter numbers changed (AND altered parameter descriptions) Æ
(was) -10004 orientation
(now) -13200 Tool orientation number

(was) -10005 radius


(now) -13201 Corner radius

(was) -10006 width


(now) -13202 Width (tool clearance data)

Altered parameter descriptions Æ


(was) -15241 height
(now) -15241 Height (tool clearance data)

(was) -15244 t_center


(now) -15244 Tool center position

(was) -15245 t_center


(now) -15245 Tool center position

-15246 back_v
-15247 back_v
-15248 front_v
-15249 front_v
-15250 Back used (True/False)
-15251 Front used (True/False)

November 2002 Mastercam Version 9.1 MP Post Processor Reference Guide 71


Version 9.1 Changes to the MP Post Processor Reference Guide

Added this entire section Æ

OPS: PRM_EXT_SHORT (page 254)


15489 True = extend / shorten is enabled
15490 True = extend, false = shorten
15491 Distance to extend / shorten
15492 Percentage of tool diameter

Added this entire section Æ

OPS: PRM_EXT_SHORT2 (page 255)


15493 True = extend / shorten is enabled
15494 True = extend, false = shorten
15495 Distance to extend / shorten
15496 Percentage of tool diameter

Added this entire section Æ

OPS: PRM_ROUT_CUTOFF (page 256)


Added link to Æ PRM_ROUT_COMMON
Added link to Æ PRM_CTOURPOCK

16023 Infinite look ahead is enabled (True/False)


16024 Maximum depth variance

Added link to Æ PRM_REMACH_CTOUR


Added link to Æ PRM_CHAMFER_CTOUR
Added link to Æ PRM_RAMP_CTOUR

16025 Contour type:


0 = 2D contour
1 = 3D contour
2 = 2D chamfer
3 = 3D chamfer
4 = ramp contour
5 = contour remachining

16026 True = tapered wall contour


16027 Taper angle (in radians)
16028 True = process by depth

72 Mastercam Version 9.1 MP Post Processor Reference Guide November 2002


Version 9.1 Changes to the MP Post Processor Reference Guide

Added this entire section Æ

OPS: MULTAX_LIMIT (pg 257)


12324 True = axis limit active
12325 Axis minimum angle (as cosine)
12326 Axis maximum limit (as cosine)

Added this entire section Æ

OPS: MULTAX_LIMIT2 (page 258)


12327 True = axis limit active
12328 Axis minimum angle (as cosine)
12329 Axis maximum limit (as cosine)

Added this entire section Æ

OPS: MULTAX_LIMIT3 (page 259)


12330 True = axis limit active
12331 Axis minimum angle (as cosine)
12332 Axis maximum limit (as cosine)

Added this entire section Æ

OPS: PRM_5AX_LIMIT (page 260)


ADDED link to Æ MULTAX_LIMIT
ADDED link to Æ MULTAX_LIMIT2
ADDED link to Æ MULTAX_LIMIT3

12333 Option

November 2002 Mastercam Version 9.1 MP Post Processor Reference Guide 73


Version 9.1 Changes to the MP Post Processor Reference Guide

Added this entire section Æ

OPS: PRM_LATHE_CORNER_BREAK (page 261)


13176 Break the corners (True/False)
13177 True = put radius on corners, False = put chamfer on corners
13178 Size of radius
13179 Max. angle to put radius on
13180 Min. angle to put radius on
13181 Chamfer height
13182 Radius on chamfer
13183 Chamfer angle tolerance
13184 Feed rate mode: 0 = same as toolpath, 1 = Feed rate, 2 = minimum number of revs
13185 Feed rate
13186 Feed rate type: R = feed/rev., M = feed/min., S = surface finish

74 Mastercam Version 9.1 MP Post Processor Reference Guide November 2002


Version 9.1 Changes to the MP Post Processor Reference Guide

Added this entire section Æ

OPS: PRM_LSTOCK_XFER (page 262)


13205 Active spindle for stock transfer
13206 Z coordinate on stock to be transferred
13207 Previous Z coordinate on stock to be transferred
13208 True = use stock BACK face as init z position
13209 Z coordinate on transferred stock
13210 Source chuck reference position before transfer
13211 Source chuck reference position before transfer
13212 Source chuck reference position after transfer
13213 Source chuck reference position after transfer
13214 Destination chuck reference position before transfer
13215 Destination chuck reference position before transfer
13216 Destination chuck pickoff position
13217 Destination chuck pickoff position
13218 True = get final (Lathe) X coordinate from stock
13219 True = move Cplane origin to new stock position
13220 True = move Tplane origin to new stock position
13221 True = transfer geometry also
13222 Level to store transferred geometry on
13223 Offset from source geometry level for xfer'd geometry
13224 Use geolevel (as opposed entity level) (True/False)
13225 Blank original geometry (True/False)
13226 Entity with list of transferred entity IDs
13227 Entity with list of original entity IDs

Added link to Æ OP_MISC_CUSTOM Custom real / integer parameters

November 2002 Mastercam Version 9.1 MP Post Processor Reference Guide 75


Version 9.1 Changes to the MP Post Processor Reference Guide

Added this entire section Æ

OPS: PRM_LSTOCK_FLIP (page 263)


13205 Active spindle for stock to flip
13206 Z coordinate on stock before flip
13207 Previous Z coordinate on stock
13209 Z coordinate on stock after flip
13210 Chuck reference position before flip
13211 Chuck reference position before flip
13212 Chuck reference position after flip
13213 Chuck reference position after flip
13219 True = move Cplane origin to new stock position
13220 True = move Tplane origin to new stock position
13221 True = transfer geometry also during flip
13222 Level to store transferred geometry on
13223 Offset from source geometry level for xfer'd geometry
13224 Use geolevel [param: 13222] (as opposed entity level)
13225 Blank original geometry (True/False)
13226 Entity with list of transferred geometry entity IDs
13227 Entity with list of original geometry entity IDs

Added link to Æ OP_MISC_CUSTOM Custom real / integer parameters

76 Mastercam Version 9.1 MP Post Processor Reference Guide November 2002


Version 9.1 Changes to the MP Post Processor Reference Guide

Added this entire section Æ

OPS: PRM_LBARFEED (page 264)


13205 Active spindle for stock to barfeed
13206 Z coordinate on stock before barfeed
13207 Previous Z coordinate on stock
13208 Get initial Z position from stock face (True/False)
13209 Z coordinate on stock after barfeed
13210 Chuck reference position before barfeed
13211 Chuck reference position before barfeed
13212 Chuck reference position after barfeed
13213 Chuck reference position after barfeed
13228 Use chuck positions (True/False)
13219 Move Cplane origin to new stock position (True/False)
13220 Move Tplane origin to new stock position (True/False)
13221 Transfer geometry also during barfeed (True/False)
13222 Level to store transferred geometry on
13223 Offset from source geometry level for xfer'd geometry
13224 Use geolevel [param: 13222](as opposed entity level)
13225 Blank original geometry (True/False)
13226 Entity with list of transferred entity id's
13227 Entity with list of original entity id's
13229 Operation type: 0= bar feed, 1 = bar feed with tool as stop, 2 = bar pull
13230 Stock clearance for bar pull
13231 Grip length for bar pull
13232 Use plunge feed rate for approaching stock (True/False)

Added link to Æ OP_MISC_CUSTOM Custom real / integer parameters

13233 Tool X position for stop, bar puller

Added this entire section Æ

OPS: PRM_LCHUCK_CLAMP (page 265)


13205 Active spindle for chuck
13329 Operation type: 0 = clamp, 1 = un-clamp, 2 = reposition
13210 Initial chuck reference position
13211 Initial chuck reference position
13212 Final chuck reference position
13213 Final chuck reference position

Added link to Æ OP_MISC_CUSTOM Custom real / integer parameters

November 2002 Mastercam Version 9.1 MP Post Processor Reference Guide 77


Version 9.1 Changes to the MP Post Processor Reference Guide

Added this entire section Æ

OPS: PRM_LTAILSTOCK (page 266)


13234 True = engage, False = retract
13235 Initial tailstock reference position
13236 Final tailstock reference position
13237 Is initial / final position based on stock position(True/False)
13237 Is initial position based on tailstock min pt (True/False)

Added link to Æ OP_MISC_CUSTOM Custom real / integer parameters

Added this entire section Æ

OPS: PRM_LSTEADYREST (page 267)


13235 Initial steadyrest reference position (Z)
13236 Initial steadyrest reference position (Z)

Added link to Æ OP_MISC_CUSTOM Custom real / integer parameters

Added this entire section Æ

OPS: PRM_PKT_HSOPTS (page 268)


12419 Sharp corner smoothing length
12420 Channel mode: 0 = off, 1 = full material, 2 = everywhere (for deep z cuts)
12309 Distance between channel loops (hi speed)
12305 Channel radius (for highspeed pocket)

Added this entire section Æ

OPS: PRM_THINWALL (page 269)


15483 Thinwall on (True/False)
15484 Number of thinwall cuts
15503 True = climb cut, False = conventional cutting

Added this entire section Æ

78 Mastercam Version 9.1 MP Post Processor Reference Guide November 2002


Version 9.1 Changes to the MP Post Processor Reference Guide

OPS: PRM_SRF_RGH_RESTMILL (page 270-271)


Added link to Æ PRM_SRF_COMMON
Added link to Æ PRM_SRF_DIRECTION
Added link to Æ PRM_SRF_GAP_SETTINGS
Added link to Æ PRM_SRF_EDGE_SETTINGS
Added link to Æ PRM_SRF_DEPTHS

10223 Prompt for operation's start point (True/False)


10208 Direction of open boundaries (0 = zigzag, 1 = one way)
10415 Direction of closed boudaries (True = climb)
12123 Use rest mill (True/False)
12124 Stepover
12125 Overlap
12126 True = bottom to top, False = top to bottom
12104 Plunge distance
12105 Retract distance
12127 Sharp corner smoothing length
12128 How shallow is to be used
0 = shallow is off, remove cuts, allow partial
1 = shallow is off, remove cuts, disallow partial
2 = shallow is off, add cuts, allow partial
3 = shallow is off, add cuts, disallow partial
10 = shallow is on, remove cuts, allow partial
11 = shallow is on, remove cuts, disallow partial
12 = shallow is on, add cuts, allow partial
13 = shallow is on, add cuts, disallow partial

12129 Minimum stepdown to add cuts to shallow area


12130 Angle to determine shallow
12131 Smooth stepover length
12132 Rampdown length
12133 Use tangent z arc (True/False)
12134 Restmill cut extension length
12135 Offset consecutive closed contours by this
12114 Previous operation ID #
12283 Rest code:
bit 0: 0 = use prev operation's recut file
1 = use prev operation's nci file
bit 1: 0 = use ONE prev operation
1 = use ALL prev operations
bit 2: 0 = use previous operation
1 = use rough tool

November 2002 Mastercam Version 9.1 MP Post Processor Reference Guide 79


Version 9.1 Changes to the MP Post Processor Reference Guide

12300 Adjust absolute cut depths for drive stock (True/False)


12301 Allow tangent entry/exit arc outside the tool containment boudary (True/False)
12415 Rough diameter
10302 Rough corner radius
12310 True = helix, False = straight
12311 Helix radius
12312 Helix Z clearance
12313 Helix Z angle
12314 True = output arc, False = lines
12315 Helix tolerance
12316 True = CCW, False = CW
12317 True = feed rate, False = plunge rate
12318 Top of stock is on (True/False)
12425 Use rest overlap, (True/False)
12426 Remaining stock resolution
12428 Tangent line length (gap setting)
15471 True = allow burial in curt order, False = minimize it

80 Mastercam Version 9.1 MP Post Processor Reference Guide November 2002


Version 9.1 Changes to the MP Post Processor Reference Guide

Added this entire section Æ

OPS: PRM_ROUT_SRF_RGH_POCKET (page 272)


Added link to Æ PRM_SRF_COMMON
Added link to Æ PRM_SRF_DIRECTION
Added link to Æ PRM_SRF_GAP_SETTINGS
Added link to Æ PRM_SRF_EDGE_SETTINGS
Added link to Æ PRM_SRF_DEPTHS

10223 Prompt for relative start point (True/False)


10442 Plunge tool outside tool enter boundary (True/False)
12126 True = bottom to top, False = top to bottom
12104 Plunge distance
12105 Retract distance
12136 True = use quick zigzag in place of toolpath/zigzag
12131 Smooth stepover length
12133 Use tangent Z arc (True/False)
12257 Top of stock is on (True/False)
12300 Adjust absolute cut depths for drive stock (True/False)
12308 Channel everywhere (for deep Z cuts) (True/False)
12418 Pre-drill and enter at deepest point(s) (True/False)
12428 Tangent line length (gap setting)

Added link to Æ PRM_POCKET

Added this entire section Æ

OPS: OP_CC (page 273) (replaces OP_CC_COMPUTER and


OP_CC_CONTROL001)
15346 Compensation type:
0 = Computer
1 = Control
2 = Wear
3 = ReverseWear
4 = Off
15347 Comp. direction: 0 = Left, 1 = Right
10070 Roll
10124 True = Optimize(applicable only when type = COMP_CONTROL)

November 2002 Mastercam Version 9.1 MP Post Processor Reference Guide 81


Version 9.1 Changes to the MP Post Processor Reference Guide

Added this entire section Æ

OPS: OP_CC001 (page 274) (replaces OP_CC_CONTROL)


15346 Compensation type:
0 = Computer
1 = Control
2 = Wear
3 = ReverseWear
4 = Off
15347 Comp. direction: 0 = Left, 1 =Right
10070 Roll
10426 True = Optimize (applicable only when type = COMP_CONTROL)

Added this entire section Æ

OPS: OP_CC002 (page 275) (replaces OP_CC_COMPUTER001 and


OP_CC_CONTROL002
15346 Compensation. type:
0 = Computer
1 = Control
2 = Wear
3 = ReverseWear
4 = Off
15347 Comp. direction: 0 = Left, 1 = CC_Right
10070 Roll
15151 True = Optimize (applicable only when type = COMP_CONTROL)

Added this entire section Æ

OPS: PRM_NESTING (pages 276-277)


15404 Version
15405 Resolution
15406 ResCBox
15407 ResUser
15408 SheetToSheetDist
15409 SheetToPartDist
15410 PartToPartDist
15411 IfFitPartInPart
15412 IfFillAllSheets
15413 IfAutoPairs
15414 IfNestFillersToNestHeight

82 Mastercam Version 9.1 MP Post Processor Reference Guide November 2002


Version 9.1 Changes to the MP Post Processor Reference Guide

15415 IfPreferHoleFilling
15416 IfDeleteChains
15417 IfCreateGroups
15418 IfUseMainColor
15419 IfUseMainLevel
15420 IfCycleColors
15421 IfCycleLevels
15422 ResultColor
15423 ResultLevel
15424 IfRestoreLast
15425 IfSaveScrap
15426 IfAddPartsAsGroup
15427 IfIgnoreHoles
15428 IfInnerHoles
15429 StartingCorner
15430 IfAddLabels
15431 ScanForNotes
15432 DrawUsingColors
15433 LabelHeight
15434 IfAutoOrigins
15435 ScrapName
xform stuff follows
15436 xfmMethod: 0 = Toolplane, 1 = Coordinate
15437 xfmGroupOutputBy: 0 = operation order, 1 = operation type
15438 xfmWoff: 0 = off, 1 = maintain source operation's number's, 2 = assign new
15439 xfmWoffStart
15440 xfmWoffInc
15441 xfmWoffMatchExisting (True/False)
15442 xfmWoffCreateNewOps (True/False)
15443 xfmWoffKeepExistingOp (True/False)
15444 xfmCopySourceOps (True/False)
15445 xfmDisablePosting (True/False)
15446 xfmSubPgmOn (True/False)
15447 xfmSubPgmAbs (True/False)
15448 xfmSubPgmUnique (True/False)
15453 ParentOpId
15454 SeparateOpPerSheet (True/False)
15455 WorkOffsetPerSheet (True/False)
15456 WoffStart
15457 WoffInc

November 2002 Mastercam Version 9.1 MP Post Processor Reference Guide 83


Version 9.1 Changes to the MP Post Processor Reference Guide

sorting stuff follows...


15458 sortMode: 0=none, 1=next closest, 2=max vacuum, 3=manual
15459 sortGroupByTool (True/False)
15460 sortGroupByRegion (True/False)
15461 sortRegionOrder
15462 sortRegionX
15463 sortRegionY
15464 sortRegionOverlap
15465 sortStartPt - X
15466 sortStartPt - Y
15467 sortStartPt - X
15468 sortZigZag (True/False)
15469 sortMinToolChg (True/False)
15470 sortGroupBySheet (True/False)
15501 force_renest (True/False)

Added this entire section Æ

OPS: PRM_WIRE_TAB (page 278)


14092 Automatically calculate tab positions (True/False)
14093 Number of tabs (for auto tab)
14094 Tab point: (0 = start, 1 = midpoint, 2 = end) of tab
14095 Use advanced auto tab positioning (True/False)
14096 Use points on chain for start and tab positions (True/False)
14097 Minimum distance from endpoint
14098 Minimum distance between tabs
14099 Minimum distance from sharp corner
14100 Sharp corner angle
14101 X dimension of maximum size shape to tab
14102 Y dimension of maximum size shape to tab
14103 Tab all shapes (True/False)
14104 Overwrite tab edit (True/False)

84 Mastercam Version 9.1 MP Post Processor Reference Guide November 2002


Version 9.1 Changes to the MP Post Processor Reference Guide

Added this entire section Æ

OPS: PRM_HELIX_BORE (page 279)


12107 Start angle
12206 Entry/exit sweep
10407 Overlap
12207 Circle diameter
12208 Start at center of circle (True/False)
12209 Enter along a line
13298 Z step per revolution for roughing
12399 Number of roughing passes
12400 Roughing stepover
12401 Feed rate at final depth as a percentage
12402 Feed rate at final depth
12403 Output a finish pass (True/False)
12404 Z step per revolution for finishing
12393 Finish stepover
12405 Finish pass spindle speed as a percentage
12406 Finish pass spindle speed
12407 Finish pass feed rate as a percentage
12408 Finish pass feed rate
10393 Output arc move(s) (True/False)
12391 Helix linearization tolerance

November 2002 Mastercam Version 9.1 MP Post Processor Reference Guide 85


Version 9.1 Changes to the MP Post Processor Reference Guide

Added this entire section Æ

OPS: PRM_SLOTMILL (page 280)


Added link to Æ PRM_CTOURPOCK

12004 Comp to tip (True/False)


12107 Start angle
12206 Entry/exit sweep
10407 Overlap between entry and exit arcs
12207 Circle diameter (used when circles are defined by points)
12208 Start at center of circle (True/False)
12209 Enter along a line that is perpendicular to the entry arc
12386 Enable ramp entry (True/False)
12387 Ramp stepover as a percentage of the tool diameter
12388 Ramp stepover
12389 Ramp plunge angle
12390 Output helixes as arcs (True/False)
12391 Helix linearization tolerance
12392 Number of finish passes
12393 Finish pass stepover
12394 Number of rough passes
12395 Rough pass stepover
12396 True = write the finish pass at all depths,
False = write finish pass at final depth
12397 Keep tool down (True/False)

86 Mastercam Version 9.1 MP Post Processor Reference Guide November 2002

You might also like