0% found this document useful (0 votes)
47 views467 pages

McamX8 NCI Parameter Ref中文

Uploaded by

HungTran
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
47 views467 pages

McamX8 NCI Parameter Ref中文

Uploaded by

HungTran
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 467

Quick Start—NCI & Parameter Reference

What’s changed in X8? Reference tables


 List of corrections to previous version  NCI Gcodes
 Tool information (20000s parameters)
 NCI changes
 Operation & toolpath parameters
 New & changed parameters  Machine definition parameters
 Control definition parameters
 Machine group parameters

How do I…?
Click on each link to see step-by-step instructions plus sample code.
 Capturing a string from a 10000s parameter
 Capturing the value of a single 10000s parameter
 Building a table of parameter values
 Capturing a string from a 20000s line
 Capturing all the parameters in a 20000s line and storing them in an array
 Capturing a single parameter from a 20000s line
 Capturing a range of parameters from a 20000s line
 Implementing tool inspection for lathe grooves
 Capturing machine definition parameters
 Getting the entity ID
 Capturing control definition parameters
 Capturing machine group parameters
 Doing a parameter dump: outputting all the parameters
 Reading operation parameters from any postblock
 Setting options for transform operation parameters
 Reading parameters during the NCI pre-read routine
Mastercam X8
NCI & Parameter
Reference
July, 2014
Mastercam® X8 NCI & Parameter Reference
Date: July, 2014
Copyright © 2014 CNC Software, Inc. — All rights reserved.
Software: Mastercam X8

TERMS OF USE Use of this document is subject to the Mastercam End User License
Agreement. A copy of the Mastercam End User License Agreement is
included with the Mastercam product package of which this docu-
ment is part. The Mastercam End User License Agreement can also be
found at:
www.mastercam.com/legal/licenseagreement/
• iii

Contents

1. Introduction .........................................................................................................1
Contacting CNC Software ....................................................................... 1
 Changes for X8..................................................................................................3
Corrections.........................................................................................................3
Changes to NCI Reference .................................................................................3
New and changed operation parameters ..........................................................4
Operation parameters ................................................................................4
Machine definition parameters .................................................................6
Control definition parameters ...................................................................7
Machine group parameters ........................................................................7

2. Working with Parameters and Toolpath Data ...................................9


 Working with NCI toolpath data ...................................................................10
 Working with operation (10000s) parameters ...........................................11
Capturing values for 10000s parameters .........................................................12
Capturing a string from a 10000s parameter ...........................................13
Capturing numeric values from 10000s parameters ................................14
Validating parameters with UpdatePost..........................................................17
 Working with 20000s lines ...........................................................................18
Capturing parameters from 20000s lines.........................................................19
Capturing a string from a 20000s line ......................................................20
Capturing numeric values from a 20000s line .........................................21
Lathe tool inspection comments .............................................................25
 Working with machine definition, control definition,
and machine group parameters ....................................................................28
Capturing machine definition parameters......................................................29
Getting the entity ID .................................................................................30
Capturing control definition parameters ........................................................32
Capturing machine group parameters ............................................................33
 Advanced techniques for working with operation parameters .................35
Reading parameters during the NCI pre-read routine ....................................35
Doing a parameter dump: outputting all the parameters ...............................36
Reading operation parameters from any postblock........................................38
Setting options for transform operation parameters ......................................39
iv • MASTERCAM X8 / NCI & Parameter Reference

3. NCI Reference .................................................................................................41


 NCI Gcodes......................................................................................................42
tool_op$ codes .......................................................................................110
NCI file subprogram concepts............................................................117
Control Flags Parameters...............................................................................131
 Tool information (20000s parameters) .......................................................135
Mill/Router/Generic ......................................................................................136
Lathe...............................................................................................................144
Wire ................................................................................................................150
Parameters for custom interfaces ..................................................................151
Common parameters .............................................................................152
Control definition: Control Model page ............................................154
Agievision parameters ............................................................................156
Machine group properties: Piece Setup tab ......................................168
Machine group properties: Piece Details tab ....................................169
Wirepath parameters: Machining page .............................................169
Wirepath parameters: User Tech (Technology Database)
dialog box .............................................................................................170
Wirepath parameters: Cut parameters page .....................................171
Wirepath parameters: Start Point page..............................................171
Wirepath parameters: Entry page.......................................................172
Wirepath parameters: Exit page .........................................................172
Wirepath parameters: Threading page ..............................................173
Wirepath parameters: Taper page......................................................173
Wirepath parameters: Corners page ..................................................174
Wirepath parameters: Attributes page ..............................................174
Wirepath parameters: Group page.....................................................175
Wirepath parameters: Collar page......................................................175
TECH library parameters .......................................................................176
Technology Database dialog box........................................................178
Validating the post for custom interfaces ..............................................179

4. Parameter Reference .................................................................................181


 Operation & toolpath parameters ................................................................182
Common parameters.....................................................................................182
Mill & Router parameters...............................................................................203
Lathe parameters ...........................................................................................288
Wire parameters.............................................................................................318
 Machine definition parameters ...................................................................329
Machine definition: visual reference .............................................................330
Machine Definition Manager .................................................................331
General machine parameters .................................................................332
Op. feed rate limits /axis motion/orientation tab.............................332
Axis feed rate limits tab .......................................................................333
CPlane, WCS, HTC/VTL tab ................................................................334
Coolant/Flushing/Options tab ...........................................................335
Tool/material libraries tab ..................................................................336
Machine dynamics tab ........................................................................337
Component geometry (common) ..........................................................338
Solid geometry .....................................................................................338
• v

Block geometry ....................................................................................339


Cylinder geometry ...............................................................................340
Extruded geometry ..............................................................................341
Revolved geometry ..............................................................................342
Position/Orientation tab.....................................................................343
Component properties (individual) .......................................................344
Automatic tool changer parameters...................................................344
Chuck parameters................................................................................345
Chuck geometry (parametric) dialog box ..........................................346
Chuck jaws parameters .......................................................................347
Bar stock parameters ...........................................................................348
Turret parameters................................................................................349
Turret geometry (parametric) dialog box ..........................................350
Gang tool parameters ..........................................................................351
Tailstock parameters ...........................................................................352
Tailstock geometry...............................................................................353
Tailstock center parameters................................................................354
Steady rest parameters ........................................................................355
Linear axis parameters ........................................................................356
Linear axis parameters (programmed motion).................................357
Rotary axis parameters ........................................................................358
Tool spindle parameters .....................................................................359
Tool component parameters ..............................................................360
Router spindle parameters..................................................................361
Router spindle position .......................................................................362
Router piggyback spindle parameters ...............................................363
Router piggyback spindle position.....................................................364
Router drill block parameters .............................................................365
Router drill block position ..................................................................365
Wire guide parameters ........................................................................366
Machine definition: list of parameters ..........................................................366
 Control definition parameters ......................................................................395
Control definition: visual reference ...............................................................396
Overall parameters .................................................................................396
Tolerance page .......................................................................................397
Communications page ...........................................................................398
Files page ................................................................................................399
NC Dialog page (Mill–Lathe–Router) .....................................................400
NC Output page ......................................................................................401
Misc. Int/Real Values page .....................................................................402
Work System page ..................................................................................403
Tool page (Mill–Router) .........................................................................404
Tool page (Lathe) ....................................................................................405
Linear page (Mill–Router) ......................................................................406
Linear page (Lathe–Mill/Turn–Wire) .....................................................407
Arc page (Mill–Router) ...........................................................................408
Arc page (Lathe–Wire) ............................................................................409
Rotary page (Mill–Router–Lathe) ...........................................................410
Feed page (Mill–Router) .........................................................................411
Feed page (Lathe) ...................................................................................412
Feed page (Wire) .....................................................................................413
Cutter Compensation page ....................................................................414
vi • MASTERCAM X8 / NCI & Parameter Reference

Machine Cycles page (Mill–Router–Lathe) ............................................415


Drill Cycles page (Mill–Router–Lathe) ...................................................416
Lathe Canned Cycles page (Lathe) .........................................................417
Subprograms page .................................................................................418
Start/Leads page (Wire) ..........................................................................419
Cuts page (Wire) .....................................................................................420
Corner page (Wire) .................................................................................421
Corner page (Wire) .................................................................................422
Reverse Cuts Contour page (Wire) .........................................................423
Reverse Cuts Auxiliary page (Wire) ........................................................424
4-Axis Paths page (Wire) .........................................................................425
Nocore page (Wire) ................................................................................426
Control definition: list of parameters ............................................................426
 Machine group parameters .........................................................................444
Machine group properties: visual reference..................................................444
Files tab (Machine Group Properties) ....................................................445
Tool Settings tab (Machine Group Properties) ......................................446
Stock Setup tab—Mill/Router (Machine Group Properties) .................447
Stock Setup tab—Lathe (Machine Group Properties) ...........................448
Machine group properties: list of parameters ...............................................449
chapter 1
Introduction Quick Start

Welcome to the Mastercam X8 NCI & Parameter Reference. This guide


documents the NCI Gcodes and operation parameters that together
encapsulate Mastercam operations and toolpaths. It serves two main
purposes:
 A reference to all the parameters and NCI Gcodes.
 Guidelines and examples for reading operation parameters,
including parameters for machine definitions, control
definitions, and machine groups.
This edition incorporates new features for Mastercam X8. It includes the
additional parameters used by new toolpaths, as well as new parameter
read functions.

Contacting CNC Software


Use the following websites to find information on Mastercam:

www.emastercam.com Mastercam global user forum

www.mastercam.com CNC Software, Inc. corporate website

www.mastercamedu.com CNC Software, Inc. Educational


Division website

For assistance with installing Mastercam, its HASP or NetHASP, or to


obtain more information on using Mastercam, contact your local
Mastercam Reseller. If your Reseller is unavailable, you can call CNC
Technical Support Services Monday through Friday, 8:00 a.m.–5:30 p.m.,
USA Eastern Standard Time.
When calling CNC Software for technical support, please follow these
guidelines:
 Be sure you have already tried to contact your Mastercam
Reseller.
 Provide the serial number of your HASP or NetHASP.
 Be ready to describe the problem in detail. Write down what
happened, particularly if you cannot call immediately after the
problem occurs.
 Be in front of your computer when you call.
 If possible, try to duplicate the problem before calling. Our
Support Services technician may require you to duplicate the
problem while you are on the phone.
 When you call, have ready a complete description of your
hardware, including your operating system (OS), central
processing unit (CPU), graphics card and settings, and
memory.
2 • MASTERCAM X8 / NCI & Parameter Reference

You can also leave a message for CNC Support Services twenty-four hours a day, seven
days a week via our email or website addresses. When sending email, please include:
 The serial number of your HASP or NetHASP
 Telephone number and contact information where you can be reached
 Files required to reproduce an issue, such as .MCX and post files Quick Start

TIP: Use Mastercam’s Zip2Go utility to gather Mastercam part data into a
compressed .Z2G file. This utility makes it easy to provide your Reseller or CNC
Support Services with a file attachment that contains the information they need.
Zip2Go scans the machine groups in your current part file and captures informa-
tion such as your Mastercam configuration, machine definition, and post files. For
more information on using Zip2Go, please refer to the Mastercam Help.

Important Contact Information

Address CNC Software, Inc.


671 Old Post Road
Tolland, Connecticut, 06084-9970
USA

Phone (860) 875-5006

Fax (860) 872-1565

FTP Address ftp://ftp.mastercam.com

Internet Address http://www.mastercam.com

email support@mastercam.com
Intro 该文档是极速PDF编辑器生成,
INTRO / Changes for X8 • 3
如果想去掉该提示,请访问并下载:
http://www.jisupdfeditor.com/

Changes for X8
Mastercam X8 .
Quick Start

 12398 13298
Quick Start
 12937 12397
 12910-12930
 40012-40214
 rev5 $ rev_drl5 $ Tool5ax C-Hook .
 NCI 83 12
 15105 Quick Start

 13022 0 = OD 1 = ID 2 = 3 =
 15590,15591,15592

NCI
See NCI Reference Mill / Router / Lathe 1016 tap_pitch $ 18
starting on page 41.
20004
 19-Chamfer
 20— Quick Start
 21—
 22–24— 0
20007
 12-
 13—Total holder length
Note that parameters 6 & 7 have been deprecated. These were used in X6 and earlier to
store the holder diameter and length. These are no longer used by the new tool holders
that have been available since X7, but are still output if you are using a tool that was
defined in X6 and earlier.
For tool holders created in X7 and later, use parameter 13 to get the holder length. Also
use parameter 13 if the tool definition itself was created in X6 or earlier, but in the
operation settings you have selected a new tool holder. In this case, parameters 6 & 7 will
continue to have the values of the original tool holder, but parameter 13 will have the
length of the holder that is actually being used.
Two new tool_op$ values have been defined:
 72 for lathe contour rough operations
 154 for SafetyZone linking operations
该文档是极速PDF编辑器生成,
4 • MASTERCAM X8 / NCI & Parameter Reference 如果想去掉该提示,请访问并下载:
http://www.jisupdfeditor.com/

See Parameter This section lists the new and changed parameters for Mastercam X8. Each table in this
Reference starting on section shows only the new/changed parameters; please go to the Parameter Reference
page 181. chapter to see the complete tables.
Quick Start

Operation parameters
PRM_CONTOUR
15475 (new for X8)
15476 (new for X8)
15477 True / False (new for X8)
15478 True / False (new for X8)

PRM_DRILL
41150 (new for X8)

PRM_CIRCMILL
12919 (new for X8)

PRM_HELIX_BORE
12919 Point sorting method (new for X8)

PRM_XFORM
15747 1 = create new planes for transformed toolplanes
(new for X5) (changed for X8)

PRM_NESTING
15458 sort mode: 0=none, 1=next closest, 2=max vacuum,
3=database (Toolpath Manager) order, 4=tool number
ascending, 5=tool number descending (changed for
X8)

PRM_2D_HMM
40008 Dynamic pocket open: 1 = open pocketing, 0 = closed
pocketing (new for X4) (removed for X8)
41141 Dynamic contour: First pass feed reduction % (new
for X8)
41142 1 = rest milling is turned on (new for X8)
41143 Dynamic contour: First pass offset amount (new for
X8)
41144 1 = boundary is derived from a stock model operation
(new for X8)
40299 0 = do not sort machining boundaries; 1 = do sort
machining boundaries (new for X5) (removed for X8)
40300 0 = do not sort avoidance boundaries; 1 = do sort
avoidance boundaries (new for X5) (removed for X8)
INTRO / Changes for X8 • 5

40301 1 = use islands to expand machining regions (new for


X5) (removed for X8)
41255 Open chain extension method: TRUE = tangential,
FALSE = shortest distance (new for X8)

PRM_SRF_HMM Quick Start

41145 Tilt to avoid gouge: Shaft clearance distance for tool


holder (new for X8)
41146 Tilt to avoid gouge: Max. tilt angle for tool holder (new
for X8)
41147 Collision checking method: 0 = Trim to avoid gouge, 1 =
Tilt to avoid gouge (new for X8)
41148 1 = Order cuts by depth option is selected (new for X8)

X8_FBM_DRILLPARAMETERS_HOLEDETECTION

41149 Use SolidWorks® preselected hole features (new for


X8)

PRM_LROUGH
13695 Depth cuts style: 1 = Incremental, 0 = Equal steps
(new for X8)
13696 Initial cut depth (new for X8)
13697 Final cut depth (new for X8)
13698 1 = Increments of: option is selected (use
increments) (new for X8)
13699 Depth cut increment (new for X8)

PRM_LCONTOUR
10214 Rough direction: 0 = OD, 1 = ID, 2 = face, 3 = back (new for X8)
10213 True = zigzag, false = one way (new for X8)
10202 Stock to leave in X (new for X8)
10203 Stock to leave in Z (new for X8)
13689 Linearization tolerance (when chaining splines) (new for X8)
13164 Entry Amount (new for X8)
13566 Exit distance (new for X8)
13700 1 = Constant offset option selected, 0 = XZ offset option (new
for X8)
13701 Constant offset distance (new for X8)
13702 X offset distance (new for X8)
13703 Z offset distance (new for X8)
13704 Minimum cut amount (new for X8)
13705 Shortest rapid move between segments (Minimum air
amount) (new for X8)
13706 Minimum cut area (future use) (new for X8)
13192 Do semi-finish pass (True/False) (new for X8)
13193 Number of cuts for semi-finish pass (new for X8)
13194 Step amount for semi-finish pass (new for X8)
6 • MASTERCAM X8 / NCI & Parameter Reference

13143 Stock to leave in X for semi-finish pass (new for X8)


13144 Stock to leave in Z for semi-finish pass (new for X8)
13438 Front clearance angle for plunging (note: this is in radians, not
degrees) (new for X8)
13565 0 = use Front clearance angle option for plunging (new for Quick Start
X8)
13657 1 = Remaining stock option selected for Stock Recognition:
(new for X8)

PRM_LCUTOFF
13707 1=suppress retract move (MT only) (new for
X8)

PRM_PROBE_PARAM
41155–41204 Value (new for X6) (changed for X8)

PRM_ADV_5AX
12105 Tool inspection retract distance (new for X8)
41256 Tool inspection retract type: 0=none, 1=distance,
2=time (new for X8)
41257 Tool inspection retract time (new for X8)

Machine definition parameters


CNC_MACHINE_TYPE
17990 The GUID of the .machine configuration that is
assigned when the .machine file is loaded into a new
machine group. (new for X8)
17019 Entity ID number of 1st machine reference position
(removed for X8)
17991 Entity ID number of the list of machine reference
positions (new for X8)

MACHINE_POSITION
17600 Data source: USER_DEFINED, etc. vs.
MACHINE_REF_POS (removed for X8)
17601 Control definition reference return code (G28, etc.)
index (removed for X8)
17602 Machine reference position list index (removed for X8)
ENT_IDN_TYPE ent_idns of this and related entities in database
(removed for X8)
INTRO / Changes for X8 • 7

17992 Reference position comment from Machine Reference


Position Manager (new for X8)
17993 Type of reference position (from Machine Reference
Position Manager) (new for X8)
17994 Source of reference position (machine, job setup, Quick Start
operation) (new for X8)
17995 Axis combo associated with the reference position
(new for X8)
17996 ID of the next entity in database (X7 and older files)
(new for X8)
17253 Entity ID (changed for X8)
ENT_IDN_TYPE
17253 This entity (changed for X8)
17254 Next sibling entity (removed for X8)
17255 Previous sibling entity (removed for X8)
17256 1st child entity (removed for X8)

ENT_IDN_TYPE001
17257 This entity (removed for X8)
17258 Next sibling entity (removed for X8)
17259 Previous sibling entity (removed for X8)
17260 1st child entity (removed for X8)

ENT_IDN_TYPE002
17261 This entity (removed for X8)
17262 Next sibling entity (removed for X8)
17263 Previous sibling entity (removed for X8)
17264 1st child entity (removed for X8)

ENT_IDN_TYPE003
17265 This entity (removed for X8)
17266 Next sibling entity (removed for X8)
17267 Previous sibling entity (removed for X8)
17268 1st child entity (removed for X8)

CHUCK_COMPONENT_TYPE
17986 Chuck supports bar stock (Allow through stock
option) (new for X8)

Control definition parameters


No changes.

Machine group parameters


GROUP_PG1
19591 NC file name for MT. (new for X8)
8 • MASTERCAM X8 / NCI & Parameter Reference

Quick Start
该文档是极速PDF编辑器生成,
如果想去掉该提示,请访问并下载:
http://www.jisupdfeditor.com/

chapter 2

Quick Start

MP posts get information about your part in two ways:


 Toolpath data. This consists of calculated tool motions, feeds
and speeds, and commands such as spindle on/off and coolant
on/off.
 Operation parameters. These are the raw values entered in your
Mastercam dialog boxes when you create toolpaths.
Toolpath data is by far the most important. This information is stored in
a generic machine-neutral format called NCI (NC Intermediate). When
you post your operations, Mastercam writes this data to a separate
ASCII file with a .NCI extension. It is read from here by your post. Every
line in the NCI file is processed automatically.
Operation parameters contain all the data in the actual operation
structures associated with each toolpath operation in Mastercam, plus a
complete record of machine definition, control definition, and machine
group properties. They are used to supplement the information from
the NCI file. Operation parameters are only available if you explicitly tell
your post to go get them and provide storage for them.
Each piece of NCI data or operation parameter has a unique numbered
code. The following table summarizes the types of information that are
available and how each is accessed:

Table 1: Where your post gets its data from

Type of data Codes How is it processed? Source of data

Toolpath data 0–1999  Multiple parameters for each code,


(individual tool automatically saved to predefined
movements, tool variables.
change, planes/  Each code processed by associated
orientation) entry postblock.
NCI file
Tool parameters, 20000–29999  All 20000s codes automatically
material info, processed by pparameter$ postblock.
comments, other  Desired parameters must be
information about individually trapped and saved to user-
your operation. defined variables.

Operation 10000–16999; 40000– With pwrttparam$ when pre-read is


parameters enabled; otherwise, with pparameter$.
MCX file
MD/CD/machine MD: 17000–17999 Use individual commands to call
group settings CD: 18000–18999 pmachineinfo$.
Machine grp: 19000–19999
该文档是极速PDF编辑器生成,
10 • MASTERCAM X8 / NCI & Parameter Reference 如果想去掉该提示,请访问并下载:
http://www.jisupdfeditor.com/

Working with NCI toolpath data


NCI
Quick Start
See NCI Gcodes  NCI Gcode Mastercam
starting on page 42 to see
42 NCI Gcodes NCI Gcodes.
a complete list of all the
NCI Gcodes.  NCI Gcode NCI Gcode
X Y Z MP
NCI G0 :
0
0 2.375 2.375 2.5 –2. 0 Definition:

g (NCI Gcode)
1 2 3 4 5 6 (six parameters)
Where:
g

0: (NCI Gcode)
1 Cutter Compensation
2 Final X position
3 Final Y position
4 Final Z position
5 Feed rate settings
6 Contour flag

post MP
NCI Gcode NCI Gcode post
- .
NCI Gcodes MP postblock
postblock .
postblocks 42 NCI Gcodes
NCI Gcodes
该文档是极速PDF编辑器生成,
WORKING WITH PARAMETERS AND TOOLPATH DATA / Working with operation (10000s) parameters • 11
如果想去掉该提示,请访问并下载:
http://www.jisupdfeditor.com/

10000s

Quick Start

10000-16999 30000. :

See Operation &  Mastercam .


toolpath parameters  NC
starting on page 182 for
.
lists of all the possible
parameters.  .
Mastercam X3 MP Mastercam
.OPS MP
.

Mastercam X4 40000s
Mastercam 30000
C-Hook “10000s
” 30000 40000
10000s

pparameter$ 10000-16999
30000s 17000-19990
28 “ ”
该文档是极速PDF编辑器生成,
12 • MASTERCAM X8 / NCI & Parameter Reference 如果想去掉该提示,请访问并下载:
http://www.jisupdfeditor.com/

10000s
Mastercam
:
Quick Start

See Reading  pparameter$


parameters during
 prmcode $
the NCI pre-read
routine on page 35 to  sparameter $
learn about using 12780 prmcode $
pwrttparam$ instead of
pparameter$. 12780 sparameter $ 3 FBM .
MCX prmcode $ sparameter $ pparameter$
:
 .

.
 pparameter $ prmcode $
.
T :
 10000s
 10000s

该文档是极速PDF编辑器生成,
WORKING WITH PARAMETERS AND TOOLPATH DATA / Working with operation (10000s) parameters • 13
如果想去掉该提示,请访问并下载:
http://www.jisupdfeditor.com/

10000s
“CW” “CCW”
0 1.

Quick Start

How do I...?
Capturing a string from a 10000s parameter
See Operation & 1 10000s .
toolpath parameters
starting on page 182 for a 2 .
complete list. s_my_string : “ ” # Stores the string

3 pparameter$ :
if prmcode$ = 1xxxx, s_my_string = sparameter$

1xxxx .
4

1: 10000s
NCI 15107.

# Define a string
snci_file
pparameter$ # Predefined parameter postblock
if prmcode$ = 15107, snci_file = sparameter$
该文档是极速PDF编辑器生成,
14 • MASTERCAM X8 / NCI & Parameter Reference 如果想去掉该提示,请访问并下载:
http://www.jisupdfeditor.com/

10000s
sparameter$ rpar
rpar
.
fprm Quick Start

How do I...?
Capturing the value of a single 10000s parameter
rpar 20000s

See Operation & 1 10000s


toolpath parameters
starting on page 182 for a 2
complete list. # Define a numeric variable to store the parameter value
var1 : 0

.
3 pparameter$ rpar :
if prmcode$ = 1xxxx, var1 = rpar(sparameter$, 1)

2
Example 2: Getting the value of a single 10000s parameter
rpar toto 10042 .
# Define a numeric variable to store the parameter value
my_prog_num : 0

pparameter$ # Predefined parameter postblock


if prmcode$ = 10042, my_prog_num = rpar(sparameter$, 1)
# Capture the 1st numeric value in the parameter string

Quick Start
How do I...?

MP
fprm

 fprm pparamete$
 MD / CD / fprm pmachineinfo $ post
该文档是极速PDF编辑器生成,
WORKING WITH PARAMETERS AND TOOLPATH DATA / Working with operation (10000s) parameters • 15
如果想去掉该提示,请访问并下载:
http://www.jisupdfeditor.com/

2
Quick Start

string1 : 0 # User-defined string variables


string2 : 0
var1 : 0 # User-defined numeric variables
var2 : 0
var3 : 0
result : 0 # Variable to hold fprm return value

3 fprmtbl
a fprmtbl

For example:

fprmtbl 2 5 # Table Number, Size


10000 string1 # Toolpath ID (string)
10001 string2 # Tool String
10002 var1 # Tool Number
10003 var2 # Tool Dia. Offset Number
10004 var3 # Tool Length Number

4 pparameter $ pmachineinfo$ MD / CD / fprm


.
tbl :

pparameter$ # Predefined parameter postblock


result = fprm(2)

1 0.
opcode$ -
op
pcode$ :

pparameter$ # Predefined parameter postblock


result =
pparameter$ fprm(opcode$)

3: formattable fprm
pmachineinfo$

axis_label : 0 # Axis label - 1=X,2=Y,3=Z


rot_zero : 0 # Rotary zero degree position
rot_dir : 0 # Rotary direction
16 • MASTERCAM X8 / NCI & Parameter Reference

rot_index : 0 # Index or continuous


rot_angle : 0 # Index step
rot_type : 0 # Rotary type
min_speed : 0 # Minimum spindle speed
maxfrinv : 0 # Maximum feedrate - inverse time - inch
maxfrinv_m : 0 # Maximum feedrate - inverse time - metric Quick Start
maxfrdeg : 0 # Maximum feedrate deg/min
maxfeedpm : 0 # Limit for feed in inch/min
maxfeedpm_m : 0 # Limit for feed in mm/min
all_cool_off : 0 # First coolant off command shuts off
# ALL coolant options
result : 0 # return value for fprm function

# Machine Definition Parameters


fprmtbl 17000 14 # Table Number, Size
# Param Variable to load value into
17391 axis_label # Axis label - 1=X,2=Y,3=Z
17401 rot_zero # Rotary zero degree position
17402 rot_dir # Rotary direction
17408 rot_index # Index or continuous
17409 rot_angle # Index step
17410 rot_type # Rotary type
17605 min_speed # Minimum spindle speed
17662 maxfrinv # Maximum feedrate - inverse time - inch
17670 maxfrinv_m # Maximum feedrate - inverse time - metric
17665 maxfrdeg # Maximum feedrate deg/min
17643 maxfeedpm # Limit for feed in inch/min
17651 maxfeedpm_m # Limit for feed in mm/min
17101 all_cool_off # First coolant off command shuts off
# ALL coolant options

pmachineinfo$ #Machine information parameters postblock


if prmcode$ >= 17000 & prmcode$ < 18000, result = fprm(17000)
该文档是极速PDF编辑器生成,
WORKING WITH PARAMETERS AND TOOLPATH DATA / Working with operation (10000s) parameters • 17
如果想去掉该提示,请访问并下载:
http://www.jisupdfeditor.com/

UpdatePost
Mastercam X4 UpdatePost C-Hook

updatepost.log : Quick Start

PARAMETER DATA - - Possibly incorrect parameter number detected:


17665. Please check the parameter number.

181

UpdatePost fprm postblocks -

pparameter$
if prmcode$ = 10068, z_stock = rpar(sparameter$, 1)

pparameter$ pwrttparam $
postblocks
该文档是极速PDF编辑器生成,
18 • MASTERCAM X8 / NCI & Parameter Reference 如果想去掉该提示,请访问并下载:
http://www.jisupdfeditor.com/

20000s
20000s 10000 NCI
Quick Start
NCI Gcodes 1000,1001 1002 NCI “ ”

See Tool information 20001


(20000s parameters) 1/4 FLAT ENDMILL
starting on page 135 for a 20002
list of each 20000-series 20003
parameter as well as the 20004
type of value(s) it contains.
1 10 1 0 0.25 0. 0. 180. 1 1 6.4176 6.4176 6.4176 2139 1 4
20006
0 50. 50. 25. 25. 0. 0. 0.
20007
0. 2. 3. 2.5 0.25 2. 1. 0 100. 25. 0
20008
0. 0. 1. 0 0. 0. 0 0. 0.

“ ” Mast
ercam MP
NCI MCX .

20000 20001
20004 16

20000s

Mastercam X 20000s;
该文档是极速PDF编辑器生成,
WORKING WITH PARAMETERS AND TOOLPATH DATA / Working with 20000s lines • 19
如果想去掉该提示,请访问并下载:
http://www.jisupdfeditor.com/

Capturing parameters from 20000s lines


0-1999 NCI Gcodes 20000s

10000s 200000s
Quick Start
 NCI 20000s pparameter $

prmcode$ 20000s NCI Gcode

sparameter$ .
:
 20000s .

.

pparameter$ NCI .
20000s
:
 Capturing a string from a 20000s line
 Capturing numeric values from a 20000s line
该文档是极速PDF编辑器生成,
20 • MASTERCAM X8 / NCI & Parameter Reference 如果想去掉该提示,请访问并下载:
http://www.jisupdfeditor.com/

Capturing a string from a 20000s line


pp
parameter$ 20000s NCI

Quick Start
How do I...?
Capturing a string from a 20000s line
1 20000s .
 135 20000s

2 .

s_my_string : “ ” # Stores the string

3 pparameter$

if prmcode$ = 2xxxx, s_my_string = sparameter$

2xxxx 20000s .
4 .

4: Getting a string from a 20000s line


20012 .

stool_plane # Define a string

pparameter$ # Predefined parameter postblock


if prmcode$ = 20012, stool_plane = sparameter$
# Capture the parameter string
该文档是极速PDF编辑器生成,
WORKING WITH PARAMETERS AND TOOLPATH DATA / Working with 20000s lines • 21
如果想去掉该提示,请访问并下载:
http://www.jisupdfeditor.com/

Capturing numeric values from a 20000s line


20000s
sparameter$
20004 NCI 20004
20004 Quick Start
1 10 0 0 0.2 0. 0. 45. 1 1 0. 0. 0. 0 8 4

:

 X3
 X3

Mastercam X3
Mastercam X2 20000s

How do I...?
20000s
rpar 20000s . Quick Start

1 135 20000s
a 20000s .
b .
2 -

# User-defined numeric variables

# (This creates an implied array)

var1 : 0
var2 : 0
var3 : 0
var4 : 0
var5 : 0

3 pparameter$ rpar :
if prmcode$ = 2xxxx, var1 = rpar(sparameter$, 5)
where:
 2xxxx 20000s .
 var1
 5
该文档是极速PDF编辑器生成,
22 • MASTERCAM X8 / NCI & Parameter Reference 如果想去掉该提示,请访问并下载:
http://www.jisupdfeditor.com/

Example
5: Capturing all the values from a 20000s line (rpar)
RPAR 20008 8 .
# ’20008’ Quick Start
# 9 !

hd_ax_x : 0 # Head axis in X


hd_ax_y : 0 # Head axis in Y
hd_ax_z : 0 # Head axis in Z
hd_body_typ : 0 # Head body type
hd_body_dia : 0 # Head body diameter
hd_body_len : 0 # Head body length
stat_body_typ : 0 # Station body type
stat_body_dia : 0 # Station body diameter
stat_body_len : 0 # Station body length

pparameter$ #Read operation parameters


Quick Start
if prmcode$ = 20008, hd_ax_x = rpar(sparameter$, 8)

How do I...?
Capturing a single parameter from a 20000s line
rparsngl 20000s .

20 20000s

1 135 20000s .
a 20000s .
b .
2
# User-defined numeric variables

var1 : 0 # parameter value

3 pparameter$ rparsngl

if prmcode$ = 2xxxx, var1 = rparsngl(sparameter$, 9)

where:
 2xxxx 20000s .
 var1
 9
该文档是极速PDF编辑器生成,
WORKING WITH PARAMETERS AND TOOLPATH DATA / Working with 20000s lines • 23
如果想去掉该提示,请访问并下载:
http://www.jisupdfeditor.com/

: Getting a single number from a 20000s line (rparsngl)


rparsngl 20008
Quick Start

#Station body length

pparameter$ #Read operation parameters


gauge_length : =
if prmcode$ 0 20008, gauge_length = rparsngl(sparameter$, 9)

How do I...?
Capturing a range of parameters from a 20000s line
rparsprm 20000s - 20000s 9
3-7
:
1 135 135 20000s .
a 20000s .
b .
2 -

# User-defined numeric variables

# (This creates an implied array)

var1 : 0
var2 : 0
var3 : 0
var4 : 0
var5 : 0

3 pparameter$ rparsprm

if prmcode$ = 2xxxx, var1 = rparsprm(x, y)

where:
 2xxxx 20000s
 var1 .
 x sparameter $ .
 y .

Example
7: Getting a range of numbers from a 20000s line (rparsprm)
rparsprm 20007 rpar
rparsprm
该文档是极速PDF编辑器生成,
24 • MASTERCAM X8 / NCI & Parameter Reference 如果想去掉该提示,请访问并下载:
http://www.jisupdfeditor.com/

# User-defined numeric variables


# (This creates an implied array)
tl_shoulder_length : #Shoulder length
Quick Start
tl_arbor_diam : #Arbor diameter
tl_holder_diam : #Holder diameter
tl_holder_length : #Holder length

pparameter$ #Read operation parameters


if prmcode$ = 20007, tl_shoulder_length = rparsprm(4, 4)
该文档是极速PDF编辑器生成,
WORKING WITH PARAMETERS AND TOOLPATH DATA / Working with 20000s lines • 25
如果想去掉该提示,请访问并下载:
http://www.jisupdfeditor.com/

Lathe tool inspection comments


Mastercam X4 introduced a tool inspection feature for lathe grooves. This lets you retract
the tool between depth cuts or between grooves to inspect or change the tool. For
example, in this toolpath, the tool inspection has been programmed between grooves:
Quick Start

The NCI output for this feature has two components.


 The retract move to the inspection position. This is indicated by the same 70000
cur_cflag$ (rpd_typ$ = 7) used for the Mill tool inspection feature in the
surface high-speed toolpaths.
 A comment that is written to the NCI just before the 70000 move. A new 29999
NCI code has been created for this comment.
To implement this feature in your post, therefore, you need to process both elements.
Unlike other 20000s lines, which are are written to the NCI before the tool change line,
the 29999 is written in the middle of the toolpath, at the point where the tool inspection
is to take place.
The following picture shows the NCI for a lathe groove toolpath, with and without the
tool inspection. You can see how the retract move and new codes are implemented.

The first step in processing the tool inspection move is to trap the 70000 value. This
needs to be done in the entry postblocks for both linear and rapid moves. For posts based
26 • MASTERCAM X8 / NCI & Parameter Reference

on Mastercam’s generic posts, these are typically prapidout and plinout. The
following example shows how this can be done.

Example
Example 8: Modifying plinout/prapidout to trap a tool inspection move Quick Start

The highlighted lines show the new lines that were added to process the flag for a
tool inspection. These lines will trap both mill and lathe tool inspection codes. The
tool inspection code triggers a call to a new postblock, ptool_insp, that will
actually process the move.
prapidout #Output to NC, linear movement - rapid
pcan1, pbld, n$, psgplane, pexct, psgcode, psccomp, pwcs,
pxout, pyout, pzout, pcout, pscool, strcantext, e$
if rpd_typ$ = 7, ptool_insp #Tool inspection point

plinout #Output to NC, linear movement - feed


pcan1, pbld, n$, psgplane, sgfeed, pexct, psgcode, psccomp,
pwcs, pxout, pyout, pzout, pcout, pfr, pscool, strcantext, e$
if rpd_typ$ = 7, ptool_insp #Tool inspection point

It is a good practice to create a new postblock to hold the processing logic for the
tool inspection. In this example, the new postblock is ptool_insp.
The tool inspection postblock needs to do the following:
 Since the lathe tool inspection uses the same 70000 flag as the mill/HST tool
inspection, mill-turn posts need to be able to distinguish between a mill and
lathe tool inspection.
 Handle the 29999 comment.
 When the tool returns to the part, restore the machine operation mode that was
in effect before the inspection. At a minimum, this will include the motion mode
and feed rate; coolant state; and work offset.
Example 9 shows how this postblock was implemented in the MPLFAN.PST generic
post.

Example
Example 9: Tool inspection postblock
This example outputs an M00 at the inspection point. This should be customized to
the proper code for your machine.
It also outputs an additional default comment in addition to the one entered with
the tool inspection toolpath. This is only a place holder indicating that this is a
generic solution that has not been customized for a specific machine. Remove this
comment when you customize this for your customers’ machines and replace it
with whatever code, if any, is appropriate for your application.
ptool_insp #Tool inspection point
#Modify following lines to customize output for tool inspection
if posttype$ = 2, #Lathe tool inspection point
[
"(TOOL INSPECTION POINT - POST CUSTOMIZATION
MAY BE REQUIRED)", e$
if prmcode$ = 29999, #Only output tool insp comment if one
was entered with this insp point
[
sparameter$ = ucase(sparameter$)
WORKING WITH PARAMETERS AND TOOLPATH DATA / Working with 20000s lines • 27

pbld, n$, *sm00, "(", sparameter$, ")", e$


]
else, pbld, n$, *sm00, e$ #Output just the stop
if no comment
pbld, n$, *sgcode, *toolno, e$ #Restate tool number
pbld, n$, pfsgplane, e$ #Restate plane code Quick Start
prpm # Output programmed RPM #Restate spindle
prv_feed = c9k #Set prv_values to c9k to force them out
with next moves
prv_gcode$ = c9k
prv_workofs$ = c9k
if coolant$, prv_coolant$ = c9k
]
else, #Mill tool inspection point
pbld, n$, *sm00, "(TOOL INSPECTION POINT - POST CUSTOMIZATION
REQUIRED)", e$

The following picture shows the before-and-after NC output generated by the post
logic in the preceding examples:
该文档是极速PDF编辑器生成,
28 • MASTERCAM X8 / NCI & Parameter Reference 如果想去掉该提示,请访问并下载:
http://www.jisupdfeditor.com/

Quick Start

:
 : 17000–17999
 : 18000–18999
 : 19000–19999


pmachineinfo$ pparameter$
 :
 rd_cd$
 rd_tlpathgrp$ .
 rd_md$

pmachineinfo$
pmachineinfo$ MD / CD / group
Mastercam pprep$
# Pre-process postblock - Allows post instructions
pprep$ # after the post is parsed but before the NC and NCI
# file are opened.

# DO NOT ATTEMPT TO OUTPUT TO THE NC FILE IN THIS POSTBLOCK


# (OR ANY POSTBLOCKS YOU MAY CALL FROM HERE) BECAUSE THE NC OUTPUT
# FILE IS NOT YET OPENED!

rd_cd$ # Read CD Parameters


rd_mch_ent_no$ = 0 # Read only the machine base parameters
rd_md$ # Read machine definition parameters

:
 .

rd _ c d $ r d _ m d $ r d _ t l p a t h g r p $ r d _ p a r a m s $ postblock
 pmachineinfo$
:



该文档是极速PDF编辑器生成,
WORKING WITH PARAMETERS AND TOOLPATH DATA / Working with machine definition, control definition, and machine group parameters • 29
如果想去掉该提示,请访问并下载:
http://www.jisupdfeditor.com/

rd_md $ rd_mch_ent_no$ rd_md$


rd_mch_ent_no$ rd_md$ :
 Quick Start

 ;

.
rd_md$
.
rd_mch_ent_no$ :

–2 sparameter$ sparameter$
“ ” sparameter$

–1

0 366
CNC_MACHINE_TYPE

ID
.
该文档是极速PDF编辑器生成,
30 • MASTERCAM X8 / NCI & Parameter Reference 如果想去掉该提示,请访问并下载:
http://www.jisupdfeditor.com/

ID
ID rd_mch_ent_no$

 rd_mch_ent_no $ 0
. Quick Start

Learn more:  ID NCI 20600 .


20600 : Axis  20600 .
combination
components NCI line.  ID .
NCI 20000
Capturing numeric pparameter$ ID 20000 .
values from a 20000s
line to learn more about  syncaxis$ ID
getting the value. NCI 950 MP rd_md$ :
rd_mch_ent_no$ = syncaxis$
M R L 950 : Axis
combination NCI line. ID NCI 20601 20600
ID syncaxis $
20601 : Axis .
combination info NCI
line.

How do I...?

;
14
1 329 .
a 330

b 366 .
2
3 postblock pprep$ psof$
postblock rd_mch_ent_no$ ID 0
.
4 rd_md$ rd_mch_ent_no$
5 pmachineinfo$
if prmcode$ = 17xxx, var1 = rpar(sparameter$, 1)

17xxx var1 .
该文档是极速PDF编辑器生成,
WORKING WITH PARAMETERS AND TOOLPATH DATA / Working with machine definition, control definition, and machine group parameters • 31
如果想去掉该提示,请访问并下载:
http://www.jisupdfeditor.com/

Example
10: Getting a machine definition parameter
...
rd_mch_ent_no$ 0. Quick Start

all_cool_off : 0 # First coolant off command shuts off


# ALL coolant options

pprep$ # Pre-process postblock - Allows post instructions


# after the post is parsed but before the NC and NCI
# file are opened.
rd_mch_ent_no$ = 0 # Read only the machine base parameters
rd_md$ # Read machine definition parameters

pmachineinfo$ #Machine information parameters postblock


if prmcode$ = 17101, all_cool_off = rpar(sparameter$, 1)
该文档是极速PDF编辑器生成,
32 • MASTERCAM X8 / NCI & Parameter Reference 如果想去掉该提示,请访问并下载:
http://www.jisupdfeditor.com/

Capturing control definition parameters


postblock postline rd_cd$
pmachineinfo$ postblock

Quick Start

How do I...?
Getting a control definition parameter
;
14 .
1 395 .
a 396 .
b 426 .
2
3 postblock postline rd_cd $ .
4 pmachineinfo$

if prmcode$ = 18xxx, var1 = rpar(sparameter$, 1)

18xxx var1 .

Example
Example 11:
.

ssetup_sheet # Define string variable for setup sheet string


cd_mtol_in : 0 # Define numeric variable for mtol – inches
cd_mtol_mm : 0 # Define numeric variable for mtol – metric

psof$ # Start of file postblock


rd_cd$ # Get the control parameters - call pmachineinfo$

pmachineinfo$ # Parameter capture postblock


# Capture string data for the name of the setup sheet
if prmcode$ = 18160, ssetup_sheet = sparameter$

# Capture numeric data for mtol, inch and metric


if prmcode$ = 18055, cd_mtol_in = rpar(sparameter$, 1)
if prmcode$ = 10856, cd_mtol_mm = rpar(sparameter$, 1)
该文档是极速PDF编辑器生成,
WORKING WITH PARAMETERS AND TOOLPATH DATA / Working with machine definition, control definition, and machine group parameters • 33
如果想去掉该提示,请访问并下载:
http://www.jisupdfeditor.com/

postblock postline rd_tlpathgrp$


pmachineinfo$ postblock .

Quick Start
- -

How do I...?
Getting a machine group parameter
;
14 .
1 444 .
a 444
. Quick Start
b 449 .
2 .
3 postblock rd_tlpathgrp$ .
4 pmachineinfo $

if prmcode$ = 19xxx, var1 = rpar(sparameter$, 1)

19xxx var1 .

Example
Example 12: Capturing machine group parameters

smd_file_name # Define string variable for name of


# the machine definition file
stp_grp_name # Define string variable for name of
# the machine group
tp_grp_number : 0 # Define numeric variable for the
# machine group number

psof$ # Start of file postblock


rd_tlpathgrp$ # Get the toolpath group parameters -
# call pmachineinfo

pmachineinfo$ # Parameter capture postblock


34 • MASTERCAM X8 / NCI & Parameter Reference

# Capture numeric data for toolpath group number


if prmcode$ = 18500, tp_grp_number = rpar(sparameter$, 1)

# Capture string data for machine filename and group name


if prmcode$ = 18501, stp_grp_name = sparameter$
if prmcode$ = 18601, smd_file_name = sparameter$
Quick Start
该文档是极速PDF编辑器生成,
WORKING WITH PARAMETERS AND TOOLPATH DATA / Advanced techniques for working with operation parameters • 35
如果想去掉该提示,请访问并下载:
http://www.jisupdfeditor.com/

Quick Start

.
 NCI

 postblock

NCI
pparameter$ NCI
tooltable$ 1 3 pwrtt$ pwrttparam$ postblocks

pwrttparam$ postblock pparameter$


- ,
if prmcode$ = 20007, tl_shoulder_length = rparsprm(4, 4)

protparam$ post pparameter$.


post pwrtt$ pwrttparam$ postblocks
NCI Gcodes 1005,1006,1007 1008 prmcode$
sparameter$
该文档是极速PDF编辑器生成,
36 • MASTERCAM X8 / NCI & Parameter Reference 如果想去掉该提示,请访问并下载:
http://www.jisupdfeditor.com/

“ ” Quick Start

pparameter$ postblock
~prmcode$, ~sparameter$, e$

prmcode$
Mastercam MPFAN.PST MPLFAN.PST
:
#"pparameter", ~prmcode$, ~sparameter$, e$

How do I...?

1 pparameter $ postblock:
pparameter$ #Information from parameters
"pparameter", ~prmcode$, ~sparameter$, e$

pparameter$ postblock .
2
a pmachineinfo$ postblock:
"-->pmachineinfo", ~prmcode$, " ", ~sparameter$, e$

pmachineinfo$ postblock .
b pprep$ postblock :
rd_cd$
rd_mch_ent_no$ : –1
rd_md$
rd_tlpathgrp$

prmcode$
2D :
该文档是极速PDF编辑器生成,
WORKING WITH PARAMETERS AND TOOLPATH DATA / Advanced techniques for working with operation parameters • 37
如果想去掉该提示,请访问并下载:
http://www.jisupdfeditor.com/

Quick Start

4 .
.PST NC
.
5
NC “unique” -

0.01234 NC :
pparameter prmcode$ 10010. 0.01234

0.09876 NC :
pparameter prmcode$ 10068. 0.09876

prmcode$ .
6 prmcode$ Mastercam Contour
NC
prmcode$
prmcode$.
该文档是极速PDF编辑器生成,
38 • MASTERCAM X8 / NCI & Parameter Reference 如果想去掉该提示,请访问并下载:
http://www.jisupdfeditor.com/

postblock
rd_md$ rd_cd$ rd_tlpathgrp$ postblock
rd_params$ postblock
pparameter$
rd_params$ . Quick Start

rd_params$ rd_prm_op_no$
op_id$

Example
Example 13: rd_params$
;
.
sop_type_name # Define string variable for the operation type
num_rough_cuts : 0 # Define numeric variable for the
number of rough cuts
spcng_rough_cuts : 0 # Define numeric variable for
# the spacing between the rough cuts

psof$ # Start of file postblock


rd_prm_op_no$ = 0 # The number of the operation whose
# parameters you want to retrieve
rd_params$ # Get the parameters - call pparameter$

pparameter$ # Parameter capture postblock


# Get operation type string
if prmcode$ = 10000, sop_type_name = sparameter$

# Capture numeric data for component ID and type


if prmcode$ = 10106, num_rough_cuts = rpar(sparameter$, 1)
if prmcode$ = 10107, spcng_rough_cuts = rpar(sparameter$, 1)
该文档是极速PDF编辑器生成,
WORKING WITH PARAMETERS AND TOOLPATH DATA / Advanced techniques for working with operation parameters • 39
如果想去掉该提示,请访问并下载:
http://www.jisupdfeditor.com/

:

 Quick Start

“ ” “ ” :

18157.
40 • MASTERCAM X8 / NCI & Parameter Reference

Quick Start
chapter 3
NCI Reference Quick Start

This chapter lists all of the Gcodes that are output in the NCI file. It is
divided into two main sections:
 NCI Gcodes . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .page 42
 Tool information (20000s parameters) . . . . . . . . . . . . page 135
Each parameter that is output on line 2 with the Gcode or parameter is
also documented. Typically, these correspond to pre-defined variables.
该文档是极速PDF编辑器生成,
42 • MASTERCAM X8 / NCI & Parameter Reference 如果想去掉该提示,请访问并下载:
http://www.jisupdfeditor.com/

NCI Gcodes
See Working with NCI Mastercam X4 NCI Gcodes Mastercam MT
Quick Start
toolpath data on page Gcode.
10 for more information.

 .
Control Flags Parameters are detailed in a separate section on page 131.

M R 0:

: 0
1 2 3 4 5 6

1 cc$ 0 Cutter compensation modal


(no change)
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 X xnci$, x$
3 Y ynci$, y$
4 Z znci$, z$
5 fr$ Positive Feed rate in units per minute
-1 Unchanged
-2 Rapid
6 cur_cflg$ See Control Flags Parameters on
page 131.
NCI REFERENCE / NCI Gcodes • 43

L 0 : Linear Move at rapid rate

Definition: 0
1 2 3 4 5 6
Quick Start

1 Cutter cc$ 0 Cutter compensation modal


compensation (no change)
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 X position xnci$, x$
3 Y position ynci$, y$
4 Z position znci$, z$
5 Feed rate fr$ Positive Feed rate in units per minute
Negative Feed rate in units per revolution
6 Control flags cur_cflg$ See Control Flags Parameters on
page 131.
44 • MASTERCAM X8 / NCI & Parameter Reference

W 0 : Linear move at rapid rate

Definition: 0
1 2 3 4 5 6 7 8 9
Quick Start

1 Wire compensation cc$ 0 Wire compensation modal


(no change)
40 Cancel wire compensation in the
control
41 Wire compensation in the control
= left
42 Wire compensation in the control
= right
140 Cancel wire compensation last move
in the contour
2 X position xnci$, x$
3 Y position ynci$, y$
4 Z position znci$, z$
5 Feed rate fr$ Positive Feed rate in units per minute
-1 Unchanged
6 Wire taper wt$
7 Corner type wc$ 0 Conical
1 Sharp
2 Constant
3 Other
4 Fixed
5 Fishtail
8 Control flags cur_cflg$ See Control Flags Parameters on
page 131.
9 Corner type radius wc_rad$
该文档是极速PDF编辑器生成,
NCI REFERENCE / NCI如果想去掉该提示,请访问并下载:
Gcodes • 45
http://www.jisupdfeditor.com/

M R 1:

Definition: 1
1 2 3 4 5 6
Quick Start

1 Cutter compensation cc$ 0 Cutter compensation modal


(no change)
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 X position xnci$, x$
3 Y position ynci$, y$
4 Z position znci$, z$
5 Feed rate fr$ Positive Feed rate in units per minute
-1 Unchanged
-2 Rapid
6 Control flags cur_cflg$ See Control Flags Parameters on
page 131.
46 • MASTERCAM X8 / NCI & Parameter Reference

L 1 : Linear Move at feed rate

Definition: 1
1 2 3 4 5 6
Quick Start

1 Cutter compensation cc$ 0 Cutter compensation modal


(no change)
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 X position xnci$, x$
3 Y position ynci$, y$
4 Z position znci$, z$
5 Feed rate fr$ Positive Feed rate in units per minute
Negative Feed rate in units per revolution
6 Control flags cur_cflg$ See Control Flags Parameters on
page 131.
NCI REFERENCE / NCI Gcodes • 47

W 1 : Linear move at feed rate

Definition: 1
1 2 3 4 5 6 7 8 9
Quick Start

1 Wire compensation cc$ 0 Wire compensation modal


(no change)
40 Cancel wire compensation in the
control
41 Wire compensation in the control
= left
42 Wire compensation in the control
= right
140 Cancel wire compensation last move
in the contour
2 X position xnci$, x$
3 Y position ynci$, y$
4 Z position znci$, z$
5 Feed rate fr$ Positive Feed rate in units per minute
-1 Unchanged
6 Wire taper wt$
7 Corner type wc$ 0 Conical
1 Sharp
2 Constant
3 Other
4 Fixed
5 Fishtail
8 Control flags cur_cflg$ See Control Flags Parameters on
page 131.
9 Corner type radius wc_rad$
该文档是极速PDF编辑器生成,
48 • MASTERCAM X8 / NCI & Parameter Reference 如果想去掉该提示,请访问并下载:
http://www.jisupdfeditor.com/

M L R 2:

Definition: 2
1 2 3 4 5 6 7 8 9 10
Quick Start

1 plane$ 0 XY plane
1 YZ plane
2 XZ plane
2 cc$ 0 Cutter compensation modal
(no change)
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
3 X position xnci$, x$
4 Y position ynci$, y$
5 X xc$ (relative to plane)

6 Y yc$ (relative to plane)

7 Z position znci$, z$
8 Feed rate fr$ Positive Feed rate per minute
Negative Feed rate per revolution
-1 Unchanged
-2 Rapid
9 Control flags cur_cflg$ See Control Flags Parameters on
page 131.
10 Full arc flag full_arc_flg$ 0 NOT a full arc move
1 Full arc move (360-degree sweep)
NCI REFERENCE / NCI Gcodes • 49

W 2 : Arc move clockwise

Definition: 2
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15
Quick Start

1 Plane plane$ This is set, but is never actually used since


the plane in Wire is always TOP.
2 Wire compensation cc$ 0 Wire compensation modal
(no change)
40 Cancel wire compensation in the control
41 Wire compensation in the control
= left
42 Wire compensation in the control
= right
140 Cancel wire compensation last move in the
contour
3 X position xnci$, x$
4 Y position ynci$, y$
5 Absolute X-axis arc xc$ (relative to plane)
center
6 Absolute Y-axis arc yc$ (relative to plane)
center
7 Z position znci$, z$
8 Feed rate fr$ Positive Feed rate per minute
-1 Unchanged
9 Wire taper wt$
10 Corner type wc$ 0 Conical
1 Sharp
2 Constant
3 Other
4 Fixed
5 Fishtail
11 Control flags cur_cflg$ See Control Flags Parameters on page 131.
12 Corner radius wc_rad$
13 Arc type warc_ctyp$ 0 Conical
1 Sharp
2 Constant
3 Other
4 Fixed
5 Fish Tail
14 Arc radius warc_rad$
15 Full arc flag full_arc_flg$ 0 NOT a full arc move
1 Full arc move (360-degree sweep)
50 • MASTERCAM X8 / NCI & Parameter Reference

M L R 3 : Arc Move CCW

Definition: 3
1 2 3 4 5 6 7 8 9 10
Quick Start
1 Plane position plane$ 0 XY plane
1 YZ plane
2 XZ plane
2 Cutter compensation cc$ 0 Cutter compensation modal
(no change)
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
3 X position xnci$, x$
4 Y position ynci$, y$
5 Absolute X axis arc xc$ (relative to plane)
center
6 Absolute Y axis arc yc$ (relative to plane)
center
7 Z position znci$, z$
8 Feed rate fr$ Positive Feed rate per minute
Negative Feed rate per revolution
-1 Unchanged
-2 Rapid
9 Control flags cur_cflg$ See Control Flags Parameters on
page 131.
10 Full arc flag full_arc_flg$ 0 NOT a full arc move
1 Full arc move (360-degree sweep)
NCI REFERENCE / NCI Gcodes • 51

W 3 : Arc move counterclockwise

Definition: 3
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15
Quick Start

1 Plane plane$ 0 This is set, but is never actually used


since the plane in Wire is always TOP.
2 Wire compensation cc$ 0 Wire compensation modal
(no change)
40 Cancel wire compensation in the
control
41 Wire compensation in the control
= left
42 Wire compensation in the control
= right
140 Cancel wire compensation last move
in the contour
3 X position xnci$, x$
4 Y position ynci$, y$
5 Absolute X-axis arc xc$ (relative to plane)
center
6 Absolute Y-axis arc yc$ (relative to plane)
center
7 Z position znci$, z$
8 Feed rate fr$ Positive Feed rate per minute
-1 Unchanged
9 Wire taper wt$
10 Corner type wc$ 0 Conical
1 Sharp
2 Constant
3 Other
4 Fixed
5 Fishtail
11 Control flags cur_cflg$ See Control Flags Parameters on
page 131.
12 Corner radius wc_rad$
13 Arc type warc_ctyp$ 0 Conical
1 Sharp
2 Constant
3 Other
4 Fixed
5 Fish Tail
14 Arc radius warc_rad$
15 Full arc flag full_arc_flg$ 0 NOT a full arc move
1 Full arc move (360-degree sweep)
52 • MASTERCAM X8 / NCI & Parameter Reference

L 4 : Dwell and Spindle Change

Definition: 4
1 2 3
Quick Start

1 Dwell dwell$ Dwell time


2 Spindle speed ss$ Positive Spindle speed in RPM
0 Spindle stop
Negative Spindle speed in surface units
per minute
3 Spindle direction spdir$ –1 Reverse
0 Off
1 Forward
该文档是极速PDF编辑器生成,
NCI REFERENCE / NCI如果想去掉该提示,请访问并下载:
Gcodes • 53
http://www.jisupdfeditor.com/

M R 4 : Dwell and Spindle Change

Definition: 4
1 2 3
Quick Start

1 dwell$ Dwell time


2 ss$ Spindle speed in RPM
3 (not used)
54 • MASTERCAM X8 / NCI & Parameter Reference

W 4 : Dwell

Definition: 4
1 2 3
Quick Start

1 Dwell dwell$ Dwell time


2 (Not used)
3 (Not used)
NCI REFERENCE / NCI Gcodes • 55

M R 11 : 5-Axis Move

Definition: 11
1 2 3 4 5 6 7 8 9 10 11 12
Quick Start

1 X position xnci$, x$
2 Y position ynci$, y$
3 Z position znci$, z$
4 U position u$
5 V position v$
6 W position w$
7 Feed rate fr$ Positive Feed rate
-1 Unchanged
-2 Rapid
8* Tool parameters nn left digit = cutpos$, right digit = cuttyp$
cutpos$ 10 Start
20 Middle
30 End
40 Entry to cut
50 Exit from cut
cuttyp$ 1 Zigzag
2 One way
3 Circular
4 Swarf
9 Control flags cur_cflg$ See Control Flags Parameters on
page 131.
10 Surface normal p_svec$
vector
11 Surface normal q_svec$
vector
12 Surface normal r_svec$
vector

* These are only maintained for compatibility with older posts. Use the control
flags parameter instead!
56 • MASTERCAM X8 / NCI & Parameter Reference

W 11 : 4-Axis Taper Move

Definition: 11
1 2 3 4 5 6 7 8 9
Quick Start

1 Wire compensation cc$ 0 Wire compensation modal


(no change)
40 Cancel wire compensation in the
control
41 Wire compensation in the control
= left
42 Wire compensation in the control
= right
140 Cancel wire compensation last move
in the contour
2 X position xnci$, x$ lower point
3 Y position ynci$,y$ lower point
4 Z position znci$,z$ lower point
5 U position u$ upper point
6 V position v$ upper point
7 W position w$ upper point
8 Feed rate fr$ Feed rate
9 Control flags cur_cflg$ See Control Flags Parameters on
page 131.
NCI REFERENCE / NCI Gcodes • 57

W 20 : Direct 4-axis lower guide – linear move at rapid

Definition: 20
1 2 3 4 5 6 7 8 9
Quick Start

1 Wire compensation cc$ 0 Wire compensation modal


(no change)
40 Cancel wire compensation in the
control
41 Wire compensation in the control
= left
42 Wire compensation in the control
= right
140 Cancel wire compensation last move
in the contour
2 X position xnci$, x$
3 Y position ynci$, y$
4 Z position znci$, z$
5 Feed rate fr$ Positive Feed rate in units per minute
-1 Unchanged
6 Wire taper wt$
7 Corner type wc$ 0 Conical
1 Sharp
2 Constant
3 Other
4 Fixed
5 Fishtail
8 Control flags cur_cflg$ See Control Flags Parameters on
page 131.
9 Corner type radius wc_rad$
58 • MASTERCAM X8 / NCI & Parameter Reference

W 21 : Direct 4-axis lower guide – linear move at feed rate

Definition: 21
1 2 3 4 5 6 7 8 9
Quick Start

1 Wire compensation cc$ 0 Wire compensation modal


(no change)
40 Cancel wire compensation in the
control
41 Wire compensation in the control
= left
42 Wire compensation in the control
= right
140 Cancel wire compensation last move
in the contour
2 X position xnci$, x$
3 Y position ynci$, y$
4 Z position znci$, z$
5 Feed rate fr$ Positive Feed rate in units per minute
-1 Unchanged
6 Wire taper wt$
7 Corner type wc$ 0 Conical
1 Sharp
2 Constant
3 Other
4 Fixed
5 Fishtail
8 Control flags cur_cflg$ See Control Flags Parameters on
page 131.
9 Corner type radius wc_rad$
NCI REFERENCE / NCI Gcodes • 59

W 22 : Direct 4-axis lower guide – arc move clockwise

Definition: 22
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15
Quick Start

1 Plane plane$ 0 This is set, but is never actually


used since the plane in Wire is
always TOP.
2 Wire compensation cc$ 0 Wire compensation modal
(no change)
40 Cancel wire compensation in the
control
41 Wire compensation in the control
= left
42 Wire compensation in the control
= right
140 Cancel wire compensation last
move in the contour
3 X position xnci$, x$
4 Y position ynci$, y$
5 Absolute X-axis arc xc$ (relative to plane)
center
6 Absolute Y-axis arc yc$ (relative to plane)
center
7 Z position znci$, z$
8 Feed rate fr$ Positive Feed rate per minute
-1 Unchanged
9 Wire taper wt$
10 Corner type wc$ 0 Conical
1 Sharp
2 Constant
3 Other
4 Fixed
5 Fishtail
11 Control flags cur_cflg$ See Control Flags Parameters on
page 131.
12 Corner radius wc_rad$
13 Arc type warc_ctyp$ 0 Conical
1 Sharp
2 Constant
3 Other
4 Fixed
5 Fish Tail
14 Arc radius warc_rad$
15 Full arc flag full_arc_flg$ 0 NOT a full arc move
1 Full arc move (360-degree sweep)
60 • MASTERCAM X8 / NCI & Parameter Reference

W 23 : Direct 4-axis lower guide – arc move counterclockwise

Definition: 23
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15
Quick Start
1 Plane plane$ 0 This is set, but is never actually used
since the plane in Wire is always TOP.
2 Wire compensation cc$ 0 Wire compensation modal
(no change)
40 Cancel wire compensation in the
control
41 Wire compensation in the control
= left
42 Wire compensation in the control
= right
140 Cancel wire compensation last move
in the contour
3 X position xnci$, x$
4 Y position ynci$, y$
5 Absolute X-axis arc xc$ (relative to plane)
center
6 Absolute Y-axis arc yc$ (relative to plane)
center
7 Z position znci$, z$
8 Feed rate fr$ Positive Feed rate per minute
-1 Unchanged
9 Wire taper wt$
10 Corner type wc$ 0 Conical
1 Sharp
2 Constant
3 Other
4 Fixed
5 Fishtail
11 Control flags cur_cflg$ See Control Flags Parameters on
page 131.
12 Corner radius wc_rad$
13 Arc type warc_ctyp$ 0 Conical
1 Sharp
2 Constant
3 Other
4 Fixed
5 Fish Tail
14 Arc radius warc_rad$
15 Full arc flag full_arc_flg$ 0 NOT a full arc move
1 Full arc move (360-degree sweep)
NCI REFERENCE / NCI Gcodes • 61

W 30 : Direct 4-axis upper guide – linear move at rapid

Definition: 30
1 2 3 4 5 6 7 8 9
Quick Start

1 Wire compensation cc$ 0 Wire compensation modal


(no change)
40 Cancel wire compensation in the
control
41 Wire compensation in the control
= left
42 Wire compensation in the control
= right
140 Cancel wire compensation last move
in the contour
2 X position wx$
3 Y position wy$
4 Z position wz$
5 Feed rate wfr$ Positive Feed rate in units per minute
-1 Unchanged
6 Wire taper wtpr$
7 Corner type wcor$ 0 Conical
1 Sharp
2 Constant
3 Other
4 Fixed
5 Fishtail
8 Control flags cur_cflg$ See Control Flags Parameters on
page 131.
9 Corner type radius wcor_rad$
62 • MASTERCAM X8 / NCI & Parameter Reference

W 31 : Direct 4-axis upper guide – linear move at feed rate

Definition: 31
1 2 3 4 5 6 7 8 9
Quick Start

1 Wire compensation cc$ 0 Wire compensation modal


(no change)
40 Cancel wire compensation in the
control
41 Wire compensation in the control
= left
42 Wire compensation in the control
= right
140 Cancel wire compensation last move
in the contour
2 X position wx$
3 Y position wy$
4 Z position wz$
5 Feed rate wfr$ Positive Feed rate in units per minute
-1 Unchanged
6 Wire taper wtpr$
7 Corner type wcor$ 0 Conical
1 Sharp
2 Constant
3 Other
4 Fixed
5 Fishtail
8 Control flags cur_cflg$ See Control Flags Parameters on
page 131.
9 Corner type radius wcor_rad$
NCI REFERENCE / NCI Gcodes • 63

W 32 : Direct 4-axis upper guide – arc move clockwise

Definition: 32
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15
Quick Start

1 (Not used)
2 Wire compensation wcc$ 0 Wire compensation modal
(no change)
40 Cancel wire compensation in the
control
41 Wire compensation in the control
= left
42 Wire compensation in the control
= right
140 Cancel wire compensation last move
in the contour
3 X position wx$
4 Y position wy$
5 Absolute X-axis arc wxc$ (relative to plane)
center
6 Absolute Y-axis arc wyc$ (relative to plane)
center
7 Z position wz$
8 Feed rate wfr$ Positive Feed rate per minute
-1 Unchanged
9 Wire taper wtpr$
10 Corner type wcor$ 0 Conical
1 Sharp
2 Constant
3 Other
4 Fixed
5 Fishtail
11 Control flags cur_cflg$ See Control Flags Parameters on
page 131.
12 Corner radius wcor_rad$
13 Arc type warc_cortyp$ 0 Conical
1 Sharp
2 Constant
3 Other
4 Fixed
5 Fish tail
14 Arc radius warc_radius$
15 Full arc flag wfull_arc_flg$ 0 NOT a full arc move
1 Full arc move (360-degree sweep)
64 • MASTERCAM X8 / NCI & Parameter Reference

W 33 : Direct 4-axis upper guide – arc move counterclockwise

Definition: 33
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15
Quick Start

1 (Not used)
2 Wire compensation wcc$ 0 Wire compensation modal
(no change)
40 Cancel wire compensation in the
control
41 Wire compensation in the control
= left
42 Wire compensation in the control
= right
140 Cancel wire compensation last move
in the contour
3 X position wx$
4 Y position wy$
5 Absolute X-axis arc wxc$ (relative to plane)
center
6 Absolute Y-axis arc wyc$ (relative to plane)
center
7 Z position wz$
8 Feed rate wfr$ Positive Feed rate per minute
-1 Unchanged
9 Wire taper wtpr$
10 Corner type wcor$ 0 Conical
1 Sharp
2 Constant
3 Other
4 Fixed
5 Fishtail
11 Control flags cur_cflg$ See Control Flags Parameters on
page 131.
12 Corner radius wcor_rad$
13 Arc type warc_cortyp$ 0 Conical
1 Sharp
2 Constant
3 Other
4 Fixed
5 Fish tail
14 Arc radius warc_radius$
15 Full arc flag wfull_arc_flg$ 0 NOT a full arc move
1 Full arc move (360-degree sweep)
NCI REFERENCE / NCI Gcodes • 65

L M R W 80 : Cancel Drill / Canned Cycle

Definition: 80
[blank line]
Quick Start
Note: Even though Gcode 80 has no parameters, a blank line must be output for
the second line.
该文档是极速PDF编辑器生成,
66 • MASTERCAM X8 / NCI & Parameter Reference 如果想去掉该提示,请访问并下载:
http://www.jisupdfeditor.com/

M L R 81 : Start Drill Cycle

Definition: 81
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19
Quick Start
1 drillcyc$ 0 Simple
1 Peck
2 Chip break
3 Tap
4 Bore #1
5 Bore #2
6 Misc #1
7 Misc #2
8–19 Custom cycles
Calculated variable: drl_cycle$
2 X position drl_depth_x$ XYZ is a 3D point that represents the
drill point at the bottom of the hole.
Calculated variable: x$
3 Y position drl_depth_y$ XYZ is a 3D point that represents the
drill point at the bottom of the hole.
Calculated variable: y$
4 Z position drl_depth_z$ XYZ is a 3D point that represents the
drill point at the bottom of the hole.
Calculated variable: z$, depth$
5 dwell$
6 frplunge$
7 peck1$

8 peck2$

9 peckclr$
10 retr$
11 drl_sel_ini$ The distance from the selected drill
position (zdrl) to the initial height,
sign is positive for above selected
drill position.
Calculated variable: initht$
12 Drill cycle drl_sel_ref$ The distance from the selected drill
reference height position (zdrl) to the reference
height, sign is positive for above
selected drill position.
Calculated variable: refht$
该文档是极速PDF编辑器生成,
NCI REFERENCE / NCI如果想去掉该提示,请访问并下载:
Gcodes • 67
http://www.jisupdfeditor.com/

13 Drill depth drl_sel_tos The distance from the selected drill


position (zdrl) to the top of stock,
sign is positive for above selected
drill position.
Calculated variable: zdrl$ Quick Start
14 Boring bar clearance shftdrl$
shift amount

15 U position drl_init_x $ UVW is a 3D point that represents


the initial height point.
Calculated variable: u$
16 V position drl_init_y $ UVW is a 3D point that represents
the initial height point.
Calculated variable: v$
17 W position drl_init_z $ UVW is a 3D point that represents
the initial height point.
Calculated variable: w$
18 Control flags cur_cflg$ See Control Flags Parameters on
page 131.
19 Drill direction rev_drl5$ Obsolete—no longer used.
20 Block drill drl_dia$
diameter
0

vers_no$ 8 NCI :
 depth$ from z$
 zdrl$ (calculated) from w$ – initht$
 refht$ from zdrl$ (calculated) + refht$
 tosz$ (top of stock) from zdrl$ (calculated) + zdrl$ (original)
 initht$ from w$
68 • MASTERCAM X8 / NCI & Parameter Reference

W 81 : Start Canned Cycle

Definition: 81
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19
Quick Start
1 Drill cycle type cancyc$ 0–19 Custom cycles
2 X position xnci$ XYZ is a 3D point that represents
the drill point at the bottom of the
hole.
Calculated variable: x$
3 Y position ynci$ XYZ is a 3D point that represents
the drill point at the bottom of the
hole.
Calculated variable: y$
4 Z position znci$ XYZ is a 3D point that represents
the drill point at the bottom of the
hole.
Calculated variable: z$
5 Entered value canned1$
6 (Not used)
7 Entered value canned4$
8 Entered value canned5$
9 Entered value canned6$
10 Entered value canned7$
11 Entered value canned2$
12 Entered value canned3$
13 (Not used)
14 (Not used)
15 (Not used)
16 (Not used)
17 (Not used)
18 Control flags cur_cflg$ See Control Flags Parameters on
page 131.
19 (not used for Wire)
20 (not used for Wire)
该文档是极速PDF编辑器生成,
NCI REFERENCE / NCI如果想去掉该提示,请访问并下载:
Gcodes • 69
http://www.jisupdfeditor.com/

L M R W 82 : Additional Drill / Canned Cycle Parameters

Definition: 82
1 2 3 4 5 6 7 8 9 10
Quick Start
1 Drill parameter 1 drl_prm1$
2 Drill parameter 2 drl_prm2$
3 Drill parameter 3 drl_prm3$
4 Drill parameter 4 drl_prm4$
5 Drill parameter 5 drl_prm5$
6 Drill parameter 6 drl_prm6$
7 Drill parameter 7 drl_prm7$
8 Drill parameter 8 drl_prm8$
9 Drill parameter 9 drl_prm9$
10 Drill parameter 10 drl_prm10$

drl_prm
.
70 • MASTERCAM X8 / NCI & Parameter Reference

R 83 : Block Drill / Canned Cycle Parameters

Definition: 83
1 2 3 4 5 6 7 8 9 10 11 12
Quick Start
1 Drill point (X) position bdrl_x$ Position of the lead tool
at depth.
2 Drill point (Y) position bdrl_y$ Position of the lead tool
at depth.
3 Drill point (Z) position bdrl_z$ Position of the lead tool
at depth.
4 Offset to lead tool in X bdrl_ofs_x$ Distance of drill hole to the lead
drill position.
5 Offset to lead tool in Y bdrl_ofs_y$ Distance of drill hole to the lead
drill position.
6 Offset to lead tool. In Z bdrl_ofs_z$ Distance of drill hole to the lead
drill position.
7 Tool group number bdrl_tool_grp$
8 Work offset number bdrl_wrk_ofs$
9 Position of lead drill at bdrl_u$ Clearance point position in X
initial height.
10 Position of lead drill at bdrl_v$ Clearance point position in Y
initial height.
11 Position of lead drill at bdrl_w$ Clearance point position in Z
initial height.
12 Number(s) of the bdrl_tool_no$ This is a bitwise operator where
stations whose drills each bit represents a station on
have dropped. the block. See bdrl_tool_no$ to
learn more.
Note: MP also reads the following variables when block drilling is active: bdrl_x2$,
bdrl_y2$, and bdrl_z2$. These three values are actually read from NCI M L R 81 : Start
Drill Cycle and M L R 100 : Canned Cycle Repeat Position data records. They are the
actual drilled location (which may not be the lead tool position) at depth.
.
该文档是极速PDF编辑器生成,
NCI REFERENCE / NCI如果想去掉该提示,请访问并下载:
Gcodes • 71
http://www.jisupdfeditor.com/

M L R 100 : Canned Cycle Repeat Position

Definition: 100
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22
23
Quick Start

1 (Not used)
2 X position drill_depth_x$ XYZ 3D

Calculated variable: x$
3 Y position drill_depth_y$ XYZ is a 3D point that represents the
drill point at the bottom of the hole.
Calculated variable: y$
4 Z position drill_depth_z XYZ is a 3D point that represents the
drill point at the bottom of the hole.
Calculated variable: z$
5 Drill cycle initial drl_sel_ini$ The distance from the selected drill
height position (zdrl$) to the initial height,
sign is positive for above selected drill
position.
Calculated variable: initht$
6 Drill cycle reference drl_sel_ref$ The distance from the selected drill
height position (zdrl$) to the reference
height, sign is positive for above
selected drill position.
Calculated variable: refht$
7 Dwell time dwell$
8 Feed rate frplunge$
9 U position drl_init_x$ UVW is a 3D point that represents the
initial height point.
Calculated variable: u$
10 V position drl_init_y$ UVW is a 3D point that represents the
initial height point.
Calculated variable: v$
11 W position drl_init_z$ UVW is a 3D point that represents the
initial height point.
Calculated variable: w$
12 Control flags cur_cflg$ See Control Flags Parameters on
page 131.
13 Drill depth rev_drl5$ Obsolete—no longer used.
14 Top of stock drl_sel_tos$ The distance from the selected drill
position (zdrl$) to the top of stock,
sign positive for above zdrl$
72 • MASTERCAM X8 / NCI & Parameter Reference

15 Drilling matrix drl_m1$ X-axis vector (x)


16 drl_m2$ X-axis vector (y)
17 drl_m3$ X-axis vector (z)

18 drl_m4$ Y-axis vector (x) Quick Start


19 drl_m5$ Y-axis vector (y)

20 drl_m6$ Y-axis vector (z)

21 drl_m7$ Z-axis vector (x)

22 drl_m8$ Z-axis vector (y)

23 drl_m9$ Z-axis vector (z)

When the NCI 81 line is read, the tool plane matrix (m1$–m9$) is copied from the NCI
1014 data to the drl_m1$–drl_m9$ matrix.
This matrix (drl_m1$–drl_m9$) is then copied to the tool plane matrix (m1$–m9$) when
the NCI 100 line is read.
NCI REFERENCE / NCI Gcodes • 73

W 100 : Canned Cycle Repeat Position

Definition: 100
1 2 3 4 5
Quick Start

1 (Not used)
2 X position xnci$, x$
3 Y position ynci$, y$
4 Z position znci$, z$
5 (Not used)
74 • MASTERCAM X8 / NCI & Parameter Reference

L 200 : Threading Parameters One

Definition: 200
1 2 3 4 5 6 7 8
Quick Start
1 Number of spring nspring$
cuts
2 Finish allowance thdfinish$
3 Anticipated thread thdpulloff$
pull-off
4 Number of starts nstarts$
5 Clearance thdxclr$
perpendicular to
cuts
6 Thread infeed angle thdangle$ Value in radians
7 Equal depth thread thdequcut$ 0 Determine depth cuts from:
cuts Equal area method.
1 Determine depth cuts from:
Number of cuts.
8 Number of cuts thdncuts$ >0 Determine number of cuts from:
Number of cuts.

Always appears together with the L 201 : Threading Parameters Two.


NCI REFERENCE / NCI Gcodes • 75

L 201 : Threading Parameters Two

Definition: 201
1 2 3 4 5 6 7 8 9 10 11 12
Quick Start
1 X position 1 thdx1$ Thread major
2 X position 2 thdx2$ Thread minor
3 Z position 1 thdz1$ Starting Z position of thread
4 Z position 2 thdz2$ Ending Z position of thread
5 Lead settings thdlead$ Positive Lead in units per thread
Negative Lead in threads per inch
6 Amount of first cut thdfirst$ Calculated based on thdequcut$
7 Amount of last cut thdlast$
8 Stock clearance in Z thdzclr$ Acceleration clearance
9 Thread angle thda1$ Value in radians
10 Thread included thda2$ Value in radians
angle
11 Thread type settings thdtype$ 0 Longhand cycle—example, G32
1 Canned cycle—example, G76
2 Box thread—example, G92
3 Alternating—example, G32
12 X position 3 thdx3$ Ending X position of thread
Always appears together with the L 200 : Threading Parameters One.
 thdlead$ is always converted to a (positive) units-per-thread value.
 Calculate thread taper by (thdx$2 – thdx3$).
76 • MASTERCAM X8 / NCI & Parameter Reference

L 900 : Stock Transfer – Misc Ops function

Definition: 900
1 2 3 4 5 6 7 8 9 10 11
Quick Start
1 Active spindle for stck_spindle$ 0 Main spindle
stock to transfer
1 Sub spindle
2 stck_init_z$ Z coordinate on stock to be
transferred
3 stck_final_z$ Z coordinate on transferred stock
4 stck_chuk_st_z$ Source chuck Z axis reference
position before transfer
5 stck_chuk_st_x$ Source chuck X axis reference
position before transfer
6 stck_chuk_end_z$ Source chuck Z axis reference
position after transfer
7 stck_chuk_end_x$ Source chuck X axis reference
position after transfer
8 stck_chuk_st_dz$ Destination chuck Z axis reference
position before transfer
9 stck_chuk_st_dx$ Destination chuck X axis reference
position before transfer
10 stck_chuk_end_dz$ Destination chuck Z axis reference
position after transfer
11 stck_chuk_end_dx$ Destination chuck X axis reference
position after transfer

Processed by postblock pstck_trans$.


NCI REFERENCE / NCI Gcodes • 77

L 901 : Stock Flip – Misc Ops function

Definition: 901
1 2 3 4 5 6 7
Quick Start
1 Active spindle for stck_spindle$ 0 Main spindle
stock to transfer
1 Sub spindle
2 stck_init_z$ Z coordinate on stock before flip
3 stck_final_z$ Z coordinate on stock after flip
4 stck_chuk_st_z$ Chuck Z axis position before flip
5 stck_chuk_st_x$ Chuck X axis position before flip
6 stck_chuk_end_z$ Chuck Z axis position after flip
7 stck_chuk_end_x$ Chuck X axis position after flip

Processed by postblock pstck_flip$.


78 • MASTERCAM X8 / NCI & Parameter Reference

L 902 : Stock Advance – Misc Ops function

Definition: 902
1 2 3 4 5 6 7 8 9 10 11 12 13
Quick Start
1 Active spindle for stck_spindle$ 0 Main spindle
stock to transfer
1 Sub spindle
2 stck_op$ 0 Push stock
1 Push stock with Use Tool Stop option
2 Pull stock
3 stck_clear$ Stock clearance (pull stock method)
4 stck_grip$ Grip length (pull stock method)
5 stck_tool_x$ Tool X axis position for bar stop/puller
6 stck_init_z$ Z coordinate of stock before advance
7 stck_final_z$ Z coordinate of stock after advance
8 stck_appr_fr$ Feed rate that the bar puller uses while
moving into position
9 stck_adv_fr$ Feed rate that the stock advances at
10 stck_chuk_st_z$ Chuck Z axis position before advance
11 stck_chuk_st_x$ Chuck X axis position before advance
12 stck_chuk_end_z$ Chuck Z axis position after advance
13 stck_chuk_end_x$ Chuck X axis position after advance

Processed by postblock pstck_bar_fd$.


NCI REFERENCE / NCI Gcodes • 79

L 903 : Chuck – Misc Ops function

Definition: 903
1 2 3 4 5 6
Quick Start

1 Active spindle for clmp_spindle$ 0 Main spindle


clamp/unclamp
1 Subspindle
2 Chuck action clmp_op$ 0 Clamp
1 Un-clamp
2 Re-position
3 Eject stock (added for X5)
3 stck_chuk_st_z$ Original Z-axis chuck position
4 stck_chuk_st_x$ Original X-axis chuck position
5 stck_chuk_end_z$ Final Z-axis chuck position
6 stck_chuk_end_x$ Final X-axis chuck position
80 • MASTERCAM X8 / NCI & Parameter Reference

L 904 : TailStock – Misc Ops function

Definition: 904
1 2 3
Quick Start

1 Operation tlstck_on$ 0 Retract tailstock


1 Engage tailstock
2 stck_init_z$ Initial Z position of tailstock
3 stck_final_z$ Final Z position of tailstock
NCI REFERENCE / NCI Gcodes • 81

L 905 : SteadyRest – Misc Ops function

Definition: 905
1 2
Quick Start
1 stck_init_z$ Initial steady rest position
2 stck_final_z$ Final steady rest position

Processed by postblock psteadyrest$.


82 • MASTERCAM X8 / NCI & Parameter Reference

L 911 : Define Misc Ops custom parameters — reals

Definition: 911
1 2 3 4 5 6 7 8 9 10
Quick Start

1 Miscellaneous real 1 miscops_mr1$


2 Miscellaneous real 2 miscops_mr2$
3 Miscellaneous real 3 miscops_mr3$
4 Miscellaneous real 4 miscops_mr4$
5 Miscellaneous real 5 miscops_mr5$
6 Miscellaneous real 6 miscops_mr6$
7 Miscellaneous real 7 miscops_mr7$
8 Miscellaneous real 8 miscops_mr8$
9 Miscellaneous real 9 miscops_mr9$
10 Miscellaneous real 10 miscops_mr10$
NCI REFERENCE / NCI Gcodes • 83

L 912 : Define Misc Ops custom parameters — integers

Definition: 912
1 2 3 4 5 6 7 8 9 10
Quick Start

1 Miscellaneous integer 1 miscops_mi1$


2 Miscellaneous integer 2 miscops_mi2$
3 Miscellaneous integer 3 miscops_mi3$
4 Miscellaneous integer 4 miscops_mi4$
5 Miscellaneous integer 5 miscops_mi5$
6 Miscellaneous integer 6 miscops_mi6$
7 Miscellaneous integer 7 miscops_mi7$
8 Miscellaneous integer 8 miscops_mi8$
9 Miscellaneous integer 9 miscops_mi9$
10 Miscellaneous integer 10 miscops_mi10$
84 • MASTERCAM X8 / NCI & Parameter Reference

M R L 950 : Axis combination

Definition: 950
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22
23 24 25 26
Quick Start

1 synclath$
2 syncbfor$
3 syncmode$
4 syncaxis$ Component ID of axis combination
5 syncstream$
6 syncmodebfor$
[all other (Not used)
parameters]
该文档是极速PDF编辑器生成,
NCI REFERENCE / NCI如果想去掉该提示,请访问并下载:
Gcodes • 85
http://www.jisupdfeditor.com/

M R L W 999 : Start of operation

Definition: 999
1 2 3
New predefined variables for parameters 1 and 3 were introduced for Mastercam X5. Quick Start
1 Code for synctool_op$ tool_op $ :
specific
M R L 1016 : Additional Miscellaneous
operation type
Parameters on page 108

W 1016 : Additional Miscellaneous


Parameters on page 109

2 data stream synchstream$


3 Operation ID syncop_id$ op_id $ .
numbers
1016 tool_op $ op_id $ .
该文档是极速PDF编辑器生成,
86 • MASTERCAM X8 / NCI & Parameter Reference 如果想去掉该提示,请访问并下载:
http://www.jisupdfeditor.com/

M R 1000 : Null tool change

Definition: 1000
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18
Quick Start

1 Program number progno$


2 Starting sequence seqno$
number
3 Sequence number seqinc$
increment
4 Tool number t$
5 Tool diameter tloffno$
offset number
6 Tool length offset tlngno$
number
7 Plane position plane$ 0 XY plane
1 YZ plane
2 XZ plane
8 Spindle speed in ss$ Positive
RPM
0
Negative
9 Feed rate fr$
10 Coolant use coolant$ 0 Off
1 Flood
2 Mist
3 Tool
11 X rapid position xr$
12 Y rapid position yr$
13 Z rapid position zr$
14 X home position xh$
15 Y home position yh$
16 Z home position zh$
17 Axis substitution rotaxis$ -2 Axis substitution, substitute Y, CCW
-1 Axis substitution, substitute X, CCW
0 None
1 Axis substitution, substitute X, CW
2 Axis substitution, substitute Y, CW
11 Polar conversion, rotate about X
12 Polar conversion, rotate about Y
13 Polar conversion, rotate about Z
21 4-axis, rotate about X
22 4-axis, rotate about Y
23 4-axis, rotate about Z
该文档是极速PDF编辑器生成,
NCI REFERENCE / NCI如果想去掉该提示,请访问并下载:
Gcodes • 87
http://www.jisupdfeditor.com/

18 Diameter for axis rotdia$


substitution

Quick Start
88 • MASTERCAM X8 / NCI & Parameter Reference

L 1000 : Null tool change

Definition: 1000
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18
Quick Start

1 Program number progno$


2 Starting sequence seqno$
number
3 Sequence number seqinc$
increment
4 Tool number t$
5 Tool diameter tloffno$
offset number
6 Maximum spindle maxss$
speed
7 Tool orientation orient$
8 Spindle speed ss$ Positive Spindle speed in RPM
0 Spindle stop
Negative Spindle speed in surface units per
minute
9 Feed rate fr$ Positive Feed rate in units per minute
Negative Feed rate in units per revolution
10 Coolant use coolant$ 0 Off
1 Flood
2 Mist
3 Tool
11 X rapid position xr$
12 Y rapid position yr$
13 Z rapid position zr$
14 X home position xh$
15 Y home position yh$
16 Z home position zh$
17 Spindle direction spdir$ 1 Spindle forward
0 Spindle stop
-1 Spindle reverse
18 (Not used)
NCI REFERENCE / NCI Gcodes • 89

W 1000 : Null tool change

Definition: 1000
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22
Quick Start

1 Program number progno$


2 Starting sequence seqno$
number
3 Sequence number seqinc$
increment
4 Cut pass pass$
5 Condition code ccode$
6 Offset number offset$
7 (Not used)
8 Initial wire taper inittaper$ Positive Taper, right
0 No taper
Negative Taper, left
9 Feed rate fr$
10 Flushing water$ 0 Off
1 Flood
2 Other
11 X thread position threadx$
12 Y thread position thready$
13 Z thread position threadx$
14 X start position startx$
15 Y start position starty$
16 Z start position startz$
17 Height of XY plane xyheight$
18 Height of UV plane uvheight$
19 X skewed wire thread up_st_vecx$
20 Y skewed wire thread up_st_vecy$
21 Z skewed wire thread up_st_vecz$
22 Skewed wire thread up_st_mode$ 0 Off
1 Apply to thread
2 Apply to cut
3 Apply to both thread/cut
该文档是极速PDF编辑器生成,
90 • MASTERCAM X8 / NCI & Parameter Reference 如果想去掉该提示,请访问并下载:
http://www.jisupdfeditor.com/

M R 1001 : Start-of-file tool change

Definition: 1001
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18
Quick Start

1 Program number progno$


2 Starting sequence seqno$
number
3 Sequence number seqinc$
increment
4 Tool number t$
5 Tool diameter tloffno$
offset number
6 Tool length offset tlngno$
number
7 Plane position plane$ 0 XY plane
1 YZ plane
2 XZ plane
8 Spindle speed in ss$ Positive Spindle forward
RPM
0 Spindle stop
Negative Spindle reverse
9 Feed rate fr$
10 Coolant use coolant$ 0 Off
1 Flood
2 Mist
3 Tool
11 X rapid position xr$
12 Y rapid position yr$
13 Z rapid position zr$
14 X home position xh$
15 Y home position yh$
16 Z home position zh$
17 Axis substitution rotaxis$ -2 Axis substitution, substitute Y, CCW
-1 Axis substitution, substitute X, CCW
0 None
1 Axis substitution, substitute X, CW
2 Axis substitution, substitute Y, CW

11 Polar conversion, rotate about X


12 Polar conversion, rotate about Y
13 Polar conversion, rotate about Z
21 4-axis, rotate about X
22 4-axis, rotate about Y
23 4-axis, rotate about Z
NCI REFERENCE / NCI Gcodes • 91

18 Diameter for axis rotdia$


substitution

Quick Start
92 • MASTERCAM X8 / NCI & Parameter Reference

L 1001 : Start-of-file tool change

Definition: 1001
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18
Quick Start

1 Program number progno$


2 Starting sequence seqno$
number
3 Sequence number seqinc$
increment
4 Tool number t$
5 Tool diameter tloffno$
offset number
6 Maximum spindle maxss$
speed
7 Tool orientation orient$
8 Spindle speed ss$ Positive Spindle speed in RPM
0 Spindle stop
Negative Spindle speed in surface units per
minute
9 Feed rate fr$ Positive Feed rate in units per minute
Negative Feed rate in units per revolution
10 Coolant use coolant$ 0 Off
1 Flood
2 Mist
3 Tool
11 X rapid position xr$
12 Y rapid position yr$
13 Z rapid position zr$
14 X home position xh$
15 Y home position yh$
16 Z home position zh$
17 Spindle direction spdir$ 1 Spindle forward
0 Spindle stop
-1 Spindle reverse
18 (Not used)
NCI REFERENCE / NCI Gcodes • 93

W 1001 : Start-of-file tool change

Definition: 1001
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22
Quick Start

1 Program number progno$


2 Starting sequence seqno$
number
3 Sequence number seqinc$
increment
4 Cut pass pass$
5 Condition code ccode$
6 Offset number offset$
7 (Not used)
8 Initial wire taper inittaper$ Positive Taper, right
0 No taper
Negative Taper, left
9 Feed rate fr$
10 Flushing water$ 0 Off
1 Flood
2 Other
11 X thread position threadx$
12 Y thread position thready$
13 Z thread position threadx$
14 X start position startx$
15 Y start position starty$
16 Z start position startz$
17 Height of XY plane xyheight$
18 Height of UV plane uvheight$
19 X skewed wire thread up_st_vecx$
20 Y skewed wire thread up_st_vecy$
21 Z skewed wire thread up_st_vecz$
22 Skewed wire thread up_st_mode$ 0 Off
1 Apply to thread
2 Apply to cut
3 Apply to both thread/cut
该文档是极速PDF编辑器生成,
94 • MASTERCAM X8 / NCI & Parameter Reference 如果想去掉该提示,请访问并下载:
http://www.jisupdfeditor.com/

M R 1002 : Tool Change

Definition: 1002
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18
Quick Start
1 Program number progno$
2 Starting sequence seqno$
number
3 Sequence number seqinc$
increment
4 Tool number t$
5 Tool diameter tloffno$
offset number
6 Tool length offset tlngno$
number
7 Plane position plane$ 0 XY plane
1 YZ plane
2 XZ plane
8 Spindle speed in ss$ Positive Spindle forward
RPM
0 Spindle stop
Negative Spindle reverse
9 Feed rate fr$
10 Coolant use coolant$ 0 Off
1 Flood
2 Mist
3 Tool
11 X rapid position xr$
12 Y rapid position yr$
13 Z rapid position zr$
14 X home position xh$
15 Y home position yh$
16 Z home position zh$
17 Axis substitution rotaxis$ -2 Axis substitution, substitute Y, CCW
-1 Axis substitution, substitute X, CCW
0 None
1 Axis substitution, substitute X, CW
2 Axis substitution, substitute Y, CW
11 Polar conversion, rotate about X
12 Polar conversion, rotate about Y
13 Polar conversion, rotate about Z
21 4-axis, rotate about X
22 4-axis, rotate about Y
23 4-axis, rotate about Z
NCI REFERENCE / NCI Gcodes • 95

18 Diameter for axis rotdia$


substitution

Quick Start
96 • MASTERCAM X8 / NCI & Parameter Reference

L 1002 : Tool Change

Definition: 1002
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18
Quick Start
1 Program number progno$
2 Starting sequence seqno$
number
3 Sequence number seqinc$
increment
4 Tool number t$
5 Tool diameter tloffno$
offset number
6 Maximum spindle maxss$
speed
7 Tool orientation orient$
8 Spindle speed ss$ Positive Spindle speed in RPM
0 Spindle stop
Negative Spindle speed in surface units per
minute
9 Feed rate fr$ Positive Feed rate in units per minute
Negative Feed rate in units per revolution
10 Coolant use coolant$ 0 Off
1 Flood
2 Mist
3 Tool
11 X rapid position xr$
12 Y rapid position yr$
13 Z rapid position zr$
14 X home position xh$
15 Y home position yh$
16 Z home position zh$
17 Spindle direction spdir$ 1 Spindle forward
0 Spindle stop
-1 Spindle reverse
18 (Not used)
NCI REFERENCE / NCI Gcodes • 97

W 1002 : Tool Change

Definition: 1002
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22
Quick Start
1 Program number progno$
2 Starting sequence seqno$
number
3 Sequence number seqinc$
increment
4 Cut pass pass$
5 Condition code ccode$
6 Offset number offset$
7 (Not used)
8 Initial wire taper inittaper$ Positive Taper, right
0 No taper
Negative Taper, left
9 Feed rate fr$
10 Flushing water$ 0 Off
1 Flood
2 Other
11 X thread position threadx$
12 Y thread position thready$
13 Z thread position threadx$
14 X start position startx$
15 Y start position starty$
16 Z start position startz$
17 Height of XY plane xyheight$
18 Height of UV plane uvheight$
19 X skewed wire thread up_st_vecx$
20 Y skewed wire thread up_st_vecy$
21 Z skewed wire thread up_st_vecz$
22 Skewed wire thread up_st_mode$ 0 Off
1 Apply to thread
2 Apply to cut
3 Apply to both thread/cut
该文档是极速PDF编辑器生成,
98 • MASTERCAM X8 / NCI & Parameter Reference 如果想去掉该提示,请访问并下载:
http://www.jisupdfeditor.com/

M R 1003 : End of File

Definition: 1003
1 2 3
Quick Start

1 X home position xh$ X


2 Y home position yh$
Y
3 Z home position zh$
Z

L 1003 : End of File

Definition: 1003
1 2 3

1 X home position xh$


2 (Not used)
3 Z home position zh$

W 1003 : End of File

Definition: 1003
1 2 3

1 X thread position threadx$


2 Y thread position thready$
3 Z thread position threadz$

L M R W 1004 : Cancel Cutter Compensation

Definition: 1004
[blank line]
Note: Even though Gcode 1004 has no parameters, a blank line must be output for the
second line.
该文档是极速PDF编辑器生成,
NCI REFERENCE / NCI如果想去掉该提示,请访问并下载:
Gcodes • 99
http://www.jisupdfeditor.com/

L M R W 1005 : Manual Entry / Insert text as comment


/
Definition: 1005
comment
Quick Start

Text to be inserted into the Text will be formatted as a


NC program. comment and output immediately
NC (before the current NC block).
NC

L M R W 1006 : Manual Entry / Insert text as code


/

Definition: 1006
comment

Text to be inserted into the Text will be inserted as NC code,


NC program. not a comment, and output
immediately (before the current
NC block).

L M R W 1007 : Manual Entry / Comment with move


/
Definition: 1007
comment

Text to be inserted into the Text will be formatted as a


NC program comment and output with the
next move.
(See L M R W 1026 : Manual
Entry / Comment as code, with
move to format as code.)

L M R W 1008 : Manual Entry / Tool operation comment


/
Definition: 1008
comment

Text to be inserted into the


NC program
100 • MASTERCAM X8 / NCI & Parameter Reference

W 1009 : Wire Cut Length (obsolete)

Definition: 1009
1 2 3
Quick Start
1 Wirepath cut length cutlength$
2 (Not used)
3 (Not used)

Note: This NCI Gcode is no longer output.

W 1010 : Wire Condition Change

Definition: 1010
1 2 3 4 5 6 7 8 9 1011 12 13 14

1 Wire compensation cc$ 0 Cutter compensation modal


(no change)
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 Condition code ccode$
3 Wire offset offset$
4 Wire diameter tldia$
5 Register value 1 reg1$
6 Register value 2 reg2$
7 Register value 3 reg3$
8 Register value 4 reg4$
9 Register value 5 reg5$
10 Register value 6 reg6$
11 Register value 7 reg7$
12 Register value 8 reg8$
13 Register value 9 reg9$
14 Register value 10 reg10$
15 ccode_epac_flg$ Indicates an approach point
condition change.
该文档是极速PDF编辑器生成,
NCI REFERENCE / NCI Gcodes • 101
如果想去掉该提示,请访问并下载:
http://www.jisupdfeditor.com/

L M R W 1011 : Define Miscellaneous Reals

Definition: 1011
1 2 3 4 5 6 7 8 9 10
Quick Start

1 Miscellaneous real 1 mr1$


2 Miscellaneous real 2 mr2$
3 Miscellaneous real 3 mr3$
4 Miscellaneous real 4 mr4$
5 Miscellaneous real 5 mr5$
6 Miscellaneous real 6 mr6$
7 Miscellaneous real 7 mr7$
8 Miscellaneous real 8 mr8$
9 Miscellaneous real 9 mr9$
10 Miscellaneous real 10 mr10$

L M R W 1012 : Define Miscellaneous Integers

Definition: 1012
1 2 3 4 5 6 7 8 9 10

1 Miscellaneous integer 1 mi1$


2 Miscellaneous integer 2 mi2$
3 Miscellaneous integer 3 mi3$
4 Miscellaneous integer 4 mi4$
5 Miscellaneous integer 5 mi5$
6 Miscellaneous integer 6 mi6$
7 Miscellaneous integer 7 mi7$
8 Miscellaneous integer 8 mi8$
9 Miscellaneous integer 9 mi9$
10 Miscellaneous integer 10 mi10$
该文档是极速PDF编辑器生成,
102 • MASTERCAM X8 / NCI & Parameter Reference 如果想去掉该提示,请访问并下载:
http://www.jisupdfeditor.com/

M R 1013 : Define Miscellaneous Parameters

Definition: 1013
1 2 3 4 5 6 7 8 9 10
Quick Start

1 Cutter cc$ 0 Cutter compensation modal


compensation 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 diameter tldia$
3 Tool corner radius tcr$
4 Depth values to cctotip$ 0 Center
center or tip
1 Tip
setting
5 View number tlplnno$ The number of the view in
Mastercam’s view catalog.
View numbers 1–8 correspond to
Mastercam’s standard system-
defined views.
If the view is a user-defined view, this
will be a different, higher number.
0 No matrix
1 Top
2 Front
3 Back
4 Bottom
5 Right side
6 Left side
7 Isometric
8 Axonometric
6 X coordinate of tox$ (relative to view)
tool plane origin
7 Y coordinate of toy$ (relative to view)
tool plane origin
8 Z coordinate of toz$ (relative to view)
tool plane origin
9 Operation code opcode$ 1 2D contour
2 3D contour
3 Drill
4 Pocket
该文档是极速PDF编辑器生成,
NCI REFERENCE / NCI Gcodes • 103
如果想去掉该提示,请访问并下载:
http://www.jisupdfeditor.com/

5 Ruled
6 2D swept
7 3D swept
8 Revolution
Quick Start
9 Loft
10 Coons
11 Fillet
12 Flowline
13 Multisurface finish
14 Multisurface rough
15 Point
16 Drill 5-axis
17 Swarf 5-axis
18 Curve 5-axis
19 Facing
10 Tool reference strtool$,
path and name* strtoolpath$
104 • MASTERCAM X8 / NCI & Parameter Reference

L 1013 : Define Miscellaneous Parameters

Definition: 1013
1 2 3 4 5 6 7 8 9 10
Quick Start

1 Cutter cc$ 0 Cutter compensation modal


compensation
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 corner raidus tcr$ Tool nose radius or
tool radius of drill type tool
3 Tool diameter tldia$ Always 0
4 (Not used)
5 (Not used)
6 X coordinate of tox$ (relative to view)
tool plane origin
7 Y coordinate of toy$ (relative to view)
tool plane origin
8 X coordinate of toz$ (relative to view)
tool plane origin
9 Operation code opcode$ 101 Rough
102 Finish
103 Groove
104 Thread
105 Drill
106 Point
10 Tool library path strtool$,
and name* strtoolpath$
NCI REFERENCE / NCI Gcodes • 105

W 1013 : Define Miscellaneous Parameters

Definition: 1013
1 2 3 4 5 6 7 8 9 10
Quick Start

1 Cutter cc$ 0 Cutter compensation modal


compensation 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) radius tlrad$
4 Overburn amount overburn$
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
215 2-axis, one-way Agie collar skim cut
10 Power library strtool$, Full ‘path and name’ of the power
path and name strtoolpath$ library used for the operation
106 • MASTERCAM X8 / NCI & Parameter Reference

L M R W 1014 : Tool Plane View Matrix

Definition: 1014
1 2 3 4 5 6 7 8 9
Quick Start
1 m1$
2 m2$
3 m3$
4 m4$
5 m5$
6 m6$
7 m7$
8 m8$
9 m9$

View xx xy xz yx yy yz zx zy zz

Top (1) 1 0 0 0 1 0 0 0 1

Front (2) 1 0 0 0 0 1 0 -1 0

Back (3) -1 0 0 0 0 1 0 1 0

Bottom (4) -1 0 0 0 1 0 0 0 -1

Right Side 0 1 0 0 0 1 1 0 0
(5)

Left Side (6) 0 -1 0 0 0 1 -1 0 0

Isometric 0.7071 0.7071 0 -0.4082 0.4082 0.8165 0.5774 -0.5774 0.5773


(7)

Axonometri 0.5 -0.8536 0.1464 0.5 0.1464 0.8536 0.7071 0.5 0.5
c (8)

Variable m1 m2 m3 m4 m5 m6 m7 m8 m9
Name
NCI REFERENCE / NCI Gcodes • 107

W 1015 : Subroutine Parameters

Definition: 1015
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20
Quick Start

1 Subroutine type settings subtyp$ 0 Not a subroutine


1 Write subroutine
2 Call subroutine only
2 Subroutine number subno$
3 Thread/cut flag td_ct_flg$ 0 No thread or cut
1 Allow thread the wire
2 Allow cut the wire
4 Tab cut tabcut$ 0 No tab cut
1 Tab cut
2 Contour with tab cut
5 Wire trim (wtrim) 0 Trim in control
1 Trim in computer
2 3D tracking
6 Skimcut options skimpass$ 0 No skimcut
+1 First skim cut pass on a
contour
-1 Subsequent skim cut
pass on a contour
-2 Last skim cut pass on a
contour
7 Wire cut position X cutx$
8 Wire cut position Y cuty$
9 XY trimming plane trimplane1$
10 UV trimming plane trimplane2$
11 Register value 1 reg1$
12 Register value 2 reg2$
13 Register value 3 reg3$
14 Register value 4 reg4$
15 Register value 5 reg5$
16 Register value 6 reg6$
17 Register value 7 reg7$
18 Register value 8 reg8$
19 Register value 9 reg9$
20 Register value 10 reg10$
该文档是极速PDF编辑器生成,
108 • MASTERCAM X8 / NCI & Parameter Reference 如果想去掉该提示,请访问并下载:
http://www.jisupdfeditor.com/

M R L 1016 : Additional Miscellaneous Parameters

Definition: 1016
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18
Quick Start

1 Operation id op_id$ ID
2 Tool type tool_typ$
3 Internal toolpath tool_op$ (See tool_op$ codes on page 110 for
opcode possible values.)
4 Construction view cplnno$
number
5 X coordinate of corgx$ (relative to view)
construction
plane origin
6 Y coordinate of corgy$ (relative to view)
construction
plane origin
7 Z coordinate of corgz$ (relative to view)
construction
plane origin
8 Cutter cc_computer$ 0 Off
compensation in
41 Left
computer
42 Right
9 Work offset workofs$
number
10 Metric is used met_tool$
11 Number of flutes n_flutes$
on cutter
12 Active spindle for spindle_no$
lathe
13 Thread dimension n_tap_thds$ For a metric tap, mm per thread
(pitch); for an inch tap, the number of
threads per inch (this is the inverse of
the pitch).
14 Station number lstation$
(lathe) or head
number (mill)
15 Upper turret is lturret$ 0 Lower turret
used
1 Upper turret
16 Unique tool ID ltool_id$
17 Transform xform_op_id$ If the operation is a transform
operation ID operation, this is the operation ID of
the transformed operation.
18 Pitch (for tap tap_pitch$ Output is in/thread or mm/thread,
tools) depending on part units.
NCI REFERENCE / NCI Gcodes • 109

W 1016 : Additional Miscellaneous Parameters

Definition: 1016
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20
Quick Start

1 Operation id op_id$
2 Finish spawned nocore_fin$
from Nocore
3 Internal toolpath tool_op$ (See tool_op$ codes on page 110 for
opcode possible values.)
4 Number of view cplnno$ (not used in Wire—always 0)
used for Cplane
5 Cplane origin (X) corgx$ (not used in Wire—always 0)
6 Cplane origin (Y) corgy$ (not used in Wire—always 0)
7 Cplane origin (Z) corgz$ (not used in Wire—always 0)
8 Cutter cc_computer$ 0 Off
compensation in
41 Left
computer
42 Right
9 Work offset workofs$
number
10 Metric is used met_tool$
11 Punch, die, open pdo_type$ 0 Punch
flag
1 Die
2 Open
12 spindle_no$ (not used in Wire—always 0)
13 rpd_hght$
14 landheight$
15 Taper or slug type contour_typ$ 0 No taper
1 Taper in
2 Taper out
3 Land up
4 Land down
16 Chain height contour_pos$ 0 XY height
button selected
1 Land height
2 UV height
17 wox$ Work plane origin (X)
18 woy$ Work plane origin (Y)
19 woz$ Work plane origin (Z)
20 Transform xform_op_id$ If the operation is a transform
operation id operation, this is the operation ID of
the transformed operation.
110 • MASTERCAM X8 / NCI & Parameter Reference

tool_op$ codes
This table lists the tool_op$ codes output on the 1016 line:

Table 1: tool_op$ codes

Mill/ Quick Start


Lathe Wire tool_op$ Operation
Router

M/R 1 Contour

M/R 2 Drill

M/R 3 Pocket

M/R 4 Transform operation

M/R 5 Multisurface rough parallel

M/R 6 Multisurface rough radial

M/R 7 Multisurface rough project

M/R 8 Multisurface rough flowline

M/R 9 Multisurface rough contour

M/R 10 Multisurface rough pocket

M/R 11 Multisurface finish parallel

M/R 12 Multisurface finish radial

M/R 13 Multisurface finish project

M/R 14 Multisurface finish flowline

M/R 15 Multisurface finish contour

M/R 16 For C-Hook- created operations

M/R 17 Manual entry

M/R 18 Circle mill

M/R 19 Point

M/R 20 Trimmed

M/R 21 Ruled

M/R 22 Revolved

M/R 23 Letters

M/R 24 Swept 2D

M/R 25 Swept 3D

M/R 26 Coons

M/R 27 Lofted

M/R 28 5-axis drilling

M/R 29 5-axis curve

M/R 30 Project toolpath onto a plane


NCI REFERENCE / NCI Gcodes • 111

Table 1: tool_op$ codes

Mill/
Lathe Wire tool_op$ Operation
Router

M/R 31 Project toolpath onto a cylinder


Quick Start
M/R 32 Project toolpath onto a sphere

M/R 33 Project toolpath onto a cone

M/R 34 Project toolpath onto a cross section

M/R 35 Project toolpath onto a surface

M/R 36 Non-associative contour

M/R 37 Non-associative drilling

M/R 38 Non-associative pocketing

M/R 39 Multisurface finish pencil trace

M/R 40 Multisurface finish leftover stock

M/R 41 Multisurface finish steep

M/R 42 Multisurface finish shallow

M/R 43 Multisurface finish constant scallop

M/R 44 Multisurface rough plunge

M/R 45 Multisurface finish 5-axis flowline

M/R 46 Multisurface finish 4-axis

M/R 47 Merged in ASCII NCI

M/R 48 5-axis swarf

M/R 49 5-axis roll die

L 51 face contouring (C axis)

L 52 cross contouring (C axis)

L 53 C axis contouring

L 55 face drilling (C axis)

L 56 cross drilling (C axis)

L 57 C axis drilling
L 60 Rough

L 61 Finish

L 62 Grooving

L 63 Threading

L 64 Drill

L 65 Point

L 66 Facing
112 • MASTERCAM X8 / NCI & Parameter Reference

Table 1: tool_op$ codes

Mill/
Lathe Wire tool_op$ Operation
Router

L 67 Cutoff
Quick Start
L 68 Plunge rough; also, chained grooves

L 69 Manual entry

L 70 Merged ASCII

L 71 Lathe dynamic rough

L 72 Lathe contour rough

W 74 Contour

W 75 Canned

W 76 No Core

W 77 Manual entry

W 78 Point

W 79 4-axis

W 80 Transform

W 81 Associative trimmed

W 82 Merged in ASCII NCI

W 83 Collar

W 215 2-axis one-way Agie collar skim cuts

M/R 100 Thread mill

M/R 101 Edit common operation parameters

M/R 102 Facing

M/R 103 Associative trimmed

M/R 104 Solid drill control operation

M/R 105 Slot mill

M/R 106 Helix bore

M/R 107 Multi-surface rough restmill

M/R 108 Associative nesting container


operation

M/R 109 Multi-surface finish blend

M/R 110 Multi-surface 5axis, rough

M/R 111 Slice 5axis

M/R 112 Port 5axis

M/R 113 5-axis circle

M/R 130 Tab cutoff


NCI REFERENCE / NCI Gcodes • 113

Table 1: tool_op$ codes

Mill/
Lathe Wire tool_op$ Operation
Router

M/R 131 Multi-surface rough pocket, light


Quick Start
M/R 132 High-speed surface toolpaths

M/R 133 Nesting onionskin operation

M/R 134 2-D hardmill machining/peel mill

R 135 Saw

M/R 136 FBM drill control operation

M/R 137 FBM mill pocket operation

M/R 138 FBM mill contour operation

M/R 139 Solid model operation

M/R 150 Probe cycle: probe motion

M/R 151 Probe cycle command block

M/R 152 Probe cycle header

M/R 153 Probe cycle trailer

M/R 154 SafetyZone linking operation

L 201 Canned finish

L 202 Canned rough

L 203 Canned rough and finish

L 204 Canned rough face

L 205 Canned rough and finish face

L 206 Canned pattern repeat rough

L 207 Canned pattern repeat rough and


finish

L 208 Canned groove rough

L 209 Canned groove finish

L 210 Quick rough

L 211 Quick finish

L 212 Quick groove

L 213 C-hook generated

L 214 Stock transfer

L 215 Stock flip

L 216 Bar feed

L 217 Chuck clamp/unclamp

L 218 Tailstock operation


114 • MASTERCAM X8 / NCI & Parameter Reference

Table 1: tool_op$ codes

Mill/
Lathe Wire tool_op$ Operation
Router

L 219 Steadyrest operation


Quick Start
MT 220 Pinch-turn operation

L 221 Custom operation with tool

L 222 Custom operation without tool

L 223 Custom operation reference

L 224 Plunge turn (chained geometry)

L 225 Plunge turn (point geometry)

L 226 Turret park operation

MT 230–236 (Used by Mill-Turn)

R 301 Router contour (obsolete)

R 302 Router pocket (obsolete)

R 303 Router circmill (obsolete)

R 304 Router cutoff (obsolete)

R 305 Router surface rough pocket


(obsolete)

R 306 Router multi-drill (block drill)

M/R 416 Engraving

Art 439 Art

M/R 440 Advanced multiaxis (Moduleworks)


NCI REFERENCE / NCI Gcodes • 115

L M R 1017 : Construction Plane View Matrix

Definition: 1017
1 2 3 4 5 6 7 8 9
Quick Start

1 X vector X in WCS cm1$


2 X vector Y in WCS cm2$
3 X vector Z in WCS cm3$
4 Y vector X in WCS cm4$
5 Y vector Y in WCS cm5$
6 Y vector Z in WCS cm6$
7 Z vector X in WCS cm7$
8 Z vector Y in WCS cm8$
9 Z vector Z in WCS cm9$
该文档是极速PDF编辑器生成,
116 • MASTERCAM X8 / NCI & Parameter Reference 如果想去掉该提示,请访问并下载:
http://www.jisupdfeditor.com/

L M R 1018 : Subprogram Start Definition

Definition: 1018
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22
23 24 25 26 27
Quick Start

1 Subprogram number sub_op_id$ / If this is a transform subprogram, this


sub_ref_id$ value is read into sub_ref_id$.
If this is a non-transform
subprogram, this value is read into
sub_op_id$.
Post writers who want to access the
subprogram number should use
main_prg_no$ and sub_prg_no$.
2 Actual operation id sub_grp_id$
3 Transform / non- sub_trns_id$ 0 Non-transform
transform indicator
>0 Transform
4 Iteration counter sub_sec_no$ Transform operations:
<0 = Off
0 = Original
>0 = Copy
Non-transform operations:
<1 = Copy in transform
1 = Original
>1 = Copy
5 Total number of sub_totl_no$
instances (1-based)
6 Chain # sub_chn_no$ For non-transform subprograms only
7 Absolute or sub_inc$ 0 Absolute
incremental
1 Incremental
8 Transform type sub_trnstyp$ 0 Mirror
1 Rotate
2 Scale (not used)
3 Translate
9 sub_trnmthd$ 0 Translate method = Tool plane
1 Translate method = Tool plane with
“Tool plane origin ONLY” checked
Translate method = Coordinate
2
10 Transform matrix sub_m1$
11 Transform matrix sub_m2$
12 Transform matrix sub_m3$
13 Transform matrix sub_m4$
14 Transform matrix sub_m5$
15 Transform matrix sub_m6$
16 Transform matrix sub_m7$
该文档是极速PDF编辑器生成,
NCI REFERENCE / NCI Gcodes • 117
如果想去掉该提示,请访问并下载:
http://www.jisupdfeditor.com/

17 Transform matrix sub_m8$


18 Transform matrix sub_m9$
19 Transform X data sub_trnsx$ Mirrored data:
X-axis mirror. Set X-axis intersection.
Rotated data: Quick Start
XYZ = center of rotation relative to
current view.
Translated data:
XYZ = translation distance relative to
original operation.
20 Transform Y data sub_trnsy$ Mirrored data:
Y-axis mirror. Set Y-axis intersection.
Rotated data:
XYZ = center of rotation relative to
current view Translated data:
XYZ = translation distance relative to
original operation.
21 Transform Z data sub_trnsz$ Rotated data:
XYZ = center of rotation relative to
current view
Translated data:
XYZ = translation distance relative to
original operation
22 First tool in the sub_nxt_t$
transform group
23 First head number in sub_nxt_h$
the transform group
24 (for internal use only) sub_nxt_tid$
25 More than one tool in sub_mny_t$ 0 Only one tool used in the transform
transform
1 Multiple tools used in the transform
26 (for internal use only) sub_nst_flg$ 1 Source
2 Source path
10 One level call
100 Separate subs
100 All Incremental
0
27 (for internal use only) Flags if it is OK to write the 1018 line

NCI file subprogram concepts


Mastercam NCI
1018 1019 NCI NCI
“ ” MP NCI
:
 .
 .PST .
该文档是极速PDF编辑器生成,
118 • MASTERCAM X8 / NCI & Parameter Reference 如果想去掉该提示,请访问并下载:
http://www.jisupdfeditor.com/

- :
 NC .
 .

. Quick Start

1018 / 1019 position in the NCI file—The 1018 NCI line defines the start of a subprogram
block and the 1019 NCI line defines the end of a subprogram block. For every 1018, there
will be a corresponding 1019. The position of the 1018 and 1019 depend on whether the
subprogram being written is a transform or non-transform subprogram.
 With transform subprograms—Transform subprograms position the 1018
directly after the 1020 NCI line. The 1019 NCI line then encloses all operations
selected for the transform. This output and positioning continues for each
transform location. Like parentheses, these NCI lines must nest any
non-transform subprograms.
 With non-transform subprograms—Non-transform subprograms place the 1018
NCI line and 1019 NCI line dependent on the toolpath type.
A further distinction is made between Drill and Depth Cut subprograms:
 Non-transform depth cut subprograms—The 1018 NCI line is placed before the
first position to be placed in the subprogram. The 1019 NCI line is placed after
the last position to be placed in the subprogram.
 Non-transform drill subprograms—The 1018 NCI line is placed after the cycle
definition (81 NCI line). The definition is outside of the subprogram so repeated
points can be called with a different cycle definition. The 1019 NCI line is placed
before the cancel drill cycle NCI line (80 NCI line).
Special Cases: Lathe turning canned cycles—The Lathe canned turning cycle(s)
automatically produce a non-transform subprogram for the chain that was selected as
the final profile. All motion from the first point in the chain to the last point in the chain
is included in the subprogram.The numbering procedure used for any other
non-transform subprogram applies and must be included when processing for
subprograms. This subprogram is used internally by the MP language processor and
doesn’t follow the normal subprogram output method.
该文档是极速PDF编辑器生成,
NCI REFERENCE / NCI Gcodes • 119
如果想去掉该提示,请访问并下载:
http://www.jisupdfeditor.com/

L M R 1019 : Subprogram End Definition

Definition: 1019
1 2 3 4 5 6
Quick Start

1 Subprogram esub_op_id$ / If param 3 (esub_trns_id$) > 0, then:


number esub_ref_id$
param 1 is read to esub_ref_id$,
esub_op_id$ = 0
otherwise:
param 1 is read to esub_op_id$,
esub_ref_id$ = 0
Post writers who want to access the
subprogram number should use
main_prg_no$ and sub_prg_no$.
2 Actual operation id esub_grp_id$
3 Transform / non- esub_trns_id$ 0 Non-transform
transform flag
>0 Transform
4 Iteration counter esub_sec_no$ Transform operations:
<0 = Off
0 = Original
>0 = Copy
Non-transform operations:
<1 = Copy in transform
1 = Original
>1 = Copy
5 Total number of esub_totl_no$
instances
6 Chain # esub_chn_no$ For non-transform subprograms only
The 1019 parameters are used to return the output stream level to the previous level that
was set prior to 1018 being called. Therefore, 1018 and 1019 are matched pairs and only
“non-transform” subprograms may nest in transform subprograms. The 1019
parameters match the first six parameters written on the matching 1018 line.
See NCI file subprogram concepts on page 117 more info about how this NCI line is used.
该文档是极速PDF编辑器生成,
120 • MASTERCAM X8 / NCI & Parameter Reference 如果想去掉该提示,请访问并下载:
http://www.jisupdfeditor.com/

M R 1020 : Stock Parameters

Definition: 1020
1 2 3 4 5 6 7 8 9 10 11 12 13 14
Quick Start

1 X component, stck_ht$
width
2 Y component, stck_wdth$
height
3 Z component, stck_thck$
thickness
4 X origin of block stck_x$
5 Y origin of block stck_y$
6 Z origin of block stck_z$
7 Origin corner stck_crnr$ 0 Origin corner: top - center
1 Origin corner: top – upper left
2 Origin corner: top – upper right
3 Origin corner: top – lower right
4 Origin corner: top – lower left
5 Origin corner: bottom – upper left
6 Origin corner: bottom – upper right
7 Origin corner: bottom – lower right
8 Origin corner: bottom – lower left
8 Rotary axis in terms rotary_vecx$
of Tplane
9 Rotary axis in terms rotary_vecy$
of Tplane
10 Rotary axis in terms rotary_vecz$
of Tplane
11 (Not used)
12 Force tool change? force_tlchg$ State of Force tool change option on
Tool parameters page.
13 Maximum spindle maxss$
speed
14 String with the stck_matl$
stock material
name
NCI REFERENCE / NCI Gcodes • 121

L 1020 : Stock Parameters

Definition: 1020
1 2 3 4 5 6 7 8 9 10 11 12 13 14
Quick Start

1 Length of stock stck_ht$


along Z axis
2 Maximum stck_wdth$
diameter of stock
3 Same as 2 stck_thck$
4 Center of stock stck_x$
along Z axis
5 Center of stock stck_y$
6 Center of stock stck_z$ Always 0
7 Origin corner stck_crnr$ Always 0
8 Rotary axis in terms rotary_vecx$ Always 0
of Tplane
9 Rotary axis in terms rotary_vecy$ Always 0
of Tplane
10 Rotary axis in terms rotary_vecz$ Always 0
of Tplane
11 (Not used)
12 Force tool change? force_tlchg$ State of Force tool change option on
Tool parameters page.
13 Maximum spindle maxss$
speed
14 Stock material stck_matl$
name
122 • MASTERCAM X8 / NCI & Parameter Reference

W 1020 : Stock Parameters

Definition: 1020
1 2 3 4 5 6 7 8 9 10 11 12 13 14
Quick Start

1 X component, stck_ht$
width
2 Y component, stck_wdth$
height
3 Z component, stck_thck$
thickness
4 X origin of block stck_x$
5 Y origin of block stck_y$
6 Z origin of block stck_z$
7 Origin corner stck_crnr$ 0 Origin corner: top - center
1 Origin corner: top – upper left
2 Origin corner: top – upper right
3 Origin corner: top – lower right
4 Origin corner: top – lower left
5 Origin corner: bottom – upper left
6 Origin corner: bottom – upper right
7 Origin corner: bottom – lower right
8 Origin corner: bottom – lower left
8 (Not used)
9 (Not used)
10 (Not used)
11 Tank fill / empty tank$
flag
12 force_tlchg$ (not used for Wire)
13 (Not used)
14 String with the stck_matl$
stock material
name
NCI REFERENCE / NCI Gcodes • 123

L M R W 1025 : Canned Text

Each parameter is a 4-digit number where:


 The first digit is the cant_pos1$–cant_pos20$ value. This value ranges from 0–2
Quick Start
and indicates how the canned text is to be output:
 0 = output before the line
 1 = output with the line
 2 = output after the line
 The other three digits are the cant_val1$–cant_val20$ value and indicate which
canned text item to output.
Leading zeros are not output; so, for example, 0005 would be output simply as 5.
Definition: 1025
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20

1 Canned text cant_pos1$+cant_val1$ Output mode + canned text ID


parameter
2 cant_pos2$+cant_val2$
3 cant_pos3$+cant_val3$
4 cant_pos4$+cant_val4$
5 cant_pos5$+cant_val5$
6 cant_pos6$+cant_val6$
7 cant_pos7$+cant_val7$
8 cant_pos8$+cant_val8$
9 cant_pos9$+cant_val9$
10 cant_pos10$+cant_val10$
11 cant_pos11$ cant_val11$
12 cant_pos12$+cant_val12$
13 cant_pos13$+cant_val13$
14 cant_pos14$+cant_val14$
15 cant_pos15$+cant_val15$
16 cant_pos16$+cant_val16$
17 cant_pos17$+cant_val17$
18 cant_pos18$+cant_val18$
19 cant_pos19$+cant_val19$
20 cant_pos20$+cant_val20$
该文档是极速PDF编辑器生成,
124 • MASTERCAM X8 / NCI & Parameter Reference 如果想去掉该提示,请访问并下载:
http://www.jisupdfeditor.com/

L M R W 1026 : Manual Entry / Comment as code, with move


/
Definition: 1026
comment
Quick Start

Text to be inserted into the Text will be inserted directly as


NC program NC code (not formatted as a
comment) and output with the
next move.
(See L M R W 1007 : Manual
Entry / Comment with move to
format as comment.)

L M R W 1027 : Working Coordinate System

Definition: 1027
1 2 3 4 5 6 7 8 9 10 11 12

1 t_wcs_m1$
2 t_wcs_m2$
3 t_wcs_m3$
4 t_wcs_m4$
5 t_wcs_m5$
6 t_wcs_m6$
7 t_wcs_m7$
8 t_wcs_m8$
9 t_wcs_m9$
10 t_orgin_x$
11 t_orgin_y$
12 t_orgin_z$
NCI REFERENCE / NCI Gcodes • 125

M R 1028 : Head definition data

Definition: 1028
1 2 3 4 5 6 7 8 9 10 11 12
Quick Start

1 ra_type$ 0 No special head (std)


1 Right-angle
2 Compound
3 Block drill
4 UST
2 ra_offset$
3 ra_vecx$
4 ra_vecy$
5 ra_vecz$
6 ra_svecx$
7 ra_svecy$
8 ra_svecz$
9 ra_block$
10 ra_station$
11 ra_head_grp$
12 ra_tc_type$ 0 Auto T.C. (default)
1 Fixed unit
2 Manual T.C.
126 • MASTERCAM X8 / NCI & Parameter Reference

M R 1029 : Head shift parameters

Definition: 1029
1 2 3 4 5 6 7 8 9 10 11
Quick Start
1 ra_hvecx$
2 ra_hvecy$
3 ra_hvecz$
4 ra_bvecx$
5 ra_bvecy$
6 ra_bvecz$
7 ra_tvecx$
8 ra_tvecy$
9 ra_tvecz$
10 ra_translated$
11 ra_rot_head$
该文档是极速PDF编辑器生成,
NCI REFERENCE / NCI Gcodes • 127
如果想去掉该提示,请访问并下载:
http://www.jisupdfeditor.com/

L M R W 1031 Custom reals for transform operations

Definition: 1031
1 2 3 4 5 6 7 8 9 10
Quick Start
1 Custom parameters trans_mr1$
(reals) for transform
operation
2 trans_mr2$
3 trans_mr3$
4 trans_mr4$
5 trans_mr5$ (not currently used—
reserved for future use)
6 trans_mr6$ (not currently used—
reserved for future use)
7 trans_mr7$ (not currently used—
reserved for future use)
8 trans_mr8$ (not currently used—
reserved for future use)
9 trans_mr9$ (not currently used—
reserved for future use)
10 trans_mr10$ (not currently used—
reserved for future use)
该文档是极速PDF编辑器生成,
128 • MASTERCAM X8 / NCI & Parameter Reference 如果想去掉该提示,请访问并下载:
http://www.jisupdfeditor.com/

L M R W 1032 Custom ints for transform operations


int
Definition: 1032
1 2 3 4 5 6 7 8 9 10
Quick Start
1 Custom parameter (ints) trans_mi1$
for transform operation
2 trans_mi2$
3 trans_mi3$
4 trans_mi4$
5 trans_mi5$ (not currently used—
reserved for future use)
6 trans_mi6$ (not currently used—
reserved for future use)
7 trans_mi7$ (not currently used—
reserved for future use)
8 trans_mi8$ (not currently used—
reserved for future use)
9 trans_mi9$ (not currently used—
reserved for future use)
10 trans_mi10$ (not currently used—
reserved for future use)

M R 1042 : Begin probe operation/probe comments section


/
Definition: 1042
[blank line]

no parameters are output after the 1042—


only a blank line.

M R 1043 : End probe operation/probe comments section


/
Definition: 1043
[blank line]

no parameters are output after the 1043—


only a blank line.
该文档是极速PDF编辑器生成,
NCI REFERENCE / NCI Gcodes • 129
如果想去掉该提示,请访问并下载:
http://www.jisupdfeditor.com/

L M R W 1050 : (Define NCI Version Header)


NCI
Definition: 1050
1 2 3 4 5 6 7 8 9
Quick Start
1 Mastercam major version vers_no$
number
2 [obsolete] m_vers_no$
3 MCX file - day stamp mc_day$
4 MCX file - month stamp mc_mon$
5 MCX file - year stamp mc_year$
6 MCX file - hour stamp mc_hour$
7 MCX file - minute stamp mc_minute$
8 MCX file - second stamp mc_sec$
9 MCX file name smcname$

L M R W 1051 : Machine name

Definition: 1051
string

Text to be inserted into the Name of machine definition.


NC program.

L M R W 1052 : Machine group comment

Definition: 1052
string

Text to be inserted into the Comment recorded in machine


NC program. group properties.

L M R W 1053 : Machine group name

Definition: 1053
string

Text to be inserted into the Name of machine group.


NC program.
该文档是极速PDF编辑器生成,
130 • MASTERCAM X8 / NCI & Parameter Reference 如果想去掉该提示,请访问并下载:
http://www.jisupdfeditor.com/

L M R W 1054 : File descriptor

Definition: 1054
string
Quick Start

Text to be inserted into the Text of the file descriptor


NC program. property.
Note that in oder for this to be output in your NCI file, the following option needs to be
selected when posting:

Click the Properties button to edit the file descriptor.

M R 1056 : Probe data

Definition: 1056
string

Text to be inserted into the Renishaw probe data generated


NC program. by the Productivity+ add-in.
该文档是极速PDF编辑器生成,
NCI REFERENCE / NCI Gcodes • 131
如果想去掉该提示,请访问并下载:
http://www.jisupdfeditor.com/

Control Flags Parameters


“ ” NCI
NCI Gcodes 0,1,2,11,81
5 .
Quick Start
1
10 100
place

(in Mill), if:

cur_cflg$ = 201001





NCI cur_cflg $ cur_cflg $
post .
.
该文档是极速PDF编辑器生成,
132 • MASTERCAM X8 / NCI & Parameter Reference 如果想去掉该提示,请访问并下载:
http://www.jisupdfeditor.com/

M R /

This is written to the NCI as a six-digit number. Each digit sets the value of a different
pre-defined variable, as shown in this table. The entire six-digit number is stored in the
cur_cflg$ variable. Quick Start
cstop$ 0 Contour stop off
1 Contour stop on
cgstop$ 00 Contour optional stop off
10 Contour optional stop on
cend$ 000 Contour end off
100 Contour end on
200 Compensation OFF position
300 Both contour and compensation off
See notes below
cstart$ 0000 Contour start off
1000 Contour start on
2000 Compensation ON position
3000 Both contour & compensation start
See notes below
rpd_typ$ 70000 Pause for tool inspection (high
speed surface toolpaths)
coolant$ 100000 Coolant off
200000 Coolant flood
300000 Coolant mist
400000 Coolant tool

The Compensation ON/OFF position flag values are added to cend$ and cstart$ flag, if
they exist at the same location in the NCI file. Example Contour END (100) and
compensation OFF (200) can occur at the same location, so the flag values are added and
you will see a value of 300.
The compensation flags (2000 and 200) are independent of the compensation actually
being programmed in the toolpath program! They mark where compensation would
normally be activated and canceled in the toolpath by Mastercam.
The raw values shown in this chart are not the values set in the individual variables.
Example: if cur_cflg$ = 1000 (contour start), the variable cstart$ is set to 1.
NCI REFERENCE / NCI Gcodes • 133

L Lathe Control Flags Parameters

This is written to the NCI as a six-digit number. Each digit sets the value of a different
pre-defined variable, as shown in this table. The entire six-digit number is stored in the
cur_cflg$ variable. Quick Start
cstop$ 0 Contour stop off
1 Contour stop on
cgstop$ 00 Contour optional stop off
10 Contour optional stop on
cend$ 000 Contour end off
100 Contour end on
200 Compensation OFF position
300 Both contour and compensation off
See notes below
cstart$ 0000 Contour start off
1000 Contour start on
2000 Compensation ON position
3000 Both contour & compensation start
See notes below
rpd_typ$ 10000 Clear to home
20000 Rapid to start
30000 Rapid around obstruction
40000 Rapid between points
50000 Entry / Exit
60000 Start / End rough turning cycles
70000 Pause for tool inspection (groove
toolpaths)
coolant$ 100000 Coolant off
200000 Coolant flood
300000 Coolant mist
400000 Coolant tool

The Compensation ON/OFF position flag values are added to cend$ and cstart$ flag, if
they exist at the same location in the NCI file. Example: Contour END (100) and
compensation OFF (200) can occur at the same location, so the flag values are added and
you will see a value of 300.
The compensation flags (2000 and 200) are independent of the compensation actually
being programmed in the toolpath program! They mark where compensation would
normally be activated and canceled in the toolpath by Mastercam.
The raw values shown in this chart are not the values set in the individual variables.
Example: if cur_cflg$ = 1000 (contour start), the variable cstart$ is set to 1.
134 • MASTERCAM X8 / NCI & Parameter Reference

W Wire Control Flags Parameters

This is written to the NCI as a nine-digit number. Each digit sets the value of a different
pre-defined variable, as shown in this table. The entire nine-digit number is stored in the
cur_cflg$ variable. Quick Start
cstop$ 0 Contour stop off
1 Contour stop on
cgstop$ 00 Contour optional stop off
10 Contour optional stop on
cend$ 000 Contour end off
100 Contour end on
200 Compensation OFF position
300 Both contour and compensation off
See notes below
cstart$ 0000 Contour start off
1000 Contour start on
2000 Compensation ON position
3000 Both contour & compensation start
See notes below
thrd_cut$ 10000 Thread the wire
20000
Cut the wire
water$ 100000 Water off
200000 Water on
300000 Water option 1
power$ 1000000 Power off
2000000 Power on
tank$ 10000000 Tank empty
20000000 Tank fill
epac_flg$ 100000000 Indicates that the current move is an
approach point that has been
added. This typically occurs if the
power (epac) settings are
programmed to change after the
approach move.
The Compensation ON/OFF position flag values are added to cend$ and cstart$ flag, if
they exist at the same location in the NCI file. Example: Contour END (100) and
compensation OFF (200) can occur at the same location, so the flag values are added and
you will see a value of 300.
The compensation flags (2000 and 200) are independent of the compensation actually
being programmed in the wirepath! They mark where compensation would normally be
activated and canceled in the wirepath by Mastercam.
The raw values shown in this chart are not the values set in the individual variables.
Example: if cur_cflg$ = 1000 (contour start), the variable cstart$ is set to 1.
NCI REFERENCE / Tool information (20000s parameters) • 135

Tool information (20000s parameters)


Tool information lines are added in the 20000s lines in the NCI file. The data is presented
Quick Start
in a two-line format:
See Capturing  The first line contains the parameter number.
parameters from
 The second line contains the value or values.
20000s lines on page 19
to learn more about using The second line can be interpreted as either a single string or as a series of numeric
the values. values separated by spaces. In the reference sections that follow, for each parameter
there is a prototype that describes the data structure of the parameter value, followed a
description of the actual values. These are not assigned variable names but can be
scanned for the desired values with the function rpar. (See Capturing numeric values
from a 20000s line on page 21 to learn more about how to extract numeric values from
the parameter string.)
g
string
The codes are divided into three sections:
 The first section contains codes numbered below 20100 and above 20500. They
are either Mill/Router-specific, or are used across multiple products.
 The second section contains Lathe-specific codes, numbered from 20100–
20199.
 The third section contains Wire-specific codes. Most of these are numbered
above 20200.
Note that some codes might be output for a certain product, but with a blank value if the
value isn’t used in that product.
See NCI Gcodes for information about NCI Gcodes numbered below 10000.
136 • MASTERCAM X8 / NCI & Parameter Reference

Mill/Router/Generic
20001 : Tool name

Used in: Mill Lathe Router Quick Start

Definition: 20001
string (tool name)

20002 : Tool definition: manufacturer’s tool code

Used in: Mill Lathe Router

Definition: 20002
string (manufacturer’s tool code)

20003 : Chuck name

Used in: Mill Router

Definition: 20003
string (chuck name)
NCI REFERENCE / Tool information (20000s parameters) • 137

20004 : Tool definition: tool parameters

Used in: Mill Router

Definition: 20004
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 Quick Start
23 24

1 tool number
2 tool type:
1=center drill
2=spot drill
3=drill
4=right hand tap
5=left hand tap
6=reamer
7=boring bar
8=counter bore
9=counter sink
10=end mill - flat
11=end mill - spherical
12=chamfer mill
13=face mill
14=slot mill
15=radius mill
16=dovetail mill
17=tapered mill
18=lollipop mill
19=end mill – bullnose
3 tool material:
1=high speed steel
2=carbide
3=coated carbide
4=ceramic
5=borzon
6=unknown
4 corner radius type:
0= flat mill
1= bullnose mill
2= spherical mill
5 tool diameter
6 corner radius
7 number of threads/inch or pitch (mm)
8 tool tip included angle
9 diameter offset register #
10 length offset register #
138 • MASTERCAM X8 / NCI & Parameter Reference

11 linear feed rate


12 plunge feed rate
13 retract feed rate
14 spindle speed
Quick Start
15 coolant type:
0=coolant off
1=flood
2=mist
3=tool (spindle)
16 number of flutes
17 shank diameter at the lollipop shoulder
18 length of the taper for lollipop cutters
19 chamfer length (tip chamfer)
20 pilot length for center drill
21 pilot diameter for center drill
22 (for future use)
23 (for future use)
24 (for future use)

20005 : Tool definition: tool parameters for drills

Used in: Mill Router

Definition: 20005
1 2 3 4 5 6 7 8 9

1 drill canned cycle type


2 1st peck increment (% of tool dia.)
3 2nd peck increment (% of tool dia.)
4 peck clearance (% of tool dia.)
5 chip break (% of tool dia.)
6 amount of dwell in seconds
7 shoulder angle
8 tap drill diameter
9 amount to shift off wall for fine boring

20006 : Tool definition: tool parameters

Used in: Mill Router

Definition: 20006
1 2 3 4 5 6 7 8

1 cutter ability:
0=capable of roughing and finishing
1=capable of roughing only
2=capable of finishing only
NCI REFERENCE / Tool information (20000s parameters) • 139

2 % of tool dia. for rough XY stepover


3 % of tool dia. for rough Z step
4 % of tool dia. for finish XY stepover
5 % of tool dia. for finish Z step
Quick Start
6 tool tip diameter
7 tool minor diameter
8 thread mill angle

20007 : Tool definition: holder parameters

Used in: Mill Router

Definition: 20007
1 2 3 4 5 6 7 8 9 10 11 12 13

1 minimum diameter required for tool to plunge


2 flute length
3 overall length

This is originally set in the tool definition; however, if


you enter a different Tool Projection distance on the
Holder page, that value will be used instead. In
Mastercam X8, this value will be equal to parameter 13.
4 shoulder length
5 arbor diameter
6 holder diameter (for X6 and earlier tool definitions—
deprecated for X7 and later)
7 holder length (for X6 and earlier tool definitions—
deprecated for X7 and later)

Parameters 6 and 7 were originally used for the holder


diameter and length in “legacy” tool definitions—
meaning tools that were created in Mastercam versions
X6 and earlier. Tool holders that have been created with
the newer tool holder definition functions in
Mastercam X7 and later do not use these parameters.
These parameters are maintained only for
compatibility with older tools. If a tool definition in
your part was originally created in X6 or earlier,
parameters 6 and 7 will continue to be output with the
original values. Otherwise, do not use them.
8 0 = CW, 1 = CCW
9 % of surface ft/mm to be applied against workpiece
matl sfm
10 % of feed/tooth to be applied against workpiece matl
fpt
11 0 = values in inches, 1 = metric
12 The Tool Projection distance from the Holder page.
For pre-X8 operations, this value will not be output
until the toolpath has been regenerated in X8.
140 • MASTERCAM X8 / NCI & Parameter Reference

13 Total holder length.


For pre-X8 operations, this value will not be output
until the toolpath has been regenerated in X8.

20008 : Tool definition: aggregate head parameters


Quick Start
Used in: Mill Router

Definition: 20008
1 2 3 4 5 6 7 8 9

1 head axis in X
2 head axis in Y
3 head axis in Z
4 head body type: ( 0 = cylinder, 1 = square)
5 head body diameter
6 head body length
7 station body type ( 0 = cylinder, 1 = square)
8 station body diameter
9 station body length

20009 : Custom tool geometry

Used in: Mill Router

Definition: 20009
1 2

1 The level on which custom tool geometry is stored.


2 The source of the custom geometry (0=auto, 1=file,
2=level).

20010 : Construction plane name

Used in: Mill Lathe Router Wire

Definition: g = 20010
string (construction plane name)

20011 : Construction plane commment

Used in: Mill Lathe Router Wire

Definition: 20011
string (construction plane commment)

This line has no value in Wire. It will be output, but will always be blank.
NCI REFERENCE / Tool information (20000s parameters) • 141

20012 : Tool plane name

Used in: Mill Lathe Router Wire

Definition: 20012
string (tool plane name) Quick Start

20013 : Tool plane comment

Used in: Mill Lathe Router Wire

Definition: 20013
string (tool insert name)

This line has no value in Wire. It will be output, but will always be blank.

20014 : WCS plane name

Used in: Mill Lathe Router Wire

Definition: 20014
string (WCS plane name)

20015 : WCS plane comment

Used in: Mill Lathe Router Wire

Definition: 20015
string (WCS plane comment)

This line has no value in Wire. It will be output, but will always be blank.

20016 : Material name

Used in: Mill Lathe Router

Definition: 20016
string (material name)

This line has no value in Wire. It will be output, but will always be blank.

20017 : Material comment

Used in: Mill Lathe Router

Definition: 20017
string (material comment)

This line has no value in Wire. It will be output, but will always be blank.
142 • MASTERCAM X8 / NCI & Parameter Reference

20018 : Machine group name

Used in: Mill Lathe Router Wire

Definition: 20018
string (machine group name) Quick Start

20501 : Nested sheet: material name

Used in: Mill Router

Definition: 20501
string (material name)

Sheet information is output for each sheet change notification in the NCI.

20502 : Nested sheet: parameters

Used in: Mill Router

Definition: 20502
1 2 3 4 5 6 7 8 9 10 11 12

Sheet information is output for each sheet change notification in the NCI.
1 sheet length (X dimension)
2 sheet width (Y dimension)
3 Sheet thickness (temporary placeholder)
4 sheet corner (1 = lower left, 2 = lower right, 3 = upper
right, 4 = upper left)
5 sheet number
6 sheet instance
7 integer pad
8 integer pad
9 integer pad

10 real pad

11 real pad

12 real pad

20600 : Axis combination components

Used in: Mill Router Lathe Wire

Definition: 20600
1 2 3 4 5

A 20600 line is output for each component in the axis combination.


1 Entity ID for component
2 String ID for component
3 Axis label (absolute)
4 Axis label (incremental)
5 Component name
NCI REFERENCE / Tool information (20000s parameters) • 143

20601 : Axis combination info

Used in: Mill Router Lathe Wire

Definition: 20601
1 2 3 4 Quick Start
A 20601 line is output for the axis combination itself.
1 Entity ID
2 String ID
3 1=Mapped axis combination, otherwise 0
4 Axis combination name

20700 : Tool change info per data stream


This is no longer written to the NCI, beginning with Mastercam X7.

20800 : Tool diameter for multiaxis comp in control

Used in: Mill Router Lathe

Definition: 20800
0

This parameter captures the tool diameter from the Cut Pattern page.

This is output for all operations except lathe misc ops. It will be output for tool
changes and for null tool changes where the operation changes. It will be output
following the 20009 line for mill tool changes, and the 20112 line for lathe tool
changes.
If the operation is not a multiaxis operation, the value will be zero.
144 • MASTERCAM X8 / NCI & Parameter Reference

Lathe
20100 : Lathe tool definition : programming parameters

Used in: Lathe Quick Start

Definition: 20100
1 2 3 4 5 6 7 8 9

1 tool slot number


2 tool type:
0=General Turning Tools
1=Threading Tools
2=Grooving/Parting Tools
3=Boring Bars
4=Drills, Taps, Reamers
5=Custom Geometry Tools
3 use in top turret
4 active spindle
5 tool angle in turret (in degrees)
6 top turret
7 tool number
8 tool offsets for right edge
9 tool offsets for left edge

20101 : Lathe tool definition: general cutting parameters

Used in: Lathe

Definition: 20101
1 2 3 4 5 6 7 8 9 10

1 fast feed rate


2 feed rate type
3 slow feed rate
4 spindle speed
5 spindle speed in css
6 percent of material css to use
7 percent of material feed/rev to use
8 spindle direction
9 coolant status for tool
10 cutting parameters in metric
NCI REFERENCE / Tool information (20000s parameters) • 145

20102 : Lathe tool definition: geometric parameters

Used in: Lathe

Definition: 20102
1 2 3 4 5 6 7 8 Quick Start

1 tool orientation
2 tool clearance angle for programming
3 tool rake angle for programming
4 tool width for programming
5 tool height for programming
6 tool center for programming
7 tool center for programming
8 comp to center of insert nose radius

20103 : Lathe tool definition: insert name

Used in: Lathe

Definition: 20103
string (tool insert name)

20104 : Lathe tool definition: insert general parameters

Used in: Lathe

Definition: 20104
1 2 3 4 5 6 7 8

1 ASCII code for insert shape:

2 IC diameter
3 length
146 • MASTERCAM X8 / NCI & Parameter Reference

4 corner radius
5 thickness
6 insert material for feed speed calculations
7 insert type (-1 = not used)
Quick Start
8 is insert defined in mm or inches?

20105 : Lathe tool definition: general turning/boring insert parameters

Used in: Lathe

Definition: 20105
1 2 3 4 5 6 7

1 cross section index ASCII code


2 end relief angle
3 roughing depth of cut
4 finish depth of cut
5 roughing overlap amount
6 facing retraction amount
7 facing x overcut amount

20106 : Lathe tool definition: threading insert parameters

Used in: Lathe

Definition: 20106
1 2 3 4 5 6 7 8 9 10 11 12

1 insert style:
1=’TOP NOTCH’ Thread Insert
2 =’LAYDOWN’ Thread Insert
2 unified, ACME, buttress, etc.
3 insert for external thread?
4 design thread pitch
5 top notch dist. to insert point from side of insert
6 laydown height of insert (~= thread depth)
7 width of flat for ACME, buttress
8 depth of 1st cut
9 depth of last cut
10 finish pass allowance
11 anticipated pull-off
12 number of spring cuts
NCI REFERENCE / Tool information (20000s parameters) • 147

20107 : Lathe tool definition: grooving/parting insert parameters

Used in: Lathe

Definition: 20107
1 2 3 4 5 6 7 8 9 10 Quick Start

1 cutting length of insert


2 shank width
3 end length for top notch type P
4 distance to insert point for top notch type V
5 end angle for Sandvik type 5R
6 roughing depth of cut
7 finish depth of cut
8 stock clearance
9 backoff percent
10 roughing overlap amount

20108 : Lathe tool definition: drilling tool parameters (geometry)

Used in: Lathe

Definition: 20108
1 2 3 4 5 6 7 8 9 10 11 12 13 14

1 drill, tap, reamer, etc:


1=Drill
2=Center Drill
3=Countersink
4=Counterbore
5=End Mill
6=Reamer
7=Right Hand Tap
8=Left Hand Tap
2 tool diameter
3 shank diameter
4 tip included angle
5 flute length
6 length at cutting diameter
7 flute helix angle
8 number of flutes
9 chamfer height for reamers, taps
10 tip diameter for center drills
11 tip length for center drills
12 shoulder angle for center drills
13 thread pitch for taps
14 tap type:
148 • MASTERCAM X8 / NCI & Parameter Reference

1=Tapered Tap
2=Plug Tap
3=Bottoming Tap

20109 : Lathe tool definition: drilling tool parameters Quick Start

Used in: Lathe

Definition: 20109
1 2 3 4 5 6

1 preferred drilling cycle


2 1st peck increment
3 subsequent peck increment
4 peck clearance
5 retraction amount
6 dwell time

20110 : Lathe tool definition: holder name

Used in: Lathe

Definition: 20110
string (tool holder name)

20111 : Lathe tool definition: holder parameters

Used in: Lathe

Definition: 20111
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15

1 shape index ascii code


2 qualified length
3 maximum width
4 shank width
5 shank height
6 'head' length
7 'head' width
8 corner chamfer width
9 corner chamfer height
10 end cutting edge angle
11 side cutting edge angle
12 True = round shank
13 left hand tool?
14 vertically mounted tool?
15 is holder defined in mm or inches?
NCI REFERENCE / Tool information (20000s parameters) • 149

20112 : Lathe tool definition: custom tool geometry file name

Used in: Lathe

Definition: 20112
string (custom tool geometry file name) Quick Start

29999 : Tool inspection comment


Note that this line is not output before the tool change, like the other 20000s
lines—instead, it is output in the toolpath at the point where the tool inspection
occurs. See Lathe tool inspection comments on page 25 to learn more.

Used in: Lathe

Definition: 29999
string (lathe tool inspection comment)
150 • MASTERCAM X8 / NCI & Parameter Reference

Wire
20019 : Pass comment from power library

Used in: Wire Quick Start

Definition: 20019
string (power library pass comment)

This line has a value in Wire only. It is output for Mill and Router toolpaths, but will
be blank.

20200 : Wirepath stock to leave

Used in: Wire

Definition: 20200
1 2 3 4 5 6 7

1 stock_leave$
2 offset_total$ Radius + overburn + stock-to-
leave amount.
3 offset_mach$ 0 Program coordinates; the
coordinates in the NCI are
already shifted by the stock-to-
leave amount.
1 Machine offset register; the
stock-to-leave offset is done at
the control.
4 tlrad$ Radius of the wire.
5 overburn$
6 cc_type$ 0 Computer
1 Control
2 Both
3 Reverse both
4 Off
7 offset$ Offset register number

The 20200 line is unique in that its parameters are assigned to pre-defined
variables and can be accessed directly, without needing to use the standard
parameter read functions. To enable this functionality, the listrad$ switch needs to
be set to 2. When listrad$ is not set to 2, tlrad$ and offset$ are read from the tool
change and 1010 lines. When listrad$ is set to 2, the values from the tool change
and 1010 lines are ignored. Note that bldnxtool$ must also be set to 1.
NCI REFERENCE / Tool information (20000s parameters) • 151

Parameters for custom interfaces


Mastercam X4 introduced a new range of parameters numbered 22xxx. These are
designed to support custom interfaces, principally for Wire. The new 22xxx parameters
are designed to encapsulate settings from the new interfaces and pass them to the post.
These are then read and stored during pparameter$ like any other 20000-style Quick Start
parameters
 The first custom interface was the Agievision interface, introduced in
Mastercam X4.
 The second custom interface was the TECH library interface for Makino and
Mitsubishi machines, introduced in Mastercam X5.
The new interfaces use the following numbering scheme:
 Parameter numbers 22001–22050 will be used for generic parameters. These
numbers will not be unique and will be reused in multiple interfaces. See
Common parameters on page 152.
 Parameters numbered from 22051–22100 are used by the Agievision interface.
See Agievision parameters on page 156.
 Parameters numbered from 22101–22150 are used by the TECH library interface.
See TECH library parameters on page 176.
Future interfaces will be assigned new parameter numbers in blocks of 50.
152 • MASTERCAM X8 / NCI & Parameter Reference

Common parameters
22001 : Machine model

Used in: Wire (custom interfaces)


Quick Start
Definition: 22001
string (machine model)

From control definition. See Control definition: Control Model page on page 154.

22002 : Control version

Used in: Wire (custom interfaces)

Definition: 22002
1

From control definition. See Control definition: Control Model page on page 154.

Position Description Type SBL command

1 Control version (0–3) int none

22003 : Piece name

Used in: Wire (custom interfaces)

Definition: 22003
string

This is only used by the Agievision interface. It is always 0 if the TECH library
interface is selected. See Machine group properties: Piece Details tab on page 169.

Position Description Type SBL command

1 Piece name string ID_NAMEOBJ

22004 : Piece material

Used in: Wire (custom interfaces)

Definition: 22004
string

See Machine group properties: Piece Details tab on page 169.

Position Description Type SBL command

1 Material code string ID_MATERIAL

This is output as a numeric code, padded with leading zeros to 4 places. The table
below lists the possible values. This is only used by the Agievision interface. It is
always 0 if the TECH library interface is selected.

Table 2: Piece material codes


Value Material

0001 Cold Die Steel


NCI REFERENCE / Tool information (20000s parameters) • 153

Table 2: Piece material codes


Value Material

0011 Electrolytic Cu

0021 Graphite 1 (grain < 5µm) Quick Start


0031 Tung.carbide 85 WC\15Co

0041 Aluminum

0051 Brass

0061 Sialon

0071 PCD 002 (grain 2µm)

0081 Graphite 2 (grain 5..10µm)

0091 Graphite 3 (grain > 10µm)

0101 PCD 010 (grain 10µm)

0111 PCD 025 (grain 25µm)

0121 PCD-CTC002

0122 PCD-CTB002

0123 PCD-CTB010

0124 PCD-CTB025

0125 PCD-CTH025

0126 PCD-CTM302

0131 PCD-Compax 1300

0132 PCD-Compax 1500

0133 PCD-Compax 1600

0141 PCD C30X

0151 PCB AMB90

0152 PCB DBW85

0153 PCB DBA80

0154 PCB DBC50

0155 PCB DBN45

0161 PCB BZN 8200

0162 PCB BZN 6000

0171 PCB N90

0181 CPM 10V (powder metallurgy steel)


154 • MASTERCAM X8 / NCI & Parameter Reference

22005 : Piece wire name

Used in: Wire (custom interfaces)

Definition: 22005
string Quick Start
This is only used by the Agievision interface. It is always 0 if the TECH library
interface is selected. See Machine group properties: Piece Details tab on page 169.

Position Description Type SBL command

1 Piece wire name string ID_THREAD

Control definition: Control Model page


The following pictures show the Control Model page for both the Agievision and TECH
interfaces.
NCI REFERENCE / Tool information (20000s parameters) • 155

Quick Start

The text string for the Machine model is output with the 22001 line. Note that for the
Makino and Mitsubishi machines, the Control version option is disabled. This is always
output as 0 on the 22002 line.
156 • MASTERCAM X8 / NCI & Parameter Reference

Agievision parameters
The Agievision interface introduced with Mastercam X4 includes many custom dialog
boxes that mimic the look and feel of the Agievision control.
 Parameters 22051–22100 are used to output these values.
 The Agievision interface also uses 22001–22005; these are documented in Quick Start
Common parameters on page 152.

IMPORTANT: This represents a significant change from how Agie data was
written out by the Agie C-Hook used in Mastercam X3. The C-Hook wrote the data
to a separate .ADT file to be read by the post, instead of the 22000 parameters.
Posts written for the new Agievision interface therefore need to be completely
different.

You can see pictures of all the dialog boxes annotated with the parameter numbers
beginning with Machine group properties: Piece Setup tab on page 168.

22051 : Piece quality target

Used in: Wire (Agie interface)

Definition: 22051
string (piece quality target)

This parameter writes the piece quality target as a string (machining quality
targets are written in lines 22055–22057). The numeric real values for Ra, Tf, and
Tkm that correspond to this setting are written on line 22058, parameters 1–3.
See Machine group properties: Piece Details tab on page 169.

22052 : Machining strategy

Used in: Wire (Agie interface)

Definition: 22052
string

A one- or two-letter code is written to the NCI for each strategy. See Machine group
properties: Piece Details tab on page 169.

Position Description Type SBL command

1 Strategy code string ID_STATEGY

Table 3: Machining strategy codes


Code Strategy

A Machine

E Early

L Late

W Piece

EW Early Piece

LW Late Piece

WE Piece Early
NCI REFERENCE / Tool information (20000s parameters) • 157

Table 3: Machining strategy codes


Code Strategy

WL Piece Late

22053 : Piece setup Quick Start

Used in: Wire (Agie interface)

Definition: 22053
1 2 3 4 5 6 7 8 9

See Machine group properties: Piece Setup tab on page 168. (Machine group
properties: Piece Setup tab on page 168 also lists the pre-defined variables used for
the piece dimensions).

Position Description Type SBL command

1 Piece reference position (X) real ID_POSX

2 Piece reference position (Y) real ID_POSY

3 Piece reference position (Z) real ID_POSZ

4 Piece reference position (C) real ID_ROTATION

5 Edge position (X) real ID_POSPOSX

6 Edge position (Y) real ID_POSPOSY

7 Edge position (Z) real ID_POSPOSZ

8 Security level real ID_VALSECP

9 Return level real ID_VALRETP

22054: Machining name

Used in: Wire (Agie interface)

Definition: 22054
string

See Wirepath parameters: Machining page on page 169.

Position Description Type SBL command

1 Machining name string Create working

22055: Machining quality target (No Core Group, Collar LC1 wirepaths)

Used in: Wire (Agie interface)

Definition: 22055
string (machining quality target)

This parameter outputs the machining quality target as a string. Lines 22055,
22056, and 22057 all output the machining quality target, but for different types of
wirepaths.
The numeric real values for Ra, Tf, and Tkm that correspond to this setting are
output on line 22058, parameters 6–8.
158 • MASTERCAM X8 / NCI & Parameter Reference

See Wirepath parameters: Machining page on page 169.

Position Description Type SBL command

1 Machining quality target string ID_QUALITY


Quick Start
22056: Machining quality target (No Core Rough, Collar LC2 wirepaths)

Used in: Wire (Agie interface)

Definition: 22056
string (machining quality target)

This parameter outputs the machining quality target as a string. Lines 22055,
22056, and 22057 all output the machining quality target, but for different types of
wirepaths.
The numeric real values for Ra, Tf, and Tkm that correspond to this setting are
output on line 22058, parameters 11–13.
See Wirepath parameters: Machining page on page 169.

Position Description Type SBL command

1 Machining quality target string ID_QUALITY

22057: Machining quality target (No Core Finish, Collar LC3, Contour, and 4-axis
wirepaths)

Used in: Wire (Agie interface)

Definition: 22057
string (machining quality target)

This parameter outputs the machining quality target as a string. Lines 22055,
22056, and 22057 all output the machining quality target, but for different types of
wirepaths.
The numeric real values for Ra, Tf, and Tkm that correspond to this setting are
output on line 22058, parameters 16–18.
See Wirepath parameters: Machining page on page 169.

Position Description Type SBL command

1 Machining quality target string ID_QUALITY

22058: Quality info

Used in: Wire (Agie interface)

Definition: 22058
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20

This line has 4 sets of 5 parameters, one for each of 4 quality targets. See Machine
group properties: Piece Details tab on page 169 and Wirepath parameters:
Machining page on page 169.

Position Description Type SBL command

1 Piece quality (22051)—Ra real none


NCI REFERENCE / Tool information (20000s parameters) • 159

Position Description Type SBL command

2 Piece quality (22051)—Tf real none

3 Piece quality (22051)—Tkm real none

4 Speed/quality options (22051): int none Quick Start


 0 = neither
 1 = Speed
 2 = Quality
 3 = both
5 Create quality checkbox (22051). See int none
Wirepath parameters: User Tech
(Technology Database) dialog box for
parameters 4 & 5.

6 Quality LC1 (22055)—Ra real none

7 Quality LC1 (22055)—Tf real none

8 Quality LC1 (22055)—Tkm real none

9 Speed/quality options (Quality LC1 :22055): int none


 0 = neither
 1 = Speed
 2 = Quality
 3 = both
10 Create quality checkbox (Quality LC1 : int none
22055). See Wirepath parameters: User Tech
(Technology Database) dialog box for
parameters 9 & 10.

11 Quality LC2 (22056)—Ra real none

12 Quality LC2 (22056)—Tf real none

13 Quality LC2 (22056)—Tkm real none

14 Speed/quality options (Quality LC2 :22056): int none


 0 = neither
 1 = Speed
 2 = Quality
 3 = both
15 Create quality checkbox (Quality LC2 : int none
22056). See Wirepath parameters: User Tech
(Technology Database) dialog box for
parameters 14 & 15.

16 Quality LC3 (22057)—Ra real none

17 Quality LC3 (22057)—Tf real none

18 Quality LC3 (22057)—Tkm real none

19 Speed/quality options (Quality LC3: 22057): int none


 0 = neither
 1 = Speed
 2 = Quality
 3 = both
160 • MASTERCAM X8 / NCI & Parameter Reference

Position Description Type SBL command

20 Create quality checkbox (Quality LC3: int none


22057). See Wirepath parameters: User Tech
(Technology Database) dialog box for
parameters 19 & 20. Quick Start

22059 : Machining wire name

Used in: Wire (Agie interface)

Definition: 22059
string

See Wirepath parameters: Machining page on page 169.

Position Description Type SBL command

1 Machining wire name string ID_THREAD

22060: Machining data

Used in: Wire (Agie interface)

Definition: 22060
1 2 3 4 5 6 7 8

See Wirepath parameters: Machining page on page 169.

Position Description Type SBL command

1 Priority int ID_PRIORITY

2 Technological height real ID_HEIGHT

3 Machine reference (X+) real ID_POSX

4 Machine reference (Y+) real ID_POSY

5 Machine reference (Z) real ID_POSZ

6 Machine reference (A) real ID_POSA

7 Machine reference (B) real ID_POSB

8 Machine reference (C) real ID_ROTATION


NCI REFERENCE / Tool information (20000s parameters) • 161

22061: Agie cut data

Used in: Wire (Agie interface)

Definition: 22061
1 2 3 4 5 6 7 8 9 10 11 12 Quick Start
See Wirepath parameters: Cut parameters page on page 171.

Position Description Type SBL command

1 Compensation: punch vs. die int ID_PUNCH


 0= punch
 1 = die
 –1 = disabled (for example, an open
chain)

2 Compensation: left or right int ID_PUNCH


 0= left
 1 = right
 –1 = disabled (for example, a closed
chain)

3 Has minimum Agievision radius been int ID_RADIUSMINLA


applied to the last cut ?

4 Not used int

5 Reverse cut? int ID_REVCUT

6 The number of working steps without int ID_ASWITHOUT


inversion.

7 Separation cut length real ID_SEPCUT

8 Separation cut clearance real ID_CLEARANCETRENN

9 Clearance distance between punch and real ID_CLEARANCE


die chains

10 Not used int

11 Not used int

12 Not used real

22062: Start point name

Used in: Wire (Agie interface)

Definition: 22062
string

See Wirepath parameters: Start Point page on page 171.

Position Description Type SBL command

1 Start point name string ID_STP


162 • MASTERCAM X8 / NCI & Parameter Reference

22063: Start point data

Used in: Wire (Agie interface)

Definition: 22063
1 2 3 4 Quick Start
See Wirepath parameters: Start Point page on page 171.

Position Description Type SBL command

1 Start point (X) real ID_POSX

2 Start point (Y) real ID_POSY

3 Start point (Z) real ID_POSZ

4 Start point diameter real ID_DIAMETER

22064: Entry data

Used in: Wire (Agie interface)

Definition: 22064
1 2 3 4 5 6 7 8

See Wirepath parameters: Entry page on page 172.

Position Description Type SBL command

1 Entry position: int ID_ENTRYTIPO


 0= Beginning of element
 1 = Middle of element
 2 = End of element
2 Type of entry: int ID_ENTRYMODE
 0= Free
 1 = Perpendicular
 2 = Tangential
3 Contour separation distance real ID_GEOCOMTRENN

4 Entry distance real ID_COMMPOINTENTRY

5 Increment entries (increment distance real ID_SETENTD


for each working step)

6 Entry dislocation (new entry distance real ID_SETENTM


from previous entry point)

7 Entry “A” distance (deviation distance real ID_SETENTA


from start point to contour entry, in Y
direction)

8 Entry “B” distance (deviation distance real ID_SETENTB


from start point to contour entry, in X
direction)
NCI REFERENCE / Tool information (20000s parameters) • 163

22065: Exit data

Used in: Wire (Agie interface)

Definition: 22065
1 2 3 4 Quick Start
See Wirepath parameters: Exit page on page 172.

Position Description Type SBL command

1 Type of exit: int ID_EXITMODE


 0= Free
 1 = Perpendicular
 2 = Tangential
2 Exit distance real ID_COMMPOINTEXIT

3 Exit “A” distance (deviation distance real ID_SETUSCA


from contour exit, parallel to exit
contour element )

4 Exit “B” distance (deviation distance real ID_SETUSCB


from contour exit, perpendicular to
exit contour element)

22066: Taper thread data

Used in: Wire (Agie interface)

Definition: 22066
1 2 3 4 5 6 7

See Wirepath parameters: Threading page on page 173.

Position Description Type SBL command

1 Taper thread (X) real ID_POSX

2 Taper thread (Y) real ID_POSY

3 Taper thread (Z) real ID_POSZ

4 Taper thread (Xs) real ID_POSX_S

5 Taper thread (Ys) real ID_POSY_S

6 Taper thread (Zs) real ID_POSZ_S

7 Start hole diameter real ID_DIAMETER


164 • MASTERCAM X8 / NCI & Parameter Reference

22067: Taper data

Used in: Wire (Agie interface)

Definition: 22067
1 2 3 4 5 6 Quick Start
These parameters are only used for Contour wirepaths. See Wirepath parameters:
Taper page on page 173.

Position Description Type SBL command

1 Taper type and direction: int ID_TAPERMODE


 0 = left taper (upper wire guide moves
left)
 1 = right taper (upper wire guide moves
right)
 2 = fixed taper (defined by the X and Y
component fields)

2 Taper (Z) real ID_POSZ

3 Taper angle; if taper type = 0, ID_TAPER is real ID_TAPER


output as negative value, if taper type = 1,
ID_TAPER is output as positive value.

4 Taper (X component) real ID_TAPER

5 Taper (Y component) real ID_TAPERP

6 Isoradius: int none


 0 = Default (conical)
 1 = Isoradius

22068: Corner data

Used in: Wire (Agie interface)

Definition: 22068
1 2 3 4

See Wirepath parameters: Corners page on page 174.

Position Description Type SBL command

1 External corner type: int ID_E_TYPE


 0 = Minimum radius
 1 = Sharp-edged
 2 = Fixed radius
2 External corner radius (for fixed-radius real ID_E_VALUE
corners)

3 Internal corner type: int ID_I_TYPE


 0 = Minimum radius
 1 = Sharp-edged
 2 = Fixed radius
4 Internal corner radius (for fixed-radius real ID_I_VALUE
corners)
NCI REFERENCE / Tool information (20000s parameters) • 165

22069: Attribute data

Used in: Wire (Agie interface)

Definition: 22069
1 2 3 4 Quick Start
See Wirepath parameters: Attributes page on page 174.

Position Description Type SBL command

1 Piece difficulty level: int ID_WORKCOND


 0 = Normal
 1 = More difficult
 2 = Still more difficult
 3 = Most difficult
Note: these are written to the NCI as 0–3,
but are written to the SBL file as 1–4.

2 Trim cut security level increment real ID_DELTAPS

3 Not used int


166 • MASTERCAM X8 / NCI & Parameter Reference

22070: Collar data

Used in: Wire (Agie interface)

Definition: 22070
1 2 3 4 5 Quick Start
These parameters are used for collar operations only. Note that the quality setting
parameters for LC1, LC2, and LC3 are output on line 22058. See Wirepath
parameters: Collar page on page 175.

Position Description Type SBL command

1 Type of collar: int ID_COLLAR


 0 = Conical section of wirepath opens
to the top
 1 = Conical section of wirepath opens
to the bottom
 2 = Conical sections of wirepath open
to both the top and bottom

2 Collar Z1 real ID_POSZ

3 Collar Alfa 1 (taper angle) real ID_TAPER

4 Collar Z2 real ID_POSZ

5 Collar Alfa 2 (taper angle) real ID_TAPER

22071: Group name

Used in: Wire (Agie interface)

Definition: 22071
string

This is used for No core and collar operations only. See Wirepath parameters:
Group page on page 175.

Position Description Type SBL command

1 Group name string CreateGroup

22072: Group wire name

Used in: Wire (Agie interface)

Definition: 22072
string

This is used for No core and collar operations only. See Wirepath parameters:
Group page on page 175.

Position Description Type SBL command

1 Group wire name string ID_THREAD


NCI REFERENCE / Tool information (20000s parameters) • 167

22073: Group data

Used in: Wire (Agie interface)

Definition: 22073
1 2 3 4 5 6 7 Quick Start
These parameters are used for No core and collar operations only. See Wirepath
parameters: Group page on page 175.

Position Description Type SBL command

1 Erosion sequence priority for group. int ID_PRIORITY

2 Group machine reference (X) real ID_POSX

3 Group machine reference (Y) real ID_POSY

4 Group machine reference (Z) real ID_POSZ

5 Group machine reference (A) real ID_POSA

6 Group machine reference (B) real ID_POSB

7 Group machine reference (C) real ID_ROTATION


168 • MASTERCAM X8 / NCI & Parameter Reference

Machine group properties: Piece Setup tab

Quick Start
NCI REFERENCE / Tool information (20000s parameters) • 169

Machine group properties: Piece Details tab

Quick Start

Wirepath parameters: Machining page


170 • MASTERCAM X8 / NCI & Parameter Reference

Wirepath parameters: User Tech (Technology Database) dialog box

Quick Start
NCI REFERENCE / Tool information (20000s parameters) • 171

Wirepath parameters: Cut parameters page

Quick Start

Wirepath parameters: Start Point page


172 • MASTERCAM X8 / NCI & Parameter Reference

Wirepath parameters: Entry page

Quick Start

Wirepath parameters: Exit page


NCI REFERENCE / Tool information (20000s parameters) • 173

Wirepath parameters: Threading page

Quick Start

Wirepath parameters: Taper page


174 • MASTERCAM X8 / NCI & Parameter Reference

Wirepath parameters: Corners page

Quick Start

Wirepath parameters: Attributes page


NCI REFERENCE / Tool information (20000s parameters) • 175

Wirepath parameters: Group page

Quick Start

Wirepath parameters: Collar page


176 • MASTERCAM X8 / NCI & Parameter Reference

TECH library parameters


NCI lines 22001–22113 are output for each roughing cut and skim pass, for both primary
and taper cuts. The data that you see and select in the Technology Database dialog box is
read from the XML data in the .TECH file; not all of it is visible in the dialog box.
Quick Start
22101: Machine string

Used in: Wire (TECH interface)

Definition: 22101
string

Machine string; used to identify the library.

22102: Control string

Used in: Wire (TECH interface)

Definition: 22102
string

Control string; used to identify the library.

22103: Inch/metric

Used in: Wire (TECH interface)

Definition: 22103
1

Units integer. 0 = inch, 1 = metric.

22104: Power library comment

Used in: Wire (TECH interface)

Definition: 22104
string

Power library comment. This is a single string that is used for the entire library.

22105: Quality description/label

Used in: Wire (TECH interface)

Definition: 22105
string

Quality description/label. This is a comment that applies to the individual pass.

22106: Machining condition code

Used in: Wire (TECH interface)

Definition: 22106
string

Machining condition code. This is output as a string, although it only contains


numeric data. This is also output with the tool change lines (NCI 1000/1001/1002)
as the ccode$ parameter.
NCI REFERENCE / Tool information (20000s parameters) • 177

22107: Piece thickness

Used in: Wire (TECH interface)

Definition: 22107
1 2 3 4 5 6 Quick Start
This line consists of a string of 6 numeric values:
1 Minimum thickness of primary piece.
2 Maximum thickness of primary piece. Note that not all
parts will have different values for maximum and
minimum thickness; in these cases, a single thickness
value will be output in both places.
3 Primary Ra. If the selected Finish (Ra) is a range of
values (see Technology Database dialog box on page
178), the value output with this parameter will be the
average.
4 Minimum thickness of taper piece.
5 Maximum thickness of taper piece; see note for
parameter 2.
6 Taper Ra. If the selected Finish (Ra) is a range of values
(see Technology Database dialog box on page 178), the
value output with this parameter will be the average.

22108: Method for primary cuts

Used in: Wire (TECH interface)

Definition: 22108
string

The class Method for primary cuts.

22109: Method for taper cuts

Used in: Wire (TECH interface)

Definition: 22109
string

The class Method for taper cuts.

22110, 22111: Miscellaneous file paths

Used in: Wire (TECH interface)

Definition: 22110 / 22111


string

Miscellaneous file paths (if any). These are read directly from the .TECH file.

22112: Finish (Ra) for primary cuts

Used in: Wire (TECH interface)

Definition: 22112
string

Finish (Ra) string for primary cuts.


178 • MASTERCAM X8 / NCI & Parameter Reference

22113: Finish (Ra) for taper cuts

Used in: Wire (TECH interface)

Definition: 22113
string Quick Start
Finish (Ra) string for taper cuts.

Technology Database dialog box


NCI REFERENCE / Tool information (20000s parameters) • 179

Validating the post for custom interfaces


Mastercam X4 introduced new validation routines designed to ensure that the post
selected for the wire machine definition has been properly configured to work with the
custom interface.
The Wire control definition includes a new Control Model page: Quick Start

Selecting one of the machines from the Machine model list is what activates the custom
interface.
 Select one of the Agie machines to enable the Agievision interface.
 Select the Makino or Mitsubishi machine to enable the TECH library interface.
The Machine model sets a new predefined variable, controldefault$.
 Selecting Generic sets controldefault$ = 0. No custom interface will be enabled
with this option.
 The 11 different Agie models set controldefault$ equal to a value from 1–11.
In the Agievision post, you will see this line:
sx_nci_default$ : “1.11” #Enable posting for integrated Agievision

MP uses this string to construct a range of valid values (in this case, 1 through 11) that are
used to validate controldefault$. So if the Generic machine model is selected in the
control definition, controldefault$ will equal 0 and an error message will be generated,
because 0 is not included in the range of valid values.
In this way, the single Agievision post can be used with any of the 11 Agie models.
 You can limit the range of valid models by adjusting the value of sx_nci_default$.
 You can implement model-specific customizations by testing for the value of
controldefault$.
For the Makino and Mitsubishi machines, there is only a single Machine model, so when
you select one of these machines, the Control version option is disabled. This is always
output as 0 on the 22002 line.
 For the Makino, sx_nci_default$ = 100.100
 For the Mitsubushi, sx_nci_default$ = 50.50

NOTE: The text of the Machine model string is also available directly as a string
parameter, 22001.
180 • MASTERCAM X8 / NCI & Parameter Reference

Quick Start
chapter 4
Parameter Reference Quick Start

See Capturing values for This chapter lists every parameter used in Mastercam X8. It is divided
10000s parameters on into the following sections:
page 12 to learn more about
capturing parameter values in  Operation & toolpath parameters . . . . . . . . . . . . . . . . page 182
your post.
 Machine definition parameters . . . . . . . . . . . . . . . . . . page 329
 Control definition parameters . . . . . . . . . . . . . . . . . . . page 395
 Machine group parameters . . . . . . . . . . . . . . . . . . . . . page 444
Traditionally, operation parameters have been numbered 10000–19999.
Recent Mastercam versions have seen this range expand:
 Mastercam X3 introduced 30000s parameters, which are
reserved for use by C-hooks; see page 274.
 Mastercam X4 introduced operation parameters numbered in
the 40000s. These are no different from the traditional 10000s
parameters; we just ran out of numbers in that range.
Throughout these sections, notes and annotations indicate parameters
that are only used in previous versions of Mastercam or that are longer
used, and where appropriate, their replacements in later versions.
182 • MASTERCAM X8 / NCI & Parameter Reference

Operation & toolpath parameters

Common parameters Quick Start

General operation parameters


Information used to write the file (header)
19998 Size of the header (removed for X3)
19997 Size of the operation structure (removed for X3)
19996 Major version number (removed for X3)
19995 Minor version number (removed for X3)
19994 Toolpath Group name for these operations (removed
for X3)

OPERATION
15237 Operation ID (op_id$)
15238 Toolpath operation code (tool_op$)
15239 Toolpath comment
15240 The number of the toolpath as shown
in the Toolpath Manager; typically,
these are numbered consecutively in
the order in which the operations are
listed.
OP_DB

OP_COMMON
OP_FILTER
OP_TOOL_INFO
OP_CC
OP_CC
OP_VIEW (Tplane)
OP_VIEW002 (Cplane)
OP_VIEW003 (WCS view data)
OP_MISC
OP_TOOL_DISPLAY
OP_AUX_FILE
OP_CANNED_TEXT
OP_SMOOTHING_3D (new for X4)
OP_SPAWNED_INFO (new for X4)
OP_V8
OP_FEEDRATE_OPTIMIZATION (new for X5)
PARAMETER REFERENCE / Operation & toolpath parameters • 183

OP_SMOOTHING_5D (new for X5)


OP_DEPTH_CUTS

OP_MULTI_CUTS

OP_LEAD_IO Quick Start


OP_HOME_POS

OP_ROTARY

OP_COMMON_LATHE

OP_HOME_POS

15329 Version
15544 Data stream ID
15545 Axis combination ID
15900 String with date/time of operation
generation or regen (new for X7)
Mill Toolpaths
PRM_DRILL

PRM_CONTOUR

PRM_POCKET

PRM_XFORM

PRM_SRF_RGH_PARALLEL

PRM_SRF_RGH_RADIAL

PRM_SRF_RGH_PROJECT

PRM_SRF_RGH_FLOWLINE

PRM_SRF_RGH_CONTOUR

PRM_SRF_RGH_POCKET

PRM_SRF_FIN_PARALLEL

PRM_SRF_FIN_RADIAL
PRM_SRF_FIN_PROJECT

PRM_SRF_FIN_FLOWLINE

PRM_SRF_FIN_CONTOUR

PRM_CHOOK

PRM_CIRCMILL

PRM_RULED

PRM_REVOLVED

PRM_LOFTED

PRM_SWEPT2D

PRM_SWEPT3D

PRM_COONS

PRM_CURVE_5AX
184 • MASTERCAM X8 / NCI & Parameter Reference

PRM_SRF_FIN_PENCIL

PRM_SRF_FIN_LEFTOVER

PRM_SRF_FIN_STEEP

PRM_SRF_FIN_SHALLOW Quick Start


PRM_SRF_FIN_CONSCALOP

PRM_SRF_RGH_PLUNGE

PRM_SRF_FLOW5AX

PRM_SRF_4AX

PRM_SWARF_5AX

PRM_CIRCLE_5AX (new for X4)


PRM_LFINISH

PRM_LROUGH

PRM_LGROOVE

PRM_LDYNAMIC

PRM_LCONTOUR

PRM_LTHREAD

PRM_LDRILL

PRM_LATHE_FACE

PRM_LCUTOFF

PRM_WIRE_CONTOUR

PRM_WCAN_CYCLE

PRM_WIRE_NOCORE

PRM_WIRE_POINT

PRM_WIRE_4AXIS

PRM_THDMILL
PRM_TRIMMED

PRM_SOLID_DRILL

PRM_SLOTMILL

PRM_HELIX_BORE

PRM_SRF_RGH_RESTMILL

PRM_NESTING

PRM_SRF_FIN_BLEND (X)

PRM_MSURF_5AX (X)
PRM_SLICE_5AX (X)
PRM_PORT_5AX (X)
PRM_TAB_CUTOFF Deleted in X2
PRM_SRF_HMM

PRM_2D_HMM (new for X3)


PARAMETER REFERENCE / Operation & toolpath parameters • 185

FBM_DRILLPARAMETERS (new for X3)


PRM_FBM_POCKET (new for X3)
PRM_LCAN_FINISH

PRM_LCAN_ROUGH Quick Start


PRM_LCAN_PATTERN

PRM_LGROOVE

PRM_LROUGH

PRM_LFINISH

PRM_LSTOCK_XFER

PRM_LSTOCK_FLIP

PRM_LBARFEED

PRM_LCHUCK_CLAMP

PRM_LTAILSTOCK

PRM_LSTEADYREST

PRM_LPLUNGE (new for X5)


PRM_ADV_5AX (X2)
PRM_TP_HOLDER (new for X4) (moved for X5)
PRM_PROBE_CYCLE (new for X6)

OP_DB
15254 Start of section fpos in binary file, -1 if not yet
generated (removed in X3)
15255 End of section fpos in binary file, -1 if not yet
generated (removed in X3)
15083 Number of entities in this operation (for alloc)
15084 Number of boundaries in this operation (contour,
pocket)
15085 High entity ID # (used to number boundaries)
15086 NCI marked for regeneration (dirty) (True/False)
15087 Selected for editing, deleting and reordering (True/
False)
15088 Selection expanded in treeview (True/False)
15089 ASCII NCI has been generated and/or posted (True/
False)
15090 Operation imported from library (True/False)
15330 Transform operation ID # that spawned this operation
15497 Aggregate head ID number assigned to this operation
15498 Tool position ID number assigned to this operation
186 • MASTERCAM X8 / NCI & Parameter Reference

15508 Which app last accessed this operation?:


0=none (the Mastercam .exe)
1=toolpath/contour
2=toolpath/pocket
3=toolpath/face
4=helix bore Quick Start
5=slotmill
6=circle mill
10=surface machining appmch
20=mulitaxis curve5ax
21=multiaxis swarf5ax
22=multiaxis msurf5ax
23=multiaxis flow5ax
24=multiaxis rotary4ax
25=multiaxis drill5ax
15509 Which version of the app
15511 Block id# assigned to this operation
15504 Operation id# that spawned this one
15092 Number of entities to display in Operation Manager
15093 Display toolpath (True/False)
15094 ID # of operation this operation replaced
15095 Binary NCI of operation has been edited (True/False)
15096 System level
15256 Don't ever post this operation (removed for X3)
15097 Operation contains solids toolpath entities (True/
False)
15325 Op ID # of trimming operation, null_id for not
trimmed
15326 Number of times the operation has been edited
15571 NCI read: true = NCI section has been read in, false = go
get it when needed (X) (Used to be 15340 prior to
Mastercam X.)
15499 Geometry sub-tree expanded (True/False)
15500 Last tab page in toolpath parameters page (zero-based)
15580 pointer to head of backplot (removed in X3)
15581 pointer to tail of backplot (removed in X3)
15582 source of group’s feed rate
15577 Draw regen? (new for X3)
15608 Operation is synched? (new for X3)
OP_COMMON
10042 Program number
10040 Starting sequence number
10041 Sequence number increment
10020 Clearance plane
10021 Clearance: true = incremental, false = absolute
15100 Clearance plane on (True/False)
15374 Retract plane
10023 Retract: true = incremental, false = absolute
PARAMETER REFERENCE / Operation & toolpath parameters • 187

15101 Retract plane on (True/False)


10024 Feed plane
10025 Feed plane: true = incremental, false = absolute
10029 Toolpath depth
Quick Start
15103 Depth: true = incremental, false = absolute
10026 Rapid up from bottom depth (True/False)
15105 (Obsolete—no longer used)
15106 Use reference point(s) (True/False)
10080 Toolpath reference (retraction) point – X
10081 Toolpath reference (retraction) point – Y
10082 Toolpath reference (retraction) point – Z
15107 NCI output destination file name
10010 Amount of stock to leave
10027 Top of stock
10028 Top of stock: true = incremental, false = absolute
15108 The Force Tool Change checkbox has been enabled in
the operation. Tool change codes will be output to the
NCI file. (True/False)
15109 Use only entities contained in tp_group group id #'s
(True/False)
15110 Use tp_ents from other operations (True/False)
15111 Operation group ID #
10007 For common parameter dialog cmp_to_tip (True/
False)
15112 To batch (op's NCI not immediately generated) (True/
False)
12258 Use reference point(s) (True/False)
12259 Second reference point – X
12260 Second reference point – Y
12261 Second reference point – Z
188 • MASTERCAM X8 / NCI & Parameter Reference

15327 State of approach and retract options. The value of this


parameter is an integer from 0–255 that represents an
eight-bit binary number. Each digit of this binary
number represents the state of an individual
Approach/Retract checkbox option—4 bits for
Approach, and 4 bits for Retract. Three bits represent Quick Start
the X-Y-Z checkboxes, and 1 bit represents Absolute/
Incremental.
If you read the 8 digits from right-to-left, the right-most
digit represents the Absolute/Incremental setting of
the Approach move (Inc = 1). The second bit (#2) is the
on/off state of the X checkbox. The third bit (#3)
represents the Y checkbox, and the fourth represents
the Z checkbox. Positions 5–8 repeat this scheme for
the Retract move.
If you represent the binary digits as positions:
87654321, here is the legend for each bit:

#8—Z: 0 = off, 1=on


#7—Y: 0 = off, 1=on
#6—X: 0 = off, 1=on
#5—Abs/Inc: 0 = Abs, 1 = Inc
#4—Z: 0 = off, 1=on
#3—Y: 0 = off, 1=on
#2—X: 0 = off, 1=on
#1—Abs/Inc: 0 = Abs, 1 = Inc

For example, a value of 152 would represent the binary


value 10011000. This means that for the Approach
move, the Z-axis check box is selected, and Absolute/
Incremental is set to Absolute. For the Retract, Z-axis
check box is selected, and Absolute/Incremental is set
to Incremental.
15339 Use clearance plane at start/end (True/False)
15601 Use rotation tool center point (X2)
15783 Indicates whether the tool uses the alternate index
position: (new for X5)

OP_COMMON001
10701 Clearance plane (removed for X3)
10702 Clearance: true = incremental, false = absolute
(removed for X3)
10700 Clearance plane on (True/False) (removed for X3)
10704 Retract plane (removed for X3)
10705 Retract: true = incremental, false = absolute
(removed for X3)
10703 Retract plane on (True/False) (removed for X3)
PARAMETER REFERENCE / Operation & toolpath parameters • 189

10706 Feed plane (removed for X3)


10707 Feed plane: true = incremental, false = absolute
(removed for X3)
15102 Depth in Z of toolpath (removed for X3)
10708 Rapid up from bottom depth (True/False) (removed Quick Start
for X3)
OP_COMMON002
10105 Feed plane (removed for X3)
10104 Feed plane: true = incremental, false = absolute
(removed for X3)
10107 Depth in Z of toolpath (removed for X3)
10106 Depth: true = incremental, false = absolute (removed
for X3)

OP_COMMON003
15098 Clearance plane (removed for X3)

15099 Clearance: true = incremental, false = absolute


(removed for X3)

10505 Retract plane (removed for X3)

10516 Retract: true = incremental, false = absolute


(removed for X3)

10504 Feed plane (removed for X3)

10514 Feed plane: true = incremental, false = absolute


(removed for X3)

10506 Depth in Z of toolpath (removed for X3)

10518 Depth: true = incremental, false = absolute (removed


for X3)

15104 Rapid up from bottom depth (True/False) (removed


for X3)

15257 For common parameter dialog (removed for X3)

OP_FILTER
15134 Arc filter on (True/False)
15135 Create arcs: true = use arcs, false = lines (removed
in X3)
15136 Maximum tolerance error
15137 Minimum arc radius
15138 Maximum arc radius
190 • MASTERCAM X8 / NCI & Parameter Reference

15082 Amount of look ahead


15340 Create arcs in XY plane (True/False)
15341 Create arcs in XZ plane (True/False)
15342 Create arcs in YZ plane (True/False)
Quick Start
15343 One way (True/False)
15693 0 = Use maximum tolerance for both lines and arcs;
1 = Tighten line filtering tolerance;
2 = Tighten arc filtering tolerace (new for X4)
15694 Reduced tolerance value if 15693 = 1 or 2 (new for X4)

OP_SMOOTHING_3D
15684 Smoothing tolerance (new for X4)
15685 Segment length (new for X4)
15686 1 = Smoothing is turned on (new for X4)
15687 1 = Use fixed segment length (new for X4)
15688 1 = Shift points randomly along toolpath (try to avoid
patterns in neighboring segments (new for X4)
15689 1 = Minimize number of points (enlarge spacing) (new
for X4)
15690 1 = Present arcs as line segments (break arcs) (new for
X4)

OP_FEEDRATE_OPTIMIZATION
15712 Is feed rate optimization on ? (new for X5)
15713 Use STL stock model ? (new for X5)
15714 Filename of STL stock model (new for X5)
15715 Draw STL option is selected (new for X5)
15716 Stock color (new for X5)
15717 STL color (new for X5)
PRM_HF_STOCK (new for X5)
15719 Z clearance (incremental) (new for X5)
15720 Stock (bitmap) tolerance (new for X5)
15721 Draw stock option is selected (new for X5)
15722 RAM (new for X5)
15723 Check for collisions option is selected (new for X5)
15724 Minimum collision volume (new for X5)
15725 Allow tool to cut outside the stock boundary option
is selected (new for X5)
PRM_VOL_INFO (new for X5)
15726 Minimum feed rate (new for X5)
15727 Maximum feed rate (new for X5)
15728 Maximum air cutting feed rate (new for X5)
15729 Up feed rate scale factor (new for X5)
PARAMETER REFERENCE / Operation & toolpath parameters • 191

15730 Down feed rate scale factor (new for X5)


15731 Calculated volume (new for X5)

PRM_HF_STOCK Quick Start


15740 Highfeed stock model : minimum X coord (new for X5)
15741 Minimum Y coord (new for X5)
15742 Minimum Z coord (new for X5)
15743 Highfeed stock model : maximum X coord (new for
X5)
15744 Maximum Y coord (new for X5)
15745 Maximum Z coord (new for X5)

PRM_VOL_INFO

15732 Highfeed reference tool : diameter (new for X5)


15733 Shape: FLAT_TL, SPH_TL, BULL_TL (new for X5)
15734 Corner radius (new for X5)
15735 Depth of cut (new for X5)
15736 Feedrate at depth (new for X5)
15737 Cross-section area of tool (derived value) (new for X5)
15738 Plunge rate (new for X5)
15739 Volume removal rate (new for X5)

OP_SMOOTHING_5D
15702 lower toolpath smoothing tolerance—same in all
directions (“sphere”) (new for X5)
15703 reserved for future use (new for X5)
15704 reserved for future use (new for X5)
15705 reserved for future use (new for X5)
15706 reserved for future use (new for X5)
15707 Overall smoothing on/off (new for X5)
15708 0 = advanced smoothing, 1 = simplified (new for X5)
15709 filtering level : 0 = no filtering, 1 = low, 2 = medium, 3 =
high (new for X5)
15710 Filtering on/off (new for X5)
15711 reserved for future use (new for X5)
192 • MASTERCAM X8 / NCI & Parameter Reference

OP_SPAWNED_INFO
15691 The operation ID of the parent FBM operation that
spawned the current operation (new for X4)
15692 The type of FBM operation that spawned the current
operation (new for X4) Quick Start

OP_MISC
15182 True = on
15190 Misc ints 1-10
15191 Misc ints 1-10
15192 Misc ints 1-10
15193 Misc ints 1-10
15194 Misc ints 1-10
15195 Misc ints 1-10
15196 Misc ints 1-10
15197 Misc ints 1-10
15198 Misc ints 1-10
15199 Misc ints 1-10
15200 Misc reals 1-10
15201 Misc reals 1-10
15202 Misc reals 1-10
15203 Misc reals 1-10
15204 Misc reals 1-10
15205 Misc reals 1-10
15206 Misc reals 1-10
15207 Misc reals 1-10
15208 Misc reals 1-10
15209 Misc reals 1-10

OP_MISC_001
13382 Custom Parameters enabled for lathe misc ops?
1 = Custom Parameters option selected, otherwise 0.
(new for X4)
13383–13392 Integer custom parameter values. (new for X4)
13393–13402 Real custom parameter values (new for X4

OP_TOOL_DISPLAY
15235 Use tool display (True/False)
10085 Mode: true = step, false = run
10086 Delay in seconds
10087 Step mode: true = step, false = endpoints
10088 Amount of step increment
PARAMETER REFERENCE / Operation & toolpath parameters • 193

10089 Tool motion:True = animate, false = static

OP_ROTARY
15236 Rotary axis: true = on Quick Start
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 (endpoint)
15259 Axis of rotation line (endpoint)
15260 Axis of rotation line (endpoint)
15261 Axis of rotation line (endpoint)
15262 Axis of rotation line (endpoint)
15263 Axis of rotation line (endpoint)
15558 Rotary diameter (was 10072) (X)
15371 Direction: CW or CCW
15372 Axis to substitute, relative to view: 1 = X, 2 = Y
15373 Angle point 0,0 rolls to
10073 Unroll enabled (True/False)
10074 Unroll tolerance

OP_COMMON_LATHE
13150 Use toolpath entry point (True/False)
13151 Toolpath start point
13152 Toolpath start point
13153 Toolpath start point
13154 Use toolpath retraction point (True/False)
13155 Update boundaries for current operation (True/False)
13156 Update boundaries for subsequent operations (True/
False)
13157 Stock boundaries are valid for operation (True/False)
13158 Regenerate toolpath for tool collision (True/False)
13159 Entity ID for left stock boundary
13160 Entity ID for right stock boundary
13161 Entity ID for left chuck boundary
13162 Entity ID for right chuck boundary
13163 Entity ID for tailstock boundary
13173 Entry angle for remaining stock (in radians)
13174 Exit angle for remaining stock (in radians)
13175 Do remaining stock analysis for operation (True/False)
13196 Tool clearance: true = use clearance from operation,
false = from job setup
13197 Boundary avoidance clearance for lathe tools
194 • MASTERCAM X8 / NCI & Parameter Reference

13198 Entry/exit vector clearance


13199 Keep uncut stock (True/False)
13204 Entity ID for steadyrest boundary
13458 Retract clearance for lathe canned toolpaths (new for
X5) Quick Start

OP_AUX_FILE
15113 On (True/False)
15114 File name
15115 File date
15253 Aux file marked for regeneration (dirty) (True/False)

OP_CANNED_TEXT
15120 On (True/False)
15121 Canned text 0-99, 1000-1099, 2000-2099
15122 Canned text 0-99, 1000-1099, 2000-2099
15123 Canned text 0-99, 1000-1099, 2000-2099
15124 Canned text 0-99, 1000-1099, 2000-2099
15125 Canned text 0-99, 1000-1099, 2000-2099
15126 Canned text 0-99, 1000-1099, 2000-2099
15127 Canned text 0-99, 1000-1099, 2000-2099
15128 Canned text 0-99, 1000-1099, 2000-2099
15129 Canned text 0-99, 1000-1099, 2000-2099
15130 Canned text 0-99, 1000-1099, 2000-2099
15531 Additional canned text/events (X)
15532 Additional canned text/events (X)
15533 Additional canned text/events (X)
15534 Additional canned text/events (X)
15535 Additional canned text/events (X)
15536 Additional canned text/events (X)
15537 Additional canned text/events (X)
15538 Additional canned text/events (X)
15539 Additional canned text/events (X)
15540 Additional canned text/events (X)

OP_V8
15131 The ‘from pt’ used when translating – X
15132 The ‘from pt’ used when translating – Y
15133 The ‘from pt’ used when translating – Z
15602 Tool change type (removed for X3)
15603 Tool change approach event list (X2)
15604 Tool change approach event list (X2)
PARAMETER REFERENCE / Operation & toolpath parameters • 195

15609 Tool change state (new for X3)


15610 UID for tool change event list, approach (new for X3)
15634 UID for tool change event list, retract (new for X3)
15658 UID for tool change event list, null tool change (new
for X3) Quick Start

15682 Tool change event list, null tool change (new for X3)

OP_DEPTH_CUTS
15211 Depth cuts: true = on
10065 Max rough step size
10066 Number of finish cuts
10067 Z depth of finish cuts
10068 Stock to leave
15378 Output subprogram labels (True/False)
10069 Keep tool down (True/False)
10064 Use island depths (True/False)
15868 Number of rough cuts (multiaxis) (new for X6)
15379 Depth cut order: true = by depth, false = by contour
15452 Subprogram output mode: true = incremental, false =
absolute

OP_MULTI_CUTS
15214 Multi passes: true = on
15560 Number of roughing cuts (was 10106) (X)
15561 Depth of roughing cuts (was 10107) (X)
15380 Number of finish cuts
15381 Depth of finish cuts
15385 Keep tool down (True/False)

Tool settings
OP_TOOL_INFO
10002 Tool number
10090 Tool type ID number
10091 Radius type: None, corner or full
10005 Tool diameter
10006 Tool corner radius
15139 Threads per inch or thread pitch (mm)
10092 Tool tip angle
10003 Diameter offset number
10004 Length offset number
196 • MASTERCAM X8 / NCI & Parameter Reference

10030 Feed rate


10031 Plunge rate
15140 Retract rate
10034 Spindle speed
Quick Start
15141 Merged from ASCII NCI file (True/False)
10035 Spindle speed is CSS (True/False)
15345 Feed rate is actually a surface finish (True/False)
15375 Plunge feed rate is actually a surface finish (True/False)
10022 Coolant: 0 = off, 1 = flood, 2 = mist, 3 = tool (spindle)
15143 Number of flutes
10093 Tool material: HSS, CAR, etc.
10094 Tool description
15144 Mastercam tool reference geometry filename
LTOOL_REC
15145 Values in metric (True/False)
15146 Station number for mill-turn
15147 Active turret (for mill-turn)
15148 Active spindle (for mill-turn)
15149 Internal tool ID #
10036 Maximum spindle speed (lathe)
15376 Custom tool display comes from: auto(0), file (1) or
level (2)
15377 Tool reference level
15541 Which machine group it belongs to (X)
15542 0 = not a virtual turret, 1+ = virtual turret number, use
with MATTS (X)
Deleted in (X2)
15886 Indicates whether the Scalable option is selected for
custom tool geometry (new for X7)
15543 Component group to which tool belongs (X)
OP_TOOL_INFO002
13165 Tool diameter (removed for X3)
13166 Tool corner radius (removed for X3)
15139 Threads per inch or thread pitch (mm) (removed for
X3)
10512 Tool tip angle (removed for X3)
13167 Diameter offset number (removed for X3)
15377 Tool reference level (removed for X3)

OP_TOOL_INFO003
14050 Tool corner radius (removed for X3)
14051 Threads per inch or thread pitch (mm) (removed for
X3)
14052 Tool tip angle (removed for X3)
14053 Plunge rate (removed for X3)
PARAMETER REFERENCE / Operation & toolpath parameters • 197

14054 Retract rate (removed for X3)


14055 Spindle speed (removed for X3)
14056 Spindle speed is CSS (True/False) (removed for X3)
14124 Feed rate is actually a surface finish (True/False)
(removed for X3) Quick Start
14125 Plunge rate is actually a surface finish (True/False)
(removed for X3)
14058 Coolant: 0 = off, 1 = flood, 2 = mist, 3 = tool (spindle)
(removed for X3)
14059 Number of flutes (removed for X3)
14060 Station number (for mill-turn) (removed for X3)
14061 Active turret (for mill-turn) (removed for X3)
14062 Active spindle (for mill-turn) (removed for X3)
14063 Internal tool ID # (removed for X3)
14064 Maximum spindle speed (lathe) (removed for X3)

OP_CC
15346 Compensation type:
0 = computer
1 = control
2 = wear
3 = reverse wear
4 = off
15347 Compensation direction: 0 = Left, 1 = Right, 2 = Auto
(for lathe finish operation)
10070 Roll around sharp corners
15563 Optimize: (applicable only when type =
COMP_CONTROL) (True/False) (X) (was 10124 before
X)

OP_CC001 (for Pocket paths)


10426 Optimize: (applicable only when type =
COMP_CONTROL) (True/False) (removed for X3)

OP_CC002 (for Lathe and Wire operations)


15151 Optimize: (applicable only when type =
COMP_CONTROL) (True/False) (removed for X3)

LTOOL_REC
13200 Tool orientation number
13201 Corner radius
13202 Width (tool clearance data)
15241 Height (tool clearance data)
15242 Angle (in radians)
198 • MASTERCAM X8 / NCI & Parameter Reference

15243 Rake angle (in radians)


15244 Tool center position
15245 Tool center position
15246 back_v
Quick Start
15247 back_v
15248 front_v
15249 front_v
15250 Back used (True/False)
15251 Front used (True/False
15552 Tool Angle
15553 Spindle orient angle

PRM_TP_TOOL
OP_TOOL_INFO
15830 Required pilot diameter: <= 0.0 means center cutting, >
0 means required “pre-drilled” hole (new for X6)
15831 Flute length (new for X6)
15832 Overall tool length (new for X6)
15833 Shoulder length (new for X6)
15834 Shank/arbor diameter (new for X6)
15835 Holder diameter (new for X6)
15836 Length of tool holder (new for X6)
15837 Spindle rotation: 0=CW, 1=CCW (new for X6)
15838 Cutting speed: % of material (new for X6)
15839 Feed per tooth: % of material (new for X6)
15840 Manufacturer’s tool code (new for X6)
15841 Chuck comment (new for X6)
PRM_TOOL_ATTR_D
RILL
PRM_TOOL_ATTR_MI
LL
PRM_TOOL_ATTR_H
EAD
15871 True = Used on an aggregate head (new for X6)
15842 True = Tool created on the fly in a FBM-type operation
(new for X6)
15843 Diameter of the shoulder: 0 means same as diameter,
so used only if different (new for X6)
15844 Portion of tool length that is tapered, beginning at top
of shoulder, and proceding up (new for X6)
15845 Canned text coolant setting #1 (new for X6)
15846 Canned text coolant setting #2 (new for X6)
15847 Canned text coolant setting #3 (new for X6)
PARAMETER REFERENCE / Operation & toolpath parameters • 199

15848 Canned text coolant setting #4 (new for X6)


15849 Canned text coolant setting #5 (new for X6)
15850 Canned text coolant setting #6 (new for X6)
15851 Canned text coolant setting #7 (new for X6)
Quick Start
15852 Canned text coolant setting #8 (new for X6)
15853 Canned text coolant setting #9 (new for X6)
15854 Canned text coolant setting #10 (new for X6)
15855 Canned text coolant setting #11 (new for X6)
15856 Canned text coolant setting #12 (new for X6)
15857 Canned text coolant setting #13 (new for X6)
15858 Canned text coolant setting #14 (new for X6)
15859 Canned text coolant setting #15 (new for X6)
15860 Canned text coolant setting #16 (new for X6)
15861 Canned text coolant setting #17 (new for X6)
15862 Canned text coolant setting #18 (new for X6)
15863 Canned text coolant setting #19 (new for X6)
15864 Canned text coolant setting #20 (new for X6)

PRM_TOOL_ATTR_MILL
15796 Capable of: Rough, Finish, Both (new for X6)
15797 Rough XY step (new for X6)
15798 Rough Z step (new for X6)
15799 Finish XY step (new for X6)
15800 Finish Z step (new for X6)
15801 Chamfer mill: diameter at tool tip (new for X6)
15802 Thread mill: root diameter of threads (new for X6)
15803 Thread face angle (typically, 1/2 of included angle)
(new for X6)

PRM_TOOL_ATTR_DRILL
15804 Code for cycle type (new for X6)
15805 Peck 1 (% diam.) (new for X6)
15806 Peck 2 (% diam.) (new for X6)
15807 Peck clearance (% diam.) (new for X6)
15808 Chip break (% diam.) (new for X6)
15809 Dwell (new for X6)
15810 Spot drill: shoulder angle (new for X6)
15811 Tap: thread root diameter (new for X6)
15812 Shift value (% diam.) for fine boring (new for X6)
200 • MASTERCAM X8 / NCI & Parameter Reference

PRM_TOOL_ATTR_HEAD
15813 Type of head: 0=Standard, 1=Right angle, 2=Compound
angle, 3=Drill block, 4 = UST (new for X6)
15814 Work offset (new for X6)
15815 Tool axis vector: X (new for X6) Quick Start

15816 Tool axis vector: Y (new for X6)


15817 Tool axis vector: Z (new for X6)
15818 Initial tool direction vector for use with programmable
C-axis: X (new for X6)
15819 Initial tool direction vector for use with programmable
C-axis:Y (new for X6)
15820 Initial tool direction vector for use with programmable
C-axis:Z (new for X6)
15821 Block offset: X (new for X6)
15822 Block offset: Y (new for X6)
15823 Block offset: Z (new for X6)
15824 Offset from first lead tool: X (new for X6)
15825 Offset from first lead tool: Y (new for X6)
15826 Offset from first lead tool: Z (new for X6)
15827 Bitwise head numbers (new for X6)
15828 True = tool is enabled (new for X6)
15829 View number for this tool (new for X6)

View information
OP_VIEW (Tplane)
15152 Tool plane is on
15153 Tool plane view number at time of creation
15154 Tool plane view matrix
15155 Tool plane view matrix
15156 Tool plane view matrix
15157 Tool plane view matrix
15158 Tool plane view matrix
15159 Tool plane view matrix
15160 Tool plane view matrix
15161 Tool plane view matrix
15162 Tool plane view matrix
15163 Tool plane origin (world coordinates)
15164 Tool plane origin (world coordinates)
15165 Tool plane origin (world coordinates)
15348 Named view ID #
15166 User defined work offset number
PARAMETER REFERENCE / Operation & toolpath parameters • 201

OP_VIEW002 (Cplane)
15167 Construction plane is on
15168 Construction plane view number at time of creation
15169 Construction plane view matrix
Quick Start
15170 Construction plane view matrix
15171 Construction plane view matrix
15172 Construction plane view matrix
15173 Construction plane view matrix
15174 Construction plane view matrix
15175 Construction plane view matrix
15176 Construction plane view matrix
15177 Construction plane view matrix
15178 Construction plane origin (world coordinates)
15179 Construction plane origin (world coordinates)
15180 Construction plane origin (world coordinates)
15349 Named view ID #
15181 User-defined work offset number

OP_VIEW003 (WCS view data)


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

Lead in/out, entry/exit


OP_LEAD_IO
15233 Lead in/out: true = on
OP_ENTRY_EXIT
OP_ENTRY_EXIT001
202 • MASTERCAM X8 / NCI & Parameter Reference

15562 Overlap amount (was 10117) (X)


15234 Enter at midpoint of first entity for closed contours
(True/False)
15328 Check entry/exit motion for gouges (True/False)
15449 Output first move before plunge (True/False) Quick Start
15450 Output last move after plunge (True/False)
OP_LEAD_IO001
10420 Overlap amount (removed for X3)

OP_ENTRY_EXIT
15219 Use entry / exit entities (True/False)
15386 Line: true = perpendicular, false = tangent (was 10102)
(X)
15387 Length of entry/exit line (was 10103) (X)
15220 Line ramp height
15388 Radius of entry/exit arc (was 10104) (X)
15559 Sweep angle of entry arc (in radians) (was 10105) (X)
15221 Arc helix height
15382 Output entry/exit on only first/last depth cut (True/
False)
15222 Use entry/exit point (True/False)
15223 Use entry/exit point depth (True/False)
15224 Length of entry/exit line as % of tool diameter
15225 Radius of entry/exit arc as % of tool diameter

OP_ENTRY_EXIT001
15565 Line: true = perpendicular, false = tangent (was
10307) (X) (removed for X3)
15566 Length of entry/exit line (was 10310) (X) (removed for
X3)
15567 Radius of entry/exit arc (was 10311) (X) (removed for
X3)
15568 Sweep angle of entry arc (in radians) (was 10312) (X)
(removed for X3)
10419 Output entry/exit on only first/last depth cut (True/
False) (removed for X3)
15226 Use entry exit entities (True/False)
15383 Line: true = perpendicular, false = tangent (was 10118)
(X)
10119 Length of entry/exit line
15227 Line ramp height
10120 Radius of entry/exit arc
10121 Sweep angle of entry arc (in radians)
15228 Arc helix height
15389 Output entry/exit on only first/last depth cut (True/
False)
PARAMETER REFERENCE / Operation & toolpath parameters • 203

15229 Use entry/exit point (True/False)


15230 Use entry/exit point depth (True/False)
15231 Length of entry/exit line as % of tool diameter
15232 Radius of entry/exit arc as % of tool diameter
Quick Start

OP_ENTRY_EXIT_PK001
10421 Line: true = perpendicular, false = tangent (removed
for X3)
10422 Length of entry/exit line (removed for X3)
10423 Radius of entry/exit arc (removed for X3)
10424 Sweep angle of entry arc (in radians) (removed for
X3)
10425 Output entry/exit on only first/last depth cut (True/
False) (removed for X3)

OP_HOME_POS
15215 Home pos: true = on
15216 Tool home position X
15217 Tool home position Y
15218 Tool home position Z

OP_HOME_POS001
10008 Tool home position X (was 10007) (X) (removed for
X3)
10009 Tool home position Y (was 10008) (X) (removed for
X3)
13168 Tool home position Z (removed for X3)

Mill & Router parameters

Contour toolpaths
PRM_CONTOUR
PRM_CTOURPOCK
10101 Infinite look-ahead is enabled (True/False) (Pre-X)
10071 Infinite look-ahead is enabled (True/False) (X)
10113 Maximum depth variance
PRM_REMACH_CTOUR
PRM_CHAMFER_CTOUR
204 • MASTERCAM X8 / NCI & Parameter Reference

12014 Contour type:


0 = 2D Contour
1 = 3D Contour
2 = 2D Chamfer
3 = 3D Chamfer
4 = Ramp Quick Start
5 = Remaching
12015 Tapered wall contour enabled (True/False)
12016 Taper angle (in radians)
12017 Depth cut order: true = by depth, false = by contour
PRM_EXT_SHORT Start extend/shorten
PRM_EXT_SHORT002 End extend/shorten
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)
PRM_TP_COMMON (X)
PRM_TAB (X)
PRM_CHAIN_SORT (X)
PRM_OSCILLATE_CTOUR (new for X3)
12709 Position tabs automatically, based on distance between
tabs (new for X3)
12710 Max distance between tabs (used in conjunction with
12709) (new for X3)
PRM_ROUT_COMMON (Pre-X)
PRM_ROUT_TAB (Pre-X)
15785 Internal corner rounding radius (new for X6)
15475 Feed rate override (new for X8)
15476 Spindle speed override (new for X8)
15477 Feed rate override enabled (True/False) (new for X8)
15478 Spindle speed override enabled (True/False) (new for
X8)

PRM_REMACH_CTOUR
10431 Remaining stock mode: 0 = all previous operations, 1 =
the previous operation, 2 = rough tool diameter
10432 Roughing tool diameter
12000 Clearance as a percentage of the tool diameter
10433 Clearance to unmachined stock
10434 Machine complete finish passes (True/False)
10410 Remachining tolerance percentage
10411 Remachining tolerance
12002 Display stock for remachining (True/False)
PARAMETER REFERENCE / Operation & toolpath parameters • 205

PRM_CTOURPOCK
12553 Linearization tolerance (used to be 10110) (X)
10314 Finish all (True/False) (used to be 10114) (X)
12004 Tip comp: true = tool tip, false = tool center
Quick Start
PRM_CTOURPOCK001
(this entire group removed for X3)

PRM_CHAMFER_CTOUR
12005 Chamfer width
12006 Chamfer tip offset
12007 Chamfer depth

PRM_RAMP_CTOUR
12008 Ramp contour option: 0 = angle, 1 = depth, 2 = plunge
12009 Ramp angle
12010 Ramp/plunge depth
12011 Ramp one way on open contours (True/False)
12012 Linearize ramp contour helixes (True/False)
12013 Ramp contour helix linearization tolerance
15507 True = output pass at final depth

PRM_EXT_SHORT
15489 Extend/shorten is enabled (True/False)
15490 Extend / shorten: true = extend, false = shorten
15491 Distance to extend / shorten
15492 Percentage of tool diameter

PRM_EXT_SHORT002
15493 Extend / shorten is enabled (True/False)
15494 Extend / shorten: true = extend, false = shorten
15495 Distance to extend / shorten
15496 Percentage of tool diameter

PRM_ROUT_COMMON
(This group was replaced by PRM_TP_COMMON for Mastercam X.)

PRM_TP_COMMON
16000 Breakthrough enabled (True/False)
16001 Breakthrough amount

PRM_ROUT_TAB
206 • MASTERCAM X8 / NCI & Parameter Reference

(This group was replaced by PRM_TAB for Mastercam X.)

PRM_TAB
16002 Tabs enabled (True/False)
Quick Start
16003 Automatically calculate tab positions (True/False)
16004 Number of tabs (for auto tab)
16005 Tab width
16006 Tab thickness
16007 Full thickness tab (True/False)
16008 Tab point: (0 = start, 1 = midpoint, 2 = end) of tab
16009 Tab entry/exit (0 = vertical, 1 = arc, 2 = ramp)
16010 Arc radius
16011 Percentage of tab thickness (arc radius)
16012 Ramp angle
16013 Use advanced auto tab positioning (True/False)
16014 Use feed plane for full height tabs (True/False)
16015 Use points on chain for start & tab positions (True/
False)
16016 Minimum distance from endpoint
16017 Minimum distance between tabs
16018 Minimum distance from sharp corner
16019 Sharp corner angle
16020 X dimension of maximum size shape to tab
16021 Y dimension of maximum size shape to tab
16022 Tab all shapes
16053 Overwrite tab edit (True/False)
16054 Cutoff type (0 = none, 1 = after)
16055 Do tab cutoff pass on finish (True/False)

PRM_WIRE_WSORT
(This group was replaced by PRM_CHAIN_SORT for Mastercam X.)

PRM_CHAIN_SORT
14072 Sort method
14073 Sort start angle for rotary sort

PRM_OSCILLATE_CTOUR
12706 Oscillation strategy (linear or highspeed) (new for X3)
12707 Distance along contour (new for X3)
12708 Maximum depth (new for X3)
PARAMETER REFERENCE / Operation & toolpath parameters • 207

Drill toolpaths
PRM_DRILL
10100 Drill cycle
10108 First peck increment Quick Start
10109 Subsequent peck increment
10110 Peck clearance
10111 Retraction distance for chip break
10112 Dwell
10118 Pre-defined bore shift
10117 Add this amount to total depth
10115 Adjust depth per drill tip (True/False)
12018 Drill point sorting method used
15071 Custom drill cycle parameters
15072 Custom drill cycle parameters
15073 Custom drill cycle parameters
15074 Custom drill cycle parameters
15075 Custom drill cycle parameters
15076 Custom drill cycle parameters
15077 Custom drill cycle parameters
15078 Custom drill cycle parameters
15079 Custom drill cycle parameters
15080 Custom drill cycle parameters
15081 Use custom parameters is checked (True/False)
12019 Drill5ax output format axis type selected: 0=3 axis, 1=4
axis, 2=5 axis
12020 Use points and lines or points
12021 Tool axis option
12022 Tip position control
12023 Project type (to plane or surface)
12024 5-axis tool display length
12025 Drill5ax output format 4-axis type axis selected
(0 = X, 1 = Y, 2 = Z)
12254 Plane vector for drill5ax plane option
12255 Plane vector for drill5ax plane option
12256 Plane vector for drill5ax plane option
15212 Output 1018 NCI (sub program) line in drill cycle
(True/False)
15213 Subprogram output mode: true = incremental, false =
absolute
15277 Operation was created as a automatic start hole
operation (True/False)

PRM_5AX_LIMIT (new for X3)


M5_SAFETY_ZONE (new for X7)
208 • MASTERCAM X8 / NCI & Parameter Reference

41150 Finish diameter value from Depth Calculator (new for


X8)

Quick Start

Pocket toolpaths
PRM_POCKET
PRM_CTOURPOCK (new for X3)
12045 Roughing enabled (True/False)
12046 Finishing enabled (True/False)
15564 Machining direction: true = climb mill, false =
conventional (was 10401) (X)
10315 Create additional finish operation (True/False)
10208 Cutting method: 0 = zigzag, 1 = spiral inside out, 2 =
spiral outside in (was 10300) (X)
10302 Roughing step size
10414 Roughing step size (percentage)
10301 Roughing angle
10416 Spiral inside to outside (True/False)
10427 Minimize tool burial (True/False) (was 10415) (X)
10304 Number of finish passes
10305 Finish pass step size
10417 Finish outer boundary (True/False)
15569 Optimize finish passes (True/False) (was 10321) (X)
10418 Keep tool down (True/False)
10313 Output finish passes with rough pass (True/False)
10410 Remachining tolerance (percentage)
10411 Remachining tolerance
10412 Display stock for remachining (True/False)
10413 Display stock for constant overlap spiral (True/False)
PRM_TAPER

PRM_RGH_ENTRY

PRM_POCK_FACING
15570 Compensation for finish passes (was 10350) (X)
15524 True = display stepover (X)
PRM_REMACH_POC
K
PRM_OPEN_POCK

12017 Depth cut order: true = by depth, false = by pocket


PARAMETER REFERENCE / Operation & toolpath parameters • 209

10450 Pocket type: 0 = standard, 1 = facing, 2 = island facing, 3


= remachining, 4 = open

PRM_PKT_HSOPTS

15474 Number of finish spring cuts


Quick Start
15475 Feed rate override
15476 Spindle speed override
15477 Feed rate override enabled (True/False)
15478 Spindle speed override enabled (True/False)
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)
PRM_CHAIN_SORT

PRM_TP_COMMON

PRM_ROUT_POCK
This parameter group replaced by PRM_POCKET.
16030 Roughing enabled (True/False) (removed for X3)
16031 Finishing enabled (True/False) (removed for X3)
16032 Machining direction: true = climb mill, false =
conventional (removed for X3)
16033 Create additional finish operation (True/False)
(removed for X3)
16034 Cutting method: 0 = zigzag, 1 = spiral inside out, 2 =
spiral outside in (removed for X3)
16035 Roughing step size (removed for X3)
16036 Roughing step size (percentage) (removed for X3)
16037 Roughing angle (removed for X3)
16038 Spiral inside to outside (True/False) (removed for X3)
16039 Minimize tool burial (True/False) (removed for X3)
16040 Number of finish passes (removed for X3)
16041 Finish pass step size (removed for X3)
16042 Finish outer boundary (True/False) (removed for X3)
16043 Optimize finish passes (True/False) (removed for X3)
16044 Keep tool down (True/False) (removed for X3)
16045 Output finish passes with rough pass (True/False)
(removed for X3)
16046 Remachining tolerance percentage (removed for X3)
16047 Remachining tolerance (removed for X3)
16048 Display stock for remachining (True/False) (removed
for X3) (removed for X3)
16049 Display stock for constant overlap spiral (True/False)
(removed for X3)
210 • MASTERCAM X8 / NCI & Parameter Reference

16050 Compensation for finish passes (removed for X3)


16028 Depth cut order: true = by depth, false = by pocket
(removed for X3)
16051 Pocket type: 0 = standard, 1 = facing, 2 = island
facing, 3 = remachining, 4 = open (removed for X3) Quick Start

PRM_TAPER
12026 Tapered wall pocketing enabled (True/False)
12567 Tapered wall pocketing: Base taper angle (in radians)
(was 10331) (X)
12568 Tapered wall pocketing: Island taper angle (in radians)
(was 10332) (X)

PRM_RGH_ENTRY
12042 Rough entry on (True/False)
12569 Entry type: 0 = helix, 1 = ramp, 2 = entry point (was
10380) (X)
PRM_HELIX
PRM_RAMP

PRM_RAMP
12030 Minimum length
12031 Maximum length
12032 Z clearance (relative to top of stock / previous depth)
12033 Zig plunge angle
10390 Zag plunge angle
12034 XY clearance
10388 Ramp direction
10391 Calculate ramp direction automatically (True/False)
12035 Direction: true = CCW, false = CW
12036 Entry attemps fail: true = skip, false = plunge
12037 Save boundary (True/False)
10392 Additional slot width
12038 Use entry point (True/False)
12555 Use entry point depth (True/False) (was 10400) (X)
12039 Minimum length % (of tool dia.)
12040 Maximum length % (of tool dia.)
12041 Entry feed rate: true = feed rate, false = plunge rate

PRM_POCK_FACING
12560 Overlap percentage (was 10406) (X)
PARAMETER REFERENCE / Operation & toolpath parameters • 211

10407 Overlap amount


12562 Approach distance (was 10408) (X)
12563 Stock above islands (was 10409) (X)
12043 Exit distance
Quick Start

PRM_REMACH_POCK
10431 Mode: 0 = all previous operations, 1 = previous
operation, 2 = rough tool diameter
10432 Roughing tool diameter
12000 Clearance as a percentage of the tool diameter
10433 Clearance to unmachined stock
12001 Apply entry/exit curves to the rough pass (True/False)
10434 Machine complete finish passes (True/False)

PRM_OPEN_POCK
10441 Overlap as a percentage of tool diameter
12413 Overlap distance on the open side
12044 Use a specialized open cutting method (True/False)
40011 Use Standard pocket for closed chains option: 1 = this
option is not selected (allows multiple & non-linear
open edges); 0 = this option is selected. (new for X4)

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

PRM_THINWALL
15483 Thinwall on (True/False)
15484 Number of thinwall cuts
15503 Finish direction: true = climb cut, false = conventional
cutting

Wireframe toolpaths
PRM_RULED
10208 Cutting method: 0 = zigzag, 1 = one way, 2 = circular, 3 =
5ax swarf
12212 5-axis swarf angle
12213 Constant Z cutting enabled (True/False)
12214 Constant Z cutting - initial
12215 Constant Z cutting - final
212 • MASTERCAM X8 / NCI & Parameter Reference

12216 Constant Z cutting - step


12217 Stepover amount (across cut distance)
12218 Trimming plane 1: 0 = X, 1 = Y, 2 = Z, 3 = none
12219 Trimming plane 1 coordinate
Quick Start
12220 Trimming plane 2 : 0 = X, 1 = Y, 2 = Z, 3 = none
12221 Trimming plane 2 coordinate
12222 Trimming plane control: true = trim the toolpath, false
= trim the tool
12223 Gouge check: true = perp to machining angle, false =
off
12004 Tip comp: true = tool tip, false = tool center
12224 Sync option setting: 0 = None, 1 = by Entity, … 6 =
Manual/Density

PRM_CHAIN_SORT (X)
PRM_REVOLVED
12225 Axis: X, Y or L: L = toolpath point entity points to the
axis
12226 Trim: N = nothing, H = height, W = width
12227 Shape: True = concave, false = convex
12228 Retract to reference plane (True/False)
12229 Retract amount (absolute)
12054 Stepover amount
12230 Center
12231 Axis Depth (abs)
12232 Height (under ‘Trim toolpath to’)
12233 Width – From (under ‘Trim toolpath to’)
12234 Width – To (under ‘Trim toolpath to’)
12235 Trim sign
12236 Trim sign
12004 True = comp to tool tip, false = tool center
12237 True = rapid between passes, false = feed (X)
PRM_CHAIN_SORT

PRM_SWEPT2D
12239 Across cut distance
PARAMETER REFERENCE / Operation & toolpath parameters • 213

12241 Across: roll cutter around corners (0 = none, 1 = sharp,


2 = all)
12242 Across: cutter comp in computer (0 = right, 1 = left)
12243 Along: roll cutter around corners (0 = none, 1 = sharp, 2
= all) Quick Start
12244 Along: cutter comp in computer (0 = right, 1 = left)
12004 Tip comp: true = tool tip, false = tool center
12224 Sync option setting: 0 = none, 1 = by entity, ... 6 =
manual/density
12409 Infinite look ahead enabled (True/False)
PRM_CHAIN_SORT

PRM_SWEPT3D
10208 Cut direction: 0 = zigzag, 1 = one way, 2 = circular, 3 =
5ax swarf
12238 Along cut distance
12239 Across cut distance
12004 Tip comp: true = tool tip, false = tool center
12224 Sync option setting: 0 = none, 1 = by entity, ... 6 =
manual/density
12240 Direction: 0 = along, 1 = across
12245 Rotate/translate: 0 = rotate the across contour, 1 =
translate
12246 Number of across contours: 1 or 2
PRM_CHAIN_SORT

PRM_COONS
10208 Cut method: 0 = zigzag, 1 = one way, 2 = circular, 3 = 5ax
swarf
12247 Blending: 0 = linear, 1 = parabolic, 2 = cubic, 3 = cubic
with slope matching

12238 Along cut distance


12239 Across cut distance
12004 Tip comp: true = tool tip, false = tool center
12224 Sync option setting: 0 = none, 1 = by entity, ... 6 =
manual/density
12240 Direction: 0 = along, 1 = across
12248 Number of patches in across direction
12249 Number of patches in along direction
PRM_CHAIN_SORT (X)

PRM_LOFTED
10208 Cut method: 0 = zigzag, 1 = one way, 2 = circular, 3 = 5ax
swarf
214 • MASTERCAM X8 / NCI & Parameter Reference

12238 Cutting direction: Along (True/False)


12239 Cutting direction: Across (True/False)
12004 Tip comp: true = tool tip, false = tool center
12224 Sync option setting: 0 = None, 1 = by Entity, … 6 = Quick Start
Manual/Density

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


PRM_CHAIN_SORT

Circle toolpaths
PRM_CIRCMILL

PRM_TP_COMMON (X)
12004 Comp to tip (True/False)
12107 Thread start angle
12206 Entry/exit arc 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
(True/False)
12210 Enable roughing (True/False)
12055 Stepover as a percentage of the tool diameter
12054 Stepover
12211 Enable helical entry (True/False)
PRM_HELIX

12265 Machine finish passes at: true = all depths, false = final
depth
40282 Enable Semi-Finish passes option (new for X5)
40283 Enable Finish passes option (new for X5)
40284 Semi-finish override feed rate (new for X5)
40285 Semi-finish override spindle speed (new for X5)
40286 Use semi-finish override feed rate ? (new for X5)
PARAMETER REFERENCE / Operation & toolpath parameters • 215

40287 Use semi-finish override spindle speed ? (new for X5)


40288 Finish override feed rate (new for X5)
40289 Finish override spindle speed (new for X5)
40290 Use finish override feed rate ? (new for X5) Quick Start
40291 Use finish override spindle speed ? (new for X5)
40292 Entry pass override feed rate (new for X5)
40293 Use entry pass override feed rate ? (new for X5)
40294 Exit pass override feed rate (new for X5)
40295 Use exit pass override feed rate ? (new for X5)
40296 High speed entry angle, in radians (new for X5)
40297 Enable High speed entry option? (new for X5)
12919 Point sorting method (new for X8)

PRM_ROUT_CIRC
(This group deleted, replaced by PRM_CIRCMILL.)

PRM_HELIX
10389 Minimum radius
10381 Maximum radius
10386 Z clearance (relative to top of stock / previous depth)
10382 Plunge angle (in radians)
10385 XY clearance
10384 Direction: true = CCW, false = CW
10397 Entry attemps fail: true = skip, false = plunge
10394 Follow boundary (True/False)
10395 Follow boundary on failure only (True/False)
10396 Minimum boundary length (for follow boundary)
10398 Save boundary (True/False)
10393 Output arc move(s) (True/False)
10383 Maximum error tolerance
10399 Use entry point (True/False)
12027 Minimum radius %
12028 Maximum radius %
12029 Entry feed rate: true = feed rate, false = plunge rate

PRM_THDMILL
12188 Number of active teeth
12189 Clearance plane depth
12190 Feed plane
12191 Top of thread
12192 Thread depth
216 • MASTERCAM X8 / NCI & Parameter Reference

12193 Values: 0 = absolute, 1 = incremental


12194 Thread pitch
12107 Thread start angle
12195 Overcut
Quick Start
12196 Entry/exit arc clearance
12197 Entry/exit line length
12198 Helical entry/exit at top of thread (True/False)
12199 Helical entry/exit at bottom of thread (True/False)
12200 Linearize helixes (True/False)
12201 Helix linearization tolerance
12202 Thread type: 0 = ID, 1 = OD
12203 Thread diameter
12204 Thread type: 0 = right hand, 1 = left hand
12571 Start at center (True/False) (was 12290) (X)
12205 Machining direction: 0 = top to bottom, 1 = bottom to
top
12572 Perpendicular entry (True/False) (was 12291) (X)
12385 Taper angle (to centerline)
12657 Number of spring passes (new for X3)
12658 Feed rate to use when overriding programmed feed
rate (new for X3)
12659 Spindle speed to use when overriding programmed
spindle speed (new for X3)
12660 Override programmed feed rate? (Yes/No) (new for
X3)
12661 Override programmed spindle speed? (Yes/No) (new
for X3)

PRM_SLOTMILL
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
PARAMETER REFERENCE / Operation & toolpath parameters • 217

12392 Number of finish passes


12393 Finish pass stepover
12394 Number of rough passes
12395 Rough pass stepover
Quick Start
12396 Machine finish passes at: true = all depths,
false = final depth
12397 Keep tool down (True/False)
PRM_CHAIN_SORT (X)
PRM_TP_COMMON (new for X3)
PRM_HELIX_BORE
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
12398 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
41131 1 = Output finish passes from the top down; otherwise,
output them bottom up (X6-style) (new for X7)
41137 1 = Output just a circle finishing pass; 0 = output a
circle finishing pass following a helix up (new for X7)
12919 Point sorting method (new for X8)

Solid drill / autodrill toolpaths


PRM_SOLID_DRILL
AUTODRILLPRM
SDETECT_DRILL_PARAMS
15319 Delete dependants
218 • MASTERCAM X8 / NCI & Parameter Reference

15320 Basic
15321 Solid operation ID
15322 Solid pointer (removed for X3)
15323 Redetect on regen (True/False)
Quick Start
15324 Stock clearance
15502 Create points (True/False)
15513 Use custom drill parameters (True/False)
15514 Custom drill cycle
15515 Custom drill cycle
15516 Custom drill cycle
15517 Custom drill cycle
15518 Custom drill cycle
15519 Custom drill cycle
15520 Custom drill cycle
15521 Custom drill cycle
15522 Custom drill cycle
15223 Custom drill cycle
AUTODRILLPRM
Note: These parameters do NOT get to the Post, since
AutoDrill generates individual drilling toolpath
operations.
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
15279 Use filter arc (True/False)
15280 No warnings (True/False)
15281 Spot drill (True/False)
15282 Spot maximum depth
15283 Spot diameter
15284 Chamfer type: 0 = none, 1 = add depth to spot cycle, 2 =
make new op
15285 Chamfer size
15286 Destination operation group id #
15287 Depth from top of arc (True/False)
15288 Tool library name
15289 Pre drill (True/False)
15290 Minimum pre-drill diameter
15291 Pre-drill diameter increment
15292 Pre drill stock
15293 Pre drill tip comp (True/False)
15294 Pre drill break thru
15295 Pre drill stock flag (True/False)
15296 PRM filename
15297 Tool match tolerance
15298 Tip comp (True/False)
PARAMETER REFERENCE / Operation & toolpath parameters • 219

15299 Break thru


15300 5-axis (True/False)
15301 View RB
15302 Group added (True/False)
Quick Start
15303 Use arc views (True/False)
15304 Use default diameter (True/False)
15305 Default diameter
15306 Sel

SDETECT_DRILL_PARAMS
15307 Minimum hole radius
15308 Maximum hole radius
15309 Include blind holes (True/False)
15310 Create arcs using this offset
15311 New geometry color
15312 Limit search to given plane (True/False)
15313 Plane to limit search to if limit by plane = True
15314 Include split cylinders (True/False)
15315 Limit by sweep code
15316 Limit sweep angle 0.0 - 360.0 degrees
15317 Limit sweep step size - controls # of sections tested
along
15872 Gap size multiplier (x dia.) used to control hole
combining (new for X6)
15869 Include chamfer features (new for X6)

Facing toolpaths
PRM_FACING
12051 Cutting method: 0 = zigzag, 1 = one way (climb), 2 =
one way (conventional), 3 = one pass
12052 Move between cuts: 0 = high speed loops, 1 = linear, 2 =
rapid
12053 Linearization tolerance
12054 Stepover distance
12055 Stepover distance as % of tool diameter
12056 Along overlap distance
12057 Along overlap as % of tool diameter
12058 Across overlap distance
12059 Across overlap as % of tool diameter
12060 Approach distance
12061 Approach distance as % of tool diameter
12062 Exit distance
220 • MASTERCAM X8 / NCI & Parameter Reference

12063 Exit distance as % of tool diameter


12064 Determine roughing angle automatically (True/False)
12065 Roughing angle
12066 Change feed rate between cuts (True/False)
Quick Start
12067 Feed rate between cuts
12068 Amount of stock to leave in Z
PRM_CHAIN_SORT
12711 Select cutting method (new for X3)
12712 Turn on last pass option: Reverse direction of last
pass / Even number of passes (new for X3)
40307 The direction from which the approach move is
initiated (0–7) (new for X6)

Manual entry operations


PRM_MANUAL_ENTRY
15786 Text of comment (new for X6)
15787 Text source: 0=entered with operation, 1=external text
file (new for X6)
15788 0=Save in MCX file option, 1=Read only when
posting (new for X6)
15789 Size of file (new for X6)
15790 NCI Gcode for output: 1005, 1006, 1007 or 1026 (new
for X6)

Transform operations
PRM_XFORM
15557 Xform type: 8 = mirror, 13 = rotate, 16 = translate
(was 10050) (X)
15069 Start of operation range to transform
15070 End of operation range to transform
15784 0 = Assign new offsets By Toolplane option;
1 = Assign new offsets By Instance option (new
for X6)
PRM_XFORM_MISC_OPS (new for X5)
PARAMETER REFERENCE / Operation & toolpath parameters • 221

15772 Remove comments option : 1 = strip out


comments from source operations (new for X5)
15746 Source—Geometry or Source—NCI.
1 = transform source op’s geometry, 0 = transform
source op’s NCI (new for X5)
Quick Start
15331 Don’t delete transform source operation if
make_ops = True (True/False)
15332 Work offset numbering: 0 = auto increment, 1 =
maintain source operations, 2 = assign
15333 Start number work offsets with this number
15334 Increment work offsets by this number
15335 First match work offset in named views and ops
(True/False)
15275 Force unique subprogram number for ‘clump’
option (True/False)
15276 Don’t post the source operations (True/False)
15264 Don't skip original instance (True/False)
15000 NCI Grouping: true = group ops, false = separate
ops
15001 Subprogram output mode: true = incremental,
false = absolute
15747 1 = create new planes for transformed toolplanes
(new for X5) (changed for X8)
15002 Look for pre-defined work offset #’s when
xforming the Tplane (True/False) (removed for
X5)
15003 Transform options:
true = transform geometry and make new ops
false = transform toolpath only
15004 Translate NCI coordinates - leave tool plane
intact (True/False)
15005 Output subprogram labels (True/False)
15006 Shift tool origin in NCI 1013 data (True/False)
PRM_XFORM_MIRROR
PRM_XFORM_ROTATE
PRM_XFORM_TRANSLATE
M5_SAFETY_ZONE (new for X7)

PRM_XFORM_MIRROR
15020 Type of input point.
15021 Mirror view? (True/False)
15051 Mirror axis endpoint — endpoint 1, in world
coordinates
15052 Mirror axis endpoint— endpoint 1, in world
coordinates
15053 Mirror axis endpoint— endpoint 1, in world
coordinates
222 • MASTERCAM X8 / NCI & Parameter Reference

15054 Mirror axis endpoint— endpoint 2, in world


coordinates
15055 Mirror axis endpoint— endpoint 2, in world
coordinates
15056 Mirror axis endpoint— endpoint 2, in world Quick Start
coordinates
PRM_XFORM_VIEW
15057 Reverse cutter compensation (True/False)
15058 Reverse toolpath (True/False)
15750 Reference point for X-axis/Y-axis/angle (new for X5)
15751 Reference point for X-axis/Y-axis/angle (new for X5)
15752 Reference point for X-axis/Y-axis/angle (new for X5)
15753 Angle (in degrees) (new for X5)
15782 Maintain start point : 1 = move the start point, 0 = use
the first entity (new for X5)
15873 0 =No warning, W=Warning about using new Source
geometry option over Source NCI (new for X7)
15059 Method generated (endpoint, midpoint, etc.)
(Removed for X5)

15060 Method generated (endpoint, midpoint, etc.)


(Removed for X5)
15061 T values (Removed for X5)
15062 T values (Removed for X5)
15063 T values (Removed for X5)
15064 T values (Removed for X5)
15065 Selected entities ID numbers (Removed for X5)
15066 Selected entities ID numbers (Removed for X5)
15067 Selected entities database pointers (removed for X3)
15068 Selected entities database pointers (removed for X3)
PRM_XFORM_ROTATE
15020 Rotation point: 1 = C view origin, 2 = point
15021 Coordinates translated to view 2 (True/False)
15042 Number of steps
15043 Rotation point in world coordinates (X)
15044 Rotation point in world coordinates (Y)
15045 Rotation point in world coordinates (Z)
15046 Rotation angle (in degrees)
PRM_XFORM_VIEW
15273 Start angle (in degrees)
15754 Distance mode : 0 = Angle between option; 1 = Total
sweep option (new for X5)
15755 Type mode : 0 = rotate; 1 = translate-and-rotate (new
for X5)
15047 Method generated: endpoint, midpoint, etc. (removed
for X5)
PARAMETER REFERENCE / Operation & toolpath parameters • 223

15048 T values (removed for X5)


15049 T values (removed for X5)
15050 Selected entities ID number (removed for X5)
15067 Selected entities database pointers (removed for X3)
Quick Start
PRM_XFORM_TRANSLATE
15020 Translation direction: 17 = Rectangular, 18 = Polar, 19 =
Between points, 20 = Between views
15021 Coordinates translated to view 2 (True/False)
15022 Number of steps in X
15023 Number of steps in Y
15024 Translate distance in X
15025 Translate distance in Y
15026 From point: X coordinate
15027 From point: Y coordinate
15028 From point: Z coordinate
15029 To point: X coordinate
15030 To point: Y coordinate
15031 To point: Z coordinate
15032 Total polar distance (if Delta method used)
15033 Polar angle in degrees (if Delta method used)
15274 Zigzag toolpath array (True/False)
15754 Distance mode: 0 = Distance between option, 1 = Total
distance option (new for X5)
15755 Delta distance: X (new for X5)
15756 Delta distance: Y (new for X5)
15757 Delta distance: Z (new for X5)
15390 Use source view (True/False)
PRM_XFORM_VIEW Source view data
PRM_XFORM_VIEW0 Destination view data
02
15034 Method generated: endpoint, midpoint, etc. (removed
for X5)
15035 Method generated: endpoint, midpoint, etc. (removed
for X5)
15036 T values (removed for X5)
15037 T values (removed for X5)
15038 T values (removed for X5)
15039 T values (removed for X5)
15040 Selected entities ID number (removed for X5)
15041 Selected entities ID number (removed for X5)
15067 Selected entities database pointers (removed for X3)
15068 Selected entities database pointers (removed for X3)
224 • MASTERCAM X8 / NCI & Parameter Reference

PRM_XFORM_MISC_OPS
15870 Are misc ops on? (new for X6)
15774 Transform operation custom parameters : integer #1
(new for X5)
15775 Transform operation custom parameters : integer #2 Quick Start
(new for X5)
15776 Transform operation custom parameters : integer #3
(new for X5)
15777 Transform operation custom parameters : integer #4
(new for X5)
15778 Transform operation custom parameters : real #1 (new
for X5)
15779 Transform operation custom parameters : real #2 (new
for X5)
15780 Transform operation custom parameters : real #3 (new
for X5)
15781 Transform operation custom parameters : real #4 (new
for X5)

PRM_XFORM_VIEW
15007 View matrix
15008 View matrix
15009 View matrix
15010 View matrix
15011 View matrix
15012 View matrix
15013 View matrix
15014 View matrix
15015 View matrix
15016 View origin
15017 View origin
15018 View origin
15019 View number at time of creation

PRM_XFORM_VIEW002
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 (not used)
PARAMETER REFERENCE / Operation & toolpath parameters • 225

15401 View origin


15402 View origin
15403 View origin (removed for X5—see 15749)
15749 View number at time of creation (changed for X5—
used to be 15403) Quick Start

Trimmed toolpaths
PRM_TRIMMED
12288 X - which side to keep

12289 Y - which side to keep

12290 Z - which side to keep

12291 Tool up/down: 0 = keep tool up, 1 = keep tool down

PRM_CHAIN_SORT (X)

Nesting
PRM_NESTING
15404 Version
15405 Resolution
15406 ResCBox
15407 ResUser
15408 SheetToSheetDist
15409 SheetToPartDist
15410 PartToPartDist
15411 IfFitPartInPart
15412 IfFillAllSheets (removed for X3)
15413 IfAutoPairs (removed for X3)
15866 Fill required sheets (no mimimum # of parts) (new for
X6)
15867 Enable auto-overlapping clusters (new for X6)
15414 IfNestFillersToNestHeight
15415 IfPreferHoleFilling
15416 IfDeleteChains
15417 IfCreateGroups
15418 IfUseMainColor
15419 IfUseMainLevel
15420 IfCycleColors
15421 IfCycleLevels
15422 ResultColor
226 • MASTERCAM X8 / NCI & Parameter Reference

15423 ResultLevel
15424 IfRestoreLast
15425 IfSaveScrap
15426 IfAddPartsAsGroup
Quick Start
15427 IfIgnoreHoles
15428 IfInnerHoles
15429 StartingCorner
15430 IfAddLabels
15431 ScanForNotes
15432 DrawUsingColors
15433 LabelHeight
15434 IfAutoOrigins
15435 ScrapName
15436 xfmMethod: 0 = Toolplane, 1 = Coordinate
15437 xfmGroupOutputBy: 0 = operation order, 1 = operation
type
15438 xfmWoff: 0 = off, 1 = maintain source operation's #'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
15458 sort mode: 0=none, 1=next closest, 2=max vacuum,
3=database (Toolpath Manager) order, 4=tool number
ascending, 5=tool number descending (changed for
X8)
15459 sortGroupByTool (True/False)
15460 sortGroupByRegion (True/False)
15461 SortRegionOrder
15462 SortRegionX
15463 SortRegionY
15464 SortRegionOverlap
15465 sortStartPt – X
15466 sortStartPt – Y
PARAMETER REFERENCE / Operation & toolpath parameters • 227

15467 sortStartPt – X
15468 sortZigZag (True/False)
15469 sortMinToolChg (True/False)
15470 sortGroupBySheet (True/False)
Quick Start
15501 force_re-nest (True/False)
15512 Stop between sheets: 0=no, 1=stop (M00), 2=optional
stop (M01)
15547 Sheet fill direction
15548 Attach auto chains
15549 Display group page
15550 Load default sheet
15551 Guillotine cut
15572 Exact nesting mode (0,1,2) (new for X3)
15573 (Reserved for future use) (new for X3)
15574 Each part stored on a different “unused” level (new
for X3)
15575 Sort order of chains in source operations for max vac
within clusters (new for X3)
15576 Sort order of source operations for max vac within
clusters (new for X3)
15578 True if Automatically attach geometry option is
selected.
15579 Skip Results dialog after nesting complete.
15592 Onion skin active (y/n) (new for X3)
15593 For Skin all parts less than... option, dimension 1
(new for X3)
15594 For Skin all parts less than... option, dimension 2
(new for X3)
15595 Ignore tabbed parts? (y/n) (new for X3)
15596 Onion skin method: 0=All parts, 1=minimum size
(new for X3)
15597 Sort chains—cut smallest parts first (new for X3)
15598 Amount of stock to leave on Z axis (new for X3)
15599 Tool diameter used during skinning (new for X3)
15600 Determine minimum part size by this width along X or
Y axis (new for X3)
15605 Corner of sheet to use as the tool origin (new for X3)
15606 Common edge (new for X3)
15607 Create separate block drill operations (new for X3)
15695 Shape is locked (new for X4)
15696 Minimum width for trimming (new for X4)
15697 Trim option is turned on (new for X4)
15698 Combine cuts option is turned on (new for X4)
15699 Trim mode (new for X4)
15700 Group sorting is turned on (new for X4)
228 • MASTERCAM X8 / NCI & Parameter Reference

15701 Use Name as Label option is turned on (new for X4)


15748 Check for duplicates... option is selected when saving
scrap (new for X5)
15794 Compress results? (new for X6)
15795 Check for duplicate tools? (new for X6) Quick Start

15874 When checking for duplicate tools, check tool number


(new for X7)
15875 When checking for duplicate tools, check tool type
(new for X7)
15876 When checking for duplicate tools, check radius type
(new for X7)
15877 When checking for duplicate tools, check diameter
(new for X7)
15878 When checking for duplicate tools, check corner radius
(new for X7)
15879 When checking for duplicate tools, check threads (new
for X7)
15880 When checking for duplicate tools, check tip angle
(new for X7)
15881 When checking for duplicate tools, check diameter
offset (new for X7)
15882 When checking for duplicate tools, check length offset
(new for X7)
15883 When checking for duplicate tools, check number of
flutes (new for X7)
15884 When checking for duplicate tools, check material
(new for X7)
15885 When checking for duplicate tools, check station
number (new for X7)

Surface rough toolpaths


PRM_SRF_RGH_PARALLEL
PRM_SRF_COMMON
PRM_SRF_DIRECTION
PRM_SRF_GAP_SETTINGS
PRM_SRF_DIRECTION
PRM_SRF_DEPTHS
PRM_SRF_ROUGH_SETTINGS
10205 Maximum stepover
10200 Machining angle
10208 Cut method: 0 = zigzag, 1 = one way
10223 Prompt for relative start point (True/False)
12104 Plunge distance
12105 Retract distance
PARAMETER REFERENCE / Operation & toolpath parameters • 229

12428 Tangent line length (gap setting)


PRM_SRF_RGH_RADIAL
PRM_SRF_COMMON
PRM_SRF_DIRECTION Quick Start
PRM_SRF_GAP_SETTINGS
PRM_SRF_DIRECTION
PRM_SRF_DEPTHS
PRM_SRF_ROUGH_SETTINGS
12103 Maximum angle increment
10208 Cutting method: 0 = zigzag, 1 = one way
12106 Start inside (True/False)
12107 Start angle
12108 Sweep angle
12109 Offset distance
12104 Plunge distance
12105 Retract distance
12428 Tangent line length (gap setting)

PRM_SRF_RGH_PROJECT
PRM_SRF_COMMON
PRM_SRF_DIRECTION
PRM_SRF_GAP_SETTINGS
PRM_SRF_DIRECTION
PRM_SRF_DEPTHS
PRM_SRF_ROUGH_SETTINGS
12110 Projection type: 0 = NCI, 1 = curves, 2 = points, 3 =
blend
12111 NCI filename (removed for X5)
12112 Add depths (True/False)
12104 Plunge distance
12105 Retract distance
12113 Oper ID # of NCI to project
12302 Blend stepover
10208 Cutting method: 0 = zigzag, 1 = one way
12573 Cutting method: 0 = across, 1 = along (was 12310) (X)
12428 Tangent line length (gap setting)
15510 Force a retract move between cuts (new for X3)
PRM_SRF_RGH_FLOWLINE
PRM_SRF_COMMON
PRM_SRF_DIRECTION
PRM_SRF_GAP_SETTINGS
PRM_SRF_DIRECTION
PRM_SRF_DEPTHS
PRM_SRF_ROUGH_SETTINGS
230 • MASTERCAM X8 / NCI & Parameter Reference

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


12115 Use along distance (True/False)
12116 Along cut: distance
12117 Use across distance (True/False)
Quick Start
12118 Across cut: distance
12119 Across cut: scallop height
12120 Check flowline motion for gouge (True/False)
12104 Plunge distance
12105 Retract distance
12121 Start point (which corner)
12122 Cut direction (U or V)
12264 Shared edge tolerance: 0.0 = off
12421 True = row only (v8 code), false = grid (v9)
12428 Tangent line length (gap setting)
12682 Number of flow blend passes (X2)
12683 Flow blend enabled (True/False) (X2)
12684 Percent of tool diameter for rib resolution (X2)
PRM_SRF_RGH_CONTOUR
PRM_SRF_COMMON
PRM_SRF_DIRECTION
PRM_SRF_GAP_SETTINGS
PRM_SRF_DIRECTION
PRM_SRF_DEPTHS
10223 Prompt for relative start point (True/False)
10208 Direction of open boundaries: 0 = zigzag, 1 = one way
10415 Direction of closed boundaries: True = climb
12554 Use rest mill (True/False) (was 10123) (X)
12124 Rest stepover
12125 Rest overlap
12126 Order cuts bottom to top (True/False)
12104 Plunge distance
12105 Retract distance
12127 Sharp corner smoothing length
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
12130 Angle to determine shallow area
12131 Smooth stepover length
PARAMETER REFERENCE / Operation & toolpath parameters • 231

12132 Rampdown length


12133 Use tangent z arc (True/False)
12134 Restmill cut Z extension length
12135 Offset consecutive closed contours by this
Quick Start
12114 Previous operation ID
12283 0 = use prev op's recut file, 1 = use prev op’s NCI file
(removed for X7 for this operation; still used for other
operations)
12300 Adjust absolute cut depths for drive stock
12301 Allow tangent entry/exit arc outside tool center
boundary
12310 Helix: true = use helix, false = straight
12311 Helix radius
12312 Helix Z clearance
12313 Helix Z angle
12314 Output arc moves: 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 in cut order, false = minimize
it
15505 Flat use: 0-flat_use is off (2d), 1-flat_use is off (3d), 2-
flat_use is on (2d), 3-flat_use is on (3d)
15506 Stepover for flat step
12431 True=use tool percentage
12432 Percentage of tool used in stepover
12433 True=automatically detect flats
12434 Do spiral
12435 Max XY deviation

PRM_SRF_RGH_POCKET
PRM_SRF_COMMON
PRM_SRF_DIRECTION
PRM_SRF_GAP_SETTINGS
PRM_SRF_DIRECTION
PRM_SRF_DEPTHS
PRM_SRF_HSOPTS
10223 Prompt for relative start point (True/False)
10442 Plunge tool outside tool center boundary (True/
False)
12126 Order cuts bottom to top (True/False)
12104 Plunge distance
12105 Retract distance
232 • MASTERCAM X8 / NCI & Parameter Reference

12136 use quick zigzag (in place of toolpath/zigzag)


(True/False)
12131 Smooth stepover length
12133 Use tangent Z arc (True/False)
12257 Top of stock is on (True/False) Quick Start
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)
12436 Keep full increment
12433 Automatically detect flats (True/False)
PRM_POCKET (new for X3)

PRM_SRF_RGH_PLUNGE
PRM_SRF_COMMON
PRM_SRF_DIRECTION
PRM_SRF_GAP_SETTINGS
PRM_SRF_EDGE_SETTINGS
PRM_SRF_DEPTHS
10205 Maximum stepover
12104 Plunge distance
12105 Retract distance
12113 Operation ID # of NCI to project
12310 Helix: true = use helix, 1 = straight
12311 Helix radius
12312 Helix Z clearance
12313 Helix Z angle
12314 Output arc moves: true = output arcs, false = lines
12315 Helix tolerance
12316 Helix direction: true = CCW, false = CW
12317 Helix feed: true = feed rate, false = plunge rate
12319 Path type: 0 = 2 point grid, 1 = NCI
12318 Top of stock is on (True/False)
12428 Tangent line length (gap seting)
12685 True = use V8–style stepping; False = use V9 and
later style (X2)

PRM_SRF_RGH_RESTMILL
PRM_SRF_COMMON
PRM_SRF_DIRECTION
PRM_SRF_GAP_SETTINGS
PARAMETER REFERENCE / Operation & toolpath parameters • 233

PRM_SRF_EDGE_SETTINGS
PRM_SRF_DEPTHS
10223 Prompt for operation’s start point (True/False)
10208 Direction of open boundaries (0 = zigzag, 1 = one-
way) Quick Start
10415 Direction of closed boudaries (True = climb)
12123 Use rest mill (True/False)
12124 Stepover
12125 Overlap
12126 Order cuts bottom to top: 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 previous operation's recut file, 1 =
use previous 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
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 (removed for X3)
12565 Rough corner radius (was 10302) (X) (removed
for X3)
41114 Rough diameter (new for X6)
41115 Rough corner radius (new for X6)
12310 Helix: true = helix, false = straight
234 • MASTERCAM X8 / NCI & Parameter Reference

12311 Helix radius


12312 Helix Z clearance
12313 Helix Z angle
12314 Output arc moves: true = output arc, false = lines
Quick Start
12315 Helix tolerance
12316 Direction: true = CCW, false = CW
12317 Entry feed rate: 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 Gouge check: true = allow burial in curt order,
false = minimize it
12431 Use tool percentage (True/False)
12432 Percentage of tool diameter for stepover
12433 Automatically detect flat (True/False)
40241 When All previous operations are selected : 0 =
All groups, 1 = Machine group only, 2 = Toolpath
group only (new for X5)

Surface finish toolpaths


PRM_SRF_FIN_PARALLEL
PRM_SRF_COMMON
PRM_SRF_DIRECTION
PRM_SRF_GAP_SETTINGS
PRM_SRF_EDGE_SETTINGS
PRM_SRF_LIMITS
10205 Maximum stepover
10200 Machining angle
10208 Cut method: 0 = zigzag, 1 = one way
10223 Prompt for relative start point (True/False)
12104 Plunge distance
12105 Retract distance
12428 Tangent line length (gap setting)

PRM_SRF_FIN_RADIAL
PRM_SRF_COMMON
PRM_SRF_DIRECTION
PRM_SRF_GAP_SETTINGS
PRM_SRF_EDGE_SETTINGS
PRM_SRF_LIMITS
12103 Maximum angle increment
10208 Cut method: 0 = zigzag, 1 = one way
PARAMETER REFERENCE / Operation & toolpath parameters • 235

12106 Start inside (True/False)


12107 Start angle
12108 Sweep angle
12109 Offset distance
Quick Start
12104 Plunge distance
12105 Retract distance
12428 Tangent line length (gap setting)
PRM_SRF_FIN_PROJECT
PRM_SRF_COMMON
PRM_SRF_DIRECTION

PRM_SRF_GAP_SETTINGS

PRM_SRF_EDGE_SETTINGS

PRM_SRF_LIMITS

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


3 = two curve blend

12111 NCI filename (removed for X5)


12112 Add depths (True/False)
12104 Plunge distance
12105 Retract distance
12113 NCI to project
12428 Tangent line length (gap setting)
15510 Force retract (True/False) (X)

PRM_SRF_FIN_FLOWLINE
PRM_SRF_COMMON
PRM_SRF_DIRECTION
PRM_SRF_GAP_SETTINGS
PRM_SRF_EDGE_SETTINGS
PRM_SRF_LIMITS
10208 Cut_method: 0 = zigzag, 1 = one way, 2 = spiral
12115 Use along distance (True/False)
12116 Along cut: distance
12117 Use across distance (True/False)
12118 Across cut: distance
12119 Across cut: scallop height
12120 Check flowline motion for gouge (True/False)
12104 Plunge distance
12105 Retract distance
12121 Start point (which corner)
12122 Cut direction (U or V)
12264 Shared edge tolerance: 0.0 = off
12421 True = row only (v8 code), false = grid (v9)
236 • MASTERCAM X8 / NCI & Parameter Reference

12428 Tangent line length (gap setting)


12686 Number of flow blend passes (X2)
12687 Flow blend enabled (True/False) (X2)
12688 Percent of tool diameter for rib resolution (X2)
Quick Start
PRM_SRF_FIN_CONTOUR
PRM_SRF_COMMON
PRM_SRF_DIRECTION
PRM_SRF_GAP_SETTINGS
PRM_SRF_EDGE_SETTINGS
PRM_SRF_DEPTHS
10223 Prompt for relative start point (True/False)
10208 Direction of open boundaries: 0 = zigzag, 1 = one
way
10415 Direction of closed boundaries: True = climb
12123 Use rest mill (True/False)
12124 Rest stepover
12125 Rest overlap
12126 Order cuts bottom to top (True/False)
12104 Plunge distance
12105 Retract distance
12127 Sharp corner smoothing length
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:
12130 Angle to determine shallow area
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 value
12114 Previous operation ID #
12283 0 = use prev op's recut file, 1 = use prev opís NCI
file (removed for X7 for this operation; still used
for other operations)
12300 Adjust absolute cut depths for drive stock (True/
False)
12301 Allow tangent entry/exit arc outside tool
containment boundary (True/False)
12310 Helix: true = use helix, false = straight
PARAMETER REFERENCE / Operation & toolpath parameters • 237

12311 Helix radius


12312 Helix Z clearance
12313 Helix Z angle
12314 Output arc moves: true = output arcs, false = lines
Quick Start
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
15505 Flat use: 0-flat_use is off (2d), 1-flat_use is off (3d),
2-flat_use is on (2d), 3-flat_use is on (3d)
15506 Stepover for flat step
12431 True=use tool percentage
12432 Percentage of tool used in stepover
12433 True=automatically detect flats
12434 Do spiral
12435 Max XY deviation

PRM_SRF_FIN_PENCIL
PRM_SRF_COMMON
PRM_SRF_DIRECTION
PRM_SRF_GAP_SETTINGS
PRM_SRF_EDGE_SETTINGS
PRM_SRF_LIMITS
PRM_SRF_ROUGH_SETTING
S
10415 Machining direction: 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 Ignore climb(/conventional) flag (True/False)
12424 Number of total passes
12449 Multipass (True/False)
10208 Cutting method: 0=zigzag, 1=oneway
12054 Stepover for offset passes
12428 Tangent line length (gap setting)
12438 Pencil angle
12574 Overthickness (new for X3)

PRM_SRF_FIN_LEFTOVER
PRM_SRF_COMMON
238 • MASTERCAM X8 / NCI & Parameter Reference

PRM_SRF_DIRECTION
PRM_SRF_GAP_SETTINGS
PRM_SRF_EDGE_SETTINGS
PRM_SRF_LIMITS
Quick Start
10205 Maximum stepover
10200 Machining angle
10208 Cut method: 0 = zigzag, 1 = one way, 2 = 3D
collapse
10223 Prompt for relative start point (True/False)
12564 Roughing tool diameter (was 10301) (X)
12565 Roughing tool corner radius (was 10302) (X)
12566 Cut extension (was 10303) (X)
10415 Machining direction: true = climb, false =
conventional cut
10325 Expand cuts from the inside to the outside (True/
False)
10324 Create outermost 3D collapse pass (True/False)
10326 Resolution: percentage of stepover
12104 Plunge distance
12105 Retract distance
12292 Hybrid: true = perpendicular to pencil, false = at
machining angle
12298 From slope angle
12299 To slope angle
12303 Collapse resolution: true = automatically
calculate resolution percentage, false = use
resolution percentage
12304 6NLS VPRRWKLQJ RI RXWHU boundary (True/False)
12320 Blend Cuts: true = blend Z cuts with XY, false = XY
only
12321 Blend extension
12322 Blend angle
12323 Rough tool cut tolerance
12422 Tolerance: true = use rough tolerance, false = set
rough tolerance equal to cut tolerance
12423 Rough pencil map: true = skip, false = use it
12428 Tangent line length (gap setting)
12430 Skip internal lines in 3D collapse: (True/False)
PRM_SRF_FIN_STEEP
PRM_SRF_COMMON
PRM_SRF_DIRECTION
PRM_SRF_GAP_SETTINGS
PRM_SRF_EDGE_SETTINGS
PRM_SRF_LIMITS
10205 Maximum stepover
PARAMETER REFERENCE / Operation & toolpath parameters • 239

10200 Machining angle


10208 Cut method: 0 = zigzag, 1 = one way
10223 Prompt for relative start point (True/False)
10310 Angle of surface normal (start of range)
Quick Start
10311 Angle of surface normal (end of range)
10312 Cut extension
12104 Plunge distance
12105 Retract distance
12307 Include cuts outside from/to range (True/False)
12428 Tangent line length (gap setting)
PRM_SRF_FIN_SHALLOW
PRM_SRF_COMMON
PRM_SRF_DIRECTION
PRM_SRF_GAP_SETTINGS
PRM_SRF_EDGE_SETTINGS
PRM_SRF_LIMITS
10205 Maximum stepover
10200 Machining angle
10208 Cut method: 0 = zigzag, 1 = one way, 2 = 3D collapse
10223 Prompt for relative start point (True/False)
10320 Angle of surface normal (start of range)
10321 Angle of surface normal (end of range)
10322 Cut extension
10415 Machining direction: true = climb, false =
conventional cut
10325 Expand cuts from the inside to the outside (True/
False)
10324 Create outermost 3D collapse pass (True/False)
10326 Resolution: percentage of stepover
12104 Plunge distance
12105 Retract distance
12923 Output: true = 5-axis, false = 3-axis
12924 5-axis output: lead/lag angle
12925 5-axis output: lead/lag angle limit
12926 5-axis output: side angle
12927 5-axis output: side angle limit
12303 Collapse resolution: true = automatically calculate
resolution percentage, false = use resolution
percentage
12428 Tangent line length (gap setting)
12430 Skip internal lines in 3D collapse (True/False)
12137 Optimization type: 0 = extrema, 1 = closest

PRM_SRF_FIN_CONSCALOP
PRM_SRF_COMMON
240 • MASTERCAM X8 / NCI & Parameter Reference

PRM_SRF_DIRECTION
PRM_SRF_GAP_SETTINGS
PRM_SRF_EDGE_SETTINGS
PRM_SRF_LIMITS
Quick Start
10205 Maximum stepover
10223 Prompt for relative start point (True/False)
10415 Machining direction: true = climb, false =
conventional cut
10325 Expand cuts from the inside to the outside
(True/False)
10324 Create outermost 3D collapse pass (True/
False)
10326 Resolution: percentage of stepover
12104 Plunge distance
12105 Retract distance
12137 Optimization type: 0 = extrema, 1 = closest
10200 Machining angle
12303 Collapse resolution: true = automatically
calculate resolution percentage, false = use
resolution percentage
12306 Collapse settings: true = hold outermost zone
static, false = collapse it
12428 Tangent line length (gap setting)
12430 Skip internal lines in 3D collapse (True/False)
12575 Enable sharp-corner smoothing? (Y/N) (new
for X3)
12576 Angle tolerance to define which corners are
considered sharp. (new for X3)
12577 Maximum rounding distance. (new for X3)

PRM_SRF_FIN_BLEND (X)
PRM_SRF_COMMON
PRM_SRF_DIRECTION

PRM_SRF_GAP_SETTINGS

PRM_SRF_EDGE_SETTINGS

PRM_SRF_LIMITS

12110 Projection type: set to 3 (two curve blend)


12104 Plunge distance
12105 Retract distance
12302 Blend stepover
10208 Cutting method: 0 = zigzag, 1 = one way, 2 =
spiral
12238 Cutting Method: true = along, false = across
12417 If along, true = do 2D projection, false = do 3D
PARAMETER REFERENCE / Operation & toolpath parameters • 241

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)


Quick Start
12224 Chain sync mode (new for X6)

Surface common settings


PRM_SRF_COMMON
10226 Respond to check bit on surfaces (True/False)
10227 Stock to leave on check surfaces
10228 Prompt for tool center boundary (True/False)
12410 Comp to tip (True/False)
10204 Cut tolerance
12411 Maximum stepdown

PRM_SRF_DIRECTION
10915 Direction vectors are to be used (True/False) (was
10715) (X)
10909 Plunge angle in XY (was 10709) (X)
10910 Plunge angle in Z (was 10710) (X)
10911 Plunge relative: 0 = to Cplane X-axis, 1 = to cut (was
10711) (X)
10912 Retract angle in XY )was 10712) (X)
10913 Retract angle in Z (was 10713) (X)
10914 Retract relative: 0 = to Cplane X-axis, 1 = to cut (was
10714) (X)

PRM_SRF_GAP_SETTINGS
10255 Retract: true = use gap percentage, false = use gap
distance
10259 Maximum short gap (as a distance)
10258 Maximum short gap (as percentage of stepover (or tool
diameter))
10260 Gap motion: 0 = direct, 1 = broken, 2 = smooth, 3 =
follow surface fixed feed rate,
10 = direct, 11 = broken, 12 = smooth, 13 = follow
surface (was 10221) (X)
10256 Check short gap motion for gouge (True/False)
10257 Check long gap motion for gouge (True/False)
10246 Optimize cut order (True/False)
10247 Plunge into previously cut area (True/False)
10248 Follow tool center boundary in gap (True/False)
12414 Tangential arc radius
12556 Tangential arc sweep angle (was 10402) (X)
242 • MASTERCAM X8 / NCI & Parameter Reference

PRM_SRF_EDGE_SETTINGS
10252 Search for shared edges (obsolete - defaults to False)
10251 Use “solid hidden face” (True/False)
10249 Containment boundary offset distance (set to 0 in v8
operations) Quick Start
10250 Containment boundary offset option
0 = offset inside
1 = no offset (center) (this is default)
2 = offset outside
10242 Roll tool at edges:
1 = only between surfaces, 2 = over all surfaces, 3 = auto
10254 Sharp corner tolerance: true = use corner percentage,
false = use corner distance
10253 Sharp corner tolerance (as distance)
10240 Sharp corner tolerance (as percentage of cut tolerance)

PRM_SRF_DEPTHS
12557 Cut depths: true = incremental, false = absolute (was
10403) (X)
12070 Tip comp: true = tip depths, false = center depths
12444 Maximum storage currently allocated for critical
depths (X)
12445 Current count of number of critical depths (X)
12446 Counter to indicate that variable critical depths were
changed (dirty flag) (X)
12447 Database list entity pointer (X) (removed in X3)
12448 Pointer to critical depths (X) (removed in X3)
12558 Incremental: adjustment to top cut (was 10404) (X)
12559 Incremental: adjustment to bottom and other cuts
(was 10405) (X)
12412 ## Absolute: highest cut
14071 Absolute: lowest cut
12072–12101 Critical depths selected by user (Pre-X)

PRM_SRF_ROUGH_SETTINGS
10233 Allow motion in -Z along surface (True/False)
10224 Allow motion in +Z along surface (True/False)
10235 Plunge control: 1 = cut from one side, 2 = cut from
both, 0 = allow multiple plunges

PRM_SRF_HSOPTS
12439 Use variable step: True=variable, False=Fixed distance
between offest passes
12440 Use tangent ramp: True=tangent ramp, False=loop
transition between offset passes
PARAMETER REFERENCE / Operation & toolpath parameters • 243

12441 Use tangent ramp angle: True=angle, False=length


specification of tangent ramp
12442 Tangent ramp length

12443 Tangent ramp angle


Quick Start

PRM_SRF_LIMITS
10243 Use cut depth limits (True/False)
12102 Tip comp: true = tip depths, false = center depths
10244 Depth limit 1
10245 Depth limit 2

High-speed 2D toolpaths
PRM_2D_HMM
12713 2D toolpath style:
0 = 2D Core
1 = 2D Peel
2 = 2D Blend
3 = 2D Area
4 = 2D Rest
5 = Dynamic Area
6 = Dynamic Rest
7 = Dynamic Core
8 = Dynamic Contour
(new for X3)
12714 Rounding radius (new for X3)
12715 Rough offset (new for X3)
12716 Extend entry? (new for X3)
12717 Create finish pass (new for X3)
12718 Back feedrate (new for X3)
12719 Stepover (new for X3)
12720 Width of slot (new for X3)
PRM_CONTOUR
12952 Feedrate override (new for X4)
12953 Spindle speed override (new for X4)
12954 1 = Feedrate override on (new for X4)
12955 1 = Spindle speed override on (new for X4)
12956 1 = conventional milling (0 = climb) (new for X4)
12957 Single chain slot for peel mill : 0 = chain is center of
slot, 1 = left, 2 = right (new for X4)
12958 1 = Extend exit (new for X4)
12959 Entry extension distance (new for X4)
12960 Exit extension distance (new for X4)
244 • MASTERCAM X8 / NCI & Parameter Reference

12961 Percentage of stepover to use for a temporary “across”


cut. This is used to build the final Along 3D cut. (new
for X4)
12962 Cut method: 0 = Zigzag, 1 = One way, 2 = Spiral (new
for X4) Quick Start
12963 Across/along selection: 0 = Across, 1 = Along (new for
X4)
12964 If 12963 = Along, 1= Do 2D projection, 0 = Do 3D core
mill parameters (new for X4)
12965 1 = use conventional rough cut, 0 = use climb rough cut
(new for X4)
12966 1 = Enable adaptive stepdown (new for X4)
12967 1 = Enable profile smoothing (Z constant smooth op)
(new for X4)
12968 Maximum Z stepdown distance for core mill (new for
X4)
12969 Minimum Z stepdown for use with adaptive step (new
for X4)
12970 Maximum step difference between 2 points in adaptive
step (new for X4)
12971 Stepover as a % of tool diameter in core mill (new for
X4)
12972 Minimum stepover as % of maximum stepover (new
for X4)
12973 Maximum stepover for core mill (new for X4)
12974 Minimum stepover for core mill (new for X4)
12975 Maximum radius for smoothing operation (new for
X4)
12976 Smoothing tolerance (new for X4)
12977 Tolerance for smoothing op cornering (new for X4)
12978 Length of peel mill microlift (new for X4)
12979 Height of peel mill microlift (new for X4)
12980 1 = Peel mill microlift is enabled (new for X4)
12981 1 = Use feed rate at entry, 0 = Use plunge rate (new for
X4)
12982 Entry style: 0 = profile ramp, 1 = helix (new for X4)
12983 Entry motion: 1 = Use 3D arcs (helixes), 0 = Linearize
them (new for X4)
12984 1 = Use core mill–style raw passes, 0 = Use area mill–
style raw passes (new for X4)
12985 gap size defined by: 0 = distance, 1 = percent of tool
diameter (new for X4)
12986 1 = minimize burial (use trochoidal loop), 0 = Don’t
(new for X4)
12987 1 = Keep troichoidal loop inside machining region, 0 =
Let it move in air outside machining region (new for
X4)
PARAMETER REFERENCE / Operation & toolpath parameters • 245

12988 Radius of helix (for core/area mill) (new for X4)


12989 Z clearance of helix/profile ramp (core/area mill) (new
for X4)
12990 Maximum angle of helix/profile ramp (core/area mill)
(new for X4) Quick Start
12991 Radius of S-shaped stepover (new for X4)
12992 Preferred profile span (new for X4)
12993 Skip pockets with span less than this value (new for
X4)
12994 Keep tool down within this gap size (actual distance)
(new for X4)
12995 Keep tool down within this gap size (percentage of tool
diameter) (new for X4)
12996 2D-blend stepover amount (new for X4)
12997 Initial loop size: % of tool diameter (5–100), 0 = not set
(new for X4)
12998 Minimum loop size, % of tool diameter (1–100), 0 = not
set (new for X4)
12999 Retry loop size: % of previous loop size (5–95), 0 = not
set (new for X4)
40001 Expected material engagement adjustment: % of
stepover, (1–100), 0 = not set (new for X4)
40002 Adjust feedrate by this % if trochoidal loop doesn’t fit,
(5–95), 0 = not set (new for X4)
40003 Maximum cutting distance (retract and load a same
shape tool) (new for X4)
40004 Maximum cutting time (retract and load a same shape
tool) (new for X4)
40005 Dynamic pocket radius (new for X4)
40006 Dynamic pocket radius percentage (new for X4)
40007 Dynamic pocket approach distance (new for X4)
40008 Dynamic pocket open: 1 = open pocketing, 0 = closed
pocketing (new for X4) (removed for X8)
40009 Dynamic pocket retract style (new for X4)
40010 Sister tool type: 0 = none, 1 = distance, 2 = time (new
for X4)
40219 Dynamic pocket Ramp feed rate (new for X5)
40220 Dynamic pocket Dwell before cut spindle speed (new
for X5)
40221 Dynamic pocket entry ramp angle, in radians (new for
X5)
40222 Dynamic pocket entry pitch (new for X5)
40223 Gap size above top of stock ( Z clearance) (new for X5)
40224 Additional slot width for medial entry ramp (new for
X5)
40225 Dynamic pocket Ramp spindle speed (new for X5)
40226 Dynamic pocket Entry method (new for X5)
246 • MASTERCAM X8 / NCI & Parameter Reference

40227 Use Entry feeds/speeds ? (new for X5)


40228 Select Plunge angle or Entry pitch : 0 - use entry pitch,
1 - use plunge angle (new for X5)
40229 Select Center helix on point option : 1 - option is
selected (new for X5) Quick Start
40230 Optimize cut order within pocket : 1 = optimize cut
order, 0 = use nearest cut (new for X5)
40231 Dynamic pocket Helix radius (new for X5)
40232 Dynamic pocket Trochoidal loop radius (new for X5)
40233 Dynamic pocket Micro lift distance (new for X5)
40234 Rest material : reference cutter Diameter (new for X5)
40235 Rest material : reference cutter Corner radius (new for
X5)
40236 Rest material : Stock resolution (3D bitmap spacing)
(new for X5)
40237 Remaining stock Adjustment distance (new for X5)
40238 Previous operation selected for rest material (new for
X5)
40239 Rest material defined as : 0-All previous operations, 1-
One other operation, 2-Roughing Tool, 3-CAD file, 4-
future use (new for X5)
40240 Adjustment to remaining stock : 0-none, 1-decrease
(to ignore cusps), 2-increase machine cusps, 3-future
use (new for X5)
40241 When All previous operations are selected : 0 = All
groups, 1 = Machine group only, 2 = Toolpath group
only (new for X5)
PRM_HEM (new for X6)
40251 Island taper angle value (new for X5)
40252 1 = Island facing option is selected (new for X5)
40253 Dynamic contour : Stock thickness (new for X5)
40254 Dynamic contour : Toolpath radius that shaped the
stock (new for X5)
40255 Dynamic contour : Stock thickness (new for X5)
40256 Island facing : Overlap % (new for X5)
40257 Island facing : Overlap amount (new for X5)
40258 Island facing : approach distance (new for X5)
40259 Island facing : Stock above islands amount (new for
X5)
40260 Number of contour finish passes (new for X5)
40261 Contour finish pass spacing (new for X5)
40299 0 = do not sort machining boundaries; 1 = do sort
machining boundaries (new for X5) (removed for X8)
40300 0 = do not sort avoidance boundaries; 1 = do sort
avoidance boundaries (new for X5) (removed for X8)
40301 1 = use islands to expand machining regions (new for
X5) (removed for X8)
PARAMETER REFERENCE / Operation & toolpath parameters • 247

40302 Dynamic pocket bit flags (new for X5)


40303 0 = single region; 1 = multiple regions (new for X5)
41138 0 = do not sort entry boundaries, 1 = do sort entry
boundaries (new for X8)
41139 0 = do not sort air boundaries, 1 = do sort air Quick Start
boundaries (new for X8)
41140 0 = do not sort contain boundaries, 1 = do sort contain
boundaries (new for X8)
41141 Dynamic contour: First pass feed reduction % (new
for X8)
41142 1 = rest milling is turned on (new for X8)
41143 Dynamic contour: First pass offset amount (new for
X8)
41144 1 = boundary is derived from a stock model operation
(new for X8)
40307 Dynamic pocket general start location (new for X6)
40308 Lead-in arc radius (new for X6)
40309 Lead-out arc radius (new for X6)
40310 Blend compensation direction (In/Out/Left/Right/Off )
(new for X6)
12224 Sync option setting: 0 = None, 1 = by Entity, … 6 =
Manual/Density (new for X6)
41118 Start point for dynamic peel (X) (new for X7)
41119 Start point for dynamic peel (Y) (new for X7)
41255 Open chain extension method: TRUE = tangential,
FALSE = shortest distance (new for X8)

PRM_HEM
40242 Is high efficiency machining available ?? (new for X5)
40243 1 = High Efficiency Machining option is selected (new
for X5)
40244 1 = High Radial Chip Thinning Only option is selected
(new for X5)
40245 HEM factor value (new for X5)
40246 Chip thickness value (new for X5)
40247 SFM value (new for X5)
40248 HEM feed rate (new for X5)
40249 HEM spindle speed (new for X5)
40250 HEM Stepover % (new for X5)

High-speed surface toolpaths


PRM_SRF_HMM
12578 Z step size (maximum)
248 • MASTERCAM X8 / NCI & Parameter Reference

12579 XY or XYZ step size (maximum)


12580 Z depth limit 1
12581 Z depth limit 2
12582 Angle limit 1
Quick Start
12583 Angle limit 2
12584 Minimum stepdown (for adaptive or other non-constant Z
step)
12585 Stepdown precision
12586 Minimum difference between Z steps (for adaptive or
contour flats type processing)
12587 Tolerance for smoothing operation
12588 Maximum radius in smoothing operation
12589 Curl over radius...for shortest retract route
12590 Curl down radius...for shortest retract route
12591 Reference cutter diameter
12592 Reference cutter corner radius
12593 Cut tolerance (add filter tolerance to get total tolerance)
12594 Stock remaining on check geometry
12595 Tool containment boundary offset amount (for offset inside
or outside [not for center])
12596 Minimum stepover
12597 Maximum stepover
12598 Offset tolerance (for smoothing)
12599 Overthickness - increase reference tool by this amount
(pencil, usually)
12600 Bitangency angle - definition of a crease
12601 Vertical stepover distance
12602 Horizontal stepover distance
12603 Machining cut angle
12604 Pass extension - extend cut by this amount
12605 Limit raster stepover by this amount (see raster limit style)
12606 Gap size - keep tool down within this gap size (actual
distance)
12607 Gap size - keep tool down within this gap size (percentage
of tool diameter)
12608 Maximum cutting distance (retract and load a same shape
tool)
12609 Maximum cutting time (retract and load a same shape tool)
12610 Helix radius
12611 Helix additional z clearance
12612 Helix max angle
12613 Minimum profile ramp diameter
12614 Entry radius in (vertical)
12615 Entry radius out (vertical)
12616 Transition ramp angle
PARAMETER REFERENCE / Operation & toolpath parameters • 249

12617 Stepover expressed as a percentage of tool diameter


12618 Entry radius in (horizontal)
12619 Entry radius out (horizontal)
12620 Maximum entry ramp angle (horizontal)
Quick Start
12621 Link extension (start)
12622 Link shallow angle
12623 Prefillet corner radius
12624 Second tool containment boundary offset amount
12625 Maximum trimming distance
12626 Limiting number of offsets (scallop)
12627 Limiting number of offset (pencil)
12628 Style:
0 = Core roughing (pocket, out to in)
1 = Area clearance (pocket, in to out)
2 = Waterline (Z contour)
3 = Scallop (constant stepover)
4 = Horizontal (facing)
5 = Raster (parallel)
6 = Pencil (single and multipass)
7 = Hybrid (waterline and scallop—Blend is the same as
Hybrid)
[8 is no longer used]
9 = Spiral
10 = Radial
11 = Rest roughing
12 = OptiArea
13 = OptiCore
14 = OptiRest
15 = Project

12629 Zigzag (True/False)


12630 Climb (True/False)
12631 Use approximate start point (True/False)
12632 Optimize cut order (True/False)
12633 Reverse order (bottom up for example) (True/False)
12634 Adaptive stepdown (True/False)
12635 Profile (constant z) smoothing (True/False)
12636 Retract style - 0=Shortest, 1=minimal, 2=full retract
12637 Rest area calculation (True/False)
12638 Top of stock is to be used (True/False)
12639 Tool containment boundary offset direction - 0=inside,
1=center (no offset), 2=outside
12640 Add offset distance to tool radius (True/False)
12641 Use depths (True/False) - True = use z depth limit 1 and 2
12642 Stepover style - 0=3d, 1=2d, (2=future)
12643 Offset limit style - 0-no offsets, 1-limited offsets, 2-
unlimited offsets
12644 Raster limit style - 0-disabled, 1-limited, 2-fill in stepover
250 • MASTERCAM X8 / NCI & Parameter Reference

12645 Gap size type - 0=gap size dist, 1=gap size pct of tool
diameter, (2=future)
12646 Sister tool type - 0=none, 1=distance, 2=time
12647 Contact area only (True/False) - False=contact and
outermost, True=contact area only Quick Start
12648 Helix entry style - 0=profile ramp, 1=helix, 2=future
12649 Link trimming style - 0=none,1=minimal, 2=fully, 3=future
12650 Gap style - 0=tangential ramp, 1=ramp, 2=direct
12651 Pencil offset limit style - 0=no offsets, 1=limited offsets,
2=unlimited offsets
12652 Down up style: 0=any direction, 1=down mill only, 2=up
mill only, 3=neither up nor down, 4=future
12653 Prefer reverse (True/False)
12654 Prefillet on (True/False)
12655 Gouge check holder (True/False)
12656 Raster gap style -0=smooth, 1=straight, 2=future
12662 The feedrate to be used when approach/retract moves on
the Linking parameters page are output as feedrate moves
instead of rapid moves (see parameter 12676).
12663 Holder clearance distance used for gouge checking the tool
holder.
41145 Tilt to avoid gouge: Shaft clearance distance for tool
holder (new for X8)
41146 Tilt to avoid gouge: Max. tilt angle for tool holder (new
for X8)
41147 Collision checking method: 0 = Trim to avoid gouge, 1 =
Tilt to avoid gouge (new for X8)
41148 1 = Order cuts by depth option is selected (new for X8)
12664 Axial offset distance
12665 The stock to leave amount for wall surfaces.
12666 The stock to leave amount for floor surfaces.
12667 The rest roughing stock resolution.
12668 The amount of Stock adjustment to be applied to the stock
model.
12669 Pointer to holder (removed for X3)
12670 Pointer to holder entity (removed for X3)
12671 Number of axial offsets
12672 The ID number of the previous operation used for rest
roughing.
12673 Size of the array used to store holder segments (moved
for X4)
12674 Number of segments in the tool holder definition (moved
for X4)
12675 Counter to indicate changes in holder (moved for X4)
12676 When True, outputs feed rate moves instead of rapids for
approach/retract moves on the Linking parameters page
(parameter 12662 stores the feedrate).
12677 When True, outputs arc moves for entry helixes.
PARAMETER REFERENCE / Operation & toolpath parameters • 251

12678 When True, use the Expand inside to out cutting method
option.
12679 Sets the stock computation method for rest roughing
toolpaths: 0=All previous operations, 1=One previous
operation, 2=Roughing tool, 3=CAD file.
Quick Start
12680 Sets the stock adjustment method (removed for X5)
12689 Minimum stepover, expressed as a percentage of tool
diameter (X2)
12690 Minimum “span” or extent required of a pocket for it to be
machined (pockets smaller than this amount are not
machined) (X2)
12691 X coordinate for the center point for radial/spiral toolpaths
(X2)
12692 Y coordinate for the center point for radial/spiral toolpaths
(X2)
12693 Inner radius for radial/spiral toolpaths (X2)
12694 Outer radius for radial/spiral toolpaths (X2)
12695 Starting angle for a radial toolpath (X2)
12696 Ending angle for a radial toolpath (X2)
12697 Z-ramp distance for a horizontal entry arc (X2)
12698 True = use feed rate for helix; False = use plunge rate (X2)
12699 True = spiral clockwise; False = spiral counterclockwise (X2)
12700 True = use trochoidal loops to minimize tool burial; False =
do not use trochoidal loops (X2)
12721 Trochoidal motion: initial loop radius (X2)
12722 Trochoidal motion: minimum loop radius (X2)
12723 Trochoidal motion: retry loop radius (X2)
12724 Trochoidal motion: stepover adjustment (X2)
12725 Trochoidal motion: feedrate adjustment (X2)
12726 Holder library (moved for X4)
12727 Holder name (moved for X4)
12728 Name of default formula file (X2)
12729 Size of holder library (moved for X4)
12730 Size of holder name (moved for X4)
12731 Size of default formula file (X2)
12732 Scallop toolpaths “Steep/Shallow” option: Use boundaries
as drive curves, then collapse (Y/N) (new for X3)
12733 Keep trochoidal loops inside machining region (Y/N) (new
for X3)
12734 Ignore outer radius when calculating spiral/radial toolpaths
(Y/N) (new for X3)
40241 When All previous operations are selected : 0 = All groups,
1 = Machine group only, 2 = Toolpath group only (new for
X5)
40262 OptiRough : Trochoidal loop radius (new for X5)
40263 OptiRough : Additional slot width for medial entry ramp
(new for X5)
252 • MASTERCAM X8 / NCI & Parameter Reference

40264 Helix ramp depth (new for X5)


40265 OptiRough : Ramp feed rate (new for X5)
40266 OptiRough : Dwell before cut spindle speed (new for X5)
40267 Enable Stepup option (new for X5)
Quick Start
40268 Toolpath radius amount (new for X5)
40269 OptiRough : Micro lift distance (new for X5)
40270 OptiRough : Back feedrate (new for X5)
40271 Hybrid WS : limiting angle (slope transition) (new for X5)
40272 OptiRough : Ramp spindle speed (new for X5)
40273 Rough cut Cutting method : 0 = Climb, 1 = Conventional
(new for X5)
40274 1 = Add holder clearance to bottom of holder (new for X5)
12984 1 = Use core mill as raw passes, 0 = Use area mill as raw
passes (changed for X7—formerly 40275)
40275 Optimized roughing entry method (new for X7)
40276 Select Plunge angle or Entry pitch : 0 - use Entry pitch, 1 -
use Plunge angle (new for X5)
40277 Use Entry feeds/speeds ? (new for X5)
40278 Retract style, as follows: (new for X5)

40279 1 = Stepup option is selected (new for X5)


40280 Stepup rest boundary calculation method: 0 = Use pocket
bitmap subtraction algorithm, 1 = Use pocket boundary
subtraction algorithm (new for X5)
PRM_HEM (new for X6)
40298 Sliver thickness (stock thinner than this value will vanish);
applied when Mill vertical walls option is selected (new
for X5)
40304 The type of controlled engagement motion boundaries.
0=Boundaries are tool center ;
1=Boundaries are tool contact (HST calculates the Z profiles
using an equivalent flat-end cutter) (new for X6)
40305 The size of the thread pool for HST operations that use
thread pooling.
0 = The size of the thread pool is the number of cores
available
>0 = The size of the thread pool (new for X6)
PARAMETER REFERENCE / Operation & toolpath parameters • 253

40306 Method for detecting/machining open pockets (cores):


0 = Machine all pockets from inside to out (closed pockets)
1 = Detect and machine open (core) pockets from outside to
in (new for X6)
40311 Remaining stock adjustment to be applied to tool for
Quick Start
optimized rest roughing (new for X6)
40312 Preserve Z passes option for hybrid finishing toolpaths (1 =
option is selected) (new for X6)
40313 Cutting method option for roughing: 1 = Zig zag, 0 =
Conventional or Climb (new for X6)
40314 Method used to calculate the material boundaries for
optimized rest roughing:
0=Use tool center EMM stock model to calculate material
boundary(s)
1=Use tool contact EMM stock model to calculate material
boundary(s) (new for X6)
40315 3D cutting method method for hybrid shallow cuts: 1 = Zig
zag, 0 = One way or Other way (new for X6)
40316 Offset method for 3D passes: 0=Closed offsets, 1=Upper
to lower, 2=Lower to upper (new for X6)
41113 Adjustment to remaining stock : 0=none, 1=decrease (to
ignore cusps), 2=increase machine cusps, 3=future use
(new for X6)
41116 Close pass factor for hybrid toolpaths (new for X6)
41117 Minimum valid length for raw pass for hybrid toolpaths
(new for X6)
41120 Pre-fillet tool shape: diameter (new for X7)
41121 Pre-fillet tool shape: corner radius (new for X7)
41122 Pre-fillet tool shape: taper angle (new for X7)
41123 Pre-fillet tool shape: taper height (new for X7)
41124 Pre-fillet tolerance (new for X7)
41125 Pre-fillet resolution (new for X7)
41126 Pre-fillet type: 0 = simple fillet, 1 = tool shape fillet, 2 =
future use (new for X7)
41127 Number of facets (new for X7)
41128 Switch for HST hybrid map 3D offset filler passes (new for
X7)
41129 Trimming method for check geometry (new for X7)
41130 Cut order method for optimized roughing (new for X7)
41136 ID of NCI operation to be projected (new for X7)
12110 Projection type: 0=NCI, 1=curves, 2=points (new for X7)

PRM_TP_HOLDER
12673 Size of the array used to store the holder segment data.
Typically, 12673–12675 are not meaningful to users or post
writers.
(X2—moved to this group, X4)
254 • MASTERCAM X8 / NCI & Parameter Reference

12674 Number of segments in the tool holder definition (X2—


moved to this group, X4)
12675 Counter to indicate changes in holder (X2—moved to this
group, X4)
12726 Holder library (X2—moved to this group, X4) Quick Start
12727 Holder name (X2—moved to this group, X4)
12729 Size of holder library (X2—moved to this group, X4)
12730 Size of holder name (X2—moved to this group, X4)

Advanced multiaxis toolpaths


PRM_ADV_5AX
15583 Text to display in TP Mgr (new for X3)
15584 Name of adv multiaxis chook (new for X3)
15585 Function to call when the operation’s parameters are
selected in Toolpath Manager. (new for X3)
15586 Function to call when the operation’s tool is selected in
Toolpath Manager. (new for X3)
15587 Function to call when the operation’s geometry is
selected in Toolpath Manager. (new for X3)
15588 Function to call when the operation’s NCI icon is
selected in Toolpath Manager with left mouse button.
(new for X3)
15589 Function to regenerate the operation’s NCI section.
(new for X3)
15590 Function to call when the operation’s NCI icon is
selected in Toolpath Manager with left mouse button.
(new for X3)
15591 TRUE = operation can be filtered. (new for X3)
15592 TRUE = operation can be edited with Toolpath Editor.
(new for X3)
12105 Tool inspection retract distance (new for X8)
41256 Tool inspection retract type: 0=none, 1=distance,
2=time (new for X8)
41257 Tool inspection retract time (new for X8)

Feature-based machining: drill toolpaths


FBM_DRILLPARAMETERS
12737 Solid operation ID (new for
X3)
FBM_DRILLPARAMETERS_SETUP (new for X3)
FBM_DRILLPARAMETERS_HOLEDETECTION (new for X3)
PARAMETER REFERENCE / Operation & toolpath parameters • 255

FBM_DRILLPARAMETERS_DEEPHOLE (new for X3)


FBM_DRILLPARAMETERS_SPOTDRILLING (new for X3)
FBM_DRILLPARAMETERS_PREDRILLING (new for X3)
FBM_PARAMETERS_TOOLS (new for X3)
Quick Start
FBM_DRILLPARAMETERS_DEPTHS (new for X3)
PRM_FBM_DRILLPARAMETERS_FEATURES (new for X6)
41068 Solid entity ID (new for X6)
41069 FBM operation version (new
for X6)
PRM_FBM_HOLEMAP (new for X6)
PRM_FBM_HOLE_MILLING_PARAMETERS (new for X6)
(new for X6)
PRM_FBM_X5_FBM_DRILL_PARAMETERS_SET (new for X6)
UP
PRM_FBM_X5_FBM_DRILL_PARAMETERS_HO (new for X6)
LE_DETECTION
X8_FBM_DRILLPARAMETERS_HOLEDETECTIO (new for X8)
N

FBM_DRILLPARAMETERS_SETUP
12856 Automatic initial hole detection turned on (y/n) (new
for X3)
12857 Enable Tool page? (new for X3)
12858 Enable Depths page? (new for X3)
12859 Method for grouping operations—None, Plane, or Tool.
(new for X3)
12860 Method for sorting points (new for X3)
12861 Use subprograms? (y/n) (new for X3)
12862 Incremental or absolute subprograms (new for X3)

FBM_DRILLPARAMETERS_HOLEDETECTION
12863 Read hole data from solids created with the
SolidWorks® Hole Wizard® (new for X3)
12864 Path to use with Hole Wizard (new for X3)
12865 Co-axial hole criteria. Determines whether Mastercam
treats multiple holes that share a common axis as a
single hole, or as multiple holes from different planes.
(new for X3)
SDETECT_DRILL_PA (new for X3)
RAMS

X8_FBM_DRILLPARAMETERS_HOLEDETECTION

41149 Use SolidWorks® preselected hole features (new for


X8)
256 • MASTERCAM X8 / NCI & Parameter Reference

SDETECT_DRILL_PARAMS
15307 Minimum radius of holes to detect (note: users enter
this number as a diameter value) (new for X3)
15308 Maximum radius of holes to detect (note: users enter Quick Start
this number as a diameter value) (new for X3)
15309 Include blind holes (y/n) (new for X3)
15310 Arc offset (new for X3)
15311 Color (new for X3)
15312 Limit search for holes to a specific plane (new for X3)
15313 Plane to limit search to (new for X3)
15314 Include split holes (new for X3)
15315 Detect holes by minimum or maximum sweep angle
(new for X3)
15316 Sweep angle threshold (new for X3)
15317 Sampling increment (step) along length of hole to
determine sweep angle. (new for X3)

FBM_DRILLPARAMETERS_DEEPHOLE
12866 Deep drilling option turned on (y/n) (new for X3)
12867 Deep drilling strategy:
• Split holes between faces
• Drill to maximum and finish with a long tool
• Drill to maximum and warn user
• Cut entire hole with a long drill.
(new for X3)
12868 The maximum hole depth :: diameter ratio for normal
drilling. Mastercam applies deep drilling parameters
only to holes that exceed this ratio. (new for X3)
12869 Primary face depth percentage (new for X3)
12870 Canned cycle to use for deep drilling (new for X3)

FBM_DRILLPARAMETERS_SPOTDRILLING
12871 Spot drilling option turned on (y/n) (new for X3)
12872 Max percentage of finished hole (new for X3)
12873 Max depth (new for X3)
12874 Allow center drill (new for X3)
12875 Combine spot drill operations that meet or exceed
maximum depth (new for X3)
12876 Use selected tool for all spot drill operations (new for
X3)
PRM_TP_TOOL
PARAMETER REFERENCE / Operation & toolpath parameters • 257

FBM_DRILLPARAMETERS_PREDRILLING
12877 Pre-drilling option turned on (y/n) (new for X3)
41070 Pre-drill pilot holes only? (new for X6)
12878 Minimum drill diameter (new for X3)
Quick Start
12879 Increment between drill sizes for each set of pre-drill
operations (new for X3)
12880 Use Stock to leave option (y/n) (new for X3)
12881 Amount of stock to leave (new for X3)
12882 Use Tip compensation option (y/n) (new for X3)
12883 Use Additional break through option (y/n) (new for
X3)
12884 Break through method: Distance, or % of tool
diameter (new for X3)
12885 Break through amount (new for X3)

FBM_PARAMETERS_TOOLS
12886 Tool library path (new for X3)
12887 Diameter matching tolerance for selecting drills (new
for X3)
12888 Use tools in .MCX file (y/n) (new for X3)
12889 Use tools from tool library (y/n) (new for X3)
12890 Create tools as needed (y/n) (new for X3)
12891 Create only standard sizes (y/n) (new for X3)
12892 Consider flute length when creating new tools (y/n)
(new for X3)
12893 Action to take if hole exceeds flute length (new for X3)
12894 Increment to use when creating new tools of different
lengths (new for X3)
12895 Tip geometry / hole bottom geometry (new for X3)
12896 Tool tip match tolerance (new for X3)
12897 Allow flat endmills? (y/n) (new for X3)
41071 Preselect? (new for X6)

PRM_FBM_X4FBM_PARAMETERS_TOOLS
40343 Use both units? (new for X6)

FBM_DRILLPARAMETERS_DEPTHS
12898 Method for determining clearance (new for X3)
12899 Clearance value (new for X3)
12900 Absolute or incremental clearance (new for X3)
12901 Use clearance only at the start and end of an operation
(new for X3)
258 • MASTERCAM X8 / NCI & Parameter Reference

12902 Retract distance (new for X3)


PRM_FBM_TIP_COM
P
12907 Tap/ream depth adjustment method: 0=adjust up,
1=adjust down, 2=no adjustment (new for X3) Quick Start
41078 Tap/ream depth adjustment method—0=distance, 1=%
of tool diameter (new for X6)
12908 Amount of tap/ream depth adjustment—distance
(new for X3)
41079 Amount of tap/ream depth adjustment—% of tool
diameter (new for X6)
41080 Stock height incremental? 0=absolute, 1=incremental
(new for X6)
41081 Feed plane incremental? 0=absolute, 1=incremental
(new for X6)
41082 Depth incremental? 0=absolute, 1=incremental (new
for X6)
41083 Retract method: 0=solid height plus value, 1=stock
model, 2=manual (new for X6)
41084 Retract height incremental? 0=absolute, 1=incremental
(new for X6)
PRM_FBM_TIP_COM
P_001
41085 Create independent operations? (new for X6)
41086 Create top point? (new for X6)
41087 Create vector line? (new for X6)
41088 Create bottom point? (new for X6)
41089 Level for created geometry (new for X6)

PRM_FBM_TIP_COMP
12903 Apply tip compensation for through holes? (y/n) (new
for X3) (moved for X6)
12904 Apply additional break through amount? (y/n) (new
for X3) (moved for X6)
12905 Method for computing break through (new for X3)
(moved for X6)
12906 Amount of break through—distance (new for X3)
(moved for X6)
41072 Amount of break through—% of tool (new for X6)

PRM_FBM_TIP_COMP_001
41073 Apply tip compensation for blind holes? (y/n) (new for
X6)
41074 Apply additional break through amount? (y/n) (new
for X6)
41075 Method for computing break through (new for X6)
PARAMETER REFERENCE / Operation & toolpath parameters • 259

41076 Amount of break through—distance (new for X6)


41077 Amount of break through—% of tool (new for X6)

PRM_FBM_DRILLPARAMETERS_FEATURES Quick Start


40327 Select common features? (new for X6)
40328 Set normals toward Tplanes? (new for X6)
40329 Select coaxial features? (new for X6)
40330 Point-to-point origin (X) (new for X6)
40331 Point-to-point origin (Y) (new for X6)
40332 Point-to-point origin (Z) (new for X6)
40333–40342 Filter [10 parameters] (new for X6)

PRM_FBM_HOLEMAP
40344 Is Hole mapping turned on? (new for X6)
40345 Path (character) (new for X6)

PRM_FBM_HOLE_MILLING_PARAMETERS
40994 Reserved for future use (new for X6)
40995 0 = Circle mill, 1 = Helix bore (new for X6)
40996 Do Counter bores? (new for X6)
40997 Limit threshold for counter bores (new for X6)
40998 Do Through holes? (new for X6)
40999 Limit threshold for through holes (new for X6)
41000 Do Blind flat-bottom holes? (new for X6)
41001 Limit threshold for blind flat-bottom holes (new for
X6)
41002 Maximum tool diameter as percent of hole diameter
(automatic tool selection) (new for X6)
41003 Minimum tool diameter as percent of hole diameter
(automatic tool selection) (new for X6)
PRM_FBM_CIRCLE_
MILL
PRM_FBM_CIRCLE_
MILL
PRM_FBM_CIRCLE_
MILL_001

PRM_FBM_X5_FBM_PARAMETERS_TOOLS
41004 Use block drills? (new for X6)
260 • MASTERCAM X8 / NCI & Parameter Reference

PRM_FBM_X5_FBM_DRILL_PARAMETERS_SETUP
41005 Use 4th-axis output? (new for X6)
41006 Axis of rotation (new for X6)

Quick Start
PRM_FBM_X5_FBM_DRILL_PARAMETERS_HOLE_DETECTION
41007 Delete existing features on detection? (new for X6)

PRM_FBM_CIRCLE_MILL
40346 Single-pass circle mill? (new for X6)
40347 Finishing: 0 = Use Circle mill defaults, 1 = % of diameter
(new for X6)
40348 % of diameter (new for X6)
40349 % Long tool (new for X6)
40350 Number of finish passes (new for X6)
40351 Final depth or All depths? (new for X6)
40352 Perform roughing? (new for X6)
40353 Roughing: 0 = Use Circle mill defaults, 1 = % of
diameter (new for X6)
40354 % of diameter (new for X6)
40355 % Long tool (new for X6)
40356 Stock to leave on walls (new for X6)
40357 Stock to leave on floors (new for X6)
40358 Disable pre-drilling? (new for X6)
40359 Cutting method: 0 = climb/CCW, 1 = conventional/CW
(new for X6)
40360 Compensation: 0=Computer, 1=Control, 2=Wear, 3 =
Reverse wear, 4=Off (new for X6)
40361 Use Depth cuts? (new for X6)
40362 Depth cuts: 0 = Use Circle mill defaults, 1 = % of
diameter (new for X6)
40363 % of diameter (new for X6)
40364 % Long tool (new for X6)
40365 Number of finish passes (new for X6)
40366 Finish pass step (new for X6)
40367 Entry/exit start angle (degrees) (new for X6)
40368 Entry/exit arc sweep (degrees) (new for X6)
40369 Start at center? (new for X6)
40370 Perpendicular entry? (new for X6)
40371 % overlap for perpendicular entry (new for X6)
40372 Do helical entry? (new for X6)
40373 Min. radius (new for X6)
40374 Max. radius (new for X6)
40375 Output arc moves (new for X6)
PARAMETER REFERENCE / Operation & toolpath parameters • 261

40376 Entry tolerance (new for X6)


40377 Tolerance ratio for long tool usage (new for X6)
40378 Keep tool down? (depth cuts) (new for X6)

Quick Start
PRM_FBM_CIRCLE_MILL_001
40379 Single-pass circle mill? (new for X6)
40380 Finishing: 0 = Use Circle mill defaults, 1 = % of diameter
(new for X6)
40381 % of diameter (new for X6)
40382 % Long tool (new for X6)
40383 Number of finish passes (new for X6)
40384 Final depth or All depths? (new for X6)
40385 Perform roughing? (new for X6)
40386 Roughing: 0 = Use Circle mill defaults, 1 = % of
diameter (new for X6)
40387 % of diameter (new for X6)
40388 % Long tool (new for X6)
40389 Stock to leave on walls (new for X6)
40390 Stock to leave on floors (new for X6)
40391 Disable pre-drilling? (new for X6)
40392 Cutting method: 0 = climb/CCW, 1 = conventional/CW
(new for X6)
40393 Compensation: 0=Computer, 1=Control, 2=Wear, 3 =
Reverse wear, 4=Off (new for X6)
40394 Use Depth cuts? (new for X6)
40395 Depth cuts: 0 = Use Circle mill defaults, 1 = % of
diameter (new for X6)
40396 % of diameter (new for X6)
40397 % Long tool (new for X6)
40398 Number of finish passes (new for X6)
40399 Finish pass step (new for X6)
40400 Entry/exit start angle (degrees) (new for X6)
40401 Entry/exit arc sweep (degrees) (new for X6)
40402 Start at center? (new for X6)
40403 Perpendicular entry? (new for X6)
40404 % overlap for perpendicular entry (new for X6)
40405 Do helical entry? (new for X6)
40406 Min. radius (new for X6)
40407 Max. radius (new for X6)
40408 Output arc moves (new for X6)
40409 Entry tolerance (new for X6)
40410 Tolerance ratio for long tool usage (new for X6)
40411 Keep tool down? (depth cuts) (new for X6)
262 • MASTERCAM X8 / NCI & Parameter Reference

Feature-based machining: pocket toolpaths


PRM_FBM_POCKET
12737 Solid operation ID (new for
X3) Quick Start
FBM_POCKETPARAMETERS_SETUP (new for X3)
FBM_POCKETPARAMETERS_POCKETDETECTION (new for X3)
FBM_POCKETPARAMETERS_FACETL (new for X3)
FBM_POCKETPARAMETERS_ROUGHTL (new for X3)
FBM_POCKETPARAMETERS_ROUGHTL (new for X3)
FBM_POCKETPARAMETERS_FINISHTL (new for X3)
FBM_POCKETPARAMETERS_FACE (new for X3)
FBM_POCKETPARAMETERS_ROUGH (new for X3)
FBM_POCKETPARAMETERS_REST (new for X3)
FBM_PREFERRED_TOOL (new for X3)
FBM_POCKETPARAMETERS_DEPTHS (new for X3)

FBM_POCKETPARAMETERS_SETUP
12738 Automatic initial feature detection turned on (y/n)
(new for X3)
12744 Method for grouping operations—1=Op type, 2=Tool,
3=Plane, or 4=Hole. (new for X3)
12746 Comment (new for X3)
FBM_PARAMETERS_ (new for X6)
TOOLS

FBM_POCKETPARAMETERS_POCKETDETECTION
12747 Allow through pockets (y/n) (new for X3)
12748 Method for cutting through pockets: 0=leave stock at
bottom, 1=break through (new for X3)
12749 Amount of stock to leave at bottom. (new for X3)
12750 Break through distance (new for X3)
12751 Method for selecting level for edge curves (new for X3)
12752 Level on which to place edge curves (new for X3)
12753 Minimum number of unused level on which to place
edge curves (new for X3)
12754 Recognize holes greater than this diameter as features
(new for X3)

FBM_POCKETPARAMETERS_FACE
FBM_POCKETPARAM (new for X3)
ETERS_DCUTS
12823 Enable facing operations (y/n) (new for X3)
PARAMETER REFERENCE / Operation & toolpath parameters • 263

12824 Select climb or conventional (new for X3)


12825 Cutting method: Zigzag, One way, Controlled
engagement (new for X3)
12826 Stock to leave in Z (new for X3)
12827 Max stepover (new for X3) Quick Start

12828 Across overlap distance (new for X3)


12829 Along overlap distance (new for X3)
12830 Approach distance (new for X3)
12831 Exit distance (new for X3)

FBM_POCKETPARAMETERS_ROUGH
FBM_POCKETPARAM (new for X3)
ETERS_DCUTS001
12832 Select climb or conventional (new for X3)
12833 Cut method (new for X3)
12834 Stock to leave on floors (new for X3)
12835 Stock to leave on walls (new for X3)
12836 Stepover (new for X3)
12837 Entry method: profile ramp or helix (new for X3)
12838 Profile boundary for ramp (new for X3)
12839 Face approach distance (new for X3)
12840 Face overlap distance (new for X3)
12841 Face exit distance (new for X3)
12842 Use long tool values when length::diameter ratio is
greater than this value (new for X3)
12843 Outside (new for X3)

FBM_POCKETPARAMETERS_REST
FBM_POCKETPARAM (new for X3)
ETERS_DCUTS002
12844 Select climb or conventional (new for X3)
12845 Stock to leave on floors (new for X3)
12846 Stock to leave on walls (new for X3)
41090 Stepover method: 0 = from tool, 1 = % of diameter (new
for X6)
12847 Stepover % (new for X3)
41091 Stepover % for long tools (new for X6)
12848 Use long tool values when length::diameter ratio is
greater than this value (new for X3)
41092 True = rough outside of part (new for X6)
264 • MASTERCAM X8 / NCI & Parameter Reference

FBM_POCKETPARAMETERS_DCUTS
12812 (Facing) Depth cuts mode for facing operations: 0 =
from tool, 1 = % of diam, 2 = # of cuts, 3 = max. step
(new for X3)
41010 Max. rough cut depth (facing only) (new for X6) Quick Start
41011 % of diameter (new for X6)
41012 % of diameter for long tools (not used by facing) (new
for X6)
41013 # of rough cuts (facing only) (new for X6)
41014 # of finish passes (facing only) (new for X6)
41015 Finish pass cut depth (facing only) (new for X6)

FBM_POCKETPARAMETERS_DCUTS001
12813 (Rest) Depth cuts mode for facing operations: 0 = from
tool, 1 = % of diam, 2 = # of cuts, 3 = max. step (last 2
facing only) (new for X3)
41016 Max. rough cut depth (facing only) (new for X6)
41017 % of diameter (new for X6)
41018 % of diameter for long tools (not used by facing) (new
for X6)
41019 # of rough cuts (facing only) (new for X6)
41020 # of finish passes (facing only) (new for X6)
41021 Finish pass cut depth (facing only) (new for X6)

FBM_POCKETPARAMETERS_DCUTS002
12814 (Rough) Depth cuts mode for facing operations: 0 =
from tool, 1 = % of diam, 2 = # of cuts, 3 = max. step (last
2 facing only) (new for X3)
41022 Max. rough cut depth (facing only) (new for X6)
41023 % of diameter (new for X6)
41024 % of diameter for long tools (not used by facing) (new
for X6)
41025 # of rough cuts (facing only) (new for X6)
41026 # of finish passes (facing only) (new for X6)
41027 Finish pass cut depth (facing only) (new for X6)

FBM_POCKETPARAMETERS_DCUTS003
41008 (Floor finish) Depth cuts mode for facing operations: 0
= from tool, 1 = % of diam, 2 = # of cuts, 3 = max. step
(last 2 facing only) (new for X3)
41028 Max. rough cut depth (facing only) (new for X6)
41029 % of diameter (new for X6)
41030 % of diameter for long tools (not used by facing) (new
for X6)
PARAMETER REFERENCE / Operation & toolpath parameters • 265

41031 # of rough cuts (facing only) (new for X6)


41032 # of finish passes (facing only) (new for X6)
41033 Finish pass cut depth (facing only) (new for X6)

Quick Start
FBM_POCKETPARAMETERS_DCUTS004
41009 (Finish) Depth cuts mode for facing operations: 0 =
from tool, 1 = % of diam, 2 = # of cuts, 3 = max. step (last
2 facing only) (new for X3)
41034 Max. rough cut depth (facing only) (new for X6)
41035 % of diameter (new for X6)
41036 % of diameter for long tools (not used by facing) (new
for X6)
41037 # of rough cuts (facing only) (new for X6)
41038 # of finish passes (facing only) (new for X6)
41039 Finish pass cut depth (facing only) (new for X6)

PRM_FBM_POCKET_PARAMETERS_FLOOR_FINISH
FBM_POCKETPARAM
ETERS_DCUTS003
41040 Is floor finishing enabled? (new for X6)
41041 Cutting method: 0 = Climb, 1 = Conventional (new for
X6)
41042 Z stock to leave (floors) (new for X6)
41043 XY stock to leave (walls) (new for X6)
41044 0 = from tool, 1 = % of diam (new for X6)
41045 XY stepover % of tool diameter (new for X6)
41046 XY stepover % of tool diameter for long tools (new for
X6)
41047 Length/diameter ratio (for long tools) (new for X6)
41048 TRUE = rough outside of part (new for X6)

PRM_FBM_X5_FBM_POCKET_PARAMETERS

FBM_PREFERRED_T
OOL
41049 True = redetection needed (new for X6)

PRM_FBM_X4_FBM_POCKET_PARAMETERS_POCKET_DETECTION
41050 Enable Slug cutting (new for X6)
41051 Slug size: dimension 1 (new for X6)
266 • MASTERCAM X8 / NCI & Parameter Reference

41052 Slug size: dimension 2 (new for X6)


41053 True = use ramp contour (new for X6)
41054 True = perform rough passes (new for X6)
41055 True = perform restmill passes (new for X6)
Quick Start
41056 True = rough tool selected (new for X6)
41057 True = restmill tool selected (new for X6)
41058 True = finish tool selected (new for X6)
FBM_PREFERRED_T Roughing tool (new for X6)
OOL
FBM_PREFERRED_T Rest milling tool (new for X6)
OOL
FBM_PREFERRED_T Finish tool (new for X6)
OOL
41059 Outside depth adjustment (new for X6)
41060 True = use hole milling toolpath (circ. mill or helix
bore), False = use Pocket (new for X6)

FBM_PREFERRED_TOOL
There are 43 instances of this parameter group.
Each parameter number increments by 13 for each group.
40435 ... 40981 Tool ID (new for X6)
40436 ... 40982 Code for tool type (new for X6)
40437 ... 40983 Outside diameter (new for X6)
40438 ... 40984 Inside (non-cutting) diameter (new for X6)
40439 ... 40985 Corner radius (new for X6)
40440 ... 40986 Flute length (new for X6)
40441 ... 40987 Overall length (new for X6)
40442 ... 40988 Shoulder length (new for X6)
40443 ... 40989 Arbor diameter (new for X6)
40444 ... 40990 Spindle rotation: 0=CW, 1=CCW (new for X6)
40445 ... 40991 Coolant type: 0=off, 1=flood, 2=mist, 3=tool (spindle)
(new for X6)
40446 ... 40992 Number of flutes (new for X6)
40447 ... 40993 Units: 0=inches, 1=mm (new for X6)

PRM_FBM_X4_FBM_POCKET_PARAMETERS_ROUGH
41061 Enable roughing selected? (new for X6)

PRM_FBM_X4_FBM_POCKET_PARAMETERS_REST
41062 Enable restmill selected? (new for X6)
PARAMETER REFERENCE / Operation & toolpath parameters • 267

PRM_FBM_X5_FBM_POCKET_PARAMETERS_ROUGH
41063 Tapered wall stepdown amount (new for X6)

PRM_FBM_X5_FBM_POCKET_PARAMETERS_REST Quick Start


41064 Tapered wall stepdown amount (new for X6)

PRM_FBM_X5_FBM_POCKET_PARAMETERS_FINISH
41065 Tapered wall stepdown amount (new for X6)
41066 True = Match taper tool angle to wall draft (new for X6)

PRM_FBM_X5_FBM_POCKET_PARAMETERS_SETUP
41067 True = Tapered wall stepdown is on (new for X6)

PRM_FBM_HELIX_BORE
40412 Rough pitch (new for X6)
40413 Number of rough passes (new for X6)
40414 Rough pass stepover % (new for X6)
40415 Rough pass stepover % for long tool (new for X6)
40416 Feedrate % at final depth (new for X6)
40417 Are finish passes enabled? (new for X6)
40418 Finish pitch (new for X6)
40419 Rough pass stepover % (new for X6)
40420 Rough pass stepover % for long tool (new for X6)
40421 Feedrate % (new for X6)
40422 Spindle speed RPM % (new for X6)
40423 Stock to leave on walls (new for X6)
40424 Stock to leave on floors (new for X6)
40425 Entry/exit start angle (degrees) (new for X6)
40426 Entry/exit arc sweep (degrees) (new for X6)
40427 Start at center? (new for X6)
40428 Perpendicular entry? (new for X6)
40429 % overlap for perpendicular entry (new for X6)
40430 Disable pre-drilling? (new for X6)
40431 Output arc moves for helixes (new for X6)
40432 Helix tolerance (new for X6)
40433 Compensation: 0=Computer, 1=Control, 2=Wear, 3 =
Reverse wear, 4=Off (new for X6)
40434 Tolerance ratio for long tool usage (new for X6)
40433 Compensation: 0=Computer, 1=Control, 2=Wear, 3 =
Reverse wear, 4=Off (new for X6)
268 • MASTERCAM X8 / NCI & Parameter Reference

40434 Tolerance ratio for long tool usage (new for X6)

FBM_POCKETPARAMETERS_FINISH
FBM_POCKETPARAM (new for X6) Quick Start
ETERS_DCUTS004
FBM_POCKETPARAM (new for X3)
ETERS_LEADIO001
41093 Wall finish enabled? (new for X6)
12850 Select climb or conventional (new for X3)
12851 Stock to leave on floors (new for X3)
12852 Stock to leave on walls (new for X3)
41094 Stepover mode: 0 = from tool, 1 = % of diameter, 2 = # of
passes (new for X6)
12853 Stepover % (new for X3)
41095 Number of finish passes (new for X6)
41096 Number of spring passes (new for X6)
41097 Overlap % (new for X6)
(new for X6)
12854 Use long tool values when length::diameter ratio is
greater than this value (new for X3)
12855 Cutter comp type (new for X3)
12910 True = Finish outer walls (new for X3)
41098 True = Spring passes enabled (new for X6)

FBM_POCKETPARAMETERS_LEADIO
12815 Entry/exit mode: perpendicular or tangent (new for X3)
(removed for X6)
12816 Line length (new for X3) (removed for X6)
12817 Arc radius (new for X3) (removed for X6)
12818 Sweep angle (new for X3) (removed for X6)

FBM_POCKETPARAMETERS_LEADIO001
12819 Entry/exit mode: perpendicular or tangent (new for
X3)
12820 Line length (new for X3)
12821 Arc radius (new for X3)
12822 Sweep angle (new for X3)

FBM_POCKETPARAMETERS_DEPTHS
12807 Linking parameters: clearance (new for X3)
12808 Retract (new for X3)
12809 Feed plane (new for X3)
PARAMETER REFERENCE / Operation & toolpath parameters • 269

12810 Incremental or absolute clearance : 0 = incremental


from solid, 1 = inc. from stock, 2 = manual (new for X3)
41099 True = Incremental clearance, False = Absolute
clearance (new for X6)
Quick Start

Feature-based machining: tool parameters


FBM_POCKETPARAMETERS_FACETL
FBM_POCKETPARAMETERS_TL (new for X3)
12800 Allowed end mill types: flat endmills, bull
nose, face mills (new for X3)

FBM_POCKETPARAMETERS_ROUGHTL
FBM_POCKETPARAMETERS_TL001 (new for X3)

FBM_POCKETPARAMETERS_FINISHTL
FBM_POCKETPARAMETERS_TL003 (new for X3)
12805 Method for selecting or creating tools to
machine internal fillet arcs in the XY
axes: Match tool with arc, or Use next
smaller tool (new for X3)
12806 Desired tool radius as % of arc size (new
for X3)

FBM_POCKETPARAMETERS_TL
(This set of parameters used for face tools)
12755 Tool #1 from preferred tool list (new for X3) (removed
for X6)
12756 Tool #2 from preferred tool list (new for X3) (removed
for X6)
12757 Tool #3 from preferred tool list (new for X3) (removed
for X6)
12758 Tool #4 from preferred tool list (new for X3) (removed
for X6)
12759 Tool # from preferred tool list5 (new for X3) (removed
for X6)
12760 Tool #6 from preferred tool list (new for X3) (removed
for X6)
12761 Tool #7 from preferred tool list (new for X3) (removed
for X6)
12762 Tool #8 from preferred tool list (new for X3) (removed
for X6)
12763 Tool #9 from preferred tool list (new for X3) (removed
for X6)
270 • MASTERCAM X8 / NCI & Parameter Reference

12764 Tool #10 from preferred tool list (new for X3) (removed
for X6)
FBM_PREFERRED_T Tool #1 from preferred tool list (new for X6)
OOL
FBM_PREFERRED_T Tool #2 from preferred tool list (new for X6) Quick Start
OOL
FBM_PREFERRED_T Tool #3 from preferred tool list (new for X6)
OOL
FBM_PREFERRED_T Tool #4 from preferred tool list (new for X6)
OOL
FBM_PREFERRED_T Tool #5 from preferred tool list (new for X6)
OOL
FBM_PREFERRED_T Tool #6 from preferred tool list (new for X6)
OOL
FBM_PREFERRED_T Tool #7 from preferred tool list (new for X6)
OOL
FBM_PREFERRED_T Tool #8 from preferred tool list (new for X6)
OOL
FBM_PREFERRED_T Tool #9 from preferred tool list (new for X6)
OOL
FBM_PREFERRED_T Tool #10 from preferred tool list (new for X6)
OOL
12765 Number of tools (new for X3)
12766 Minimum diameter for automatic tool selection (new
for X3)
12767 Minimum diameter for automatic tool selection (new
for X3)
12768 Tool size increment for automatic tool selection
(diameter) (new for X3)
12769 Tool size increment for automatic tool selection (% of
max diameter) (new for X3)
41100 Tool (endmill) type (0 = flat, 1 = bull nose, 2 = ball)
(new for X6)
41101 Minimum corner radius (new for X6)

FBM_POCKETPARAMETERS_TL001
(This set of parameters used for rough/restmill tools)
12770 Tool #1 from preferred tool list (new for X3) (removed
for X6)
12771 Tool #2 from preferred tool list (new for X3) (removed
for X6)
12772 Tool #3 from preferred tool list (new for X3) (removed
for X6)
12773 Tool #4 from preferred tool list (new for X3) (removed
for X6)
12774 Tool #5 from preferred tool list (new for X3) (removed
for X6)
PARAMETER REFERENCE / Operation & toolpath parameters • 271

12775 Tool #6 from preferred tool list (new for X3) (removed
for X6)
12776 Tool #7 from preferred tool list (new for X3) (removed
for X6)
12777 Tool #8 from preferred tool list (new for X3) (removed Quick Start
for X6)
12778 Tool #9 from preferred tool list (new for X3) (removed
for X6)
12779 Tool #10 from preferred tool list (new for X3) (removed
for X6)
FBM_PREFERRED_T Tool #1 from preferred tool list (new for X6)
OOL
FBM_PREFERRED_T Tool #2 from preferred tool list (new for X6)
OOL
FBM_PREFERRED_T Tool #3 from preferred tool list (new for X6)
OOL
FBM_PREFERRED_T Tool #4 from preferred tool list (new for X6)
OOL
FBM_PREFERRED_T Tool #5 from preferred tool list (new for X6)
OOL
FBM_PREFERRED_T Tool #6 from preferred tool list (new for X6)
OOL
FBM_PREFERRED_T Tool #7 from preferred tool list (new for X6)
OOL
FBM_PREFERRED_T Tool #8 from preferred tool list (new for X6)
OOL
FBM_PREFERRED_T Tool #9 from preferred tool list (new for X6)
OOL
FBM_PREFERRED_T Tool #10 from preferred tool list (new for X6)
OOL
12780 Number of tools (new for X3)
12781 Minimum diameter for automatic tool selection (new
for X3)
12782 Minimum diameter for automatic tool selection (new
for X3)
12783 Tool size increment for automatic tool selection
(diameter) (new for X3)
12784 Tool size increment for automatic tool selection (% of
max diameter) (new for X3)
41102 Tool (endmill) type (0 = flat, 1 = bull nose, 2 = ball)
(new for X6)
41103 Minimum corner radius (new for X6)

FBM_POCKETPARAMETERS_TL002
(This set of parameters used for rest roughing tools)
FBM_PREFERRED_T Tool #1 from preferred tool list (new for X6)
OOL
272 • MASTERCAM X8 / NCI & Parameter Reference

FBM_PREFERRED_T Tool #2 from preferred tool list (new for X6)


OOL
FBM_PREFERRED_T Tool #3 from preferred tool list (new for X6)
OOL
FBM_PREFERRED_T Tool #4 from preferred tool list (new for X6) Quick Start
OOL
FBM_PREFERRED_T Tool #5 from preferred tool list (new for X6)
OOL
FBM_PREFERRED_T Tool #6 from preferred tool list (new for X6)
OOL
FBM_PREFERRED_T Tool #7 from preferred tool list (new for X6)
OOL
FBM_PREFERRED_T Tool #8 from preferred tool list (new for X6)
OOL
FBM_PREFERRED_T Tool #9 from preferred tool list (new for X6)
OOL
FBM_PREFERRED_T Tool #10 from preferred tool list (new for X6)
OOL
41104 Number of tools (new for X6)
41105 Minimum diameter for automatic tool selection (new
for X6)
41106 Minimum diameter for automatic tool selection (new
for X6)
41107 Tool size increment for automatic tool selection
(diameter) (new for X6)
41108 Tool size increment for automatic tool selection (% of
max diameter) (new for X6)
41109 Tool (endmill) type (0 = flat, 1 = bull nose, 2 = ball)
(new for X6)
41110 Minimum corner radius (new for X6)

FBM_POCKETPARAMETERS_TL003
(This set of parameters used for finish tools)
12785 Tool #1 from preferred tool list (new for X3) (removed
for X6)
12786 Tool #2 from preferred tool list (new for X3) (removed
for X6)
12787 Tool #3 from preferred tool list (new for X3) (removed
for X6)
12788 Tool #4 from preferred tool list (new for X3) (removed
for X6)
12789 Tool #5 from preferred tool list (new for X3) (removed
for X6)
12790 Tool #6 from preferred tool list (new for X3) (removed
for X6)
12791 Tool #7 from preferred tool list (new for X3) (removed
for X6)
PARAMETER REFERENCE / Operation & toolpath parameters • 273

12792 Tool #8 from preferred tool list (new for X3) (removed
for X6)
12793 Tool #9 from preferred tool list (new for X3) (removed
for X6)
12794 Tool #10 from preferred tool list (new for X3) (removed Quick Start
for X6)
FBM_PREFERRED_T Tool #1 from preferred tool list (new for X6)
OOL
FBM_PREFERRED_T Tool #2 from preferred tool list (new for X6)
OOL
FBM_PREFERRED_T Tool #3 from preferred tool list (new for X6)
OOL
FBM_PREFERRED_T Tool #4 from preferred tool list (new for X6)
OOL
FBM_PREFERRED_T Tool #5 from preferred tool list (new for X6)
OOL
FBM_PREFERRED_T Tool #6 from preferred tool list (new for X6)
OOL
FBM_PREFERRED_T Tool #7 from preferred tool list (new for X6)
OOL
FBM_PREFERRED_T Tool #8 from preferred tool list (new for X6)
OOL
FBM_PREFERRED_T Tool #9 from preferred tool list (new for X6)
OOL
FBM_PREFERRED_T Tool #10 from preferred tool list (new for X6)
OOL
12795 Number of tools (new for X3)
12796 Minimum diameter for automatic tool selection (new
for X3)
12797 Minimum diameter for automatic tool selection (new
for X3)
12798 Tool size increment for automatic tool selection
(diameter) (new for X3)
12799 Tool size increment for automatic tool selection (% of
max diameter) (new for X3)
41111 Tool (endmill) type (0 = flat, 1 = bull nose, 2 = ball)
(new for X6)
41112 Minimum corner radius (new for X6)

Chooks
PRM_CHOOK
15266 Operation description to display in the Operation
Manager (max 60 characters)
15267 Source C-Hook name (no prefix path). If "" (null string),
call as DLL. (max 40 characters)
274 • MASTERCAM X8 / NCI & Parameter Reference

15268 C-Hook’s function or dll to call when operation’s


parameters are selected in the Operation Manager
(max 20 characters)
15269 C-Hook’s function or dll to call when operation’s tool is
selected in the Operation Manager (max 20 characters)
Quick Start
15270 C-Hook’s function or dll to call when operation’s
geometry is selected in the Operation Manager (max 20
characters)
15271 C-Hook’s function or dll to call when operation’s NCI is
selected in the Operation Manager with the left mouse
button (max 20 characters)
15865 C-Hook’s function or dll to call when operation’s NCI is
regenerated (new for X6)

15272 C-Hook’s function or dll to call to regenerate


operation’s NCI section (removed for X3)

15336 C-Hook’s function or dll to call when operation’s NCI is


selected in the Operation Manager with the right
mouse button (max 20 characters)
15337 Filter operation (True/False)
15338 Toolpath edited (True/False)
15791 C-Hook operation data (for use by C-Hook developers)
(max 470 bytes) (new for X6)
15792 Not used (removed for X7)
15793 Not used (removed for X7)
30000–31999 Range of parameter numbers reserved for use by C-
Hook developers. (new for X3) (removed for X6)

Multiaxis toolpaths
PRM_CURVE_5AX
PRM_SRF_COMMON
PRM_SRF_DIRECTION
PRM_SRF_GAP_SETTINGS
PRM_SRF_EDGE_SETTINGS
MULTAX_ENTRY_EXIT
12019 Output Format : 0 = 4-axis, 1 = 5-axis
12141 Curve Type
12142 Tool Axis Control : 0 = Lines, 1 = Pattern Surface, 2 =
Plane, 3 = From Point, 5 = Chain, 6 = Boundary
12023 Project Type
12022 Tip Control
12143 Edge Type
12144 Curve following method: true = step increment, false
= chordal deviation
12145 Step increment distance
PARAMETER REFERENCE / Operation & toolpath parameters • 275

12146 Maximum step distance for chordal deviation


12147 Chordal deviation
12148 Maximum projection distance
12149 Radial offset
Quick Start
12150 Offset sign
12139 Side angle: positive is to the right, negative is to the
left
12151 Lead angle
12152 Normal depth
12153 Toolplane axis: true = 5- axis, false = 3-axis
12154 Ma View number
12155 Do all edges (True/False)
12156 Display clipped corners on the screen (True/False)
12157 Minimize corners (True/False)
12158 Gouge check: 0 = infinite, 1 = user defined look
ahead distance, 2 = none
12159 User defined look ahead distance
12160 Tip compensation: 0 = tip on curve, 1 = compensate
to surface
12024 Tool display and NCI vector length
12025 Fourth axis: 0 = X, 1 = Y
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
12251 Plane vector for tool axis control
12252 Plane vector for tool axis control
12253 Plane vector for tool axis control
40281 5-axis comp in control value (new for X5)
PRM_5AX_LIMIT
PT_GENERATOR
PRM_MULTAXOVERLAP (new for X6)
PRM_MULTAXTRIM2STOCK (new for X6)
PRM_MULTAXOSCILLATE (new for X7)
M5_SAFETY_ZONE (new for X7)

PRM_SRF_FLOW5AX
PRM_SRF_COMMON
PRM_SRF_DIRECTION
PRM_SRF_GAP_SETTINGS
PRM_SRF_EDGE_SETTINGS
PRM_SRF_LIMITS
10208 Cut method
12115 Use along distance (True/False)
276 • MASTERCAM X8 / NCI & Parameter Reference

12116 Along cut: distance


12117 Use across distance (True/False)
12118 Across cut: distance
12119 Across cut: scallop height
Quick Start
12120 Check flowline motion for gouge
(True/False)
12138 Positive: top of tool is forward (tip
back)
12104 Plunge distance
12105 Retract distance
12139 Side angle:
positive is to the right, negative is to
the left
12121 Start point (which corner)
12122 Cut direction (U or V)
12264 Shared edge tolerance: 0.0 = off
12421 True = row only (v8 code), false =
grid (v9)
12427 Tool display and NCI output length
MULTAX_ENTRY_EXIT
PRM_5AX_LIMIT
12019 Output Format : 0 = 4-axis, 1 = 5-axis
12373 Cut Pattern : 0 = Surfaces, 1 =
Cylinder, 2 = Sphere, 3 = Box
12142 Tool Axis Control : 0 = Lines, 1 =
Pattern Surface, 2 = Plane, 3 = From
Point, 5 = Chain, 6 = Boundary
12374 Cut Surfaces : 0 = Use cut pattern, 1
= Comp to surfaces
12025 4th axis: 0 = X, 1 = Y, 2 = Z
12250 specflags : so far only used for chain
tool axis control usage (bits 0 & 1)
12251 Plane vector for tool axis control
12252 Plane vector for tool axis control
12253 Plane vector for tool axis control
PT_GENERATOR
12437 Stock on drive surface
12701 Number of flow blend passes (X2)
12702 True = enable flow blend passes;
False = disable flow blend passes
(X2)
12703 Rib resolution as percent of tool
diameter (X2)
12735 Allow undercuts ? (new for X4)
40281 5-axis comp in control value (new
for X5)
PRM_MINTILT (new for X4)
PARAMETER REFERENCE / Operation & toolpath parameters • 277

PRM_MULTAXEXITBLEND (new for X6)


PRM_MULTAXTRIM2STOCK (new for X6)
M5_SAFETY_ZONE (new for X7)

Quick Start
PRM_SRF_4AX
PRM_SRF_COMMON
PRM_SRF_DIRECTION
PRM_SRF_GAP_SETTINGS
PRM_SRF_EDGE_SETTINGS
PRM_SRF_DEPTHS
10223 Use center point (True/False)
10208 Direction of open boundaries:(0 = zigzag, 1 =
one way)
10415 Direction of closed boundaries (True = climb)
12138 Positive = top of tool is forward (tip back)
12140 Axis damp length
12104 Plunge distance
12105 Retract distance
12139 Side angle:
positive is to the right, negative is to the left
12025 4th axis: 0 = X, 1 = Y, 2 = Z
12284 Cut type: true = axial cut, false = rotary cut
12285 Axial cut angular step (max) (radius)
12286 Axial cut angular start (radius)
12287 Axial cut angular sweep (radius)
12427 Tool display and NCI length
MULTAX_ENTRY_EXIT
PRM_5AX_LIMIT
12019 Output Format : 0 = 4-axis, 1 = 5-axis
12373 Cut Pattern : 0 = Surfaces, 1 = Cylinder, 2 =
Sphere, 3 = Box
12142 Tool Axis Control : 0 = Lines, 1 = Pattern
Surface, 2 = Plane, 3 = From Point, 5 = Chain, 6
= Boundary
12374 Cut Surfaces : 0 = Use cut pattern, 1 = Comp to
surfaces
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
40281 5-axis comp in control value (new for X5)
PT_GENERATOR
PRM_MULTAXTRIM2STOCK (new for X6)
M5_SAFETY_ZONE (new for X7)
278 • MASTERCAM X8 / NCI & Parameter Reference

PRM_SWARF_5AX
PRM_SRF_COMMON
PRM_SRF_DIRECTION
Quick Start
PRM_SRF_GAP_SETTINGS
PRM_SRF_EDGE_SETTINGS
MULTAX_ENTRY_EXIT
12144 Curve following method: true = step increment,
false = chordal deviation
12145 Step increment distance
12146 Maximum step distance for chordal deviation
12147 Chordal deviation
12153 Toolplane axis: true = 5-axis, false = 4-axis
12161 Floor type
12162 Wall type
12163 Distance above low point
12164 (not used)
12165 Use floor (True/False)
12166 No floor (True/False)
12167 Use fans cuts (True/False)
12168 Use swarf fans cuts (True/False)
12169 Stock on walls
12170 Additional clearance on floor
12171 Maximum step along cut
12172 Number of wall passes
12173 Distance off wall per pass
12174 Number of floorpasses
12175 Distance off floor per pass
12176 Use floor for normal (True/False)
12177 Floor normal X vector
12178 Floor normal Y vector
12179 Floor normal Z vector
12180 Floor X point
12181 Floor Y point
12182 Floor Z point
12183 Fan feedrate
12184 Use floor gouge protect: true = detect, false =
protect
12185 Show toolpath before gouge check (True/False)
12158 Gouge check: 0 = infinite, 1 = user-defined look
ahead distance, 2 = none
12159 User defined look ahead distance
12024 Tool display and NCI vector length
12265 Do finish passes at all depths (True/False)
PARAMETER REFERENCE / Operation & toolpath parameters • 279

12187 Minimize corners (True/False)


12025 Fourth axis: 0 = X, 1 = Y
12262 Sync option setting: 0 = none, 1 = by Entity, ...
6 = Manual/Density
PRM_5AX_LIMIT Quick Start
PT_GENERATOR
12429 Use zigzag multiple passes (True/False)
15546 Closed Walls : True = enter at start of first wall,
False = Enter at middle of first wall
12704 Max angle deviation from 5-axis vector for 4-axis
output (X2)
12705 Max angle difference between vectors for 4-axis
output (X2)
40281 5-axis comp in control value (new for X5)
PRM_MULTAXOVERLAP (new for X6)
PRM_MULTAXTRIM2STOCK (new for X6)
PRM_MULTAXOSCILLATE (new for X7)
M5_SAFETY_ZONE (new for X7)

PRM_MSURF_5AX
PRM_SRF_COMMON
PRM_SRF_DIRECTION
PRM_SRF_GAP_SETTINGS
PRM_SRF_EDGE_SETTINGS
MULTAX_ENTRY_EXIT
12019 Output Format : 0 = 4-axis, 1 = 5-axis
12373 Cut Pattern : 0 = Surfaces, 1 = Cylinder, 2 = Sphere, 3
= Box
12142 Tool Axis Control : 0 = Lines, 1 = Pattern Surface, 2 =
Plane, 3 = From Point, 5 = Chain, 6 = Boundary
12374 Cut Surfaces : 0 = Use cut pattern, 1 = Comp to
surfaces
12022 Tip control
12143 Edge type
PRM_M5_CYL
PRM_M5_SPH
PRM_M5_BOX
12375 Operation type: finish = 0, rough = 1
10208 Cut method: zigzag, one way, spiral
12376 Surface tolerance
12416 Step between passes
12116 Maximum step distance
12377 Iteration count
12378 Depth cut distance
10128 Point generators (removed for X3)
280 • MASTERCAM X8 / NCI & Parameter Reference

PT_GENERATOR
12150 Offset sign
12153 True = 5 axis, False = 3 axis
12154 View number
Quick Start
12158 Gouge check: 0=infinite, 1=user defined look ahead
distance, 2=none
12159 User defined look ahead distance
12160 Tip compensation, 0=tip on curve, 1=Comp to
surface
12024 Tool display and NCI vector length
12025 4th axis: 0 = X, 1 = Y
12250 bit 0 means lines are relative to toolpath dir
bit 1 was used for relative to surf norm (no longer)
bit 2 is used for finish all depths (C5_FIN_ALL_BIT)
bit 3 is for chain tool axis control usage
12251 Plane vector for tool axis control
12252 Plane vector for tool axis control
12253 Plane vector for tool axis control
12115 Use along distance (True/False)
12117 Use across distance (True/False)
12119 Across cut: scallop height
12120 Check cuts (True/False)
12138 Lead/lag: + top of tool is forward (tip back)
12104 Plunge distance
12105 Retract distance
12139 Side angle:
positive is to the right, negative is to the left
12121 Start point (which corner)
12122 Cut direction (U or V)
12264 Shared edge tolerance
PRM_5AX_LIMIT_
12437 Stock on drive surface
12736 Allow undercuts? (new for X3)
40281 5-axis comp in control value (new for X5)
PRM_MINTILT (new for X4)
PRM_MULTAXTRIM2STOCK (new for X6)
M5_SAFETY_ZONE (new for X7)
PRM_SLICE_5AX
PRM_SRF_COMMON
PRM_SRF_DIRECTIO
N
PRM_SRF_GAP_SETT
INGS
PRM_SRF_EDGE_SET
TINGS
PARAMETER REFERENCE / Operation & toolpath parameters • 281

MULTAX_ENTRY_EXI
T
12019 Output Format : 0 = 4-axis, 1 = 5-axis
12142 Tool Axis Control : 0 = Lines, 1 = Pattern Surface, 2 =
Plane, 3 = From Point, 5 = Chain, 6 = Boundary Quick Start
12023 Project type
12022 Tip control
12143 Edge type
12144 True = step incr, False = chord dev
12145 Step increment distance
12146 Maximum step distance for chordal dev
12147 Chordal deviation
12148 Maximum projection distance
12149 Offset radius
12150 Offset sign
12139 Side angle
positive is to the right, negative is to the left
12151 Lead angle
12152 Norm depth
12153 True - five axis, False - three axis
12154 View_number
12155 Do all edges (True/False)
12156 Display clipped corners on the screen (True/False)
12157 Minimize corners
12158 Gouge check: 0=infinite, 1=user defined look ahead
distance, 2=none
12159 User defined look ahead distance
12160 Tip compensation, 0=tip on curve, 1=Comp to surface
12570 Tool display and NCI vector length
12025 4th Axis: 0 = X, 1 = Y
12250 bit 0 means lines are relative to toolpath dir
bit 1 was used for relative to surf norm (no longer)
bit 2 is used for finish all depths (C5_FIN_ALL_BIT)
bit 3 is for chain tool axis control usage
12251 Plane vector for tool axis control
12252 Plane vector for tool axis control
12253 Plane vector for tool axis control
40281 5-axis comp in control value (new for X5)
PRM_5AX_LIMIT
PT_GENERATOR
PRM_MULTAXTRIM2 (new for X6)
STOCK
M5_SAFETY_ZONE (new for X7)
282 • MASTERCAM X8 / NCI & Parameter Reference

PRM_PORT_5AX
PRM_SRF_COMMON
PRM_SRF_DIRECTION
PRM_SRF_GAP_SETTINGS
Quick Start
PRM_SRF_EDGE_SETTINGS
PRM_SRF_LIMITS
12250 Cut method
12115 Use along distance (True/False)
12116 Along cut: distance
12117 Use across distance (True/False)
12118 Across cut: distance
12119 Across cut: scallop height
12120 Check cuts (True/False)
12138 Lead/lag: + top of tool is forward (tip back)
12104 Plunge distance
12105 Retract distance
12139 Side angle: + is to the right, - is to the left
12121 Start point (which corner)
12122 Cut direction (U or V)
12264 Shared edge tol (0.0=off)
12421 T-row only (v8 code), F-grid (v9)
12427 Tool display and NCI output length
10127 Entry/exit settings (removed for X3)
MULTAX_ENTRY_EXIT
PRM_5AX_LIMIT
12019 Output format
12373 Pattern type
12142 Tool axis
12374 Cut type
12025 4th axis: 0 = X, 1 = Y, 2 = Z
12250 So far only used for chain tool axis control usage
(bits 0 & 1)
12251 Plane vector for tool axis control
12252 Plane vector for tool axis control
12253 Plane vector for tool axis control
PT_GENERATOR
12437 Stock on drive surface
12551 Port compensation method
12552 Search range for port compensation
40281 5-axis comp in control value (new for X5)
PRM_MINTILT (new for X4)
12735 Allow undercuts ? (new for X6)
PRM_MULTAXEXITBLEND (new for X6)
PRM_MULTAXTRIM2STOCK (new for X6)
PARAMETER REFERENCE / Operation & toolpath parameters • 283

M5_SAFETY_ZONE (new for X7)

PRM_CIRCLE_5AX
12910 Cycle selection (new for X4) Quick Start
12911 Distance for first peck (new for X4)
12912 Subsequent peck distance (new for X4)
12913 Peck clearance (new for X4)
12914 Retract distance for chip break (new for X4)
12915 Dwell (new for X4)
12916 Pre-defined bore shift (new for X4)
12917 Amount to add to drill depth (new for X4)
12918 1 = Add tip/break-through to drill depth (new for X4)
12919 Point sorting method (new for X4)
12920–12929 Custom drill parameters, 1–10 (new for X4)
12930 1 = use custom parameters (new for X4)
12931 Circle5ax output format:
0 = 3-axis, 1 = 4-axis, 2 = 5-axis (new for X4)
12932 Use points and lines or points (new for X4)
12933 Tool axis option (new for X4)
12934 Tip position control (new for X4)
12935 Project type (to plane or surface) (new for X4)
12936 Tool display length (new for X4)
12937 Circle 5ax output format 4-axis type axis selected
(0 = X, 1 = Y, 2 = Z) (new for X4)
12938 Plane vector for circle5ax plane option (new for X4)
12939 Plane vector for circle5ax plane option (new for X4)
12940 Plane vector for circle5ax plane option (new for X4)
12941 Output 1018 line in drill cycle (new for X4)
12942 1 = incremental subprogram, 0 = absolute (new for
X4)
12943 1 = operation was created as an automatic start hole
operation (new for X4)
40281 5-axis comp in control value (new for X5)
PRM_5AX_LIMIT (new for X4)
PRM_CIRCMILL (new for X4)
M5_SAFETY_ZONE (new for X7)

Multiaxis toolpaths: common settings


MULTAX_ENTRY_EXIT
ENT_EXIT

ENT_EXIT002
284 • MASTERCAM X8 / NCI & Parameter Reference

12266 Curve Tolerance

ENT_EXIT
12267 Approach/retract (True/False)
12268 Approach/retract height Quick Start
12269 Entry/exit (True/False)
12270 Direction: true = right, false = left
12271 Length
12272 Height
12273 Thickness
12274 Pivot Angle
12948 Length of entry/exit as % of tool diameter (new for X4)
12949 Thickness of entry/exit as % of tool diameter (new for
X4)

ENT_EXIT002
12275 Approach/retract (True/False)
12276 Approach/retract height
12277 Entry/exit (True/False)
12278 Direction: true = right, false = left
12279 Length
12280 Height
12281 Thickness
12282 Pivot Angle
12950 Length of entry/exit as % of tool diameter (new for X4)
12951 Thickness of entry/exit as % of tool diameter (new for
X4)

PT_GENERATOR
12379 Angle point generator : True=on
12380 Distance point generator : True=on
12381 Chord point generator: True=on
12382 Maximum chordal deviation
12383 Maximum projection distance
12384 Maximum tool axis angle

PRM_M5_CYL
12334 Cylinder axis point 1
12335 Cylinder axis point 1
12336 Cylinder axis point 1
12337 Cylinder axis point 2
12338 Cylinder axis point 2
PARAMETER REFERENCE / Operation & toolpath parameters • 285

12339 Cylinder axis point 2


12340 Cylinder minimum radius
12341 Cylinder maximum radius
12342 Cylinder start angle
Quick Start
12343 Cylinder sweep angle
12344 Cylinder equator start angle
12345 Side of surface
PRM_M5_SPH
12346 Sphere center point
12347 Sphere center point
12348 Sphere center point
12349 Sphere axis vector
12350 Sphere axis vector
12351 Sphere axis vector
12352 Sphere minimum radius
12353 Sphere maximum radius
12354 Sphere pole start angle
12355 Sphere pole sweep angle
12356 Sphere equator start angle
12357 Sphere equator sweep angle
12358 Side of surface

PRM_M5_BOX
12359 Box axis point 1
12360 Box axis point 1
12361 Box axis point 1
12362 Box axis point 2
12363 Box axis point 2
12364 Box axis point 2
12365 Box length along axis (X)
12366 Box minimum width (Y)
12367 Box minimum height (Z)
12368 Box start angle
12369 Box sweep angle
12370 Box corner radius on min box
12371 Box Z plane rotation angle
12372 Side of surface

PRM_5AX_LIMIT
MULTAX_LIMIT X
MULTAX_LIMIT002 Y
MULTAX_LIMIT003 Z
12333 Option
286 • MASTERCAM X8 / NCI & Parameter Reference

MULTAX_LIMIT
12324 X-axis limit active (True/False)
12325 X-axis minimum angle (as cosine)
Quick Start
12326 X-axis maximum limit (as cosine)

MULTAX_LIMIT002
12327 Y-axis limit active (True/False)
12328 Y-axis minimum angle (as cosine)
12329 Y-axis maximum limit (as cosine)

MULTAX_LIMIT003
12330 Z-axis limit active (True/False)
12331 Z-axis minimum angle (as cosine)
12332 Z-axis maximum limit (as cosine)

PRM_MINTILT
12944 Minimum Tilt option is enabled (new for X4)
12945 Minimum tilt type (new for X4)
12946 Maximum tilt angle (new for X4)
12947 Tilt application: minimize tilt motion? (new for X4)
40217 Shank and holder clearance—”stock to leave”
separation from part (new for X5)
40218 Number of tool vectors which can’t find a satisfactory
tilt, if any (new for X5)

PRM_MULTAXEXITBLEND

40317 Taper distance or Taper Passes option selected (new


for X6)
40318 Selected Edge blend option (new for X6)
40319 Number of Taper Passes (new for X6)
40320 Length of Taper Distance (new for X6)
40321 Taper Angle (new for X6)

PRM_MULTAXOVERLAP

40322 Closed loop overlap option selected? (new for X6)


PARAMETER REFERENCE / Operation & toolpath parameters • 287

40323 Closed loop overlap distance (new for X6)


40324 Closed loop overlap % of tool (new for X6)
PRM_MULTAXTRIM2STOCK

Quick Start

40325 Trim to Stock option selected? (new for X6)


40326 ID number of stock model operation (new for X6)

PRM_MULTAXOSCILLATE

41132 Oscillate option selected? (new for X7)


41133 0 = Linear, 1 = High Speed (new for X7)
41134 Distance along contour (new for X7)
41135 Amplitude (depth) (new for X7)

M5_SAFETY_ZONE
15887 Safezone on (True/False) (new for X7. Was 19234 in
earlier versions)
15888 Type: SAFEZONE_RECT, SAFEZONE_SPH,
SAFEZONE_CYL (new for X7. Was 19235 in earlier
versions)
15889 Origin (X) (new for X7. Was 19291 in earlier
versions)
15890 Origin (Y) (new for X7. Was 19292 in earlier
versions)
15891 Origin (Z) (new for X7. Was 19293 in earlier
versions)
15892 X, Y and Z dimensions of rectangle (new for X7. Was
19236 in earlier versions)
15893 X, Y and Z dimensions of rectangle (new for X7. Was
19237 in earlier versions)
15894 X, Y and Z dimensions of rectangle (new for X7. Was
19238 in earlier versions)
288 • MASTERCAM X8 / NCI & Parameter Reference

15895 Spherical radius (new for X7. Was 19239 in earlier


versions)
15896 Cylindrical X axis length (new for X7. Was 19240 in
earlier versions)
15897 Cylindrical radius (new for X7. Was 19241 in earlier Quick Start
versions)
15898 Cylinder axis: X, Y or Z (new for X7. Was 19242 in
earlier versions)
15899 Anchor point: values 0–9 for rectangle; 0–1 for cylinder;
not used for sphere. (new for X7)
15901 TRUE if Use saved feed rate. (new for X7)
15902 Saved feed rate (new for X7)
15903 Axis of rotation (X, Y, Z, 5-axis—for future use) (new for
X7)

Lathe parameters

Lathe roughing toolpaths


PRM_LROUGH
10214 Direction: 0 = ID, 1 = OD, 2 = face, 3 = back
13343 Step amount (was 10200) (X)
10215 Use equal steps (True/False)
10407 Overlap amount (was 10201) (X)
10216 Use overlap (True/False)
10220 Use advanced parameters (True/False)
13344 Cut angle relative to cut direction (was 10204) (X)
10213 True = zigzag, false = one way
10202 Stock to leave in X
10203 Stock to leave in Z
13345 Stepover amount (was 10205) (X)
10221 Plunge move feed rate
PRM_LATHE_EE
PRM_LATHE_PLUNGE001
13164 Entry amount
13171 Feed rate for plunge: true = use regular feed rate ,
false = use plunge feed rate
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 for semi-finish pass
PARAMETER REFERENCE / Operation & toolpath parameters • 289

13194 Step amount for semi-finish pass


13143 Stock to leave in X for semi-finish pass
13144 Stock to leave in Z for semi-finish pass
PRM_PINCH_PARAMS (new for X3)
Quick Start
PRM_LTOOL_INSPECT (new for X5)
13566 Exit distance (new for X5)
13438 Front clearance angle for plunging (note: this is in
radians, not degrees) (new for X5)
13565 0 = use Front clearance angle option for plunging
(new for X5)
13458 0= retract at feed rate, 1= rapid retract (not currently
used) (new for X5)
13460 Retract feed rate (not currently used) (new for X5)
13461 Retract feed rate type—R = per revolution, M = per
minute (not currently used) (new for X5)
13582 Rapid retract? True = rapid, false = feed rate. (new
for X5)
13506 Use variable depth? (not currently used) (new for
X5)
13507 Variable depth angle (not currently used) (new for
X5)
13657 1 = Remaining stock option selected for Stock
Recognition: (new for X6)

13695 Depth cuts style: 1 = Incremental, 0 = Equal steps


(new for X8)
13696 Initial cut depth (new for X8)
13697 Final cut depth (new for X8)
13698 1 = Increments of: option is selected (use
increments) (new for X8)
13699 Depth cut increment (new for X8)

PRM_LCONTOUR
10214 Rough direction: 0 = OD, 1 = ID, 2 = face, 3 = back (new for X8)
10213 True = zigzag, false = one way (new for X8)
10202 Stock to leave in X (new for X8)
10203 Stock to leave in Z (new for X8)
13689 Linearization tolerance (when chaining splines) (new for X8)
13164 Entry Amount (new for X8)
13566 Exit distance (new for X8)
290 • MASTERCAM X8 / NCI & Parameter Reference

13700 1 = Constant offset option selected, 0 = XZ offset option (new


for X8)
13701 Constant offset distance (new for X8)
13702 X offset distance (new for X8)
13703 Z offset distance (new for X8) Quick Start

13704 Minimum cut amount (new for X8)


13705 Shortest rapid move between segments (Minimum air
amount) (new for X8)
13706 Minimum cut area (future use) (new for X8)
13192 Do semi-finish pass (True/False) (new for X8)
13193 Number of cuts for semi-finish pass (new for X8)
13194 Step amount for semi-finish pass (new for X8)
13143 Stock to leave in X for semi-finish pass (new for X8)
13144 Stock to leave in Z for semi-finish pass (new for X8)
PRM_LATHE_EE
PRM_LATHE_PLU
NGE001
13438 Front clearance angle for plunging (note: this is in radians, not
degrees) (new for X8)
13565 0 = use Front clearance angle option for plunging (new for
X8)
PRM_LTOOL_INS
PECT
13657 1 = Remaining stock option selected for Stock Recognition:
(new for X8)

PRM_LCUTOFF_FS
13568 Radius at which to apply the secondary feed rate (new for X5)
13569 Change feed rate at selected radius ?? (new for X5)
13570 Change spindle speed at selected radius ?? (new for X5)
13571 New feed rate to apply (new for X5)
13572 New spindle speed to apply (new for X5)
13573 Is new spindle speed CSS ? (new for X5)
PARAMETER REFERENCE / Operation & toolpath parameters • 291

PRM_LATHE_PLUNGE
10122 Start of cut: true = start compensated for tool width, false =
start on corner

Quick Start

10123 Maximum incremental plunge angle (in radians)


10124 Plunge cutting selection setting: 0, 1, 2, or 3

10125 Tool width compensation: true = use tool width in


compensation calculation

PRM_LATHE_PLUNGE001
(This group of parameters used for lathe rough
operations)
10522 Start of cut: true = start compensated for tool width,
false = start on corner (was 10222) (X)

10523 Maximum incremental plunge angle (in radians) (was


10223) (X)
292 • MASTERCAM X8 / NCI & Parameter Reference

10524 Plunge cutting selection setting: 0, 1, 2, or 3 (was


10224) (X)

Quick Start

10525 Tool width compensation: 1 = use tool width in


compensation calculation, 0 = Use plunge clearance
angle (was 10225) (X)

PRM_PINCH_PARAMS
13242 True = pinching, False = not pinching (new for X3)
13243 Operation to pinch (new for X3)
13244 (not used) (new for X3)
13245 (not used) (new for X3)

PRM_LDYNAMIC
10214 Rough direction: 0 = OD, 1 = ID, 2 = face, 3 = back
(new for X7)
10213 True = zigzag, false = one way (new for X7)
13689 Linearization tolerance (when chaining splines)
(new for X7)
13690 Stepover (distance) (new for X7)
13691 Stepover (%) (new for X7)
13692 Radius (distance) (new for X7)
13693 Distance (%) (new for X7)
10202 Stock to leave in X (new for X7)
10203 Stock to leave in Z (new for X7)
*PRM_LATHE_EE
*PRM_LATHE_PLUNGE001
*PRM_LTOOL_INSPECT
PARAMETER REFERENCE / Operation & toolpath parameters • 293

13657 1 = Remaining stock option selected for Stock


Recognition: (new for X7)

Quick Start

13192 Do semi-finish pass (True/False) (new for X7)


13193 Number of cuts for semi-finish pass (new for X7)
13194 Step amount for semi-finish pass (new for X7)
13143 Stock to leave in X for semi-finish pass (new for X7)
13144 Stock to leave in Z for semi-finish pass (new for X7)
13438 Front clearance angle for plunging (note: this is in
radians, not degrees) (new for X7)
13565 0 = use Front clearance angle option for plunging
(new for X7)

Lathe finish toolpaths


PRM_LFINISH
13341 Number of finish cuts (was 10100) (X)
10101 Step amount
10102 Stock to leave in X
10103 Stock to leave in Z
13342 Linearization tolerance (was 10104) (X)
PRM_LATHE_EE
PRM_LATHE_PLUNGE
13020 Contour to finish: true = use chain, false = use
associated operation’s chain
13021 Operation that contains profile
13022 Direction: 0 = OD, 1 = ID, 2 = face, 3 = back
PRM_LATHE_CORNER_BREAK
13438 Front clearance angle for plunging (note: this is
in radians, not degrees) (new for X5)
13565 0 = use Front clearance angle option for
plunging (new for X5)
PRM_LATHE_DOWN_CUTTING (new for X6)
PRM_LTOOL_INSPECT (new for X6)

PRM_LATHE_CORNER_BREAK
13176 Break the corners (True/False)
294 • MASTERCAM X8 / NCI & Parameter Reference

13177 Break type: true = Radius corners, false =Chamfer


corners
13178 Size of radius
13179 Maximum angle to put radius on
13180 Minimum angle to put radius on Quick Start
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 revolutions
13185 Feed rate
13186 Feed rate type: R = feed/revolution, M = feed/min.,
S = surface finish
13187 Minimum number of revolutions
PRM_LATHE_DOWN_CUTTING
13592 1 = Use down cutting. 0 = use regular one-way cutting
(new for X6)
13593 Selected Strategy (0–4)

(new for X6)


13594 Transition angle between walls and flats (new for X6)
13595 Minimum step (new for X6)
13596 Overlap (as Distance) (new for X6)
13597 Overlap (as % of radius) (new for X6)
13598 Clearance from corner (Standoff distance) (new for
X6)
13599 Is From stock option selected? (new for X6)
13600 Is Do final pass along entire chain option selected?
(new for X6)
13601 Final pass stock to leave X (new for X6)
13602 Final pass stock to leave Z (new for X6)
13603 Is Reverse cut direction option selected? (new for X6)
13604 Is Extend start of passes option selected? (new for
X6)
13605 Amount to extend start of each pass (new for X6)
PARAMETER REFERENCE / Operation & toolpath parameters • 295

Lathe entry/exit
PRM_LATHE_EE
PRM_LATHE_EE_VEC Entry vector
PRM_LATHE_EE_VEC002 Exit vector Quick Start
PRM_LATHE_EE_VEC003 Entry vector, plunge finish (new for X5)
PRM_LATHE_EE_VEC004 Exit vector, plunge finish (new for X5)

PRM_LATHE_EE_VEC
11001 Lead-in vector angle (cosine)
11002 Lead-in vector angle (sine)
13000 Arc
13001 Arc
11007 Lead-in arc radius
13002 Arc
11008 Lead-in arc sweep (radians)
13003 Use entry/exit vector (True/False)
11006 Use entry/exit arc (True/False)
11021 Amount to extend/shorten the first/last move in
toolpath
11022 Extend/shorten first/last move in toolpath enabled
(True/False)
11003 Entry vector: 1 = rapid, 0 = feed
11023 Entry vector direction mode: 0 = user, 1 = tangent, 2 =
perpendicular
11004 Entry vector: feed rate
11005 Entry vector feed rate type: ‘R’ = feed/rev, ‘M’ = feed/
minute, ‘S’ = same as toolpath
11025 Entry/exit: 0 = auto, 1 = user defined
11024 Minimum auto entry length
13004 Adjust contour first/last entities (True/False)
13005 Amount to lengthen/shorten contour first/last entity
13006 Use amount to lengthen/shorten contour first/last
entity (True/False)
13007 Length of line added to contour first/last entity
13008 Angle of line added to contour first/last entity
13009 Add a line perpendicular to contour first/last entity
(True/False)

PRM_LATHE_EE_VEC002
11011 Lead-out vector angle (cosine)
11012 Lead-out vector angle (sine)
13010 Arc
13011 Arc
11017 Lead-out arc radius
13012 Arc
296 • MASTERCAM X8 / NCI & Parameter Reference

11018 Lead-out arc sweep (radians)


13013 Use entry/exit vector (True/False)
11016 Use entry/exit arc (True/False)
11026 Amount to extend/shorten the first/last move in
toolpath Quick Start
11027 Extend/shorten first/last move in toolpath enabled
(True/False)
11013 Retraction vector: 1 = rapid, 0 = feed
11028 Exit vector direction mode: 0 = user, 1 = tangent, 2 =
perpendicular
11014 Retraction vector: feed rate
11015 Retraction vector feed rate type: ‘R’ = feed/rev, ‘M’ =
feed/minute, ‘S’ = same as toolpath
11030 Use auto entry/exit (True/False)
11029 Minimum auto entry length
13014 Adjust contour first/last entities (True/False)
13015 Amount to lengthen/shorten contour first/last entity
13016 Use amount to lengthen/shorten contour first/last
entity (True/False)
13017 Length of line added to contour first/last entity
13018 Angle of line added to contour first/last entity
13019 Add a line perpendicular to contour first/last entity
(True/False)

PRM_LATHE_EE_VEC003
13519 Lead-out vector angle (cosine) (new for X5)
13520 Lead-out vector angle (sine) (new for X5)
13521 Arc (new for X5)
13522 Arc (new for X5)
13523 Lead-out arc radius (new for X5)
13524 Arc (new for X5)
13525 Lead-out arc sweep (radians) (new for X5)
13526 Use entry/exit vector (True/False) (new for X5)
13527 Use entry/exit arc (True/False) (new for X5)
13528 Amount to extend/shorten the first/last move in
toolpath (new for X5)
13529 Extend/shorten first/last move in toolpath enabled
(True/False) (new for X5)
13530 Retraction vector: 1 = rapid, 0 = feed (new for X5)
13531 Exit vector direction mode: 0 = user, 1 = tangent, 2 =
perpendicular (new for X5)
13532 Retraction vector: feed rate (new for X5)
13533 Retraction vector feed rate type: ‘R’ = feed/rev, ‘M’ =
feed/minute, ‘S’ = same as toolpath (new for X5)
13534 Use auto entry/exit (True/False) (new for X5)
PARAMETER REFERENCE / Operation & toolpath parameters • 297

13535 Minimum auto entry length (new for X5)


13536 Adjust contour first/last entities (True/False) (new for
X5)
13537 Amount to lengthen/shorten contour first/last entity
(new for X5) Quick Start
13538 Use amount to lengthen/shorten contour first/last
entity (True/False) (new for X5)
13539 Length of line added to contour first/last entity (new
for X5)
13540 Angle of line added to contour first/last entity (new for
X5)
13541 Add a line perpendicular to contour first/last entity
(True/False) (new for X5)

PRM_LATHE_EE_VEC004
13542 Lead-out vector angle (cosine) (new for X5)
13543 Lead-out vector angle (sine) (new for X5)
13544 Arc (new for X5)
13545 Arc (new for X5)
13546 Lead-out arc radius (new for X5)
13547 Arc (new for X5)
13548 Lead-out arc sweep (radians) (new for X5)
13549 Use entry/exit vector (True/False) (new for X5)
13550 Use entry/exit arc (True/False) (new for X5)
13551 Amount to extend/shorten the first/last move in
toolpath (new for X5)
13552 Extend/shorten first/last move in toolpath enabled
(True/False) (new for X5)
13553 Retraction vector: 1 = rapid, 0 = feed (new for X5)
13554 Exit vector direction mode: 0 = user, 1 = tangent, 2 =
perpendicular (new for X5)
13555 Retraction vector: feed rate (new for X5)
13556 Retraction vector feed rate type: ‘R’ = feed/rev, ‘M’ =
feed/minute, ‘S’ = same as toolpath (new for X5)
13557 Use auto entry/exit (True/False) (new for X5)
13558 Minimum auto entry length (new for X5)
13559 Adjust contour first/last entities (True/False) (new for
X5)
13560 Amount to lengthen/shorten contour first/last entity
(new for X5)
13561 Use amount to lengthen/shorten contour first/last
entity (True/False) (new for X5)
13562 Length of line added to contour first/last entity (new
for X5)
13563 Angle of line added to contour first/last entity (new for
X5)
298 • MASTERCAM X8 / NCI & Parameter Reference

13564 Add a line perpendicular to contour first/last entity


(True/False) (new for X5)

Quick Start
Lathe groove toolpaths

PRM_LGROOVE
13370 Retract moves rate: True = rapid, false = feed (was
10326) (X)
10327 Retract feed rate
10328 Retract feed rate type: R = per rev, M = per minute
PRM_GROOVE_SHAPE
PRM_GROOVE_ROUGH
PRM_GROOVE_FINISH
PRM_LTOOL_INSPECT
13458 (not currently used) (new for X5)
13581 (not currently used) (new for X5) (removed for X6)

PRM_GROOVE_SHAPE
13137 Groove defintion type: 0 = 1 point, 1 = 2 point,
2 = 3 line, 3 = 2 boundary method (chain) (moved for
X5)
13363 Spline linearization tolerance (was 10305) (X)
(moved for X5)
13138 Groove cut direction: 0 = ID, 1 = OD, 2 = face,
3 = back, 4 = angle (moved for X5)
10307 Groove angle (moved for X5)
10331 Groove width
10332 Groove height
10333 Taper on wall 1
10334 Taper on wall 2
PRM_LATHE_CORNER

PRM_LATHE_CORNER002

PRM_LATHE_CORNER003

PRM_LATHE_CORNER004

13172 Make groove same width as tool (True/False)

PRM_LTOOL_INSPECT
13415 1 = Implement Tool Inspection stop (new for X4)
(moved for X5)
PARAMETER REFERENCE / Operation & toolpath parameters • 299

13416 Tool inspection position: 0 = Home position, 1 = User


defined (new for X4) (moved for X5)
13417 1 = Enable stop after Each groove (new for X4)
(moved for X5)
13418 1 = Enable stop after Each depth cut (new for X4) Quick Start
(moved for X5)
13419 1 = Enable stop after specified Number of plunges
(new for X4) (moved for X5)
13420 1 = Enable stop after specified Length of time in cut
(see 13457) (new for X4) (moved for X5)
13421 1 = Enable stop after specified Length of cut (see
13459) (new for X4) (moved for X5)
13422 Number of passes or cuts between stops (new for X4)
(moved for X5)
13427 1 = Enable tool inspection comment (new for X4)
(moved for X5)
13428 Text string for tool inspection comment (new for X4)
(moved for X5)
13429 1 = Enable the Use reference points option on tool
inspection retract and approach moves (new for X4)
(moved for X5)
13430 Type of retract position for tool inspection: 1 =
absolute, 0 = incremental (new for X4) (moved for X5)
13431 1 = Enable retract move in world X axis (typically this
appears in the dialog box as Z) (new for X4) (moved
for X5)
13432 1 = Enable retract move in world Y axis (typically this
appears in the dialog box as X or D). (new for X4)
(moved for X5)
13433 1 = Enable retract move in world Z axis. (new for X4)
(moved for X5)
13434 World X coordinate of tool inspection coordinates
(typically this appears in the dialog box as Z). This
could be absolute or incremental (see 13430). (new for
X4) (moved for X5)
13435 World Y coordinate of tool inspection coordinates
(typically this appears in the dialog box as X or D). This
is always output as a radius value. This could be
absolute or incremental. (see 13430) (new for X4)
(moved for X5)
13436 (not currently used) (new for X4) (moved for X5)
(moved for X5)
13437 1 = Enable stop after First plunge (new for X4)
(moved for X5)
13457 Length of time (in seconds) between stops, when 13420
= 1 (new for X5)
13459 Distance between stops, when 13421 = 1 (new for X5)
13462 Stop between cuts : 1= Only between passes option,
0= Exact length and time option (stop between cuts)
(new for X5)
300 • MASTERCAM X8 / NCI & Parameter Reference

13463 Lead-in/out distance for mid-cut tool inspection


(when 13462=0) (new for X5)
13464 min distance from end of pass to do tool inspection in
mid cut (when 13462=0) (new for X5)
13672 1 = Use lead in/out option is selected, 0 = Lead in/out Quick Start
distance option is selected. (new for X6)

PRM_LATHE_CORNER
10713 Corner definition: true = corner defined, false = none
(square)
10335 Type: 0 = square, 1 = radius, 2 = chamfer, 3 = chamfer
with radius
10336 Corner radius or top radius on chamfer
10762 Bottom radius on chamfer
10337 Chamfer angle
10339 Corner chamfer: 0 = width, 1 = height
10338 Chamfer width or height

PRM_LATHE_CORNER001
10713 Corner definition: true = corner defined, false = none
(square)
10760 Type: 0 = square, 1 = radius, 2 = chamfer, 3 = chamfer
with radius
10761 Corner radius or top radius on chamfer
10762 Bottom radius on chamfer
10714 Chamfer angle
10715 Corner chamfer: 0 = width, 1 = height
10716 Chamfer width or height

PRM_LATHE_CORNER002
13026 Corner definition: true = corner defined, false = none
(square)
10340 Type: 0 = square, 1 = radius, 2 = chamfer, 3 = chamfer
with radius
10341 Corner radius or top radius on chamfer
13027 Bottom radius on chamfer
10342 Chamfer angle
10344 Corner chamfer: 0 = width, 1 = height
10343 Chamfer width or height

PRM_LATHE_CORNER003
13028 Corner definition: true = corner defined, false = none
(square)
10345 Type: 0 = square, 1 = radius, 2 = chamfer, 3 = chamfer
with radius
10346 Corner radius or top radius on chamfer
13029 Bottom radius on chamfer
PARAMETER REFERENCE / Operation & toolpath parameters • 301

10347 Chamfer angle


10349 Corner chamfer: 0 = width, 1 = height
10348 Chamfer width or height
PRM_LATHE_CORNER004
Quick Start
13030 Corner definition: true = corner defined, false = none
(square)
10350 Type: 0 = square, 1 = radius, 2 = chamfer, 3 = chamfer
with radius
10351 Corner radius or top radius on chamfer
13371 Bottom radius on chamfer (was 13031) (X)
10352 Chamfer angle
10354 Corner chamfer: 0 = width, 1 = height
10353 Chamfer width or height

PRM_GROOVE_ROUGH
13356 Do groove rough (True/False) (was 10308) (X)
13127 Finish current groove before roughing next one (True/
False)
13357 Cut direction:(X)
0 = positive
1 = negative
2 = bi-directional (center start)
3 = chain direction
(was 10309)
13358 Step amount (was 10301) (X)
13128 Number of steps across groove
13129 Rough step:
0 = use number of steps
1 = use step
2 = use percent of tool width
13359 Stock to leave in X (was 10302) (X)
13360 Stock to leave in Z (was 10303) (X)
13361 Stock clearance between cuts (was 10310) (X)
10329 Amount of stock on top of groove
13362 Backoff percent of step (was 10311) (X)
13130 Finish each groove after roughing it (True/False)
PRM_LATHE_PECK001
PRM_GROOVE_DEPTH
PRM_GROOVE_STEP
13131 Step percent of tool width
13406 1 = Enable First Plunge Feed Rate option (Plunge
move) (new for X4) (moved for X5)
13407 Feed rate of first cut to depth (new for X4) (moved for
X5)
13408 Feed rate type of first cut to depth: R = feed/rev, M =
feed/minute (new for X4) (moved for X5)
302 • MASTERCAM X8 / NCI & Parameter Reference

13658 1 = Enable First Plunge Feed Rate option (Retract


move) (new for X6)
13659 Feed rate of retract move (new for X6)
13660 Type of feed rate for retract move: R = feed/rev, M =
feed/minute (new for X6) Quick Start
13673 Maximum diameter for the first plunge for a face
groove toolpath (new for X7)
13674 Minimum diameter for the first plunge for a face
groove toolpath (new for X7)
PRM_LATHE_PECK
13347 Use peck parameters (True/False) (was 10702) (X)
10744 Peck type: 0= none, 1 = number, 2 = incremental, 3 =
decreasing increment
13355 Peck on first plunge only (True/False) (was 10313) (X)
10316 Depth (Pre-X)
10318 Last increment (Pre-X)
13348 Peck amount: ‘number of pecks’ (was 10315) (X)
13349 Peck increment (was 10704) (X)
13350 Final peck increment (was 10706) (X)
10740 Retract type: 0= none, 1 = absolute, 2 = incremental
(was 10319)
10742 Retract amount (absolute)
10741 Retract amount (incremental) (was 10320) (X)
10743 Dwell type: 0= none, 1 = all pecks, 2 = last peck
13351 Dwell value (was 10321) (X)
13023 Dwell units: 0 = seconds, 1 = revolutions

PRM_LATHE_PECK001
13352 Use peck parameters (True/False) (was 10312) (X)
10744 Peck type: 0 = none, 1 = number, 2 = incremental, 3 =
decreasing increment
13353 Peck on first plunge only (True/False) (was 10313) (X)
13354 Peck amount: ‘number of pecks’ (was 10315) (X)
10316 Peck increment
10318 Last peck increment
10319 Retract type: 0 = none, 1 = absolute, 2 = incremental
10742 Peck incremental amount
13364 Peck retract increment (was 10320) (X)
10743 Dwell type: 0 = none, 1 = all pecks, 2 = last peck
13365 Dwell (was 10321)(X)
13023 Dwell units: 0 = seconds, 1 = revolutions

PRM_LATHE_PECK002
10722 Use peck parameters (True/False)
10723 Peck type: 0= none, 1 = number, 2 = incremental, 3 =
decreasing increment
PARAMETER REFERENCE / Operation & toolpath parameters • 303

13024 Peck on first plunge only (True/False)


10724 Peck number
10725 Peck increment
10726 Peck last increment
Quick Start
10727 Peck retract type : 0= none, 1 = absolute, 2 =
incremental
10728 Peck absolute amount
10729 Peck incremental amount
10731 Peck dwell type: 0 = none, 1 = all pecks, 2 = last peck
10732 Peck dwell
13025 Dwell units: 0 = seconds, 1 = revolutions
PRM_GROOVE_DEPTH
13366 Do groove depth cuts (True/False) (was 10322) (X)
13367 Use depth number/increment: 0 = number, 1 =
increment (was 10323) (X)
13368 Depth cut increment (was 10325) (X)
13120 Retract to Stock Clearance: true = incremental, false =
absolute
13369 Depth cut number (was 10324) (X)
13372 Zigzag between depth cuts (True/False) (was 13121) (X)

PRM_GROOVE_STEP
13122 Clean up ‘stair steps’ between depths (True/False)
13123 Minimum step size to clean up
13124 Radius to arc on with for step removal cut
13125 Sweep angle to arc on with for step removal cut
13126 Arc onto step cleanup pass (True/False)

PRM_GROOVE_FINISH
10360 Do groove finish (True/False)
10361 Start on positive side (True/False)
10364 Number of finish passes
10365 Finish stepover amount
10366 Stock to leave in X
10367 Stock to leave in Z
13132 Tool back offset number
13133 Use back offset number (True/False)
10370 Multiple passes: true = finish each groove completely,
false = finish grooves together
10380 Amount to lengthen 1st cut
13134 Amount of overlap between 1st and 2nd cuts
PRM_LATHE_EE
13136 Wall backoff: true = overlap is percent of tool width,
false = overlap is length
13240 Finish backoff (moved for X5)
304 • MASTERCAM X8 / NCI & Parameter Reference

13241 Backoff type: 0 = invalid (pre v9.1), 1 = percent of tool


width, 2 = distance (moved for X5)
13403 Finish dwell type: 0 = none, 1 = seconds, 2 = revolutions
(new for X4) (moved for X5)
13404 Finish dwell time (seconds) (new for X4) (moved for Quick Start
X5)
13405 Finish dwell (revolutions) (new for X4) (moved for
X5)
13409 1 = Enable Finish feed rate option (new for X4)
(moved for X5)
13410 Finish feed rate (new for X4) (moved for X5)
13411 Finish feed type: R = feed/rev, M = feed/minute,
S=surface finish (micro-in or micron) (note: output is
the ASCII code for R/M/S) (new for X4) (moved for
X5)
13412 1 = Enable Finish spindle speed option (new for X4)
(moved for X5)
13413 Finish spindle speed (new for X4) (moved for X5)
13414 Finish spindle speed mode: 1 = CSS, 0 = RPM (new for
X4) (moved for X5)
13425 Finish groove overlap position: 0 = User-selected
position, 1 = middle of groove (new for X4) (moved
for X5)
13426 Overlap distance: used when overlap is in the middle of
the groove (new for X4) (moved for X5)

Lathe plunge-turn toolpaths


PRM_LPLUNGE
PRM_GROOVE_SHAPE (new for X5)
PRM_PLUNGE_ROUGH (new for X5)
PRM_PLUNGE_FINISH (new for X5)
PRM_LTOOL_INSPECT (new for X5)
13475 Retract type : 1= rapid, 2= at feed rate (new for X5)
13476 Feed rate for retract (new for X5)
13477 Type of retract feed rate : R= per rev, M= per minute
(new for X5)

PRM_PLUNGE_ROUGH
13465 1 = Rough the groove option selected (new for X5)
13466 1 = Finish each groove before roughing next option
selected (new for X5)
13467 First pass cut direction: 0 = positive, 1 = negative, 2 =
center start (not used), 3 = chain direction (new for
X5)
PARAMETER REFERENCE / Operation & toolpath parameters • 305

13468 Depth of cut (amount) (new for X5)


13469 Depth of cut (% of tool) (new for X5)
13470 Min cut depth (amount) (new for X5)
13471 Min cut depth (% of tool) (new for X5)
Quick Start
13472 Stock to leave in X (new for X5)
13473 Stock to leave in Z (new for X5)
13474 1= Zig-zag cut (new for X5)
13478 Spindle transition dwell type : 0 = none, 1 = seconds, 2
= revolutions (new for X5)
13479 Dwell time (seconds) (new for X5)
13480 Dwell (revolutions) (new for X5)
13481 1 = Cleanup steps option selected (new for X5)
13482 Maximum step size before cleanup is needed—percent
of tool width (new for X5)
13483 Prevent hanging ring selection :0 = do nothing, 1 =
remove in both directions, 2 = remove positive, 3 =
remove negative (new for X5)
13484 Step size as % of tool width (new for X5)
PRM_LATHE_EE (new for X5)
13485 Plunge feed rate (new for X5)
13486 Plunge feed rate type : R = per rev, M = per minute (new
for X5)
13487 Plunge spindle speed (new for X5)
13488 Plunge spindle speed type : 0 = RPM, 1 = CSS (new for
X5)
13489 Turn feed rate (new for X5)
13490 Turn feed rate type : R = per rev, M = per minute (new
for X5)
13491 Turn spindle speed (new for X5)
13492 Turn spindle speed type : 0 = RPM, 1 = CSS (new for
X5)
13493 Approach clearance distance (new for X5)
13494 Stock clearance distance (new for X5)

PRM_PLUNGE_FINISH
13495 Enable Finish groove option (new for X5)
13496 Enable back offset number option (new for X5)
13497 Back offset number to use (new for X5)
13498 Stock to leave in X (new for X5)
13499 Stock to leave in Z (new for X5)
13500 Tool deflection backoff distance (new for X5)
13501 Approach clearance distance (new for X5)
13502 Cut direction: 0 = positive, 1 = negative (new for X5)
306 • MASTERCAM X8 / NCI & Parameter Reference

13503 Plunge dwell type : 0 = none, 1 = seconds, 2 =


revolutions (new for X5)
13504 Dwell time (seconds) (new for X5)
13505 Dwell (revolutions) (new for X5)
PRM_LATHE_EE (new for X5) Quick Start

13509 Plunge feed rate (new for X5)


13510 Plunge feed rate type : R = per rev, M = per minute (new
for X5)
13511 Plunge spindle speed (new for X5)
13512 Plunge spindle speed type : 0 = RPM, 1 = CSS (new for
X5)
13513 Turn feed rate (new for X5)
13514 Turn feed rate type : R = per rev, M = per minute (new
for X5)
13515 Turn spindle speed (new for X5)
13516 Turn spindle speed type : 0 = RPM, 1 = CSS (new for
X5)
13517 Prevent hanging ring selection :0 = do nothing, 1 =
remove in both directions, 2 = remove positive, 3 =
remove negative (new for X5)
13518 Stock clearance distance (new for X5)

Lathe thread toolpaths

PRM_LTHREAD
10822 Thread name (was 10422) (X)
10823 Allowance name (was 10423) (X)
PRM_THREAD_SHAPE
PRM_THREAD_CUT

PRM_THREAD_SHAPE
10819 Thread cut type: 0 = ID, 1 = OD, 2 = face/back (was
10419) (X)
10800 Thread lead: thread/inch (mm) setting returns a
negative value, inches (mm)/thread setting returns a
positive value (was 10400) (X)
10811 Major diameter (was 10411) (X)
10812 Minor diameter (was 10412) (X)
10813 Start position (was 10413) (X)
10814 End position (was 10414) (X)
10815 Taper angle (was 10415) (X)
10816 Cut side of axis: 0 = positive side, 1 = negative side
(Negative X is checked) (was 10816) (X)
10830 Use allowance (True/False) (was 10430) (X)
PARAMETER REFERENCE / Operation & toolpath parameters • 307

10817 Major allowance (was 10417) (X)


10818 Minor allowance (was 10418) (X)
10824 Allowance tolerance (was 10424) (X)
10805 Lead angle (was 10405) (X)
Quick Start
10840 Included angle (was 10440) (X)
13195 Diameter at small end (True/False)
13380 Allowance is disabled (True/False) (new for X3)
PRM_THREAD_CUT
10809 NC output type: 0 = long hand (G32), 1 = canned (G76),
2 = box (G92) (was 10409) (X)
10801 First cut depth (was 10801) (X)
10802 Last cut depth (was 10402) (X)
10820 Number of starts (was 10420) (X)
10821 Auto compute acceleration clearance (True/False) (was
10421) (X)
10803 Acceleration clearance amount (was 10403) (X)
10831 Units: true = revolutions, false = inches (was 10431) (X)
10832 Clearance above threads between passes (was 10432)
(X)
10833 Clearance at to add at end of thread pass (was 10433)
(X)
10834 Units: true = revolutions, false = inches (was 10434) (X)
10804 Anticipated pulloff distance (was 10404) (X)
10835 Units: true = revolutions, false = inches (was 10435) (X)
10808 Amount of stock to leave for spring cuts (was 10408) (X)
10807 Number of spring cuts (was 10407) (X)
10810 Feed rate (was 10410) (X)
10837 Number of cuts (was 10437) (X)
10838 Determine cut depths: true = equal depth, false = equal
area (was 10438) (X)
10836 Determine cut number: true = number of cuts, false =
first cut depth (was 10436) (X)
10839 Tool lead-in angle at start of thread (was 10439) (X)
15554 Multi-start (True/False)
15555 Start closest (True/False)
15556 Start clear last (True/False)

Lathe drill toolpaths


PRM_LDRILL
10500 Drill cycle
10507 First peck increment
10508 Subsequent peck increment
308 • MASTERCAM X8 / NCI & Parameter Reference

10509 Peck clearance


10510 Retraction distance for chip break
10503 Dwell
10520 Shift value Quick Start
10117 Drill tip compensation breakthrough amount
10511 Adjust depth per drill tip (True/False)
10519 Drill point in Z
10502 Drill X position
10514 Feed plane (retract value) incremental mode is
checked (True/False) (Pre-X)
15071 Custom drill cycle parameters
15072 Custom drill cycle parameters
15073 Custom drill cycle parameters
15074 Custom drill cycle parameters
15075 Custom drill cycle parameters
15076 Custom drill cycle parameters
15077 Custom drill cycle parameters
15078 Custom drill cycle parameters
15079 Custom drill cycle parameters
15080 Custom drill cycle parameters
15081 Use custom parameters is checked (True/False)
13169 Clearance height is incremental from stock (True/
False)
13170 Retraction height is incremental from stock (True/
False)

Lathe face toolpaths


PRM_LATHE_FACE
10603 Do groove roughing (True/False)
10604 Maximum stepover
10606 Do groove finishing (True/False)
10608 Amount of each cut
10607 Number of finish passes
10609 Stock to leave after rough and finish
10614 Lead-in amount
10612 Retract amount
10613 Retract speed: 0 = linear, 1 = rapid
10601 Overcut_amount
PARAMETER REFERENCE / Operation & toolpath parameters • 309

10615 Cut from Z axis : true = cut away from center line, false
= cut toward center line
PRM_LATHE_EE
PRM_LATHE_FACE_C
ORNER Quick Start
13614 The number of the selected Rough Passes option from
the Face Corner dialog box (new for X6)
13615 The number of the selected Finish Passes option from
the Face Corner dialog box (new for X6)
13616 1 = Finish feed rate option is selected (new for X6)
13617 Finish feed rate (new for X6)
13618 Character indicating type of finish feed rate: M = per
minute, R = per rev. (new for X6)
13619 1 = Finish spindle speed option is selected (new for
X6)
13620 Finish spindle speed (new for X6)
13621 Finish spindle speed mode: 0=RPM, 1=CSS (new for
X6)
PRM_LATHE_FACE_CORNER
13606 Is corner break option enabled? (new for X6)
13607 0 = Radius, 1 = Chamfer (new for X6)
13608 Radius value (new for X6)
13609 Top radius for chamfer (new for X6)
13610 Bottom radius for chamfer (new for X6)
13611 Chamfer Angle (new for X6)
13612 Select chamfer method: 0 = Width, 1 = Height (new for
X6)
13613 Chamfer dimension (height or width) (new for X6)

Lathe cutoff toolpaths


PRM_LCUTOFF
13346 ‘X’ tangent point (was 10701) (X)
10711 Cut tool to: 0 = front radius, 1 = back radius
10712 Lead-in amount
10750 Retract Radius: 0 = none, 1 = absolute, 2 =
incremental
10752 Retract amount, absolute
10751 Retract amount, incremental
PRM_LATHE_PECK
PRM_LATHE_CORNER001
PRM_LATHE_EE
10718 Do clearance cut (True/False)
10719 Clearance amount X
310 • MASTERCAM X8 / NCI & Parameter Reference

10720 Clearance amount Z


10721 Clearance cut lead in amount
PRM_LATHE_PECK001
13039 Do canned text (True/False)
Quick Start
PRM_LCUTOFF_CANTXT
PRM_LCUTOFF_CANTXT002
PRM_LCUTOFF_CANTXT003
PRM_LCUTOFF_CANTXT004
PRM_LCUTOFF_CANTXT005
PRM_LCUTOFF_CANTXT006
PRM_LCUTOFF_CANTXT007
PRM_LCUTOFF_CANTXT008
13574 1= get Entry amount—From stock option
(new for X5)
13575 1= get Retract radius—From stock option
(new for X5)
13576 1= get Clearance Cut > Entry amount—
From stock option (new for X5)
13577 Back Face Stock amount (new for X5)
PRM_LCUTOFF_FS (new for X5)
13707 1=suppress retract move (MT only) (new for
X8)
PRM_LCUTOFF_CANTXT
13031 Radius to output canned text
13040 Canned text values
13041 Canned text values
13042 Canned text values
13043 Canned text values
13044 Canned text values
13045 Canned text values
13046 Canned text values
13047 Canned text values
13048 Canned text values
13049 Canned text values
13261 Additional canned text values (X)
13262 Additional canned text values (X)
13263 Additional canned text values (X)
13264 Additional canned text values (X)
13265 Additional canned text values (X)
13266 Additional canned text values (X)
13267 Additional canned text values (X)
13268 Additional canned text values (X)
13269 Additional canned text values (X)
13270 Additional canned text values (X)
PARAMETER REFERENCE / Operation & toolpath parameters • 311

PRM_LCUTOFF_CANTXT002
13032 Radius to output canned text
13050 Canned text values
13051 Canned text values
Quick Start
13052 Canned text values
13053 Canned text values
13054 Canned text values
13055 Canned text values
13056 Canned text values
13057 Canned text values
13058 Canned text values
13059 Canned text values
13271 Additional canned text values (X)
13272 Additional canned text values (X)
13273 Additional canned text values (X)
13274 Additional canned text values (X)
13275 Additional canned text values (X)
13276 Additional canned text values (X)
13277 Additional canned text values (X)
13278 Additional canned text values (X)
13279 Additional canned text values (X)
13280 Additional canned text values (X)

PRM_LCUTOFF_CANTXT003
13033 Radius to output canned text
13060 Canned text values
13061 Canned text values
13062 Canned text values
13063 Canned text values
13064 Canned text values
13065 Canned text values
13066 Canned text values
13067 Canned text values
13068 Canned text values
13069 Canned text values
13281 Additional canned text values (X)
13282 Additional canned text values (X)
13283 Additional canned text values (X)
13284 Additional canned text values (X)
13285 Additional canned text values (X)
13286 Additional canned text values (X)
13287 Additional canned text values (X)
13288 Additional canned text values (X)
13289 Additional canned text values (X)
312 • MASTERCAM X8 / NCI & Parameter Reference

13290 Additional canned text values (X)


PRM_LCUTOFF_CANTXT004
13034 Radius to output canned text
13070 Canned text values Quick Start
13071 Canned text values
13072 Canned text values
13073 Canned text values
13074 Canned text values
13075 Canned text values
13076 Canned text values
13077 Canned text values
13078 Canned text values
13079 Canned text values
13291 Additional canned text values (X)
13292 Additional canned text values (X)
13293 Additional canned text values (X)
13294 Additional canned text values (X)
13295 Additional canned text values (X)
13296 Additional canned text values (X)
13297 Additional canned text values (X)
13298 Additional canned text values (X)
13299 Additional canned text values (X)
13300 Additional canned text values (X)

PRM_LCUTOFF_CANTXT005
13035 Radius to output canned text
13080 Canned text values
13081 Canned text values
13082 Canned text values
13083 Canned text values
13084 Canned text values
13085 Canned text values
13086 Canned text values
13087 Canned text values
13088 Canned text values
13089 Canned text values
13301 Additional canned text values (X)
13302 Additional canned text values (X)
13303 Additional canned text values (X)
13304 Additional canned text values (X)
13305 Additional canned text values (X)
13306 Additional canned text values (X)
13307 Additional canned text values (X)
13308 Additional canned text values (X)
PARAMETER REFERENCE / Operation & toolpath parameters • 313

13309 Additional canned text values (X)


13310 Additional canned text values (X)
PRM_LCUTOFF_CANTXT006
13036 Radius to output canned text Quick Start
13090 Canned text values
13091 Canned text values
13092 Canned text values
13093 Canned text values
13094 Canned text values
13095 Canned text values
13096 Canned text values
13097 Canned text values
13098 Canned text values
13099 Canned text values
13311 Additional canned text values (X)
13312 Additional canned text values (X)
13313 Additional canned text values (X)
13314 Additional canned text values (X)
13315 Additional canned text values (X)
13316 Additional canned text values (X)
13317 Additional canned text values (X)
13318 Additional canned text values (X)
13319 Additional canned text values (X)
13320 Additional canned text values (X)

PRM_LCUTOFF_CANTXT007
13037 Radius to output canned text
13100 Canned text values
13101 Canned text values
13102 Canned text values
13103 Canned text values
13104 Canned text values
13105 Canned text values
13106 Canned text values
13107 Canned text values
13108 Canned text values
13109 Canned text values
13321 Additional canned text values (X)
13322 Additional canned text values (X)
13323 Additional canned text values (X)
13324 Additional canned text values (X)
13325 Additional canned text values (X)
13326 Additional canned text values (X)
13327 Additional canned text values (X)
314 • MASTERCAM X8 / NCI & Parameter Reference

13328 Additional canned text values (X)


13329 Additional canned text values (X)
13330 Additional canned text values (X)
PRM_LCUTOFF_CANTXT008
Quick Start
13038 Radius to output canned text
13110 Canned text values
13111 Canned text values
13112 Canned text values
13113 Canned text values
13114 Canned text values
13115 Canned text values
13116 Canned text values
13117 Canned text values
13118 Canned text values
13119 Canned text values
13331 Additional canned text values (X)
13332 Additional canned text values (X)
13333 Additional canned text values (X)
13334 Additional canned text values (X)
13335 Additional canned text values (X)
13336 Additional canned text values (X)
13337 Additional canned text values (X)
13338 Additional canned text values (X)
13339 Additional canned text values (X)
13340 Additional canned text values (X)

Lathe canned toolpaths


PRM_LCAN_ROUGH
13139 Change to longhand (True/False)
10214 Direction: 0 = OD, 1= ID, 2 = face, 3 = back
13343 Step amount (was 10200) (X)
10202 Stock to leave in X
10203 Stock to leave in Z
13345 Stepover amount (was 10205) (X)
PRM_LATHE_EE
10201 Overlap
13164 Entry Amount
PRM_LATHE_PLUNGE
13239 Plunge cutting: true = profile has an undercut (relief)
condition, false = ignore undercut areas
PARAMETER REFERENCE / Operation & toolpath parameters • 315

13438 Front clearance angle for plunging (note: this is in


radians, not degrees) (new for X5)
13565 0 = use Front clearance angle option for plunging
(new for X5)
13579 Clearance distance: X (new for X5) Quick Start
13580 Clearance distance: Z (new for X5)
PRM_LCAN_FINISH
13121 Operation that contains profile
13141 Not used
13142 Change to longhand (True/False)
13143 Not used
13144 Not used
13145 Linearization tolerance
PRM_LATHE_EE
13203 Unique subprogram number (was 13165) (X)
13239 Plunge cutting: true = profile has an undercut (relief)
condition, false = ignore undercut areas

PRM_LCAN_PATTERN
13147 Output longhand (True/False) (Not used)
13148 Change to longhand (True/False)
13341 Number of passes (was 10100) (X)
10101 Stepover
10102 Stock to leave in X
10103 Stock to leave in Z
13149 Pattern offset angle (in radians)
13342 Linearization tolerance (was 10104) (X)
PRM_LATHE_EE

Lathe misc ops


PRM_LSTOCK_XFER
13205 Active spindle for stock transfer
13206 Z coordinate on stock to be transferred
13207 Previous Z coordinate on stock to be transferred
13208 Use stock BACK face as init Z position (True/False)
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
316 • MASTERCAM X8 / NCI & Parameter Reference

13216 Destination chuck pickoff position


13217 Destination chuck pickoff position
13218 Get final (Lathe) X coordinate from stock (True/False)
13219 Move Cplane origin to new stock position (True/False)
(removed for X5) Quick Start
13220 Move Tplane origin to new stock position (True/False)
(removed for X5)
13221 Transfer geometry also (True/False)
13222 Level to store transferred geometry on
13223 Offset from source geometry level for transferred
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
OP_MISC_001 Custom real / integer parameters (new for X4)
PRM_LSTOCK_FLIP
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 Move Cplane origin to new stock position (True/False)
(removed for X5)
13220 Move Tplane origin to new stock position (True/False)
(removed for X5)
13221 Transfer geometry also during flip (True/False)
13222 Level to store transferred geometry on
13223 Offset from source geometry level for transferred
geometry
13224 Use geo level [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
OP_MISC_001 Custom real / integer parameters (new for X4)

PRM_LBARFEED
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
PARAMETER REFERENCE / Operation & toolpath parameters • 317

13210 Chuck reference position before barfeed


13211 Chuck reference position before barfeed
13212 Chuck reference position after barfeed
13213 Chuck reference position after barfeed
Quick Start
13228 Use chuck positions (True/False)
13219 Move Cplane origin to new stock position (True/False)
(removed for X5)
13220 Move Tplane origin to new stock position (True/False)
(removed for X5)
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)
OP_MISC_001 Custom real / integer parameters (new for X4)
13233 Tool X position for stop, bar puller

PRM_LCHUCK_CLAMP
13205 Active spindle for chuck
13229 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
OP_MISC_001 Custom real / integer parameters (new for X4)
13508 For operations created by the cutoff/pickoff C-Hook,
this is the index number of the operation (new for X5)
13567 For pickoff operations created by the cutoff/pickoff C-
Hook, this is the stock clearance value (new for X5)

PRM_LTAILSTOCK
13234 Operation: 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)
318 • MASTERCAM X8 / NCI & Parameter Reference

13238 Is initial position based on tailstock minimum point


(True/False)
OP_MISC_001 Custom real / integer parameters (new for X4)
PRM_LSTEADYREST
Quick Start
13235 Initial steadyrest reference position (Z)
13236 Initial steadyrest reference position (Z)
OP_MISC_001 Custom real / integer parameters (new for X4)

Mill-Turn
The following parameters are used by Mill-Turn operations. Since there is no way to post
out these operations with an MP-based post, they are not described in detail; they are
noted here simply so you can account for the range of parameter numbers.
13622–13656 Used by MT (new for X7)
13675–13688 Used by MT (new for X7)
13694 Used by MT (new for X7)

Wire parameters

Wire toolpaths, common settings


PRM_WIRE_COMMON
14000 Starting pass number
14001 Power setting library entity ID #
14065 Power setting library entity ID #
14049 Pointer to power setting library entity (removed for
X3)
14066 Pointer to power setting library entity (removed for
X3)
14067 Use miscellaneous integers/reals (True/False)
14068 Multipass miscellaneous integers and reals entitiy ID #
14069 Pointer to multipass miscellaneous integers/reals
entity (removed for X3)
14155 UV extension (was 10311) (X)
14002 UV extension: true = incremental, false = absolute
14131 UV trim plane (was 10106) (X)
14003 UV trim plane: true = incremental, false = absolute
10201 UV height (was 10101) (X)
14004 True = UV height incremental, false = absolute
14129 XY height (was 10102) (X)
PARAMETER REFERENCE / Operation & toolpath parameters • 319

14005 XY height: true = incremental, false = absolute


10306 XY trim plane (was 10107) (X)
14006 XY trim plane: true = incremental, false = absolute
14156 XY extension (was 10312) (X)
Quick Start
14007 XY extension: true = incremental, false = absolute
10050 Wire on (True/False)
10051 Power on (True/False)
14126 Flush: 0 = off, 1 = on, 2 = other (was 10022) (X)
14070 Tank: 0 = empty, 1 = fill
10052 Start wirepath at thread position (True = ‘Auto start
position’ is ON)
14128 Linearization tolerance (was 10024) (X)
14008 Thread position (X coordinate)
14009 Thread position (Y coordinate)
14010 Thread position (Z coordinate)
14011 Cut position (X coordinate)
14012 Cut position (Y coordinate)
14013 Cut position (Z coordinate)
14014 Second (UV) thread position (X coordinate) - future
14015 Second (UV) thread position (Y coordinate)- future
14016 Second (UV) thread position (Z coordinate)- future
14017 Second cut position (X coordinate) - future
14018 Second cut position (Y coordinate) - future
14029 Second cut position (Z coordinate) - future
14020 Start position (X coordinate)
14021 Start position (Y coordinate)
14022 Start position (Z coordinate)
14023 Work origin (X coordinate)
14024 Work origin (Y coordinate)
14025 Work origin (Z coordinate)
14080 Use UV thread position (True/False)
14081 UV thread cut flag: 0 = not used, 1 = thread, 2 = cut, 3 =
both
14082 Rapid height
14083 Rapid height: true = incremental, false = absolute
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)
14177 Newly created? (new for X3)
14178 Machine offset (new for X3)
320 • MASTERCAM X8 / NCI & Parameter Reference

14179 Agie library type (new for X4)


14180 Agie library entity ID (new for X4)
14181 Agie library entity ID (new for X4)
14182 Power library type (new for X4)
Quick Start
14183 Power library entity ID (new for X4)
14184 Power library entity ID (new for X4)
14185 C-Hook assigned to Misc Vals button (new for X4)
14186 Agie Wire Diameter—used to get value to temp pocket
op (new for X5)
14187 Agie Wire Diameter—used to get finish value to temp
pocket op (new for X5)

PRM_WIRE_COMMON001
(this entire group removed for X3)

PRM_WIRE_COMMON002
(this entire group removed for X3)

PRM_WIRE_EE
14141 Lead in: N = none, A = arc, L = line (was 10700) (X)
14142 Lead out: N = none, A = arc, L = line (was 10701) (X)
14143 Radius of entry / exit arc (was 10702) (X)
14144 Sweep angle of entry / exit arc (in radians) (was 10703)
(X)
14026 Apply the value in max lead out length (even if zero)
(True/False)
14145 Maximum lead out length (was 10704) (X)
14146 Overlap amount (can be negative for tabs) (was 10705)
(X)
14027 Cut wire before leaving contour (True/False)
14162 Rapid from thread point
14163 Rapid to cut point
14164 Output stop code before tab
14165 Output stop code after tab
14166 Rapid to start position at end of program
14188 Stop on tab cut?? (new for X5)
14189 Distance from end of tab to stop (new for X5)

PRM_WIRE_EE002
14147 Lead in: N = none, A = arc, L = line (was 10707) (X)
14148 Lead out: N = none, A = arc, L = line (was 10708) (X)
14149 Radius of entry arc (was 10709) (X)
14150 Sweep angle of entry arc (in radians) (was 10710) (X)
14028 Apply the value in max lead out length (even if 0)
(True/False)
PARAMETER REFERENCE / Operation & toolpath parameters • 321

14151 Maximum lead out length (was 10711) (X)


14152 Overlap amount (can be negative for tabs) (was 10712)
(X)
14158 Cut wire before leaving contour (True/False) (was
14029) (X) Quick Start
14167 Rapid from thread point
14168 Rapid to cut point
14169 Output stop code before tab
14170 Output stop code after tab
14171 Rapid to start position at end of program
14190 Stop on tab cut?? (new for X5)
14191 Distance from end of tab to stop (new for X5)
PRM_WIRE_EE003
14116 Lead in: N = none, A = arc, L = line
14117 Lead out: N = none, A = arc, L = line
14118 Radius of exit arc
14119 Sweep angle of exit arc (in radians)
14120 Apply the value in max lead out length (even if 0)
(True/False)
14121 Maximum lead out length
14122 Overlap amount (can be negative for tabs)
14123 Cut wire before leaving contour (True/False)
14172 Rapid from thread point
14173 Rapid to cut point
14174 Output stop code before tab
14175 Output stop code after tab
14176 Rapid to start position at end of program
19192 Stop on tab cut?? (new for X5)
14193 Distance from end of tab to stop (new for X5)

Wire contour
PRM_WIRE_CONTOUR

PRM_WIRE_COMMON
10071 Infinite look-ahead is enabled (True/False)
14074 Taper active (True/False)
10055 Changed to 14199 (changed for X6)
14199 Initial taper angle. Note: Positive or 0. (used to be 10055)
(new for X6)
14030 Taper direction: 0 = left, 1 = right
14031 Taper: 0=no cancel, 1=cancel after, 2=apply after
322 • MASTERCAM X8 / NCI & Parameter Reference

14032 Pass number to apply/cancel taper on


14033 CW corner type :
0 = Conical
1 = Sharp
2 = Constant Quick Start
3 = Other
4 = Fixed
5 = FishTail

14034 CW corner radius - if corner type fixed


14035 CCW corner type:
0 = Conical
1 = Sharp
2 = Constant
3 = Other
4 = Fixed
5 = FishTail

14036 CCW corner radius - if corner type = fixed


14037 CW UV arc type
14038 CW UV arc radius - if uv arc type = fixed
14039 CCW UV arc type
14040 CCW UV arc radius - if uv arc type = fixed
PRM_WIRE_EE
PRM_WIRE_EE002
14154 Apply max lead length to final skim pass (True/False) (was
10714) (X)
14153 Allow program to change cut position with tabs (True/
False) (was 10713) (X)
14137 Lead in comes from inside closed coutour (True/False)
(was 10115) (X)
10300 Skim cut method: 0 = one-way, 1 = reverse (was 10100) (X)
14041 Lead in comes from left of open coutour (True/False)
14132 Tab width (was 10108) (X)
14078 Distance from start of chain to thread
14130 Number of rough skim cuts (was 10104) (X)
14133 Number of tab cuts (was 10110) (X)
14134 Number of finish cuts - together (was 10111) (X)
14135 Number of finish cuts - separate (was 10112) (X)
14042 Cut order: 0 = all cuts together, 1 = tabs and finish together
2 = rough, tab and finish separtely
14043 Use special entry/exit to prevent part drop out (True/
False)
10072 Reset starting power setting number for tab cut (True/
False)
14136 Output tab with last rough cut (True/False) (was 10113) (X)
10114 Output tab as: true = glue stop, false = stop point
PARAMETER REFERENCE / Operation & toolpath parameters • 323

14044 Output subprogram labels (True/False)


14045 Subprogram output mode: true = incremental,
false = absolute
14138 Multiple contours use same subprogram (True/False) (was
10116) (X) Quick Start
PRM_CHAIN_SORT (X)
14075 Contour was created as a NoCore finish contour (True/
False)
14076 Expand this operation (True/False)
14077 This operation was created by expanding (True/False)
14079 Apply thread distance (old tab_height) (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 (XY extension)
14108 Land height: true = incremental, false = absolute
14109 Generate stop: 0 = always, 1 = first only, 2 = never
14110 Use sub offset (True/False)
14111 Sub offset
PRM_WIRE_TAB
PRM_WIRE_EE003 finish passes entry/exit info
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)
14194 Reset trimmed leads (new for X5)
14195 Reset power pass when taper applied/canceled (new for
X5)

PRM_WIRE_TAB
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)
324 • MASTERCAM X8 / NCI & Parameter Reference

14097 Minimum distance from endpoint


14098 Minimum distance between tabs
14099 Minimum distance from sharp corner
14100 Sharp corner angle
Quick Start
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)

Wire canned cycles

PRM_WCAN_CYCLE

PRM_WIRE_COMMON
10400 Drill cycle
10401 Initial height
10402 Reference height
10403 Absolute height
10404 First peck increment
10405 Other peck increment
10406 Peck clearance
10409 Retract distance (was 10407) (X)
10408 Dwell
15071 Custom drill cycle parameters
15072 Custom drill cycle parameters
15073 Custom drill cycle parameters
15074 Custom drill cycle parameters
15075 Custom drill cycle parameters
15076 Custom drill cycle parameters
15077 Custom drill cycle parameters
15078 Custom drill cycle parameters
15079 Custom drill cycle parameters
15080 Custom drill cycle parameters
15081 Use custom parameters is checked (True/False)

Nocore wirepaths

PRM_WIRE_NOCORE
PRM_WIRE_COMMO (new for X3)
N
PARAMETER REFERENCE / Operation & toolpath parameters • 325

10053 Auto entry - go from start to thread to pocket start


(True/False)
10054 Auto exit - go to cut position afterward (True/False)
PRM_WIRE_EE
Quick Start
14154 Apply max lead length to final skimpass (True/False)
(was 10714) (X)
14153 Allow progr10713am to change cut position with tabs
(True/False) (was ) (X)
10208 Cutting method: 0 = zigzag, 1 = one way, etc. (was
10200) (X)
10217 Stepover percentage
14046 Roughing step size
14139 Roughing angle (was 10203) (X)
14140 Roughing direction : 0 = CW, 1 = CCW (was 10216) (X)
14047 Finishing enabled (True/False)
10206 Number of finish passes
10207 Finish pass step size
10212 Move to closest boundary point for finish (True/False)
14159 Output finish passes with rough pass (True/False) (was
14078) (X)
10211 Compensation for finish passes
14044 Output subprogram labels (True/False)
14045 Subprogram output mode: true = incremental, false =
absolute
14138 Multiple contours use same subprogram (True/False)
(was 10116) (X)
PRM_CHAIN_SORT (X)
14160 Minimize tool burial (True/False) (was 14079) (X)
14161 Create additional finish contour operation (True/False)
(was 14080) (X)
14110 Use sub offset (True/False)
14111 Sub offset

Point wirepaths

PRM_WIRE_POINT

PRM_WIRE_COMMON (new for X3)


326 • MASTERCAM X8 / NCI & Parameter Reference

4axis wirepaths
PRM_WIRE_4AXIS
PRM_WIRE_COMMO (new for X3)
N Quick Start
10071 Infinite look-ahead is enabled (True/False)
14127 4axis step size (if sync = NONE) (was 10023) (X)
10303 Old common trim_plane1
10309 4axis cutting method: 0 = taper, 1 = direct
PRM_WIRE_EE
PRM_WIRE_EE002
14154 Apply max lead length to final skim pass (True/False)
(was 10714) (X)
14153 Allow program to change cut position with tabs (True/
False) (was 10713) (X)
14137 Lead in comes from inside closed contour (True/False)
(was 10115) (X)
10300 Skim cut method: 0 = one-way, 1 = reverse
14041 Lead in comes from left of open contour (True/False)
14157 Tab width (was 10313) (X)
14078 Distance from start of chain to thread
10308 Number of rough skim cuts
14133 Number of tab cuts (was 10314) (X)
14134 Number of finish cuts - together (was 10315) (X)
14135 Number of finish cuts - separate (Unused) (was 10112)
(X)
14042 Unused for now in 4-axis
14043 Use special entry/exit to prevent part dropout (True/
False)
10072 Reset starting power setting number for tab cut (True/
False)
14136 Output tab with last rough cut (True/False) (was 10316)
(X)
10317 Output tab as: true = glue stop, false = stop point
14048 Sync option setting:
0 = None
1 = By entity
2 = By Branch
3 = By node
4 = By point
5 = Manual
6 = Manual/density
14044 Output subprogram labels (True/False)
14045 Subprogram output mode: true = incremental, false =
absolute
14138 Multiple contours use same subprogram (True/False)
(was 10116) (X)
14079 Apply thread distance (old tab_height (True/False)
PARAMETER REFERENCE / Operation & toolpath parameters • 327

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


14110 Use sub offset (True/False)
14111 Sub offset
PRM_WIRE_TAB Quick Start
PRM_WIRE_EE003

14112 Rough on (True/False)


14113 Tab on (True/False)
14114 Finish on (True/False)
14075 Contour was created as a NoCore finish contour (True/
False)
14076 Expand this operation (True/False) (new for X6)
14077 This operation was created by expanding (True/False)
(new for X6)
14197 0=UV tab: Equal xy; 1=UV tab: Proportional, 2=UV tab:
Independent (new for X6)
14198 UV tab width (new for X6)
PRM_CHAIN_SORT

Probing
PRM_PROBE_CYCLE
40012 Type of probe cycle (new for X6)
40013 Sub-type of probe cycle (new for X6)
40014 Macro Gcode (new for X6)
PRM_PROBE_PARAM (new for X6)

PRM_PROBE_PARAM
40015–40064 State (new for X6)
40115–40164 Letter prefix for value (new for X6)
41155–41204 Value (new for X6) (changed for X8)
328 • MASTERCAM X8 / NCI & Parameter Reference

Machine definition parameters


See Capturing The first section (Machine definition: visual reference) shows screen captures of all
Quick Start
machine definition themachine definition dialogs annotated with the parameter numbers. The second
parameters on page 29 section (Machine definition: list of parameters on page 366) lists all of the parameters by
to learn more about group and number.
capturing the parameter
values in your post.
Machine definition: visual reference
Most of the fields shown in the following pages use parameters to store their values, but
the values for some fields are available as pre-defined variables, or even directly in the
NCI G-code. Use the following color key to determine the type of value:
 Red labels indicate parameter numbers
 Blue labels indicate pre-defined variable names
 Green labels indicate NCI G-codes
Some fields are available as both parameters and pre-defined variables. In these cases,
you can use whichever method is most convenient. Typically, this will be the pre-defined
variable.
PARAMETER REFERENCE / Machine definition parameters • 329

Machine Definition Manager

Quick Start
330 • MASTERCAM X8 / NCI & Parameter Reference

General machine parameters


Op. feed rate limits /axis motion/orientation tab

Quick Start
PARAMETER REFERENCE / Machine definition parameters • 331

Axis feed rate limits tab

Quick Start
332 • MASTERCAM X8 / NCI & Parameter Reference

CPlane, WCS, HTC/VTL tab

Quick Start
PARAMETER REFERENCE / Machine definition parameters • 333

Coolant/Flushing/Options tab

Quick Start
334 • MASTERCAM X8 / NCI & Parameter Reference

Tool/material libraries tab

Quick Start
PARAMETER REFERENCE / Machine definition parameters • 335

Machine dynamics tab

Quick Start
336 • MASTERCAM X8 / NCI & Parameter Reference

Component geometry (common)


Solid geometry

Quick Start
PARAMETER REFERENCE / Machine definition parameters • 337

Block geometry

Quick Start
338 • MASTERCAM X8 / NCI & Parameter Reference

Cylinder geometry

Quick Start
PARAMETER REFERENCE / Machine definition parameters • 339

Extruded geometry

Quick Start
340 • MASTERCAM X8 / NCI & Parameter Reference

Revolved geometry

Quick Start
PARAMETER REFERENCE / Machine definition parameters • 341

Position/Orientation tab

Quick Start
342 • MASTERCAM X8 / NCI & Parameter Reference

Component properties (individual)


Automatic tool changer parameters

Quick Start
PARAMETER REFERENCE / Machine definition parameters • 343

Chuck parameters

Quick Start
344 • MASTERCAM X8 / NCI & Parameter Reference

Chuck geometry (parametric) dialog box

Quick Start
PARAMETER REFERENCE / Machine definition parameters • 345

Chuck jaws parameters

Quick Start
346 • MASTERCAM X8 / NCI & Parameter Reference

Bar stock parameters

Quick Start
PARAMETER REFERENCE / Machine definition parameters • 347

Turret parameters

Quick Start
348 • MASTERCAM X8 / NCI & Parameter Reference

Turret geometry (parametric) dialog box

Quick Start
PARAMETER REFERENCE / Machine definition parameters • 349

Gang tool parameters

Quick Start
350 • MASTERCAM X8 / NCI & Parameter Reference

Tailstock parameters

Quick Start
PARAMETER REFERENCE / Machine definition parameters • 351

Tailstock geometry

Quick Start
352 • MASTERCAM X8 / NCI & Parameter Reference

Tailstock center parameters

Quick Start
PARAMETER REFERENCE / Machine definition parameters • 353

Steady rest parameters

Quick Start
354 • MASTERCAM X8 / NCI & Parameter Reference

Linear axis parameters

Quick Start
PARAMETER REFERENCE / Machine definition parameters • 355

Linear axis parameters (programmed motion)

Quick Start
356 • MASTERCAM X8 / NCI & Parameter Reference

Rotary axis parameters

Quick Start
PARAMETER REFERENCE / Machine definition parameters • 357

Tool spindle parameters

Quick Start
358 • MASTERCAM X8 / NCI & Parameter Reference

Tool component parameters

Quick Start
PARAMETER REFERENCE / Machine definition parameters • 359

Router spindle parameters

Quick Start
360 • MASTERCAM X8 / NCI & Parameter Reference

Router spindle position

Quick Start
PARAMETER REFERENCE / Machine definition parameters • 361

Router piggyback spindle parameters

Quick Start
362 • MASTERCAM X8 / NCI & Parameter Reference

Router piggyback spindle position

Quick Start
PARAMETER REFERENCE / Machine definition parameters • 363

Router drill block parameters

Quick Start

Router drill block position


364 • MASTERCAM X8 / NCI & Parameter Reference

Wire guide parameters

Quick Start

Machine definition: list of parameters

General machine information


CNC_MACHINE_TYPE
17001 Machine type. 1 = mill, 2 = lathe/mill-turn, 3 = router,
5 = wire (4 reserved for future use)
17002 Is this a VTL? (lathe only)
17003 Default lathe WCS: 0 = None; 1 = Top;
2 = LatheZ=WorldZ
MULTIAX_MOTION_ Multi-axis motion control
TYPE
MACHINE_DYNAMIC Machine dynamics information for high-feed
S_TYPE machining and operation timing calculations
AXIS_FEEDRATE_TY Global machine axis feedrates
PE004
PARAMETER REFERENCE / Machine definition parameters • 365

AXIS_FEEDRATE_TY Global machine axis feedrates


PE005
17955 Flag indicating MT-style machine definition (New for
X6)
17990 The GUID of the .machine configuration that is Quick Start
assigned when the .machine file is loaded into a new
machine group. (new for X8)
17920 Maximum linear feedrate (inch) (New for X3)
17921 Maximum linear feedrate (mm) (New for X3)
17922 Maximum rotary feedrate (New for X3)
17004 Use machine feed/min, feed/rev
17005 Use machine deg/min
17006 Use machine inverse time values (removed for X3)
AXIS_FEEDRATE_TY Toolpath operation feedrate limits - inch, mm deg/min
PE006 & inverse time are not used...
AXIS_FEEDRATE_TY Toolpath operation feedrate limits - inch, mm deg/min
PE007 & inverse time are not used...
COOLANT_TYPE Coolant
17007 Control definition file
17008 Post-processor file
17009 Tool library files (inch), doctored
17010 Tool library files (mm), doctored
17011 Material library file (inch, -9999, mm)
17012 Comment to describe the machine
17013 Name of tool bar state to load with machine
17014 Use the toolbar state (True/False)
17015 Entity ID number for the cnc machine entity (this one!)
17016 Entity ID number of related control definition
17017 Entity ID number of machine base component entity
(removed for X3)
17957 Entity ID number of machine base component (New
for X6)
17018 Entity ID number of 1st component group entity
17019 Entity ID number of 1st machine reference position
(removed for X8)
17991 Entity ID number of the list of machine reference
positions (new for X8)
17020 Entity ID number of list of axis combination entities
17021 Entity ID number of list of machining modes
17675 Insert catalog file
17676 Insert catalog file
17677 Holder catalog file
17678 Holder catalog file
17703 Maximum wire taper angle (degrees)
General component Default construction plane
information
366 • MASTERCAM X8 / NCI & Parameter Reference

17814 A segment of the unique identifier for this machine.


This is a 192-bit number broken up into 24 pieces. Each
one has its own parameter ID.
17815 A segment of the unique identifier for this machine.
This is a 192-bit number broken up into 24 pieces,
Quick Start
17814–17837.
17816 A segment of the unique identifier for this machine.
This is a 192-bit number broken up into 24 pieces,
17814–17837.
17817 A segment of the unique identifier for this machine.
This is a 192-bit number broken up into 24 pieces,
17814–17837.
17818 A segment of the unique identifier for this machine.
This is a 192-bit number broken up into 24 pieces,
17814–17837.
17819 A segment of the unique identifier for this machine.
This is a 192-bit number broken up into 24 pieces,
17814–17837.
17820 A segment of the unique identifier for this machine.
This is a 192-bit number broken up into 24 pieces,
17814–17837.
17821 A segment of the unique identifier for this machine.
This is a 192-bit number broken up into 24 pieces,
17814–17837.
17822 A segment of the unique identifier for this machine.
This is a 192-bit number broken up into 24 pieces,
17814–17837.
17823 A segment of the unique identifier for this machine.
This is a 192-bit number broken up into 24 pieces,
17814–17837.
17824 A segment of the unique identifier for this machine.
This is a 192-bit number broken up into 24 pieces,
17814–17837.
17825 A segment of the unique identifier for this machine.
This is a 192-bit number broken up into 24 pieces,
17814–17837.
17826 A segment of the unique identifier for this machine.
This is a 192-bit number broken up into 24 pieces,
17814–17837.
17827 A segment of the unique identifier for this machine.
This is a 192-bit number broken up into 24 pieces,
17814–17837.
17828 A segment of the unique identifier for this machine.
This is a 192-bit number broken up into 24 pieces,
17814–17837.
17829 A segment of the unique identifier for this machine.
This is a 192-bit number broken up into 24 pieces,
17814–17837.
17830 A segment of the unique identifier for this machine.
This is a 192-bit number broken up into 24 pieces,
17814–17837.
PARAMETER REFERENCE / Machine definition parameters • 367

17831 A segment of the unique identifier for this machine.


This is a 192-bit number broken up into 24 pieces,
17814–17837.
17832 A segment of the unique identifier for this machine.
This is a 192-bit number broken up into 24 pieces,
Quick Start
17814–17837.
17833 A segment of the unique identifier for this machine.
This is a 192-bit number broken up into 24 pieces,
17814–17837.
17834 A segment of the unique identifier for this machine.
This is a 192-bit number broken up into 24 pieces,
17814–17837.
17835 A segment of the unique identifier for this machine.
This is a 192-bit number broken up into 24 pieces,
17814–17837.
17836 A segment of the unique identifier for this machine.
This is a 192-bit number broken up into 24 pieces,
17814–17837.
17837 A segment of the unique identifier for this machine.
This is a 192-bit number broken up into 24 pieces,
17814–17837.
17839 True = machine supports RTCP (rotation tool center
point) programming
17913 Switch to automatically load tools (new for X3)
17914 Machine version (new for X3)
MACHINE_POSITION
17599 Name from Machine Reference Position Manager:
used to identify tool changer and machine reference
positions.
This entire group is typically only used for MT.
17600 Data source: USER_DEFINED, etc. vs.
MACHINE_REF_POS (removed for X8)
17601 Control definition reference return code (G28, etc.)
index (removed for X8)
AXIS_POSITIONS Coordinate position for each axis.
17602 Machine reference position list index (removed for X8)
ENT_IDN_TYPE ent_idns of this and related entities in database
(removed for X8)
17992 Reference position comment from Machine Reference
Position Manager (new for X8)
17993 Type of reference position (from Machine Reference
Position Manager) (new for X8)
17994 Source of reference position (machine, job setup,
operation) (new for X8)
17995 Axis combo associated with the reference position
(new for X8)
17996 ID of the next entity in database (X7 and older files)
(new for X8)
17253 Entity ID (changed for X8)
17985 Unique ID for this machine. (new for X7)
368 • MASTERCAM X8 / NCI & Parameter Reference

MULTIAX_MOTION_TYPE
17022 Break combined rotary axis motion (True/False)
17023 Maximum combined angle before break is required

AXIS_POSITIONS
Quick Start
AXIS_COORD X axis motion
AXIS_COORD001 Y axis motion
AXIS_COORD002 Z axis motion
AXIS_COORD003 A axis motion
AXIS_COORD004 B axis motion
AXIS_COORD005 C axis motion

ENT_IDN_TYPE
17253 This entity (changed for X8)
17254 Next sibling entity (removed for X8)
17255 Previous sibling entity (removed for X8)
17256 1st child entity (removed for X8)

ENT_IDN_TYPE001
17257 This entity (removed for X8)
17258 Next sibling entity (removed for X8)
17259 Previous sibling entity (removed for X8)
17260 1st child entity (removed for X8)

ENT_IDN_TYPE002
17261 This entity (removed for X8)
17262 Next sibling entity (removed for X8)
17263 Previous sibling entity (removed for X8)
17264 1st child entity (removed for X8)

ENT_IDN_TYPE003
17265 This entity (removed for X8)
17266 Next sibling entity (removed for X8)
17267 Previous sibling entity (removed for X8)
17268 1st child entity (removed for X8)

AXIS_COORD
17603 X coordinate value
17604 Type: ABS_TOOL_COORD, INC_TOOL_COORD, etc.

AXIS_COORD001
17936 Y coordinate value
17937 Type: ABS_TOOL_COORD, INC_TOOL_COORD, etc.

AXIS_COORD002
17938 Z coordinate value
17939 Type: ABS_TOOL_COORD, INC_TOOL_COORD, etc.
PARAMETER REFERENCE / Machine definition parameters • 369

AXIS_COORD003
17940 A coordinate value
17941 Type: ABS_TOOL_COORD, INC_TOOL_COORD, etc.

AXIS_COORD004
Quick Start
17942 B coordinate value
17943 Type: ABS_TOOL_COORD, INC_TOOL_COORD, etc.

AXIS_COORD005
17944 C coordinate value
17945 Type: ABS_TOOL_COORD, INC_TOOL_COORD, etc.

GROUP_VIEW
17704 View ID number (X2)
17705 View number (X2)
17706 Lathe Cplane coordinate (X2)
17707 Toolplane view matrix (X2)
17708 Toolplane view matrix (X2)
17709 Toolplane view matrix (X2)
17710 Toolplane view matrix (X2)
17711 Toolplane view matrix (X2)
17712 Toolplane view matrix (X2)
17713 Toolplane view matrix (X2)
17714 Toolplane view matrix (X2)
17715 Toolplane view matrix (X2)
17716 View origin in world (X2)
17717 View origin in world (X2)
17718 View origin in world (X2)

Machine dynamics
MACHINE_DYNAMICS_TYPE
Parameters taken from HighFeed:
17024 Maximum change in feedrate to recombine segments
(%)
17025 Look-ahead as a percentage of tool diameter
17026 Maximum feedrate change per block (inch/min)
17027 Maximum feedrate change per block (mm/min)
17029 Segment length as % of tool diameter
17030 Minimum change in direction to slow down to
min_corner_fr
17031 Feedrate to slow down to at sharp corners (inch/min)
17032 Feedrate to slow down to at sharp corners (mm/min)
17033 Test diameter
17034 Cornering acceleration
370 • MASTERCAM X8 / NCI & Parameter Reference

Group dynamic information, NOT from HighFeed


17035 Timing increment for MT sync-list (Future Use)
17036 Machine motion acceleration value (in/min^2)
Quick Start
17037 Machine motion acceleration value (mm/min^2)

Axis feedrate limits


There are 8 groups of parameters. Each group has the same parameters, but each group
is applied to a different area. Most of these groups have been removed from Mastercam
X3. These are included only for reference for your older posts. Only the last two are still
used

Table 1: Parameter groups for axis feedrate limits


Where used Parameter group name
Linear axis properties (inch) AXIS_FEEDRATE_TYPE (removed for X3)
Linear axis properties (mm) AXIS_FEEDRATE_TYPE001
(removed for X3)
Rotary axis properties (inch) AXIS_FEEDRATE_TYPE002
(removed for X3)
Rotary axis properties (mm) AXIS_FEEDRATE_TYPE003
(removed for X3)
Machine axis feedrate limits AXIS_FEEDRATE_TYPE004
(inch) (removed for X3)
Machine axis feedrate limits (mm) AXIS_FEEDRATE_TYPE005
(removed for X3)
Operation feedrate limits (inch) AXIS_FEEDRATE_TYPE006
Operation feedrate limits (mm) AXIS_FEEDRATE_TYPE007

AXIS_FEEDRATE_TYPE
17642 Minimum feed per minute
(entire group removed for X3)
17643 Maximium feed per minute
17644 Minimum feed per revolution
17645 Maximium feed per revolution
17646 Minimum inverse feed rate
17647 Maximum inverse feed rate
17648 Minimum degrees per minute
17649 Maximum degrees per minute

AXIS_FEEDRATE_TYPE001
17650 Minimum feed per minute
(entire group removed for X3)
17651 Maximium feed per minute
17652 Minimum feed per revolution
17653 Maximium feed per revolution
17654 Minimum inverse feed rate
PARAMETER REFERENCE / Machine definition parameters • 371

17655 Maximum inverse feed rate


17656 Minimum degrees per minute
17657 Maximum degrees per minute
AXIS_FEEDRATE_TYPE002
Quick Start
17658 Minimum feed per minute
(entire group removed for X3)
17659 Maximium feed per minute
17660 Minimum feed per revolution
17661 Maximium feed per revolution
17662 Minimum inverse feed rate
17663 Maximum inverse feed rate
17664 Minimum degrees per minute
17665 Maximum degrees per minute

AXIS_FEEDRATE_TYPE003
17666 Minimum feed per minute
(entire group removed for X3)
17667 Maximium feed per minute
17668 Minimum feed per revolution
17669 Maximium feed per revolution
17670 Minimum inverse feed rate
17671 Maximum inverse feed rate
17672 Minimum degrees per minute
17673 Maximum degrees per minute

AXIS_FEEDRATE_TYPE004
17038 Minimum feed per minute
(entire group removed for X3)
17039 Maximium feed per minute
17040 Minimum feed per revolution
17041 Maximium feed per revolution
17042 Minimum inverse feed rate
17043 Maximum inverse feed rate
17044 Minimum degrees per minute
17045 Maximum degrees per minute

AXIS_FEEDRATE_TYPE005
17046 Minimum feed per minute
(entire group removed for X3)
17047 Maximium feed per minute
17048 Minimum feed per revolution
17049 Maximium feed per revolution
17050 Minimum inverse feed rate
17051 Maximum inverse feed rate
17052 Minimum degrees per minute
17053 Maximum degrees per minute
372 • MASTERCAM X8 / NCI & Parameter Reference

AXIS_FEEDRATE_TYPE006
17054 Minimum feed per minute
17055 Maximium feed per minute
17056 Minimum feed per revolution
Quick Start
17057 Maximium feed per revolution
17058 Minimum inverse feed rate
17059 Maximum inverse feed rate
17060 Minimum degrees per minute
17061 Maximum degrees per minute

AXIS_FEEDRATE_TYPE007
17062 Minimum feed per minute
17063 Maximium feed per minute
17064 Minimum feed per revolution
17065 Maximium feed per revolution
17066 Minimum inverse feed rate
17067 Maximum inverse feed rate
17068 Minimum degrees per minute
17069 Maximum degrees per minute

Axis combination info


AXIS_COMBO
17683 Entity ID of axis combination (New for X3)
17684 ID of first component in axis combo (closest to base)
(New for X3)
17685 ID of next component in axis combo. (New for X3)
17686 ID of next component in axis combo. (New for X3)
17687 ID of next component in axis combo. (New for X3)
17688 ID of next component in axis combo. (New for X3)
17689 ID of next component in axis combo. (New for X3)
17690 ID of next component in axis combo. (New for X3)
17691 ID of next component in axis combo. (New for X3)
17692 ID of next component in axis combo. (New for X3)
17693 ID of next component in axis combo. (New for X3)
17694 ID of next component in axis combo. (New for X3)
17695 ID of next component in axis combo. (New for X3)
17696 Axis combination user description (New for X3)

General component information


Component header
19958 Component type (numeric) (New for X3)
PARAMETER REFERENCE / Machine definition parameters • 373

19959 Component ID (numeric) (New for X3)


19960 Component type (string) (New for X3)
MACHINE_COMPONENT_TYPE
17201 Component name Quick Start
17202 Component group id
17203 Type of component (machine base,
chuck, turret, etc)
17204 Color to draw component
17205 Minimum linear/rotational travel limits
(in(mm)/rad)
Deleted in X2
17206 Maximum linear/rotational travel limits
(in(mm)/rad)
Deleted in X2
17207 Reference point on component in world
coordinates
17208 Reference point on component in world
coordinates
17209 Reference point on component in world
coordinates
17210 Point on component which is actually
positioned in the NC program (world
coordinates)
17211 Point on component which is actually
positioned in the NC program (world
coordinates)
17212 Point on component which is actually
positioned in the NC program (world
coordinates)
17213 Position of reference point with
component on machine at initial
position in world coordinates
17214 Position of reference point with
component on machine at initial
position in world coordinates
17215 Position of reference point with
component on machine at initial
position in world coordinates
17216 Transformation matrix to put
component on machine at initial
position
17217 Transformation matrix to put
component on machine at initial
position
17218 Transformation matrix to put
component on machine at initial
position
17219 Transformation matrix to put
component on machine at initial
position
374 • MASTERCAM X8 / NCI & Parameter Reference

17220 Transformation matrix to put


component on machine at initial
position
17221 Transformation matrix to put
component on machine at initial
Quick Start
position
17222 Transformation matrix to put
component on machine at initial
position
17223 Transformation matrix to put
component on machine at initial
position
17224 Transformation matrix to put
component on machine at initial
position
17225 Transformation matrix to put
component at current NC position =
initXform initially
17226 Transformation matrix to put
component at current NC position =
initXform initially
17227 Transformation matrix to put
component at current NC position =
initXform initially
17228 Transformation matrix to put
component at current NC position =
initXform initially
17229 Transformation matrix to put
component at current NC position =
initXform initially
17230 Transformation matrix to put
component at current NC position =
initXform initially
17231 Transformation matrix to put
component at current NC position =
initXform initially
17232 Transformation matrix to put
component at current NC position =
initXform initially
17233 Transformation matrix to put
component at current NC position =
initXform initially
17234 Current position of anchorPt (world
coordinates) = anchorPt at start of
program most of the time...
17235 Current position of anchorPt (world
coordinates) = anchorPt at start of
program most of the time...
17236 Current position of anchorPt (world
coordinates) = anchorPt at start of
program most of the time...
17764 Chord tolerance for MachineWorks
polygons. (X2)
PARAMETER REFERENCE / Machine definition parameters • 375

17765 Transparency setting. (X2)


17766 String ID for the component. This is
unique for each component. Example:
69D20EEB-02E7-11DC-B46A-
444553544200
Quick Start
(new for X3)
17767–17788 A segment of the unique component
group identifier. This is a 192-bit
number broken up into 24 pieces.
(removed for X3)
ENT_IDN_TYPE001
17237 Entity id number of owner machine
17451 Don’t show this component in
simulation (True/False)
17238 Component is expanded state in
dialogs:
bit 0 - MDM dialog
bit 1 - axis combination dialog
remaining bits -> future expansion
(Turret Mgr, etc)
17239 Type of geometry used to define the
component
SOLID_COMPONENT (X3)
BLOCK_COMPONENT (X3)
CYLINDER_COMPONENT (X3)
EXTRUDED_COMPONENT (X3)
REVOLVED_COMPONENT (X3)
STL_COMPONENT (new for X5)
STOCK_COMPONENT_TYPE (X3)
MISC_COMPONENT_TYPE (for future use)
MACHINE_BASE_COMPONENT_TYPE (for future use)
LINEAR_AXIS_COMPONENT_TYPE (X3)
ROTARY_AXIS_COMPONENT_TYPE (X3)
RECT_TABLE_COMPONENT_TYPE (for future use)
ROUND_TABLE_COMPONENT_TYPE (for future use)
WIRE_TABLE_COMPONENT_TYPE (for future use)
VISE_JAW_COMPONENT_TYPE (for future use)
VISE_COMPONENT_TYPE (for future use)
CHUCKJAWS_COMPONENT_TYPE (X3)
Renamed from
CHUCK_JAW_COMPONENT_TYPE
(X2)
CHUCK_COMPONENT_TYPE (X3)
COLLET_COMPONENT_TYPE (X3)
GUIDE_BUSHING_COMPONENT_TYPE (for future use)
376 • MASTERCAM X8 / NCI & Parameter Reference

LATHE_CENTER_COMPONENT_TYPE (X3)
Renamed from
TAILSTOCK_CENTER_COMPONENT_T
YPE (X2)
TAILSTOCK_COMPONENT_TYPE (X3)
Quick Start
STEADYREST_COMPONENT_TYPE (X3)
TOOL_COMPONENT_TYPE (X3)
WIRE_UPPER_GUIDE_COMPONENT_TY (X3)
PE
WIRE_LOWER_GUIDE_COMPONENT_TY (X3)
PE
DRILL_BLOCK_STATION_COMPONENT (X3) [Review]
_TYPE
MULTI_HEAD_COMPONENT_TYPE
MH_PIGGYBACK_COMPONENT_TYPE
ATC_COMPONENT_TYPE
TOOL_SPINDLE_COMPONENT_TYPE
TURRET_COMPONENT_TYPE
MULTI_TOOL_COMPONENT_TYPE (Future Use)

COMPONENT_GROUP_TYPE
17789–17812 A segment of the unique component group identifier.
This is a 192-bit number broken up into 24 pieces. (no
longer used)

Solid geometry properties


SOLID_COMPONENT
17268 Entity ID of solid (new for X3)
17269 Solid geometry file (new for X3)
17270 STL file for solid (new for X3)

SOLID_COMPONENT_01
17271 Entity ID of solid (new for X3)
17272 Solid geometry file (new for X3)
17273 STL file for solid (new for X3)

SOLID_COMPONENT_02
17274 Entity ID of solid (new for X3)
17275 Solid geometry file (new for X3)
17276 STL file for solid (new for X3)

STL_COMPONENT
17952 Entity ID of Mastercam STL entity (new for X5)
PARAMETER REFERENCE / Machine definition parameters • 377

STL_COMPONENT_01
17953 Entity ID of Mastercam STL entity (new for X5)

STL_COMPONENT_02
Quick Start
17954 Entity ID of Mastercam STL entity (new for X5)

Block geometry properties


BLOCK_COMPONENT
17277 Length of block (new for X3)
17278 Width of block (new for X3)
17279 Height of block (new for X3)
17280 Base point (X) (new for X3)
17281 Base point (Y) (new for X3)
17282 Base point (Z) (new for X3)

BLOCK_COMPONENT_01
17283 Length (new for X3)
17284 Width (new for X3)
17285 Height (new for X3)
17286 Base point (X) (new for X3)
17287 Base point (Y) (new for X3))
17288 Base point (Z) (new for X3))

BLOCK_COMPONENT_02
17289 Length (new for X3)
17290 Width (new for X3)
17291 Height (new for X3)
17292 Base point (X) (new for X3)
17293 Base point (Y) (new for X3)
17294 Base point (Z) (new for X3)

Cylinder geometry properties


CYLINDER_COMPONENT
17295 Outer radius of cylinder
(Note: This is a radius value, but the entry field on the
dialog box is a diameter value.) (new for X3)
17296 Length of cylinder (new for X3)
17297 Axis orientation vector (X) (new for X3)
17298 Axis orientation vector (Y) (new for X3)
17299 Axis orientation vector (Z) (new for X3)
378 • MASTERCAM X8 / NCI & Parameter Reference

17300 Base point (X) (new for X3)


17301 Base point (Y) (new for X3)
17302 Base point (Z) (new for X3)
17841 Inner radius of cylinder
(Note: This is a radius value, but the entry field on the Quick Start
dialog box is a diameter value.) (new for X3)
CYLINDER_COMPONENT_01
17303 Outer radius of cylinder
(Note: This is a radius value, but the entry field on the
dialog box is a diameter value.) (new for X3)
17304 Length of cylinder (new for X3)
17305 Axis orientation vector (X) (new for X3)
17306 Axis orientation vector (Y) (new for X3)
17307 Axis orientation vector (Z) (new for X3)
17308 Base point (X) (new for X3)
17309 Base point (Y) (new for X3)
17310 Base point (Z) (new for X3)
17842 Inner radius of cylinder
(Note: This is a radius value, but the entry field on the
dialog box is a diameter value.) (new for X3)

CYLINDER_COMPONENT_02
17311 Outer radius of cylinder
(Note: This is a radius value, but the entry field on the
dialog box is a diameter value.) (new for X3)
17312 Length of cylinder (new for X3)
17313 Axis orientation vector (X) (new for X3)
17314 Axis orientation vector (Y) (new for X3)
17315 Axis orientation vector (Z) (new for X3)
17316 Base point (X) (new for X3)
17317 Base point (Y) (new for X3)
17318 Base point (Z) (new for X3)
17843 Inner radius of cylinder
(Note: This is a radius value, but the entry field on the
dialog box is a diameter value.) (new for X3)

CYLINDER_COMPONENT_03
17319 Outer radius of cylinder
(Note: This is a radius value, but the entry field on the
dialog box is a diameter value.) (new for X3)
17320 Length of cylinder (new for X3)
17321 Axis orientation vector (X) (new for X3)
17322 Axis orientation vector (Y) (new for X3)
17323 Axis orientation vector (Z) (new for X3)
17324 Base point (X) (new for X3)
17325 Base point (Y) (new for X3)
PARAMETER REFERENCE / Machine definition parameters • 379

17326 Base point (Z) (new for X3)


17844 Inner radius of cylinder
(Note: This is a radius value, but the entry field on the
dialog box is a diameter value.) (new for X3)
CYLINDER_COMPONENT_04 Quick Start

17327 Outer radius of cylinder


(Note: This is a radius value, but the entry field on the
dialog box is a diameter value.) (new for X3)
17328 Length of cylinder (new for X3)
17329 Axis orientation vector (X) (new for X3)
17330 Axis orientation vector (Y) (new for X3)
17331 Axis orientation vector (Z) (new for X3)
17332 Base point (X) (new for X3)
17333 Base point (Y) (new for X3)
17334 Base point (Z) (new for X3)
17845 Inner radius of cylinder
(Note: This is a radius value, but the entry field on the
dialog box is a diameter value.) (new for X3)

CYLINDER_COMPONENT_05
17335 Outer radius of cylinder
(Note: This is a radius value, but the entry field on the
dialog box is a diameter value.) (new for X3)
17336 Length of cylinder (new for X3)
17337 Axis orientation vector (X) (new for X3)
17338 Axis orientation vector (Y) (new for X3)
17339 Axis orientation vector (Z) (new for X3)
17340 Base point (X) (new for X3)
17341 Base point (Y) (new for X3)
17342 Base point (Z) (new for X3)
17846 Inner radius of cylinder
(Note: This is a radius value, but the entry field on the
dialog box is a diameter value.) (new for X3)

Extruded profile geometry properties


EXTRUDED_COMPONENT
17343 Extrude profile entity ID (new for X3)
17344 Extrude direction vector (X) (new for X3)
17345 Extrude direction vector (Y) (new for X3)
17346 Extrude direction vector (Z) (new for X3)
17347 Extrude distance (new for X3)

EXTRUDED_COMPONENT_01
17349 Extrude profile entity ID (new for X3)
380 • MASTERCAM X8 / NCI & Parameter Reference

17350 Extrude direction vector (X) (new for X3)


17351 Extrude direction vector (Y) (new for X3)
17352 Extrude direction vector (Z) (new for X3)
17353 Extrude distance (new for X3)
Quick Start
EXTRUDED_COMPONENT_02
17354 Extrude profile entity ID (new for X3)
17355 Extrude direction vector (X) (new for X3)
17356 Extrude direction vector (Y) (new for X3)
17357 Extrude direction vector (Z) (new for X3)
17358 Extrude distance (new for X3)

Revolved profile geometry properties


REVOLVED_COMPONENT
17359 Revolve profile entity ID (new for X3)
17360 Line of revolution, endpoint 1 (X) (new for X3)
17361 Line of revolution, endpoint 1 (Y) (new for X3)
17362 Line of revolution, endpoint 1 (Z) (new for X3)
17363 Line of revolution, endpoint 2 (X) (new for X3)
17364 Line of revolution, endpoint 2 (Y) (new for X3)
17365 Line of revolution, endpoint 2 (Z) (new for X3)

REVOLVED_COMPONENT_01
17366 Revolve profile entity ID (new for X3)
17367 Line of revolution, endpoint 1 (X) (new for X3)
17368 Line of revolution, endpoint 1 (Y) (new for X3)
17369 Line of revolution, endpoint 1 (Z) (new for X3)
17370 Line of revolution, endpoint 2 (X) (new for X3)
17371 Line of revolution, endpoint 2 (Y) (new for X3)
17372 Line of revolution, endpoint 2 (Z) (new for X3)

REVOLVED_COMPONENT_02
17373 Revolve profile entity ID (new for X3)
17374 Line of revolution, endpoint 1 (X) (new for X3)
17375 Line of revolution, endpoint 1 (Y) (new for X3)
17376 Line of revolution, endpoint 1 (Z) (new for X3)
17377 Line of revolution, endpoint 2 (X) (new for X3)
17378 Line of revolution, endpoint 2 (Y) (new for X3)
17379 Line of revolution, endpoint 2 (Z) (new for X3)
PARAMETER REFERENCE / Machine definition parameters • 381

Stock component
This section describes parameters for cylindrical bar stock.
 Stock margin parameters are output with the machine group parameters,
BARSTOCK_TYPE. Quick Start
 Stock geometry parameters for other stock models is output using the standard
component geometry parameters: for example, REVOLVED_COMPONENT.

STOCK_COMPONENT_TYPE
BARSTOCK_GEO_TYPE

BARSTOCK_GEO_TYPE
TUBE_GEO_TYPE
17380 Ref position at max Z (new for X3)
17381 Use margins?(new for X3)
17382 Hole in stock? (new for X3)
17383 OD margin (new for X3)
17384 ID margin (new for X3)
17385 Left margin (new for X3))
17386 Right margin (new for X3)

TUBE_GEO_TYPE
CYLINDER_COMPON
ENT
17387 Inner radius (new for X3)

TUBE_GEO_TYPE_01
CYLINDER_COMPON
ENT
17388 Inner radius (new for X3)

TUBE_GEO_TYPE_02
CYLINDER_COMPON
ENT
17389 Inner radius (new for X3)

Linear axis component


LINEAR_AXIS_COMPONENT_TYPE
AXIS_PARAMS_TYPE Parameters for direction of physical axis
382 • MASTERCAM X8 / NCI & Parameter Reference

AXIS_PARAMS_TYPE Parameters for direction of programmed axis (when


001 different from physical axis direction).
17390 Axis label to be output in the NC program for absolute
axis motion.
17391 Axis to drive on the machine. 1, 2, 3, or -1, Quick Start
corresponding to X_AXIS, Y_AXIS, Z_AXIS,
MACRO_AXIS.
17923 Axis label to be output in the NC program for
incremental axis motion. (New for X3)
17924 Rapid traverse rate limit (inch) (New for X3)
17925 Rapid traverse rate limit (mm) (New for X3)
17396 Axis is output as diameter (X & Y only) (True/False)
17951 1 = the Define macro-driven axis feed rate option is
selected. This enables the feed rate option for axis
motion events (MT only). (new for X4)
AXIS_PARAMS_TYPE
[these parameters are used to describe physical axis
motion]
17392 Base axis direction with relation to the WCS: X_AXIS,
Y_AXIS, Z_AXIS, NEG_X_AXIS, NEG_Y_AXIS,
NEG_Z_AXIS (new for X3)
17393 Tilt the machine axis (True/False)
17394 Tilt axis: Axis of rotation for axis out of plane (WCS
axis!); X_AXIS,-9999, Y_AXIS, Z_AXIS, NEG_X_AXIS,-
9999, NEG_Y_AXIS, NEG_Z_AXIS
17395 Tilt angle: Angle of rotation for tilt,-9999, right hand
rule (degrees)
TRAVEL_LIMITS_TYP inch travel limits
E
TRAVEL_LIMITS_TYP mm travel limits
E001
17729 Initial defined axis position (measured along the axis)
(inch)
17730 Initial defined axis position (measured along the axis)
(mm)
17731 Start-up axis position for simulation

AXIS_PARAMS_TYPE001
[these parameters are used to describe programmed
axis motion, where different from physical]
17950 Base axis direction with relation to the WCS: X_AXIS,
Y_AXIS, Z_AXIS, NEG_X_AXIS, NEG_Y_AXIS,
NEG_Z_AXIS (new for X3)
17926 Tilt the machine axis (True/False) (new for X3)
17927 Tilt axis: Axis of rotation for axis out of plane (WCS
axis!); X_AXIS,-9999, Y_AXIS, Z_AXIS, NEG_X_AXIS,-
9999, NEG_Y_AXIS, NEG_Z_AXIS (new for X3)
17928 Tilt angle: Angle of rotation for tilt,-9999, right hand
rule (degrees) (new for X3)
PARAMETER REFERENCE / Machine definition parameters • 383

TRAVEL_LIMITS_TYPE002 inch travel limits (new for X3)


TRAVEL_LIMITS_TYPE003 mm travel limits (new for X3)
17929 Initial defined axis position (measured along the axis)
(inch) (new for X3)
17930 Initial defined axis position (measured along the axis) Quick Start
(mm) (new for X3)
17931 Initial position for simulation (G28) (new for X3)

TRAVEL_LIMITS_TYPE
17719 Minimum travel limit (physical motion) (inch) (New
for X3)
17720 Maximum travel limit (physical motion) (inch) (New
for X3)

TRAVEL_LIMITS_TYPE001
17721 Minimum travel limit (physical motion) (mm) (New
for X3)
17722 Maximum travel limit (physical motion) (mm) (New
for X3)

TRAVEL_LIMITS_TYPE002
17723 Minimum travel limit (programmed motion) (inch).
Also, rotary axis minimum travel limit. (New for X3)
17724 Maximum travel limit (programmed motion) (inch).
Also, rotary axis maximum travel limit. (New for X3)

TRAVEL_LIMITS_TYPE003
17725 Minimum travel limit (programmed motion) (mm)
(New for X3)
17726 Maximum travel limit (programmed motion) (mm)
(New for X3)

TRAVEL_LIMITS_TYPE004
17727 Tailstock retracted position (New for X3)
17728 Maximum advanced position of tailstock (New for X3)
384 • MASTERCAM X8 / NCI & Parameter Reference

Rotary axis component


ROTARY_AXIS_COMPONENT_TYPE
17397 Axis label to be output in the NC program for absolute
axis motion. Quick Start
17398 Axis to drive on the machine. 1, 2, 3, or -1,
corresponding to A_AXIS, B_AXIS, C_AXIS,
MACRO_AXIS.
17932 Axis label to be output in the NC program for
incremental axis motion. (New for X3)
17933 Maximum feed rate (degrees/minute) (New for X3)
17399 Axis of rotation with respect to machine linear axes
17401 Axis '0 deg' vector with relation to machine axes. Lies in
plane perpendicular to axis of rotation
17402 TRUE = CW is positive direction for this axis
17403 Tilted (nutated) machine axis (True/False)
17404 Tilt axis: Axis of rotation for axis out of plane (WCS
axis!). X_AXIS,-9999, Y_AXIS, Z_AXIS, NEG_X_AXIS,-
9999, NEG_Y_AXIS, NEG_Z_AXIS
17405 Angle of rotation for tilted axis,-9999, right hand rule
(degrees)
17406 Minimum reposition angle (degrees)
17407 Maximum reposition angle (degrees)
17408 This an indexing axis (True/False)
17409 Index angle (must divide evenly into 360)
17410 Output type: Signed continuous,-9999, signed
direction (0-360 deg), shortest direction (0 - 360 deg)
17411 Break rotary moves (True/False)
17412 Use chordal deviation to determine when to break
(True/False)
17413 Maximum angular move before breaking
TRAVEL_LIMITS_TYP Min/max linear travel limits measured along axis
E002 direction (X2)
17847 Defined angle position (initial angle position) (New for
X3)
17848 Initial angle position for simulation (G28) (New for
X3)
17952 1 = the Define macro-driven axis feed rate option is
selected. This enables the feed rate option for axis
motion events (MT only). (new for X4)

Machine table
(These parameters for future use. )
RECT_TABLE_COMPONENT_TYPE
TSLOT_GEO_TYPE
17414 Slot spacing (future use) (New for X3)
PARAMETER REFERENCE / Machine definition parameters • 385

17415 Axis direction (future use) (New for X3)


17416 Length (future use) (New for X3)
17417 Width (future use) (New for X3)
17418 Height (future use) (New for X3)
Quick Start
17419 Pocket width (future use) (New for X3)
17420 Pocket height (future use) (New for X3)
TSLOT_GEO_TYPE
17421 Key width (future use) (New for X3)
17422 Key height (future use) (New for X3)
17423 Slot width (future use) (New for X3)
17424 Depth (future use) (New for X3)
17425 Length (future use) (New for X3)

Chuck
CHUCK_COMPONENT_TYPE
17446 Minimum useable spindle RPM
17447 Maximum programmable spindle RPM
17674 Jaw position in X (longitudinal) (removed in X3)
17734 Number of jaws (new for X3)
17934 Jaw position, longitudinal (world X axis) (new for X3)
CHUCK_GEO_TYPE
17849 Automatically set jaw position from channel depth
(True/False) (new for X3)
17986 Chuck supports bar stock (Allow through stock
option) (new for X8)

CHUCK_GEO_TYPE
17441 OD of chuck (new for X3)
17442 ID of chuck (new for X3)
17443 Thickness of chuck (new for X3)
17444 Channel width (new for X3)
17445 Channel depth (new for X3)

Chuck jaws
CHUCKJAWS_COMPONENT_TYPE
17430 [not used] (new for X3)
17840 Grip length (new for X3)
17435 Grip reference point (Z) (new for X3)
17436 Grip reference point (radius) (new for X3)
386 • MASTERCAM X8 / NCI & Parameter Reference

17437 Clamping method (new for X3)


17438 Active spindle (new for X3)
17439 Get clamp position from stock? (new for X3)
17440 Grip on maximum diameter? (new for X3)
Quick Start
CHUCKJAW_GEO_T
YPE
CHUCKJAW_STICKO
UT

CHUCKJAW_GEO_TYPE
17426 Jaw width (new for X3)
17427 Width of step (new for X3)
17428 Thickness of chuck jaw (new for X3)
17732 Parametric profile or chained profile? (new for X3)
17733 Entity ID of chain used for profile (new for X3)
17681 Jaw height (new for X3)
17682 Height of jaw step (new for X3)

CHUCKJAW_STICKOUT
17983 Reference location for stick-out distance: 0=none,
1=chuck face; 2 = chuck jaw (new for X7)
17984 Stick-out distance (new for X7)

Collet
COLLET_COMPONENT_TYPE
TUBE_GEO_TYPE (new for X3)

Tailstock
TAILSTOCK_COMPONENT_TYPE
TRAVEL_LIMITS_TYP (new for X3)
E004
17737 Tailstock advance/retract feed rate (inch) (new for X3)
17738 Tailstock advance/retract feed rate (mm) (new for X3)
17739 Is quill programmable? (new for X3)
TAILSTOCK_GEO_TY
PE

TAILSTOCK_GEO_TYPE
17551 Quill diameter (new for X3)
17736 Quill length
17552 Amount of quill extension (new for X3)
17553 Length of tailstock block (new for X3)
17554 Width of tailstock block (new for X3)
PARAMETER REFERENCE / Machine definition parameters • 387

17555 Height of tailstock block (new for X3)


17556 Height at which quill is mounted on block (new for
X3)

Quick Start
Lathe center
LATHE_CENTER_COMPONENT_TYPE
LATHE_CENTER_GEO_TYPE

LATHE_CENTER_GEO_TYPE
17735 Position along axis of tailstock center (new for X3)
17448 Diameter
17449 Point angle (new for X3)
17450 Length of center (new for X3)

Steady rest
STEADYREST_COMPONENT_TYPE
17850 Entity ID of chain used for collision avoidance
boundary (new for X3)
STEADYREST_GEO_
TYPE

STEADYREST_GEO_TYPE
17559 (future use) (new for X3)
17560 (future use) (new for X3)
17561 (future use) (new for X3)
17562 (future use) (new for X3)
17740 (future use) (new for X3)
17741 (future use) (new for X3)
17742 (future use) (new for X3)

Tool components
TOOL_COMPONENT_TYPE
TOOL_LOCATION_TY
PE
17918 Entity ID of tool geometry (new for X3)
17919 Color of tool holder geometry (new for X3)

TOOL_LOCATION_TYPE
17240 (not currently used)
17241 (not currently used)
17242 (not currently used)
17243 (not currently used)
388 • MASTERCAM X8 / NCI & Parameter Reference

17851 Number of ATC pocket (new for X3)


17852 Number of turret face/index position (new for X3)
17853 Number of gang tool position (new for X3)
17854 (not currently used)
Quick Start
17855 (not currently used)
17252 (not currently used)
17856 (not currently used)
17857 (not currently used)
17858 (not currently used)
17859 (not currently used)
17860 (not currently used)
17861 (not currently used)
17862 (not currently used)
17863 (not currently used)
17864 (not currently used)
17865 (not currently used)
17935 (not currently used)

Wire upper guide


WIRE_UPPER_GUIDE_COMPONENT_TYPE
17568 Thread time (new for X3)
17570 Align with lower guide? (Y/N) (new for X3)
WIRE_GUIDE_GEO_T
YPE

WIRE_GUIDE_GEO_TYPE
17564 Major radius (new for X3)
17565 Minor radius (new for X3)
17566 Included angle (new for X3)
17567 Cylinder height (new for X3)

Wire lower guide


WIRE_LOWER_GUIDE_COMPONENT_TYPE
WIRE_LOWER_GUIDE_GEO_TYPE

WIRE_LOWER_GUIDE_GEO_TYPE
17697 Major radius (new for X3)
17698 Minor radius (new for X3)
17699 Included angle (new for X3)
17700 Cylinder height (new for X3)
PARAMETER REFERENCE / Machine definition parameters • 389

Router spindles (main & piggyback)


MULTI_HEAD_COMPONENT_TYPE
17605 Minimum useable spindle RPM
17606 Maximum programmable spindle RPM Quick Start
17586 Anchor point/position on machine—X offset
17587 Anchor point/position on machine—Y offset
17588 Anchor point/position on machine—Z offset
17592 Bitwise number containing the heads that are used
17593 Work offset number
17594 Entity ID number of first head
17701 View number (new for X3)

MH_PIGGYBACK_COMPONENT_TYPE
17605 Minimum useable spindle RPM
17606 Maximum programmable spindle RPM
17586 Anchor point/position on machine—X offset
17587 Anchor point/position on machine—Y offset
17588 Anchor point/position on machine—Z offset
17593 Work offset number
17702 View number (new for X3)

Router drill block


DRILL_BLOCK_STATION_COMPONENT_TYPE
17571 Block number (new for X3)
17743 Anchor point/position on machine—X offset
(new for X3)
17744 Anchor point/position on machine—Y offset
(new for X3)
17745 Anchor point/position on machine—Z offset
(new for X3)
17746 Station position—X offset (new for X3)
17747 Station position—Y offset (new for X3)
17748 Station position—Z offset (new for X3)
17749 Work offset number (new for X3)
17750 View number (new for X3)
17581 Geometry type for block (new for X3)
17956 Geometry type for station (new for X6)
390 • MASTERCAM X8 / NCI & Parameter Reference

Automatic toolchanger
ATC_COMPONENT_TYPE
17596 Index method
17597 Tool change time Quick Start
17598 Max. number of tools in carousel
17866 Time to index between pockets (new for X3)
MACHINE_POSITION

Mill/live tool spindles


TOOL_SPINDLE_COMPONENT_TYPE
17605 Minimum useable spindle RPM
17606 Maximum programmable spindle RPM
17607 Component id number for associated ATC (removed
for X3)
17868 User ID string for associated turret or ATC component
(new for X3)
17892 Face or index position of associated turret (new for X3)
17893 Default tool transform matrix (new for X3)
17958 View ID number for tool transformation matrix (new
for X6)

Turret
TURRET_COMPONENT_TYPE
17608 Axis of turret rotation - defines CW/CCW direction for
auto-station numbering
17609 Defines direction of tools in indexed position - must be
perpendicular to rotaryAxis
17610 Time to index between adjacent stations (sec.)
17611 Number of tool stations defined
17612 Index type: CW, CCW, MINIMIZE
POLYGON_GEO_TYP Turret parametric geometry definition (new for X3)
E
17613 Minimum spindle speed (RPM) for live tools
17614 Maximum spindle speed (RPM) for live tools
17902 Position indexed at start of program (new for X3)
17903 Slant-bed angle (new for X3)
17904 Gauge length in X (cross tools) (new for X3)
17905 Gauge length in Z (face tools) (new for X3)
17906 Use gauge length in X? (new for X3)
17907 Use gauge length in Z? (new for X3)
17908 Tool location radius—default location for mounting
tools. (new for X3)
PARAMETER REFERENCE / Machine definition parameters • 391

POLYGON_GEO_TYPE
17630 Width (diameter) of turret across flats (New for X3)
17631 Thickness (New for X3)
Quick Start
17632 Number of faces or index positions (New for X3)
17633 Fillet radius (New for X3)

POLYGON_GEO_TYPE001
17634 Width (diameter) of turret across flats (New for X3)
17635 Thickness (New for X3)
17636 Number of faces or index positions (New for X3)
17637 Fillet radius (New for X3)

Gang tool block (lathe)


GANG_TOOL_COMPONENT_TYPE
17946 Minimum spindle speed (RPM) for live tools (new for
X3)
17947 Maximum spindle speed (RPM) for live tools (new for
X3)
17948 Slant-bed angle (new for X3)
17949 Turret index position (new for X3)

Coolant type
COOLANT_TYPE
17070 Text description for coolant/flushing option 1
17071 Text description for coolant/flushing option 2
17072 Text description for coolant/flushing option 3
17073 Text description for coolant/flushing option 4
17074 Text description for coolant/flushing option 5
17075 Text description for coolant/flushing option 6
17076 Text description for coolant/flushing option 7
17077 Text description for coolant/flushing option 8
17078 Text description for coolant/flushing option 9
17079 Text description for coolant/flushing option 1
17080 Text description for “coolant enabled” state for coolant
option 1
17081 Text description for “coolant enabled” state for coolant
option 2
17082 Text description for “coolant enabled” state for coolant
option 3
392 • MASTERCAM X8 / NCI & Parameter Reference

17083 Text description for “coolant enabled” state for coolant


option 4
17084 Text description for “coolant enabled” state for coolant
option 5
17085 Text description for “coolant enabled” state for coolant Quick Start
option 6
17086 Text description for “coolant enabled” state for coolant
option 7
17087 Text description for “coolant enabled” state for coolant
option 8
17088 Text description for “coolant enabled” state for coolant
option 9
17089 Text description for “coolant enabled” state for coolant
option 10
17090 Text description for “coolant disabled” state for coolant
option 1
17091 Text description for “coolant disabled” state for coolant
option 2
17092 Text description for “coolant disabled” state for coolant
option 3
17093 Text description for “coolant disabled” state for coolant
option 4
17094 Text description for “coolant disabled” state for coolant
option 5
17095 Text description for “coolant disabled” state for coolant
option 6
17096 Text description for “coolant disabled” state for coolant
option 7
17097 Text description for “coolant disabled” state for coolant
option 8
17098 Text description for “coolant disabled” state for coolant
option 9
17099 Text description for “coolant disabled” state for coolant
option 10
17100 Text to be used for Coolant button label on Toolpath
parameters page.
17101 1st 'coolant off' command shuts off ALL coolant
commands on the machine (True/False)
17102 Use coolant commands in post-processor (provided
for backward compatibility) (True/False)
17103 Use event list to activate coolant
17104 (not used in X3)
该文档是极速PDF编辑器生成,
PARAMETER REFERENCE / Control definition parameters • 393
如果想去掉该提示,请访问并下载:
http://www.jisupdfeditor.com/

Control definition parameters


See Capturing control The first section (Control definition: visual reference) shows a screen capture of each
Quick Start
definition control definition page annotated with the parameter numbers. The second section
parameters on page 32 (Control definition: list of parameters on page 426) lists all of the parameters by group
to learn more about and number.
capturing the parameter
values in your post.

NCI G


 NCI G

Overall parameters
394 • MASTERCAM X8 / NCI & Parameter Reference

Tolerance page

Quick Start
PARAMETER REFERENCE / Control definition parameters • 395

Communications page

Quick Start
396 • MASTERCAM X8 / NCI & Parameter Reference

Files page

Quick Start
PARAMETER REFERENCE / Control definition parameters • 397

NC Dialog page (Mill–Lathe–Router)

Quick Start
398 • MASTERCAM X8 / NCI & Parameter Reference

NC Output page

Quick Start
PARAMETER REFERENCE / Control definition parameters • 399

Misc. Int/Real Values page

Quick Start
400 • MASTERCAM X8 / NCI & Parameter Reference

Work System page

Quick Start
PARAMETER REFERENCE / Control definition parameters • 401

Tool page (Mill–Router)

Quick Start
402 • MASTERCAM X8 / NCI & Parameter Reference

Tool page (Lathe)

Quick Start
PARAMETER REFERENCE / Control definition parameters • 403

Linear page (Mill–Router)

Quick Start
404 • MASTERCAM X8 / NCI & Parameter Reference

Linear page (Lathe–Mill/Turn–Wire)

Quick Start
PARAMETER REFERENCE / Control definition parameters • 405

Arc page (Mill–Router)

Quick Start
406 • MASTERCAM X8 / NCI & Parameter Reference

Arc page (Lathe–Wire)

Quick Start
PARAMETER REFERENCE / Control definition parameters • 407

Rotary page (Mill–Router–Lathe)

Quick Start
408 • MASTERCAM X8 / NCI & Parameter Reference

Feed page (Mill–Router)

Quick Start
PARAMETER REFERENCE / Control definition parameters • 409

Feed page (Lathe)

Quick Start
410 • MASTERCAM X8 / NCI & Parameter Reference

Feed page (Wire)

Quick Start
PARAMETER REFERENCE / Control definition parameters • 411

Cutter Compensation page

Quick Start
412 • MASTERCAM X8 / NCI & Parameter Reference

Machine Cycles page (Mill–Router–Lathe)

Quick Start
PARAMETER REFERENCE / Control definition parameters • 413

Drill Cycles page (Mill–Router–Lathe)

Quick Start
414 • MASTERCAM X8 / NCI & Parameter Reference

Lathe Canned Cycles page (Lathe)

Quick Start
PARAMETER REFERENCE / Control definition parameters • 415

Subprograms page

Quick Start
416 • MASTERCAM X8 / NCI & Parameter Reference

Start/Leads page (Wire)

Quick Start
PARAMETER REFERENCE / Control definition parameters • 417

Cuts page (Wire)

Quick Start
418 • MASTERCAM X8 / NCI & Parameter Reference

Corner page (Wire)

Quick Start
PARAMETER REFERENCE / Control definition parameters • 419

Corner page (Wire)

Quick Start
420 • MASTERCAM X8 / NCI & Parameter Reference

Reverse Cuts Contour page (Wire)

Quick Start
PARAMETER REFERENCE / Control definition parameters • 421

Reverse Cuts Auxiliary page (Wire)

Quick Start
422 • MASTERCAM X8 / NCI & Parameter Reference

4-Axis Paths page (Wire)

Quick Start
PARAMETER REFERENCE / Control definition parameters • 423

Nocore page (Wire)

Quick Start

Control definition: list of parameters

General control definition parameters


Control definition header
19990 Machine group name (New for X3)

ENT_IDN_CTRL
18001 Post ID
18002 (not used)
18003 (not used)
18004 (not used)
424 • MASTERCAM X8 / NCI & Parameter Reference

CONTROL_TYPE
ENT_IDN_CTRL
18010 Manufacturer
18011 Parent group ID
Quick Start
18012 Start unique post ID
18013 Tolerance entity ID
18014 Communication entity ID
18015 File entity ID
18016 Posts entity ID
18017 NC mill entity ID
18018 NC router entity ID
18019 NC lathe entity ID
18020 NC wire entity ID
18021 NC output entity ID
18022 NC path entity ID
18023 NC cycles entity ID
18024 NC wire path entity ID

FILE_POSTLIST_CTRL
18205 Post ID
18206 Valid Status
18207 Start ascii entity id
18208 Start binary entity id
18209 Start text entity id
18210 Post data path and file name

Tolerances page
TOLERANCE_CTRL
18055 NC Precision – Inch (minimum step value - mtol$)
18056 NC Precision - Metric (minimum step value -
met_mtol$)
18057 Chordal Deviation – Inch (chord_tol$)
18058 Chordal Deviation – Metric (met_chord_tol$)
18059 Deviation of vector endpoints - Inch (vert_tol$)
18060 Deviation of vector endpoints – Metric
(met_vert_tol$)
18061 General math function tolerance – Inch (xtol$)
18062 General math function tolerance – Metric
(met_xtol$)
18063 Minimum distance between arc end points – Inch
(ltol$)
PARAMETER REFERENCE / Control definition parameters • 425

18064 Minimum distance between arc end points – Metric


(met_ltol$)
18065 Minimum arc length – Inch (minarc$)
18066 Minimum arc length – Metric (met_minarc$)
18067 Minimum arc radius – Inch (minrad$) Quick Start
18068 Minimum arc radius – Metric (met_minrad$)
18069 Maximum arc radius – Inch (maxrad$)
18070 Maximum arc radius – Metric (met_maxrad$)
18071 Minimum change in plane for helix – Inch
(helix_tol$)
18072 Minimum change in plane for helix – Metric
(met_helix_tol$)
18073 Maximum deviation in calculated arc end points from
machine grid – Inch (arc_tol$)
18074 Maximum deviation in calculated arc end points from
machine grid – Metric (met_arc_tol$)
18075 Minimum angle tolerance (atol$)
18076 Maximum angle tolerance (max_atol$)
18077 Truncate NC Precision: 0 = no, 1 = yes

Communications page
COMMUNICATION_CTRL
18105 End of line delay
18106 Baud rate (Actual value selected, i.e. – 9600)
18107 Port number (1, 2, 3 or 4)
18108 Number of data bits (6, 7 or 8)
18109 Number of stop bits (1 or 2)
18110 Handshaking (0 = None, 1 = Software, 2 = Hardware)
18111 Communications product (0 = Mastercam, 1 = Other,
2=Cimco)
18112 Parity (O = Odd, E = Even, N = None)
18113 Format (A = Ascii, E = EIA, B = BIN)
18114 Strip carriage return (True/False)
18115 Strip line feed (True/False)
18116 Echo terminal emulation (True/False)
18117 Display to screen (True/False)
18118 DOS communications mode (True/False)
18820 External communications (new for X3)
426 • MASTERCAM X8 / NCI & Parameter Reference

Files page
FILE_CTRL
POST_DLG_SETTING
S Quick Start
18155 Error message options (0 = All error messages to file, 1 =
All error messages to screen, 2 = Only first error
message to screen)
18156 Keep error file (0 = On fatal errors, 1 = On fatal and non-
fatal errors, 2 = On post errors and messages, 3 = On
errors, messages, and prompts, 4 = Always keep log file)
18157 Transform operation options (0 = Transform op
parameters only, 1 = Source ops parameters only, 2 =
Transform and source parameters) (obsolete for X3)
18158 NC data path
18159 NCI data path
18160 Setup sheet template data path and file name
18161 Post executable data path and file name
18162 Operations library (Inch) data path and file name
18163 Operations library (Metric) data path and file name
18164 Default operations library (Inch) data path and file
name
18165 Default operations library (Metric) data path and file
name
18166 Chook from Misc. values button data path and file
name
18167 Chook from Aux. register button data path and file
name (Wire)
18168 Power setting library (Inch) data path and file name
(Wire)
18169 Power setting library (Metric) data path and file name
(Wire)
18170 NC File extension (sextnc$)
18171 Write NC operation information (True/False)
(obsolete for X3)

Post dialog box defaults


These settings are the default Post dialog box settings as saved with the control
definition. They are not the settings selected at the time of posting.
POST_DLG_SETTINGS
18750 Create NCI file (True/False)
18751 Overwrite NCI file (0 = ask, 1 = overwrite)
18752 Create NC file (True/False)
18753 Overwrite NC file (0 = ask, 1 = overwrite)
18754 Send to machine (True/False)
PARAMETER REFERENCE / Control definition parameters • 427

18755 Edit NCI file (True/False)


18756 Edit NC file (True/False)
18757 Export oplist (obsolete for X3)
18758 Export prm (obsolete for X3)
Quick Start
18759 Status of the Output Tplanes relative to WCS option.
This affects how the NCI 1014 line is written.
18760 Output MCX file descriptor (True/False)

NC Dialog page
NC_DIALOG_MILL_CTRL
18255 Not Used (removed for X5)
18256 Set check box for Reference Point button (0 = No, 1 =
Yes)
18257 Not Used
18258 Not Used
18259 Not Used
18260 Set check box for Tool Display button (0 = No, 1 = Yes)

NC_DIALOG_ROUTER_CTRL
18305 Not Used
18306 Set check box for Reference Point button (0 = No, 1 =
Yes)
18307 Not Used
18308 Not Used
18309 Not Used
18310 Set check box for Tool Display button (0 = No, 1 = Yes)

NC_DIALOG_LATHE_CTRL
18355 Not Used
18356 Not Used
18357 Set check box for Reference Point button (0 = No, 1 =
Yes)
18358 Not Used
18359 Not Used
18360 Set check box for Tool Display button (0 = No, 1 = Yes)

NC_DIALOG_WIRE_CTRL
18405 Not Used (removed for X3)
18406 Not Used
18407 Not Used
428 • MASTERCAM X8 / NCI & Parameter Reference

18408 Not Used


18409 Not Used
18410 Not Used
18411 Not Used
Quick Start

NC Output page
NC_OUTPUT_CTRL
18455 Start sequence number
18456 Increment sequence number
18457 Maximum sequence number
18458 Maximum characters in NC comment
18459 Number of places to the left of decimal
18460 Number of places to the right of decimal
18461 Spaces between NC addresses
18462 First alternate EOB character (ascii value equivalent)
18463 Second alternate EOB character (ascii value
equivalent)
18464 Text from Description field in Control Def Mgr.
18465 Main program default absolute/incremental (0 =
absolute, 1 = incremental)
18466 Output operation comments to NC (0 = no, 1 = yes)
18467 Output group comments to NC (0 = no, 1 = yes)
18468 Output group name to NC (0 = no, 1 = yes)
18469 Output machine name to NC (0 = no, 1 = yes)
18470 Output sequence numbers (True/False)
18471 Reset sequence numbers in subprograms (True/False)
18472 Use decimal sequence numbers (True/False)
18473 Delete Cr/Lf at end of NC block (True/False)
18474 Use optional EOB characters (True/False)
18475 Ouput debug info (True/False) (Obsolete for X3;
always output as 0.)

Work System page


NC_PATH_WORKSYS_CTRL
18505 Work coordinate selection (0 = home position, 1 = local
work offset, 2 = other, 3 = work offsets)
18506 Tplane during automatic work offset number creation
(0 = all T planes, 1 = only transform T planes)
18507 Translate NCI coordinates to machine view with
aggregate (Mill/Router)
PARAMETER REFERENCE / Control definition parameters • 429

Tool page
NC_PATH_TOOL_CTRL
18508 Tool offset registers (0 = add to tool, 1 = from tool)
18509 Add tool amount Quick Start
18510 Add length amount
18511 Add diameter amount
18512 Add back offset amount
18513 Get Home Position option (0 = from default setting, 1 =
from tool setting, 2 = from machine definition)
18514 Use head number to replace tool number (True/False)
18515 Add head number to offset register (True/False)
18516 Enable staged tool routines (True/False)
18517 Write length register to NCI with lathe toolpaths

NC_PATH_TOOL_CTRL002
18761 Tool offset registers (0 = add to tool, 1 = from tool)
18762 Add tool amount
18763 Add length amount
18764 Add diameter amount
18765 Add back offset amount
18766 Get Home Position option (0 = from default setting, 1 =
from tool setting, 2 = from machine definition)
18767 Use head number to replace tool number (True/False)
18768 Add head number to offset register (True/False)
18769 Enable staged tool routines (True/False)
18770 Write length register to NCI with lathe toolpaths

Linear page
NC_PATH_LINEAR_CTRL
18518 Rapid motion (0 = each axis moves at max. feed rate
independently, 1 = all axes arrive at destination
simultaneously, 2 = linear interpolation at maximum
feed rate)
18519 XY plane control (0 = do not break linear motion, 1 =
break rapid moves – XY then Z for approach, Z then XY
for retract, 2 = break all moves with change in Z)
18520 XZ plane control (0 = do not break linear motion, 1 =
break rapid moves – XZ then Y for approach, Y then XZ
for retract, 2 = break all moves with change in Y)
18521 YZ plane control (0 = do not break linear motion, 1 =
break rapid moves – YZ then X for approach, X then YZ
for retract, 2 = break all moves with change in X)
430 • MASTERCAM X8 / NCI & Parameter Reference

18522 Corner rounding/exact stop (0 = control cutting mode,


1 = control exact stop mode, 2 = control corner
rounding mode)

NC_PATH_LINEAR_CTRL002 Quick Start

18771 Rapid motion (0 = each axis moves at max. feed rate


independently, 1 = all axes arrive at destination
simultaneously, 2 = linear interpolation at maximum
feed rate)
18772 XY plane control (0 = do not break linear motion, 1 =
break rapid moves – XY then Z for approach, Z then XY
for retract, 2 = break all moves with change in Z)
18773 XZ plane control (0 = do not break linear motion, 1 =
break rapid moves – XZ then Y for approach, Y then XZ
for retract, 2 = break all moves with change in Y)
18774 YZ plane control (0 = do not break linear motion, 1 =
break rapid moves – YZ then X for approach, X then YZ
for retract, 2 = break all moves with change in X)
18775 Corner rounding/exact stop (0 = control cutting mode,
1 = control exact stop mode, 2 = control corner
rounding mode)

Arc page
NC_PATH_ARC_CTRL
18523 XY plane arc center type (0 = absolute, 1 = delta start to
center, 2 = delta center to start, 3 = unsigned
incremental, 4 = radius, 5 = signed radius)
18524 XZ plane arc center type (0 = absolute, 1 = delta start to
center, 2 = delta center to start, 3 = unsigned
incremental, 4 = radius, 5 = signed radius)
18525 YZ plane arc center type (0 = absolute, 1 = delta start to
center, 2 = delta center to start, 3 = unsigned
incremental, 4 = radius, 5 = signed radius)
18526 XY plane arc break options (0 = don’t break, 1 = break at
quadrants, 2 = break at 180 degrees)
18527 XZ plane arc break options (0 = don’t break, 1 = break at
quadrants, 2 = break at 180 degrees)
18528 YZ plane arc break options (0 = don’t break, 1 = break at
quadrants, 2 = break at 180 degrees)
18529 Helix support (0 = no helix allowed, 1 = only in XY
plane, 2 = all planes supported)
18530 Arc end point checks (0= round end point – break arc
on failure, 1 = round end point – arc to generated point
on failure, 2 = no rounding – break arc on failure)
18531 Support arcs on XY plane (True/False)
18532 Support arcs on XZ plane (True/False)
18533 Support arcs on YZ plane (True/False)
PARAMETER REFERENCE / Control definition parameters • 431

18534 Allow 360 degree arcs on XY plane (True/False)


18535 Allow 360 degree arcs on XZ plane (True/False)
18536 Allow 360 degree arcs on YZ plane (True/False)
18537 Arc error checks – length of arc (True/False)
Quick Start
18538 Arc error checks – length of radius (True/False)
18539 Arc error checks – parallel axis motion on quadrant
(True/False)
18540 Arc error checks – equilateral triangle (True/False)
18541 Arc error checks – end point checks (True/False)

NC_PATH_ARC_CTRL002
18776 XY plane arc center type (0 = absolute, 1 = delta start to
center, 2 = delta center to start, 3 = unsigned
incremental, 4 = radius, 5 = signed radius)
18777 XZ plane arc center type (0 = absolute, 1 = delta start to
center, 2 = delta center to start, 3 = unsigned
incremental, 4 = radius, 5 = signed radius)
18778 YZ plane arc center type (0 = absolute, 1 = delta start to
center, 2 = delta center to start, 3 = unsigned
incremental, 4 = radius, 5 = signed radius)
18779 XY plane arc break options (0 = don’t break, 1 = break at
quadrants, 2 = break at 180 degrees)
18780 XZ plane arc break options (0 = don’t break, 1 = break at
quadrants, 2 = break at 180 degrees)
18781 YZ plane arc break options (0 = don’t break, 1 = break at
quadrants, 2 = break at 180 degrees)
18782 Helix support (0 = no helix allowed, 1 = only in XY
plane, 2 = all planes supported)
18783 Arc end point checks (0= round end point – break arc
on failure, 1 = round end point – arc to generated point
on failure, 2 = no rounding – break arc on failure)
18784 Support arcs on XY plane (True/False)
18785 Support arcs on XZ plane (True/False)
18786 Support arcs on YZ plane (True/False)
18787 Allow 360 degree arcs on XY plane (True/False)
18788 Allow 360 degree arcs on XZ plane (True/False)
18789 Allow 360 degree arcs on YZ plane (True/False)
18790 Arc error checks – length of arc (True/False)
18791 Arc error checks – length of radius (True/False)
18792 Arc error checks – parallel axis motion on quadrant
(True/False)
18793 Arc error checks – equilateral triangle (True/False)
18794 Arc error checks – end point checks (True/False)
432 • MASTERCAM X8 / NCI & Parameter Reference

Rotary page
NC_PATH_ROTARY_CTRL
18542 Break rapid rotary moves (True/False)
18543 Attempt to adjust machine to bi-stable position Quick Start

Feed page
NC_PATH_FEED_CTRL
18544 Three axis feed options (0 = unit/min., 1 = use inverse)
18545 Four axis linear feed options (0 = unit/min., 1 = use
inverse)
18546 Four axis rotary feed options (0 = unit/min., 1 = degree/
min., 2 = use inverse)
18547 Five axis linear feed options (0 = unit/min., 1 = use
inverse)
18548 Five axis rotary feed options (0 = unit/min., 1 = use
inverse)
18549 Inverse feed (0 = feed rate in minutes, 1 = feed rate in
seconds)
18700 Convert rapid to maximum feed rate (True/False)
18701 Adjust feed rate on arc moves (True/False)
18702 Use feed rate in NC output (True/False) (Wire Only)

NC_PATH_FEED_CTRL002
18795 Three axis feed options (0 = unit/min., 1 = use inverse)
18796 Four axis linear feed options (0 = unit/min., 1 = use
inverse)
18797 Four axis rotary feed options (0 = unit/min., 1 = degree/
min., 2 = use inverse)
18798 Five axis linear feed options (0 = unit/min., 1 = use
inverse)
18799 Five axis rotary feed options (0 = unit/min., 1 = use
inverse)
18800 Inverse feed (0 = feed rate in minutes, 1 = feed rate in
seconds)
18801 Convert rapid to maximum feed rate (True/False)
18802 Adjust feed rate on arc moves (True/False)
18803 Use feed rate in NC output (True/False) (Wire Only)

Cutter Compensation page


NC_PATH_COMP_CTRL
18703 Number of look ahead blocks for control comp
18704 Control supports cutter compensation in control
PARAMETER REFERENCE / Control definition parameters • 433

18705 Allow cutter comp in control to be activated/


deactivated on arcs (True/False)
18706 Control supports wear compensation (True/False)
18707 Control supports reverse wear compensation (True/
False) Quick Start
18708 Start and end cutter compensation above part
18709 Compensate the first and last point in cutter comp. in
control simulation (True/False) (removed for X3)
18710 Display the first and last entities in cutter comp. in
control simulation (True/False) (removed for X3)
18711 Display a warning when cutter compensation in
control simulation finds an error (True/False)
(removed for X3)
18821 Optimize toolpaths (true/false) (New for X3)

Subprograms page
NC_PATH_SUBS_CTRL
18712 Maximum subprogram nesting levels
18713 Subprogram location (0 = after main program, 1 =
before main program)
18714 Maximum mirror/rotate coordinate subprogram
routines nesting levels
18715 Control supports subprograms (True/False)
18716 Allow mirror coordinate subprogram routines (True/
False)
18717 Allow rotate coordinate subprogram routines (True/
False)
18718 Allow nesting of mirror/rotate coordinate subprogram
routines (True/False)
18719 Ignore work offset numbers when processing
subprograms
18720 Ignore contour flags when processing subprograms
18822 Absolute drill cycle subprogram options: Initial height
(0=Ignore, 1=Compare) (new for X6)
18823 Absolute drill cycle subprogram options: Reference
height.
0=Ignore definition values, ignore subsequent pattern
values
1=Ignore definition values, compare subsequent
pattern values
2=Compare definition values
(new for X6)
434 • MASTERCAM X8 / NCI & Parameter Reference

18824 Absolute drill cycle subprogram options: Depth.


0=Ignore definition values, ignore subsequent pattern
values
1=Ignore definition values, compare subsequent
pattern values
2=Compare definition values Quick Start
(new for X6)

Misc. Int/Real Values page


NC_PATH_CTRL
NC_PATH_WORKSYS_CTRL
NC_PATH_TOOL_CTRL
NC_PATH_TOOL_CTRL002
NC_PATH_LINEAR_CTRL
NC_PATH_LINEAR_CTRL002
NC_PATH_ARC_CTRL
NC_PATH_ARC_CTRL002
NC_PATH_ROTARY_CTRL
NC_PATH_FEED_CTRL
NC_PATH_FEED_CTRL002
NC_PATH_COMP_CTRL
NC_PATH_SUBS_CTRL
18721 Initialize tool path operation (0 = from these
settings, 1 = from default operation)
18722 Set miscellaneous values on first operation of each
type only
18723 Use separate mill and lathe text and values (Mill/
Turn control)

Machine Cycles page


CYCLES_2CTRL
NC_GEN_CYCLES_CTRL
NC_DRILL_CYCLES_CTRL
NC_DRILL_CYCLES_CTRL002
NC_LATHE_CYCLES_CTRL

NC_GEN_CYCLES_CTRL
18555 Height return options (0 = return to initial height, 1 =
return to reference height)
18556 Percent drill depth decline with peck and chip
18557 Use lead drill with block drilling (True/False) (Router)
PARAMETER REFERENCE / Control definition parameters • 435

18558 Control supports polar interpolation (True/False)


18559 Control supports cylindrical interpolation (True/False)
18560 Control supports high speed machining (True/False)
18561 Use separate mill and lathe text and values (Mill/Turn)
Quick Start

Drill cycles page


NC_DRILL_CYCLES_CTRL
18562 Simple drill – no peck (True/False)
18563 Peck drill – full retract (True/False)
18564 Chip break – incremental retract (True/False)
18565 Tapping – feed in, reverse spindle – feed out (True/
False)
18566 Boring #1 – feed out (True/False)
18567 Boring #2 – stop spindle – rapid out (True/False)
18568 Misc. #1 drill – uses simple drill (True/False)
18569 Misc. #2 drill – uses simple drill (True/False)

NC_DRILL_CYCLES_CTRL002
18804 Simple drill – no peck (True/False)
18805 Peck drill – full retract (True/False)
18806 Chip break – incremental retract (True/False)
18807 Tapping – feed in, reverse spindle – feed out (True/
False)
18808 Boring #1 – feed out (True/False)
18809 Boring #2 – stop spindle – rapid out (True/False)
18810 Misc. #1 drill – uses simple drill (True/False)
18811 Misc. #2 drill – uses simple drill (True/False)

Lathe Canned Cycles page


NC_LATHE_CYCLES_CTRL
18570 Enable canned rough turning (True/False)
18571 Enable canned rough pattern repeat (True/False)
18572 Enable canned roughing undercuts (True/False)
18573 Enable canned finish (True/False)
18574 Enable canned groove cycle (True/False)
18575 Enable canned groove wall taper (True/False)
18576 Enable canned groove radius on corners (True/False)
18577 Enable canned groove radius on chamfers (True/False)
18578 Enable canned groove rough pecking (True/False)
436 • MASTERCAM X8 / NCI & Parameter Reference

18579 Enable canned groove rough depth cuts (True/False)


18580 Enable canned groove chamfer on corners (True/False)
18581 Enable canned groove dwell (True/False)
18582 Enable canned thread cycles (True/False)
Quick Start
18583 Enable canned thread cycle (True/False)
18584 Enable box thread cycle (True/False)
18585 Enable alternating thread cycle (True/False)
18586 Enable thread equal depth cuts (True/False)
18587 Enable thread equal area (True/False)
18588 Enable thread multiple starts (True/False)
18589 Enable thread anticipated pull off (True/False)
18590 Enable thread equal depth cuts - Box (True/False)
18591 Enable thread equal area - Box (True/False)
18592 Enable thread multiple starts - Box (True/False)
18593 Enable thread anticipated pull off - Box (True/False)
18594 Enable thread equal depth cuts - Alternating (True/
False)
18595 Enable thread equal area - Alternating (True/False)
18596 Enable thread multiple starts - Alternating (True/False)
18597 Enable thread anticipated pull off - Alternating (True/
False)
18598 Enable anticipated pull off for long hand thread (True/
False)
18812 NOT USED - First start far from part with multiple
threading
18813 NOT USED First start closest to part with multiple
threading
18814 Enable first start far from part with multiple threading
18815 Enable first start closest to part with multiple threading
18816 Enable first start far from part with multiple threading
18817 Enable first start closest to part with multiple threading
18818 Enable first start far from part with multiple threading
18819 Enable first start closest to part with multiple threading

Start/Leads page (Wire)


WIRE_NC_PATH_CTRL
NC_WIRE_LEADS_CTRL
NC_WIRE_CUTS_CTRL
NC_WIRE_CORNER_CTRL
NC_WIRE_REVERSE_CTRL
NC_WIRE_AUX_REV_CTRL
NC_WIRE_TAPER_CTRL
NC_WIRE_NOCORE_CTRL
PARAMETER REFERENCE / Control definition parameters • 437

NC_WIRE_LEADS_CTRL
18605 Wire threading (0 = manual, 1 = automatic)
18606 Lead in type (0 = line only, 1 = radius only, 2 = line and
arc, 3 = two lines and arc) Quick Start
18607 Lead out type (0 = line only, 1 = radius only, 2 = line and
arc, 3 = two lines and arc)
18608 Initialize toolpath operation (0 = from these settings, 1
= from default operation)
18609 Start position is automatically set to thread position
(True/False)
18610 Line lead in and exit are required (True/False)
18611 Move to arc center with ‘two lines and arc’ lead option
(True/False)
18612 Flip taper direction on leads with ‘two lines and arc’
lead option (True/False)
18825 Force wire taper to vertical with G40 wire
compensation cancel (True/False) (new for X6)

Cuts page (Wire)


NC_WIRE_CUTS_CTRL
18613 Reset pass number on tab cuts (True/False)
18614 Lock the UV height above the XY height (True/False)

Corner page (Wire)


NC_WIRE_CORNER_CTRL
18615 Conical – minimum (True/False)
18616 Conical –mean (True/False)
18617 Conical – maximum (True/False)
18618 Constant (True/False)
18619 Fixed (True/False)
18620 Sharp (True/False)
18621 Fish Tail (True/False)
18622 Other (True/False)
18623 Enable line-arc-line tangent conic mode (True/False)
18624 Enable dual corner types and upper radius with arcs
(True/False)
438 • MASTERCAM X8 / NCI & Parameter Reference

Reverse Cuts Contour page (Wire)


NC_WIRE_REVERSE_CTRL
18625 Change corner type on (0 = point, 1 = move, 2 = prior
point) Quick Start
18626 Change UV arc type on (0 = point, 1 = move, 2 = prior
point)
18627 Change rapid move on (0 = point, 1 = move, 2 = prior
point)
18628 Change feed rate on (0 = point, 1 = move, 2 = prior
point)
18629 Change manual entry on (0 = point, 1 = move, 2 = prior
point)
18630 Change canned text on (0 = point, 1 = move, 2 = prior
point)
18631 Change wire compensation on (0 = point, 1 = move, 2 =
prior point)
18632 Change condition code on (0 = point, 1 = move, 2 =
prior point)
18633 Change wire offset on (0 = point, 1 = move, 2 = prior
point)
18634 Change wire diameter on (0 = point, 1 = move, 2 = prior
point)
18635 Change wire over burn on (0 = point, 1 = move, 2 = prior
point)
18636 Change dwell on (0 = point, 1 = move, 2 = prior point)
18637 Change contour flags on (0 = point, 1 = move, 2 = prior
point)
18638 Change stop flags on (0 = point, 1 = move, 2 = prior
point)
18639 Change thread/cut flags on (0 = point, 1 = move, 2 =
prior point)
18640 Change power settings on (0 = point, 1 = move, 2 = prior
point)
18641 Change tank settings on (0 = point, 1 = move, 2 = prior
point)
18642 Change flush settings on (0 = point, 1 = move, 2 = prior
point)

Reverse Cuts Auxiliary page (Wire)


NC_WIRE_AUX_REV_CTRL
18643 Change auxiliary register 1 on (0 = point, 1 = move, 2 =
prior point)
18644 Change auxiliary register 2 on (0 = point, 1 = move, 2 =
prior point)
18645 Change auxiliary register 3 on (0 = point, 1 = move, 2 =
prior point)
PARAMETER REFERENCE / Control definition parameters • 439

18646 Change auxiliary register 4 on (0 = point, 1 = move, 2 =


prior point)
18647 Change auxiliary register 5 on (0 = point, 1 = move, 2 =
prior point)
18648 Change auxiliary register 6 on (0 = point, 1 = move, 2 = Quick Start
prior point)
18649 Change auxiliary register 7 on (0 = point, 1 = move, 2 =
prior point)
18650 Change auxiliary register 8 on (0 = point, 1 = move, 2 =
prior point)
18651 Change auxiliary register 9 on (0 = point, 1 = move, 2 =
prior point)
18652 Change auxiliary register 10 on (0 = point, 1 = move, 2 =
prior point)
18653 Change auxiliary register 1 on - modal (True/False)
18654 Change auxiliary register 2 on - modal (True/False)
18655 Change auxiliary register 3 on - modal (True/False)
18656 Change auxiliary register 4 on - modal (True/False)
18657 Change auxiliary register 5 on - modal (True/False)
18658 Change auxiliary register 6 on - modal (True/False)
18659 Change auxiliary register 7 on - modal (True/False)
18660 Change auxiliary register 8 on - modal (True/False)
18661 Change auxiliary register 9 on - modal (True/False)
18662 Change auxiliary register 10 on - modal (True/False)

4-axis Paths page (Wire)


NC_WIRE_TAPER_CTRL
18663 Direct and Taper wire paths maximum angle
18664 Direct and Taper wire paths maximum step size - inch
18665 Direct and Taper wire paths maximum step size –
metric
18666 Control supports Direct wire paths (True/False)
18667 Control supports Taper wire paths (True/False)

Nocore page (Wire)


NC_WIRE_NOCORE_CTRL
18668 Percentage of wire diameter to be used for lead
18669 With ‘Add finish contour operation’ option, create
finish operation after each pocket (True/False)
18670 Perpendicular leads with rough passes (True/False)
440 • MASTERCAM X8 / NCI & Parameter Reference

Quick Start
PARAMETER REFERENCE / Machine group parameters • 441

Machine group parameters


See Capturing The first section (Machine group properties: visual reference) shows screen captures of all
Quick Start
machine group themachine definition dialogs annotated with the parameter numbers. The second
parameters on page 33 section (Machine group properties: list of parameters on page 449) lists all of the
to learn more about parameters by group and number.
capturing the parameter
values in your post.
Machine group properties: visual reference
Most of the fields shown in the following pages use parameters to store their values, but
the values for some fields are available as pre-defined variables, or even directly in the
NCI G-code. Use the following color key to determine the type of value:
 Red labels indicate parameter numbers
 Blue labels indicate pre-defined variable names
 Green labels indicate NCI G-codes
Some fields are available as both parameters and pre-defined variables. In these cases,
you can use whichever method is most convenient. Typically, this will be the pre-defined
variable.
442 • MASTERCAM X8 / NCI & Parameter Reference

Files tab (Machine Group Properties)

Quick Start

The comments at the bottom of the tab are available directly from the NCI file, rather
than parameters. The number in green lists the NCI Gcode where the comment will be
output.
PARAMETER REFERENCE / Machine group parameters • 443

Tool Settings tab (Machine Group Properties)

Quick Start

Mastercam Wire uses an abbreviated version of this tab—Program Settings—as shown


below.
444 • MASTERCAM X8 / NCI & Parameter Reference

Stock Setup tab—Mill/Router (Machine Group Properties)


Stock models are now stored in the machine definition as machine definition
components. This means that in addition to the machine group parameters noted here,
you can also access the machine definition component parameters. These will generally
prove to be more robust and flexible. As a best practice, you should use the machine
Quick Start
definition parameters instead of the legacy machine group parameters.
PARAMETER REFERENCE / Machine group parameters • 445

Stock Setup tab—Lathe (Machine Group Properties)


Stock models—as well as chuck jaws, tailstock centers, and steady rests—are now stored
in the machine definition as machine definition components. This means that in
addition to the machine group parameters noted here, you can also access the machine
definition component parameters. These will generally prove to be more robust and
Quick Start
flexible. As a best practice, you should use the machine definition parameters instead of
the legacy machine group parameters.
446 • MASTERCAM X8 / NCI & Parameter Reference

Machine group properties: list of parameters

General machine group parameters


Quick Start
Machine group header
19970 Machine group name (New for X3)

OP_GROUP_INFO
19246 Name and path of defaults file
GROUP_PG1 Files tab
GROUP_PG2 Tool settings tab
GROUP_PG3 Stock setup tab
GROUP_PG4 Safety zone tab (removed for X7)

GROUP_LIST
19247 Group number, 0 = deleted, > 0 = alive
19248 Machine group name
19249 Parent group number
19250 Number of grp_ent's pointed to by *e
19251 (Removed in X3)
ATTRIBUTES
19252 Group attributes (not yet used)
19253 True = don't display in groups dialog
19254 Temp marker used in sorting in merging
19255 OpMgr expanded flag
19256 Type of group
19257 Group's color
19258 Group's level
19259 True - use entitys' color & level
19260 File position of group
OP_GROUP_INFO
19261 PRODUCT_MILL, PRODUCT_LATHE,
PRODUCT_ROUTER or PRODUCT_WIRE
19262 (Removed in X3)
19263 (Removed in X3)
19264 (Removed in X3)
19540 Group lock flag: When TRUE, operations in the group
cannot be moved, added, deleted, sorted or ghosted.
However, they can be edited and regened. (new for X7)

ATTRIBUTES
19026 Width (not currently used)
PARAMETER REFERENCE / Machine group parameters • 447

19027 Style (not currently used)


19028 Pen (not currently used)
19029 PSTYLE (not currently used)
ATTRIBUTES002
Quick Start
19557 Width (this group of parameters used for MT Job Setup
turned profile) (new for X7)
19558 Style (new for X7)
19559 Pen (new for X7)
19560 PSTYLE (new for X7)

Files page
GROUP_PG1
19591 NC file name for MT. (new for X8)
19104 (removed for X3)
19105 Name and path of machine definition
19106 Path of NCI file
19107 Machine name for MT. (new for X7)
19108 Project Manager folder flag
19352–19514 Project Manager folder flags
19109 (removed for X3)
19110 (removed for X3)
GROUP_VIEW Cplane view and origin info (new for X3)
GROUP_VIEW002 Tplane view and origin info (new for X3)
GROUP_VIEW003 Gview view and origin info (new for X3)
GROUP_VIEW004 WCS view and origin info (new for X3)
GROUP_VIEW005 This group’s stock view and origin information
GROUP_VIEW006 This group’s safety zone view and origin information
(removed for X7)
19111 General group comments
19112 This group’s machine entity ID number
19352–19514 Project Manager folder flags
19515 If >0, the Toolpath Manager insert arrow is positioned
after this operation; if <0, it is positioned after this
group. (X2)
GROUP_PG1_ADVAN
CED_DEFAULTS
19112 This group’s machine entity ID number

GROUP_VIEW
19294 View ID# (new for X3)
19295 View number (new for X3)
19516 Coordinate display (new for X3)
448 • MASTERCAM X8 / NCI & Parameter Reference

19296 Toolplane view matrix (new for X3)


19297 Toolplane view matrix (new for X3)
19298 Toolplane view matrix (new for X3)
19299 Toolplane view matrix (new for X3)
Quick Start
19300 Toolplane view matrix (new for X3)
19301 Toolplane view matrix (new for X3)
19302 Toolplane view matrix (new for X3)
19303 Toolplane view matrix (new for X3)
19304 Toolplane view matrix (new for X3)
19305 View origin in world (new for X3)
19306 View origin in world (new for X3)
19307 View origin in world (new for X3)

GROUP_VIEW002
19308 View ID# (new for X3)
19309 View number (new for X3)
19517 Coordinate display (new for X3)
19310 Toolplane view matrix (new for X3)
19311 Toolplane view matrix (new for X3)
19312 Toolplane view matrix (new for X3)
19313 Toolplane view matrix (new for X3)
19314 Toolplane view matrix (new for X3)
19315 Toolplane view matrix (new for X3)
19316 Toolplane view matrix (new for X3)
19317 Toolplane view matrix (new for X3)
19318 Toolplane view matrix (new for X3)
19319 View origin in world (new for X3)
19320 View origin in world (new for X3)
19321 View origin in world (new for X3)

GROUP_VIEW003
19322 View ID# (new for X3)
19323 View number (new for X3)
19518 Coordinate display (new for X3)
19324 Toolplane view matrix (new for X3)
19325 Toolplane view matrix (new for X3)
19326 Toolplane view matrix (new for X3)
19327 Toolplane view matrix (new for X3)
19328 Toolplane view matrix (new for X3)
19329 Toolplane view matrix (new for X3)
19330 Toolplane view matrix (new for X3)
PARAMETER REFERENCE / Machine group parameters • 449

19331 Toolplane view matrix (new for X3)


19332 Toolplane view matrix (new for X3)
19333 View origin in world (new for X3)
19334 View origin in world (new for X3)
Quick Start
19335 View origin in world (new for X3)

GROUP_VIEW004
19336 View ID# (new for X3)
19337 View number (new for X3)
19519 Coordinate display (new for X3)
19338 Toolplane view matrix (new for X3)
19339 Toolplane view matrix (new for X3)
19340 Toolplane view matrix (new for X3)
19341 Toolplane view matrix (new for X3)
19342 Toolplane view matrix (new for X3)
19343 Toolplane view matrix (new for X3)
19344 Toolplane view matrix (new for X3)
19345 Toolplane view matrix (new for X3)
19346 Toolplane view matrix (new for X3)
19347 View origin in world (new for X3)
19348 View origin in world (new for X3)
19349 View origin in world (new for X3)

GROUP_VIEW005
19266 View ID#
19267 View number
19520 Coordinate display (new for X3)
19268 Toolplane view matrix
19269 Toolplane view matrix
19270 Toolplane view matrix
19271 Toolplane view matrix
19272 Toolplane view matrix
19273 Toolplane view matrix
19274 Toolplane view matrix
19275 Toolplane view matrix
19276 Toolplane view matrix
19277 View origin in world
19278 View origin in world
19279 View origin in world
450 • MASTERCAM X8 / NCI & Parameter Reference

GROUP_VIEW006
19280 View ID# (removed for X7. While the parameters in
this group are still present, the values are no longer
set.)
19281 View number (removed for X7) Quick Start
19521 Coordinate display (removed for X7)
19282 Toolplane view matrix (removed for X7)
19283 Toolplane view matrix (removed for X7)
19284 Toolplane view matrix (removed for X7)
19285 Toolplane view matrix (removed for X7)
19286 Toolplane view matrix (removed for X7)
19287 Toolplane view matrix (removed for X7)
19288 Toolplane view matrix (removed for X7)
19289 Toolplane view matrix (removed for X7)
19290 Toolplane view matrix (removed for X7)
19291 View origin in world (removed for X7. Changed to
15889.)
19292 View origin in world (removed for X7. Changed to
15890.)
19293 View origin in world (removed for X7. Changed to
15891.)

Tool settings page


GROUP_PG2
19113 Program number
19114 Where this group’s ops get their feeds and speeds from
(0 = from tool, 1 = from material, 2 = from defaults,
3=user-defined)
19115 User-defined default feed rate
19116 True if this machine is to have its speed adjusted on an
arc move; False if not
19117 User-defined default spindle speed.
19118 True if the tools created in this group are to be given
sequential tool numbers; False if not
19119 True if the user is to be warned whenever they could be
creating duplicate tool numbers; False if not
19120 True if operations are to get step, peck, and coolant
values from tools; False if not
19121 True if the user wants the tool library searched when
they enter a tool number; False if not
19122 Send tool to clear position to go home (lathe only)
(removed for X5)
19123 This group’s material filename and path
19350 User-defined default plunge rate
19351 User-defined default retract rate
PARAMETER REFERENCE / Machine group parameters • 451

GROUP_PG1_ADVANCED_DEFAULTS
19099 Enable options to override defaults with modal values
19100 Override default clearance height with modal value
Quick Start
19101 Override default retract height with modal value
19102 Override default feed plane with modal value
19103 Override defaults with named views

Stock setup tab


Stock models—as well as chuck jaws, tailstock centers, and steady rests—are now stored
in the machine definition as machine definition components. This means that in
addition to the machine group parameters noted here, you can also access the machine
definition component parameters. These will generally prove to be more robust and
flexible. As a best practice, you should use the machine definition parameters instead of
the legacy machine group parameters.
GROUP_PG3
19124 Fit stock in screen (Y/N)
19125 Stock size. X dimension if block, diameter if cylinder.
19126 Stock size. Y dimension if block, length if cylinder.
19127 Stock size. Z dimension if block, not used if cylinder.
19128 Stock origin (X). See parameter 19212 to identify which
corner of stock model this is.
19129 Stock origin (Y). See parameter 19212 to identify which
corner of stock model this is.
19130 Stock origin (Z). See parameter 19212 to identify which
corner of stock model this is.
19131 Show stock: True=always show stock in gview
19132 Draw stock as a translucent solid instead of wireframe
(True/False)
19133 Stock shape: 0=rect, 1=cyl, 2=solid, 3=stl file
19134 Solid enity id number
19135 Stock cylinder axis: 0=X, 1=Y, 2=Z
19136 Center stock on axis (True/False)
19137 STL filename
19138 Line style to display stock with
19139 Color of stock when displayed
19140 3D lines for stock definition: line 1, endpoint 1, X
19141 3D lines for stock definition: line 1, endpoint 1, Y
19142 3D lines for stock definition: line 1, endpoint 1, Z
19143 3D lines for stock definition: line 1, endpoint 2, X
19144 3D lines for stock definition: line 1, endpoint 2, Y
19145 3D lines for stock definition: line 1, endpoint 2, Z
19146 3D lines for stock definition: line 2, endpoint 1, X
19147 3D lines for stock definition: line 2, endpoint 1, Y
452 • MASTERCAM X8 / NCI & Parameter Reference

19148 3D lines for stock definition: line 2, endpoint 1, Z


19149 3D lines for stock definition: line 2, endpoint 2, X
19150 3D lines for stock definition: line 2, endpoint 2, Y
19151 3D lines for stock definition: line 2, endpoint 2, Z
Quick Start
19152 3D lines for stock definition: line 3, endpoint 1, X
19153 3D lines for stock definition: line 3, endpoint 1, Y
19154 3D lines for stock definition: line 3, endpoint 1, Z
19155 3D lines for stock definition: line 3, endpoint 2, X
19156 3D lines for stock definition: line 3, endpoint 2, Y
19157 3D lines for stock definition: line 3, endpoint 2, Z
19158 3D lines for stock definition: line 4, endpoint 1, X
19159 3D lines for stock definition: line 4, endpoint 1, Y
19160 3D lines for stock definition: line 4, endpoint 1, Z
19161 3D lines for stock definition: line 4, endpoint 2, X
19162 3D lines for stock definition: line 4, endpoint 2, Y
19163 3D lines for stock definition: line 4, endpoint 2, Z
19164 3D lines for stock definition: line 5, endpoint 1, X
19165 3D lines for stock definition: line 5, endpoint 1, Y
19166 3D lines for stock definition: line 5, endpoint 1, Z
19167 3D lines for stock definition: line 5, endpoint 2, X
19168 3D lines for stock definition: line 5, endpoint 2, Y
19169 3D lines for stock definition: line 5, endpoint 2, Z
19170 3D lines for stock definition: line 6, endpoint 1, X
19171 3D lines for stock definition: line 6, endpoint 1, Y
19172 3D lines for stock definition: line 6, endpoint 1, Z
19173 3D lines for stock definition: line 6, endpoint 2, X
19174 3D lines for stock definition: line 6, endpoint 2, Y
19175 3D lines for stock definition: line 6, endpoint 2, Z
19176 3D lines for stock definition: line 7, endpoint 1, X
19177 3D lines for stock definition: line 7, endpoint 1, Y
19178 3D lines for stock definition: line 7, endpoint 1, Z
19179 3D lines for stock definition: line 7, endpoint 2, X
19180 3D lines for stock definition: line 7, endpoint 2, Y
19181 3D lines for stock definition: line 7, endpoint 2, Z
19182 3D lines for stock definition: line 8, endpoint 1, X
19183 3D lines for stock definition: line 8, endpoint 1, Y
19184 3D lines for stock definition: line 8, endpoint 1, Z
19185 3D lines for stock definition: line 8, endpoint 2, X
19186 3D lines for stock definition: line 8, endpoint 2, Y
19187 3D lines for stock definition: line 8, endpoint 2, Z
19188 3D lines for stock definition: line 9, endpoint 1, X
19189 3D lines for stock definition: line 9, endpoint 1, Y
19190 3D lines for stock definition: line 9, endpoint 1, Z
19191 3D lines for stock definition: line 9, endpoint 2, X
PARAMETER REFERENCE / Machine group parameters • 453

19192 3D lines for stock definition: line 9, endpoint 2, Y


19193 3D lines for stock definition: line 9, endpoint 2, Z
19194 3D lines for stock definition: line 10, endpoint 1, X
19195 3D lines for stock definition: line 10, endpoint 1, Y
Quick Start
19196 3D lines for stock definition: line 10, endpoint 1, Z
19197 3D lines for stock definition: line 10, endpoint 2, X
19198 3D lines for stock definition: line 10, endpoint 2, Y
19199 3D lines for stock definition: line 10, endpoint 2, Z
19200 3D lines for stock definition: line 11, endpoint 1, X
19201 3D lines for stock definition: line 11, endpoint 1, Y
19202 3D lines for stock definition: line 11, endpoint 1, Z
19203 3D lines for stock definition: line 11, endpoint 2, X
19204 3D lines for stock definition: line 11, endpoint 2, Y
19205 3D lines for stock definition: line 11, endpoint 2, Z
19206 3D lines for stock definition: line 12, endpoint 1, X
19207 3D lines for stock definition: line 12, endpoint 1, Y
19208 3D lines for stock definition: line 12, endpoint 1, Z
19209 3D lines for stock definition: line 12, endpoint 2, X
19210 3D lines for stock definition: line 12, endpoint 2, Y
19211 3D lines for stock definition: line 12, endpoint 2, Z
A_3D 3D arc #1 for stock definition
A_3D002 3D arc #2 for stock definition
19212 Origin corner: 0=center, 1-8 = one of the stock corners
19213 Boundary avoidance clearance for lathe tools
19214 Entry/exit vector clearance for lathe tools
19526 Use machine tree option (New for X3)
19215 Default active spindle (left/right) (removed for X3)
19216 Default turret to load tools into (top/bottom) (removed
for X3)
19217 Entity ID's for left stock boundaries
19218 Entity ID's for left stock boundaries
19219 Entity ID's for right stock boundaries
19220 Entity ID's for right stock boundaries
19221 Entity ID's for left chuck boundaries
19222 Entity ID's for left chuck boundaries
19223 Entity ID's for right chuck boundaries
19224 Entity ID's for right chuck boundaries
19225 Entity ID's for tailstock boundaries
19226 Entity ID's for tailstock boundaries
19227 Entity ID's for steadyrest boundaries
19228 Entity ID's for steadyrest boundaries
19229 Show left stock boundaries (True/False)
19538 Show right stock boundaries (True/False) (new for X6)
19230 Show left chuck boundaries (True/False)
454 • MASTERCAM X8 / NCI & Parameter Reference

19539 Show right chuck boundaries (True/False) (new for


X6)
19231 Show tailstock boundaries (True/False)
19232 Show steadyrest boundaries (True/False)
19233 Fill lathe stock/chuck/tailstock boundaries with color Quick Start
(True/False)
BARSTOCK_TYPE Stock definition parameters
BARSTOCK_TYPE002 Stock definition parameters
CHUCK_TYPE (Obsolete for X3—use machine definition component
parameters. See CHUCK_COMPONENT_TYPE and
CHUCKJAWS_COMPONENT_TYPE, in addition to
general component parameter groups).
CHUCK_TYPE002 (Obsolete for X3—use machine definition component
parameters. See CHUCK_COMPONENT_TYPE and
CHUCKJAWS_COMPONENT_TYPE, in addition to
general component parameter groups).
TAILSTOCK_TYPE (Obsolete for X3—use machine definition component
parameters. See TAILSTOCK_COMPONENT_TYPE and
LATHE_CENTER_COMPONENT_TYPE, in addition to
general component parameter groups).
STEADYREST_TYPE (Obsolete for X3—use machine definition component
parameters. See STEADYREST_COMPONENT_TYPE, in
addition to general component parameter groups).
STEADYREST_TYPE (new for X7)
(MC Extensions)

A_3D
19000 X position of end point 1
19001 Y position of end point 1
19002 Z position of end point 1
19003 X position of end point 2
19004 Y position of end point 2
19005 Z position of end point 2
19006 X position of center point
19007 Y position of center point
19008 Z position of center point
19009 Radius
19010 Start angle
19011 Sweep angle
19012 View

A_3D002
19013 X position of end point 1
19014 Y position of end point 1
19015 Z position of end point 1
19016 X position of end point 2
PARAMETER REFERENCE / Machine group parameters • 455

19017 Y position of end point 2


19018 Z position of end point 2
19019 X position of center point
19020 Y position of center point
Quick Start
19021 Z position of center point
19022 Radius
19023 Start angle
19024 Sweep angle
19025 View

Lathe peripheral boundaries


BARSTOCK_TYPE
19030 (Obsolete for X3—use CYLINDER_COMPONENT
parameters for bar stock)
19031 (Obsolete for X3—use CYLINDER_COMPONENT
parameters for bar stock)
19032 (Obsolete for X3—use CYLINDER_COMPONENT
parameters for bar stock)
19033 (Obsolete for X3—use CYLINDER_COMPONENT
parameters for bar stock)
19034 (Obsolete for X3—use CYLINDER_COMPONENT
parameters for bar stock)
19035 (Obsolete for X3—use CYLINDER_COMPONENT
parameters for bar stock)
19036 (Obsolete for X3—use CYLINDER_COMPONENT
parameters for bar stock)
19037 Margins on OD, ID min & max Z
19038 Margins on OD, ID min & max Z
19039 Margins on OD, ID min & max Z
19040 Margins on OD, ID min & max Z

BARSTOCK_TYPE002
19041 (Obsolete for X3—use CYLINDER_COMPONENT
parameters for bar stock)
19042 (Obsolete for X3—use CYLINDER_COMPONENT
parameters for bar stock)
19043 (Obsolete for X3—use CYLINDER_COMPONENT
parameters for bar stock)
19044 (Obsolete for X3—use CYLINDER_COMPONENT
parameters for bar stock)
19045 (Obsolete for X3—use CYLINDER_COMPONENT
parameters for bar stock)
19046 (Obsolete for X3—use CYLINDER_COMPONENT
parameters for bar stock)
456 • MASTERCAM X8 / NCI & Parameter Reference

19047 (Obsolete for X3—use CYLINDER_COMPONENT


parameters for bar stock)
19048 Margins on OD, ID min & max Z
19049 Margins on OD, ID min & max Z
19050 Margins on OD, ID min & max Z Quick Start
19051 Margins on OD, ID min & max Z

CHUCK_TYPE
19052 (Obsolete for X3—use machine definition component
parameters. See CHUCK_COMPONENT_TYPE and
CHUCKJAWS_COMPONENT_TYPE, in addition to
general component parameter groups).
19053 (Obsolete for X3—use machine definition component
parameters. See CHUCK_COMPONENT_TYPE and
CHUCKJAWS_COMPONENT_TYPE, in addition to
general component parameter groups).
19054 (Obsolete for X3—use machine definition component
parameters. See CHUCK_COMPONENT_TYPE and
CHUCKJAWS_COMPONENT_TYPE, in addition to
general component parameter groups).
19055 (Obsolete for X3—use machine definition component
parameters. See CHUCK_COMPONENT_TYPE and
CHUCKJAWS_COMPONENT_TYPE, in addition to
general component parameter groups).
19056 (Obsolete for X3—use machine definition component
parameters. See CHUCK_COMPONENT_TYPE and
CHUCKJAWS_COMPONENT_TYPE, in addition to
general component parameter groups).
19057 (Obsolete for X3—use machine definition component
parameters. See CHUCK_COMPONENT_TYPE and
CHUCKJAWS_COMPONENT_TYPE, in addition to
general component parameter groups).
19058 (Obsolete for X3—use machine definition component
parameters. See CHUCK_COMPONENT_TYPE and
CHUCKJAWS_COMPONENT_TYPE, in addition to
general component parameter groups).
19059 (Obsolete for X3—use machine definition component
parameters. See CHUCK_COMPONENT_TYPE and
CHUCKJAWS_COMPONENT_TYPE, in addition to
general component parameter groups).
19060 (Obsolete for X3—use machine definition component
parameters. See CHUCK_COMPONENT_TYPE and
CHUCKJAWS_COMPONENT_TYPE, in addition to
general component parameter groups).
19061 (Obsolete for X3—use machine definition component
parameters. See CHUCK_COMPONENT_TYPE and
CHUCKJAWS_COMPONENT_TYPE, in addition to
general component parameter groups).
19522 (Obsolete for X3—use machine definition component
parameters. See CHUCK_COMPONENT_TYPE and
CHUCKJAWS_COMPONENT_TYPE, in addition to
general component parameter groups).
PARAMETER REFERENCE / Machine group parameters • 457

19523 (Obsolete for X3—use machine definition component


parameters. See CHUCK_COMPONENT_TYPE and
CHUCKJAWS_COMPONENT_TYPE, in addition to
general component parameter groups).

Quick Start
CHUCK_TYPE002
19062 (Obsolete for X3—use machine definition component
parameters. See CHUCK_COMPONENT_TYPE and
CHUCKJAWS_COMPONENT_TYPE, in addition to
general component parameter groups).
19063 (Obsolete for X3—use machine definition component
parameters. See CHUCK_COMPONENT_TYPE and
CHUCKJAWS_COMPONENT_TYPE, in addition to
general component parameter groups).
19064 (Obsolete for X3—use machine definition component
parameters. See CHUCK_COMPONENT_TYPE and
CHUCKJAWS_COMPONENT_TYPE, in addition to
general component parameter groups).
19065 (Obsolete for X3—use machine definition component
parameters. See CHUCK_COMPONENT_TYPE and
CHUCKJAWS_COMPONENT_TYPE, in addition to
general component parameter groups).
19066 (Obsolete for X3—use machine definition component
parameters. See CHUCK_COMPONENT_TYPE and
CHUCKJAWS_COMPONENT_TYPE, in addition to
general component parameter groups).
19077 (Obsolete for X3—use machine definition component
parameters. See CHUCK_COMPONENT_TYPE and
CHUCKJAWS_COMPONENT_TYPE, in addition to
general component parameter groups).
19078 (Obsolete for X3—use machine definition component
parameters. See CHUCK_COMPONENT_TYPE and
CHUCKJAWS_COMPONENT_TYPE, in addition to
general component parameter groups).
19079 (Obsolete for X3—use machine definition component
parameters. See CHUCK_COMPONENT_TYPE and
CHUCKJAWS_COMPONENT_TYPE, in addition to
general component parameter groups).
19080 (Obsolete for X3—use machine definition component
parameters. See CHUCK_COMPONENT_TYPE and
CHUCKJAWS_COMPONENT_TYPE, in addition to
general component parameter groups).
19081 (Obsolete for X3—use machine definition component
parameters. See CHUCK_COMPONENT_TYPE and
CHUCKJAWS_COMPONENT_TYPE, in addition to
general component parameter groups).
19524 (Obsolete for X3—use machine definition component
parameters. See CHUCK_COMPONENT_TYPE and
CHUCKJAWS_COMPONENT_TYPE, in addition to
general component parameter groups).
458 • MASTERCAM X8 / NCI & Parameter Reference

19525 (Obsolete for X3—use machine definition component


parameters. See CHUCK_COMPONENT_TYPE and
CHUCKJAWS_COMPONENT_TYPE, in addition to
general component parameter groups).

Quick Start
TAILSTOCK_TYPE
19082 (Obsolete for X3—use machine definition component
parameters. See TAILSTOCK_COMPONENT_TYPE and
LATHE_CENTER_COMPONENT_TYPE, in addition to
general component parameter groups).
19083 (Obsolete for X3—use machine definition component
parameters. See TAILSTOCK_COMPONENT_TYPE and
LATHE_CENTER_COMPONENT_TYPE, in addition to
general component parameter groups).
19084 (Obsolete for X3—use machine definition component
parameters. See TAILSTOCK_COMPONENT_TYPE and
LATHE_CENTER_COMPONENT_TYPE, in addition to
general component parameter groups).
19085 (Obsolete for X3—use machine definition component
parameters. See TAILSTOCK_COMPONENT_TYPE and
LATHE_CENTER_COMPONENT_TYPE, in addition to
general component parameter groups).
19086 (Obsolete for X3—use machine definition component
parameters. See TAILSTOCK_COMPONENT_TYPE and
LATHE_CENTER_COMPONENT_TYPE, in addition to
general component parameter groups).
19087 (Obsolete for X3—use machine definition component
parameters. See TAILSTOCK_COMPONENT_TYPE and
LATHE_CENTER_COMPONENT_TYPE, in addition to
general component parameter groups).
19088 (Obsolete for X3—use machine definition component
parameters. See TAILSTOCK_COMPONENT_TYPE and
LATHE_CENTER_COMPONENT_TYPE, in addition to
general component parameter groups).
19089 (Obsolete for X3—use machine definition component
parameters. See TAILSTOCK_COMPONENT_TYPE and
LATHE_CENTER_COMPONENT_TYPE, in addition to
general component parameter groups).
19090 (Obsolete for X3—use machine definition component
parameters. See TAILSTOCK_COMPONENT_TYPE and
LATHE_CENTER_COMPONENT_TYPE, in addition to
general component parameter groups).
19091 (Obsolete for X3—use machine definition component
parameters. See TAILSTOCK_COMPONENT_TYPE and
LATHE_CENTER_COMPONENT_TYPE, in addition to
general component parameter groups).

STEADYREST_TYPE
19092 (Obsolete for X3—use machine definition component
parameters. See STEADYREST_COMPONENT_TYPE, in
addition to general component parameter groups).
PARAMETER REFERENCE / Machine group parameters • 459

19093 (Obsolete for X3—use machine definition component


parameters. See STEADYREST_COMPONENT_TYPE, in
addition to general component parameter groups).
19094 (Obsolete for X3—use machine definition component
parameters. See STEADYREST_COMPONENT_TYPE, in
Quick Start
addition to general component parameter groups).
19095 (Obsolete for X3—use machine definition component
parameters. See STEADYREST_COMPONENT_TYPE, in
addition to general component parameter groups).
19096 (Obsolete for X3—use machine definition component
parameters. See STEADYREST_COMPONENT_TYPE, in
addition to general component parameter groups).
19097 (Obsolete for X3—use machine definition component
parameters. See STEADYREST_COMPONENT_TYPE, in
addition to general component parameter groups).
19098 (Obsolete for X3—use machine definition component
parameters. See STEADYREST_COMPONENT_TYPE, in
addition to general component parameter groups).

Safety zone tab


GROUP_PG4
19234 Safezone on (True/False) (changed in X7 to 15887. The
parameters in this group are still present, but the values
are not updated.)
19235 Type: SAFEZONE_RECT, SAFEZONE_SPH,
SAFEZONE_CYL (changed in X7 to 15888)
19236 X, Y and Z dimensions of rectangle (changed in X7 to
15892)
19237 X, Y and Z dimensions of rectangle (changed in X7 to
15893)
19238 X, Y and Z dimensions of rectangle (changed in X7 to
15894)
19239 Spherical radius (changed in X7 to 15895)
19240 Cylindrical X axis length (changed in X7 to 15896)
19241 Cylindrical radius (changed in X7 to 15897)
19242 Cylinder axis: X, Y or Z (changed in X7 to 15898)
19243 Display (removed for X7)
19244 Fit screen (removed for X7)
19245 Extend Z (removed for X7)

Agie interface
PRM_AGIE_GROUP_INFO
19527 Piece details: Name (new for X4)
19528 Piece details: Material (new for X4)
460 • MASTERCAM X8 / NCI & Parameter Reference

19529 Piece details: Quality target (new for X4)


19530 Piece details: Wire (new for X4)
19531 Piece details: Strategy (new for X4)
19532 Piece reference position, C coordinate (new for X4)
Quick Start
19533 Edge position (X) (new for X4)
19534 Edge position (Y) (new for X4)
19535 Edge position (Z) (new for X4)
19536 Security level (new for X4)
19537 Return level (new for X4)

MT

19541–19590 Used by MT. (new for X7)


19592 Used by MT. (new for X8)

You might also like

pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy