Gpost
Gpost
Pro/ENGINEER
Wildfire™ 2.0
®
G-Post
Help Topic Collection
Third-Party Trademarks
Adobe is a registered trademark of Adobe Systems. Advanced ClusterProven, ClusterProven, and the
ClusterProven design are trademarks or registered trademarks of International Business Machines
Corporation in the United States and other countries and are used under license. IBM Corporation does
not warrant and is not responsible for the operation of this software product. AIX is a registered
trademark of IBM Corporation. Allegro, Cadence, and Concept are registered trademarks of Cadence
Design Systems, Inc. Apple, Mac, Mac OS, and Panther are trademarks or registered trademarks of
Apple Computer, Inc. AutoCAD and Autodesk Inventor are registered trademarks of Autodesk, Inc.
Baan is a registered trademark of Baan Company. CADAM and CATIA are registered trademarks of
Dassault Systemes. COACH is a trademark of CADTRAIN, Inc. DOORS is a registered trademark of
Telelogic AB. FLEXlm is a trademark of Macrovision Corporation. Geomagic is a registered trademark
of Raindrop Geomagic, Inc. EVERSYNC, GROOVE, GROOVEFEST, GROOVE.NET,
GROOVE NETWORKS, iGROOVE, PEERWARE, and the interlocking circles logo are trademarks of
Groove Networks, Inc. Helix is a trademark of Microcadam, Inc. HOOPS is a trademark of Tech Soft
America, Inc. HP-UX is a registered trademark and Tru64 is a trademark of the Hewlett-Packard
Company. I-DEAS, Metaphase, Parasolid, SHERPA, Solid Edge, and Unigraphics are trademarks or
registered trademarks of Electronic Data Systems Corporation (EDS). InstallShield is a registered
trademark and service mark of InstallShield Software Corporation in the United States and/or other
countries. Intel is a registered trademark of Intel Corporation. IRIX is a registered trademark of Silicon
Graphics, Inc. LINUX is a registered trademark of Linus Torvalds. MatrixOne is a trademark of
MatrixOne, Inc. Mentor Graphics and Board Station are registered trademarks and 3D Design,
AMPLE, and Design Manager are trademarks of Mentor Graphics Corporation. MEDUSA and
STHENO are trademarks of CAD Schroer GmbH. Microsoft, Microsoft Project, Windows, the Windows
logo, Windows NT, Visual Basic, and the Visual Basic logo are registered trademarks of
Microsoft Corporation in the United States and/or other countries. Netscape and the Netscape N and
Ship's Wheel logos are registered trademarks of Netscape Communications Corporation in the U.S. and
other countries. Oracle is a registered trademark of Oracle Corporation. OrbixWeb is a registered
trademark of IONA Technologies PLC. PDGS is a registered trademark of Ford Motor Company. RAND
is a trademark of RAND Worldwide. Rational Rose is a registered trademark of Rational Software
Corporation. RetrievalWare is a registered trademark of Convera Corporation. RosettaNet is a
trademark and Partner Interface Process and PIP are registered trademarks of “RosettaNet,” a
nonprofit organization. SAP and R/3 are registered trademarks of SAP AG Germany. SolidWorks is a
registered trademark of SolidWorks Corporation. All SPARC trademarks are used under license and
are trademarks or registered trademarks of SPARC International, Inc. in the United States and in
other countries. Products bearing SPARC trademarks are based upon an architecture developed by Sun
Microsystems, Inc. Sun, Sun Microsystems, the Sun logo, Solaris, UltraSPARC, Java and all Java
based marks, and “The Network is the Computer” are trademarks or registered trademarks of Sun
Microsystems, Inc. in the United States and in other countries. TIBCO, TIBCO Software, TIBCO
ActiveEnterprise, TIBCO Designer, TIBCO Enterprise for JMS, TIBCO Rendezvous, TIBCO Turbo
XML, TIBCO Business Works are the trademarks or registered trademarks of TIBCO Software Inc. in
the United States and other countries. WebEx is a trademark of WebEx Communications, Inc.
Third-Party Technology Information
Certain PTC software products contain licensed third-party technology: Rational Rose 2000E is
copyrighted software of Rational Software Corporation. RetrievalWare is copyrighted software of
Convera Corporation. VisTools library is copyrighted software of Visual Kinematics, Inc. (VKI)
containing confidential trade secret information belonging to VKI. HOOPS graphics system is a
proprietary software product of, and is copyrighted by, Tech Soft America, Inc. G-POST is copyrighted
software and a registered trademark of Intercim. VERICUT is copyrighted software and a registered
trademark of CGTech. Pro/PLASTIC ADVISOR is powered by Moldflow technology. Moldflow is a
registered trademark of Moldflow Corporation. The JPEG image output in the Pro/Web.Publish module
is based in part on the work of the independent JPEG Group. DFORMD.DLL is copyrighted software
from Compaq Computer Corporation and may not be distributed. METIS, developed by George Karypis
and Vipin Kumar at the University of Minnesota, can be researched at
http://www.cs.umn.edu/~karypis/metis. METIS is © 1997 Regents of the University of Minnesota.
LightWork Libraries are copyrighted by LightWork Design 1990–2001. Visual Basic for Applications
and Internet Explorer is copyrighted software of Microsoft Corporation. Parasolid © Electronic Data
Systems (EDS). Windchill Info*Engine Server contains IBM XML Parser for Java Edition and the
IBM Lotus XSL Edition. Pop-up calendar components Copyright © 1998 Netscape Communications
Corporation. All Rights Reserved. TECHNOMATIX is copyrighted software and contains proprietary
information of Technomatix Technologies Ltd. Technology "Powered by Groove" is provided by Groove
Networks, Inc. Technology "Powered by WebEx" is provided by WebEx Communications, Inc. Oracle 8i
run-time and Oracle 9i run-time, Copyright © 2002–2003 Oracle Corporation. Oracle programs
provided herein are subject to a restricted use license and can only be used in conjunction with the PTC
software they are provided with. Apache Server, Tomcat, Xalan, and Xerces are technologies developed
by, and are copyrighted software of, the Apache Software Foundation (http://www.apache.org) – their
use is subject to the terms and limitations at: http://www.apache.org/LICENSE.txt. Acrobat Reader is
copyrighted software of Adobe Systems Inc. and is subject to the Adobe End-User License Agreement as
provided by Adobe with those products. UnZip (© 1990-2001 Info-ZIP, All Rights Reserved) is provided
“AS IS” and WITHOUT WARRANTY OF ANY KIND. For the complete Info-ZIP license see
ftp://ftp.info-zip.org/pub/infozip/license.html. Gecko and Mozilla components are subject to the Mozilla
Public License Version 1.1 at http://www.mozilla.org/MPL. Software distributed under the MPL is
distributed on an "AS IS" basis, WITHOUT WARRANTY OF ANY KIND, either expressed or implied.
See the MPL for the specific language governing rights and limitations. The Java™ Telnet Applet
(StatusPeer.java, TelnetIO.java, TelnetWrapper.java, TimedOutException.java), Copyright © 1996, 97
Mattias L. Jugel, Marcus Meißner, is redistributed under the GNU General Public License. This license
is from the original copyright holder and the Applet is provided WITHOUT WARRANTY OF ANY
KIND. You may obtain a copy of the source code for the Applet at http://www.mud.de/se/jta (for a
charge of no more than the cost of physically performing the source distribution), by sending e-mail to
[email protected] or [email protected]—you are allowed to choose either distribution method. The source code
is likewise provided under the GNU General Public License. GTK+The GIMP Toolkit are licensed
under the GNU LGPL. You may obtain a copy of the source code at http://www.gtk.org, which is
likewise provided under the GNU LGPL. zlib software Copyright © 1995-2002 Jean-loup Gailly and
Mark Adler. OmniORB is distributed under the terms and conditions of the GNU General Public
License and GNU Library General Public License. The Java Getopt.jar, copyright 1987-1997 Free
Software Foundation, Inc.; Java Port copyright 1998 by Aaron M. Renn ([email protected]), is
redistributed under the GNU LGPL. You may obtain a copy of the source code at
http://www.urbanophile.com/arenn/hacking/download.html. The source code is likewise provided under
the GNU LGPL. Mozilla Japanese localization components are subject to the Netscape Public License
Version 1.1 (at http://www.mozilla.org/NPL). Software distributed under NPL is distributed on an "AS
IS" basis, WITHOUT WARRANTY OF ANY KIND, either expressed or implied (see the NPL for the
specific language governing rights and limitations). The Original Code is Mozilla Communicator client
code, released March 31, 1998 and the Initial Developer of the Original Code is Netscape
Communications Corporation. Portions created by Netscape are Copyright © 1998 Netscape
Communications Corporation. All Rights Reserved. Contributors: Kazu Yamamoto
([email protected]), Ryoichi Furukawa ([email protected]), Tsukasa Maruyama ([email protected]),
Teiji Matsuba ([email protected]).
UNITED STATES GOVERNMENT RESTRICTED RIGHTS LEGEND
This document and the software described herein are Commercial Computer Documentation and
Software, pursuant to FAR 12.212(a)-(b) (OCT’95) or DFARS 227.7202-1(a) and 227.7202-3(a) (JUN’95),
is provided to the US Government under a limited commercial license only. For procurements
predating the above clauses, use, duplication, or disclosure by the Government is subject to the
restrictions set forth in subparagraph (c)(1)(ii) of the Rights in Technical Data and Computer Software
Clause at DFARS 252.227-7013 (OCT’88) or Commercial Computer Software-Restricted Rights at
FAR 52.227-19(c)(1)-(2) (JUN’87), as applicable. 012304
Parametric Technology Corporation, 140 Kendrick Street, Needham, MA 02494 USA
Table Of Contents
1. G-PostÔ Reference Manual ....................................................................... 1
Overview ....................................................................................................... 5
1 Configurations ..................................................................................... 9
1.4.2 Mill, Wire EDM and Live Tooling Lathe ConfigurationsMill Configurations
.............................................................................................................20
v
Table Of Contents
1.5 BREAK..........................................................................................57
vi
Table Of Contents
1.56DEBUGG ...........................................................................................97
1.57DELAY ..............................................................................................98
vii
Table Of Contents
viii
Table Of Contents
ix
Table Of Contents
x
1. G-PostÔ Reference Manual
Version 5.7
November 2002
Notice of Trademarks
G-Post is a trademark of Intercim-Austin.
MAN-07000
Chapter 2 explains the configuration of the G-Post. You need to read that chapter,
too. (It’s short, and won’t take you long.)
Chapter 3 explains the Option File Generator. If you are not familiar with it, you need
to read this chapter carefully. If you are familiar with it, you might want to skip this
chapter.
Chapter 4 explains the G-Post command language, the syntax and the commands
that are available to you. You need to read this chapter.
Chapter 5 lists the Lathe Common Variables. This is a reference chapter and can
assist you while writing FIL routines.
Chapter 6 lists the Mill Common Variables. This is a reference chapter and can assist
you while writing FIL routines.
Chapter 7 lists the default setting of the G-Post, both Lathe and Mill. This is a
reference section. It’s there for your convenience.
Chapter 8 explains the UNCMRG merging postprocessor. If you need to merge output
from several postprocessors read this chapter.
Chapter 11 – Appendix A contains an ASCII character and Alpha Character charts for
your reference.
1
G-Post - Help Topic Collection
As usual, we have put a detailed index at the end of the manual so you can find what
you need, quickly.
We hope that after you read the manual, you will let us know what you liked or
disliked about the manual. There is a User Comment Sheet at the back of the manual
you can use. We encourage your comments - it helps us to improve our products.
(Besides, how often do you get a chance to tell us what to do?)
(512) 458-1112
Or Email:
2
1. G-PostÔ Reference Manual
Version 5.7
November 2002
Notice of Trademarks
G-Post is a trademark of Intercim-Austin.
MAN-07000
Chapter 2 explains the configuration of the G-Post. You need to read that chapter,
too. (It’s short, and won’t take you long.)
Chapter 3 explains the Option File Generator. If you are not familiar with it, you need
to read this chapter carefully. If you are familiar with it, you might want to skip this
chapter.
Chapter 4 explains the G-Post command language, the syntax and the commands
that are available to you. You need to read this chapter.
Chapter 5 lists the Lathe Common Variables. This is a reference chapter and can
assist you while writing FIL routines.
Chapter 6 lists the Mill Common Variables. This is a reference chapter and can assist
you while writing FIL routines.
Chapter 7 lists the default setting of the G-Post, both Lathe and Mill. This is a
reference section. It’s there for your convenience.
Chapter 8 explains the UNCMRG merging postprocessor. If you need to merge output
from several postprocessors read this chapter.
Chapter 11 – Appendix A contains an ASCII character and Alpha Character charts for
your reference.
3
G-Post - Help Topic Collection
As usual, we have put a detailed index at the end of the manual so you can find what
you need, quickly.
We hope that after you read the manual, you will let us know what you liked or
disliked about the manual. There is a User Comment Sheet at the back of the manual
you can use. We encourage your comments - it helps us to improve our products.
(Besides, how often do you get a chance to tell us what to do?)
(512) 458-1112
Or Email:
4
Overview
Introduction to Intercim GPost
Figure 1-1 shows how you get from an APT program to a MCD (Machine Control
Data) punch file (.PU1) using Intercim's GPost (generalized postprocessor).
5
G-Post - Help Topic Collection
There are three ways to customize a postprocessor for a particular machine tool
control unit:
1. Option File: OPTFILE.EXE is the Option File Generator that enable you
to set machine control parameters. When creating a Lathe Option file, the
Option File created is named UNCL01.Pnn, where nn is the machine
number you assigned. When creating a Mill, Wire-EDM, Laser or punch
press Option file, the Option File created is named UNCX01.Pnn, where nn
is the machine number you assigned. The postprocessor reads the option
file to override the default values to generate customized output. See
6
1 Overview
3. PLABEL: For minor changes, you can use the PLABEL commands in a
part program to override the default values. See Chapter 5 and 6,
Common Variables and Chapter 4, Command Reference.
This manual explains in detail the options and commands provided in the
postprocessor, with examples to process part programs. The examples assume
postprocessor defaults.
Some of the commands in this manual may not apply to your particular machine
tool.
Note: Some CNC controllers require that sequence numbers begin with
1 and increment by 1.
A Caution contains very important information that you need to know to avoid losing
or corrupting data or accidentally causing minor damage. The following shows an
example of a caution:
Caution: If you answer No to this prompt, you will lose all data that you
entered during this session.
A warning contains extremely important information that that you need to know to avoid causing
major damage to person or property. The following is an example of a warning:
7
G-Post - Help Topic Collection
Warning: Changing the machine's axis limits may cause the machine to
overtravel and damage the machine.
Examples:
GOTO/0,0
Examples of text or data that you are to enter is shown in boldface type, as shown:
Type YES at the prompt.
8
1 Configurations
IntroductionIntroduction
This chapter describes how the Mill and Lathe postprocessors handle various machine
tool configurations. The sections are titled Lathe Configurations, Mill Configurations,
Units of Measure and Mill Motion Analysis.
The UNCL01 Lathe Generalized Postprocessor uses an option file and FIL file to
describe the particular codes required by your machine tool for a specific run. The
postprocessor passes this information to memory through COMMON variables.
The variable type (INTCOM or DBLCOM) is identified by its subscript location within
the postprocessor. If you assign a number with a decimal portion to an INTCOM, the
decimal portion of the number will be truncated. If you assign an integer number to
a DBLCOM variable, the decimal portion will contain zeroes and the value of the
number will be unchanged.
9
G-Post - Help Topic Collection
The above variable is in the INTCOM variable section and starts at location 470 in
memory. It is twelve locations long and contains twelve values.
You can see that the next variable location on that list starts at 482. So the ICYCLG
variable occupies locations 470 through 481. These numbers, or locations, have
significance when applied to the following commands:
You can use these two commands within a part program or CL File to change the
output of the postprocessor. Use of these commands will override the variables set
by the option file for the length of the run only. They will not permanently change
the option file or the postprocessor, so feel free to experiment with these commands.
Not all variables stay the same value for the duration of postprocessor execution.
Some will change when motion is processed, and others may change when a
postprocessor word is used. Some are used as flags by the postprocessor and should
never be changed. The maximum amount of damage that can occur on an in-house
system is abnormal termination of the run, which may require clearing of the scratch
files used by the system..
These features are available for changing postprocessor output when the default
output does not fit the machine's required format.
See Chapter 5 for a list of all the COMMON locations used in the postprocessor. See
Chapter 4 for a list of postprocessor commands, shown in reference format. Chapter
7 contains a list of default settings.
10
1 Configurations
The UNCX01 Mill Generalized Postprocessor uses an option file and FIL file to describe
the particular codes required by your machine tool for a specific run. The
postprocessor passes this information to memory through COMMON variables.
The above variable is in the INTCOM variable section and starts at location 470 in
memory. It is twelve locations long and contains twelve values.
You can see that the next variable location on that list starts at 482. So the ICYCLG
variable occupies locations 470 through 481. These numbers, or locations, have
significance when applied to the following commands:
11
G-Post - Help Topic Collection
Use these two commands within a part program or CL File to examine or override the
variables set by the option file. Use of these commands will override the variables set
by the option file for the length of the run only. They will not permanently change
the option file or the postprocessor, so feel free to experiment with these commands.
Not all variables stay the same value for the duration of postprocessor execution.
Some will change when motion is processed, and others may change when a
postprocessor word is used. Some are used as flags by the postprocessor and should
never be changed. The maximum amount of damage that can occur on an in-house
system is abnormal termination of the run, which may require clearing of the scratch
files used by the system.
These features are available for changing postprocessor output when the default
output does not fit the machine's required format.
See Chapter 6 for a list of all the COMMON locations used in the postprocessor. See
Chapter 4 for a list of postprocessor commands, shown in reference format. Chapter
7 contains a list of default settings.
In the following discussion of units, the minor words IPM-MMPM and IPR-MMPR cause
no conversion of units. The conversion from metric to inch is handled by the MACHIN/
statement. The postprocessor assumes that CL coordinates and the unit related
values in postprocessor commands are expressed in inches for inch input and in
millimeters for metric input.
12
1 Configurations
Note: The default values and examples in this manual denote inch units
unless specified otherwise.
The G-Post postprocessors accept inch or metric CL data and generates inch or
metric output. When the input and output units are the same, the postprocessor
performs no conversion. When they are different, it performs the appropriate
conversion from metric to inch or inch to metric.
The postprocessor assumes that CL coordinates and the unit related values in
postprocessor commands are expressed in inches for inch input and in millimeters for
metric input.
13
G-Post - Help Topic Collection
The postprocessor accepts inch or metric CL data and generates inch output. When
the input and output units are the same, the postprocessor performs no conversion.
When they are different, it performs the conversion from metric to inch.
The postprocessor assumes that CL coordinates and the unit related values in
postprocessor commands are expressed in inches for inch input and in millimeters for
metric input.
The postprocessor accepts inch or metric CL data and generates metric output. When
the input and output units are the same, the postprocessor performs no conversion.
When they are different, it performs the conversion from inch to metric.
The postprocessor assumes that CL coordinates and the unit related values in
postprocessor commands are expressed in inches for inch input and in millimeters for
metric input.
This section shows you how the Intercim G-Posts handle some common machine tool
configurations.
This section shows you how the Lathe G-Post handles some common lathe
configurations.
14
1 Configurations
The turret is positioned in the first quadrant. You must define the part in the same
quadrant.
15
G-Post - Help Topic Collection
The turret is positioned in the fourth quadrant; the part must be defined in the same
quadrant.
1.4.1.3 VTLVTL
16
1 Configurations
The turret is positioned in the first quadrant; you must define the part in the same
quadrant.
The primary turret is the front turret. The default distance from the primary turret to
the secondary turret in the CL coordinate system is CL Y=+15.0 and CL X is not
adjustable (CL X=0.0). When using the front turret, you must define the part in the
fourth quadrant. When using the rear turret, define the part in the first quadrant.
17
G-Post - Help Topic Collection
The primary turret is the front turret. The default distance from the primary turret to
the secondary turret in the CL coordinate system is CL Y=+15.0 and CL X=10.0.
When using the front turret, you must define the part in the fourth quadrant. When
using the rear turret, define the part in the first quadrant.
18
1 Configurations
The primary turret is the front turret controlled by XZ axes. The secondary turret is
the rear turret controlled by UW axes.
19
G-Post - Help Topic Collection
When using the front turret, define the part in the fourth quadrant. When using the
rear turret, define the part in the first quadrant.
Milling machines with contouring rotary axes have two basic configurations: a part-
moving axis, a tool-moving axis and a live tooling lathe. If the part moves when the
table rotates, the machine has a part-moving axis. If the machine moves when the
head rotates, the machine has a tool-moving axis.
Live Tooling Lathes can be configured with the tool axis parallel to the Lathe Z axis
or perpendicular to the Lathe Z axis.
2. Four-axis rotary table. The machine has three linear axes of tool motion.
The part rotates about one rotary axis.
3. Four-axis rotary head. The machine has three linear axes of tool motion.
There is one rotary axis of tool motion.
4. Five-axis dual rotary table. The machine has three axes of linear motion.
The part has two axes of rotation.
5. Five-axis rotary table with rotary head. The machine has three axes of
linear motion. The machine rotates on one axis, and the part rotates on
one axis.
6. Five-axis dual rotary head. The machine has three linear axes and two
rotary axes.
20
1 Configurations
You describe the machine tool type to the postprocessor when you select the
Machine Tool Type panel in the Option File Generator. You can change the physical
address of the axes at any time after you have defined the axis.
Z (+ or -)
21
G-Post - Help Topic Collection
Under rapid traverse mode, the Mill postprocessor optional can be setup to splits a
given move into two blocks. PLABEL/OPTION,40 should be set to control the exact
motion analysis desired. The default motion analysis is a follows:
22
1 The Option File Generator
Introduction
The Option File Generator (OFG) is an application that is used to create and/or
modify an Option File that is used to configure a postprocessor to the user’s
specifications. The Option File is read by the GPost at execution time and
preconfigures the postprocessor’s internal variable table prior to reading the toolpath
or CL file.
The OFG has gone through many changes since it was first introduced back in the
early 1980‘s. Most of those changes were refinements and enhancements introduced
as a result of the experience gained from having the application out in “real world“
manufacturing environments where we had to make it do the job for our customers.
As a result the OFG has evolved many new features that make it easier for a user to
create a postprocessor for their NC/CNC machine tools needs.
This latest version of the OFG is the easiest to use yet! It has been updated to take
advantage of the many advancements that Graphical User Interface (GUI)
technology offers. These interface enhancements have dramatically improved the
application’s presentation of complex concepts by the use of graphical tools such as
spin buttons, bitmap images and special widgets. In addition, the OFG provides a
constant environment where both the Option File and it’s associated FIL file (see the
FIL Manual for more information) are presented as a complete package for the user.
Finally, the OFG has a complete and context sensitive help feature that takes
advantage of the help presentation features of today’s modern GUI interfaces. The
full details of the process of creating a postprocessor for your machine are
documented on-line where you can get immediate help on any feature or concept
about which you might be unclear.
23
G-Post - Help Topic Collection
This manual refers to other Intercim manuals in several places. You will need the
following manuals:
• NC System Guide
You do this by writing an Option File called UNCL01.Pnn (if you are using the Lathe
G-Post) or UNCX01.Pnn (if you are using the Mill G-Post). The nn in the file name
represents the machine number you assigned to when you initialized the Option File
Generator. If you choose to utilize the advanced features of FIL, an additional file will
be created using the same file naming convention but the file extension will begin
with F. For example, to use FIL with the Lathe G-Post, you would have an Option File
UNCL01.Pnn and a FIL file UNCL01.Fnn. if you need help creating a FIL file, see
the Factory Interface Language (FIL) manual.
24
1 The Option File Generator
25
G-Post - Help Topic Collection
1.2.1 Introduction
The Option File Generator and the G-Post are intrinsic components if Intercim’s
programming systems: CimPRO, AutoPRO and SolidPRO. In addition, they can be
purchased seperately for use with many of the popular CAD/CAM systems that are
capable of producing tool path (CL) data files. This chapter discusses the methods
used to start the Option File Generator in each of those enviroments.
Figure 2
If you are creating a new machine then select the desired folder for the machine
type you want to create and then select New.
26
1 The Option File Generator
Figure 3
If the Machine already exist or you just created the machine then expand the desired
machine‘s folder and Edit the Option File.
Figure 4
27
G-Post - Help Topic Collection
Figure 5
If you are creating a new machine then select the desired folder for the machine
type you want to create and then select New.
28
1 The Option File Generator
Figure 6
If the Machine already exist or you just created the machine then expand the desired
machine‘s folder and Edit the Option File.
Figure 7
29
G-Post - Help Topic Collection
CimPRO/Win32 is really a GUI application shell that provides easy access to the
applicatins and files a user works with to create machine data. Starting the Option
File Generator from CimPRO is simply a matter of picking the appropriate icon as
shown below:
Figure 8
30
1 The Option File Generator
3. A small menu will appear. From this menu click the left mouse button on
“New“
4. Another menu will appear. From this menu click the left mouse button on
“Shortcut“
\camsys\optfile.exe
So, if you installed the CimPRO system on the C: drive, your entry would
look like this:
C:\CAMSYS\OPTFILE.EXE
You may also use the browse function of the application to locate the file
and select is using the mouse.
Figure 9
31
G-Post - Help Topic Collection
At this point you must either create a new option file or open and existing option file.
32
1 The Option File Generator
After selecting “New“ you must specify the type of option file you are creatin from
the following dialog box:
Next you must specify the machine number for this option file using the following
dialog box:
33
G-Post - Help Topic Collection
The Option File Generator will find the next available option file number and
automatically fill in the Machine Number box. You can either accept the
recommended machine number or you can type in a new number in the Machine
Number box. If you want to store the option file on another disk or in a different
directory you can use the Drives and Directory area to change these locations. A
list of existing option files will be grayed as it is a reference. Once the option file
number is selected, select the ”Next” button.
Next you must select the “Method of Initialization“ from the following dialog box.
To make your selection pick the method and click the “Next“ button.
34
1 The Option File Generator
If you select option 1, “Use the postprocessor defaults“ the Option File Generator
main menu will appear. ( Skip down to the “Option File Generator Main Menu“
section of this chapter.)
If you select option 2, “Select a system supplied default option file“ the
following dialog box will appear and you must select one of the option files listed.
35
G-Post - Help Topic Collection
You can select one of the default option files by clicking on it and clicking the “Next“
button.
When an option file is selected you will be prompted to specify the title for the new
option file in the following dialog box.
36
1 The Option File Generator
Enter the desired post processor title then select the Finish button.
Skip down to the “Option File Generator Main Menu“ section of this chapter.
If you select option 3, “Select an existing option file“ the following dialog box will
appear and you must select one of the option files listed.
37
G-Post - Help Topic Collection
You can select an existing option files by clicking on it and clicking the “Next“
button. When an option file is selected you will be prompted to specify the title for
the new option file in the following dialog box.
38
1 The Option File Generator
Enter the desired post processor title then select the Finish button.
Skip down to the “Option File Generator Main Menu“ section of this chapter.
After selectin “Open“ you must select the option file to open from the foillowing
dialog box.
39
G-Post - Help Topic Collection
Select the desired option file by clicking on it and clicking the “OK“ button or by
double clicking the option file name.
The “Option File Generator Main Menu“ will appear. Go to the “Option File
Generator Main Menu“ section of this chapter.
40
1 The Option File Generator
Once the Option File Generator Main Menu appears you are ready to start
customizing the option file.
The following will discuss how to walk around throughout the Option File Generator
and how to make changes to different questions.
To start the Option File Generator screen is divided into several sections as follows.
41
G-Post - Help Topic Collection
1.3.3.2Main Panel
This area will dynamically change according to the current category selected. In
some categories this section will have multiple tabs (or subpanels, see figure 24)
available for selection at the top of the main panel. To select different subpanels just
click on it’s tab.
To modify or change information on these pages there are several different methods
employed. To activate the modification mechanism you must typically position the
mouse/cursor onto the subject area or field and click the left mouse button. The
different mechanisms are as follows:
42
1 The Option File Generator
to the desired choice and click the left mouse button again. Your selection
will be activated and the list will disappear leaving your selection
displayed.
43
G-Post - Help Topic Collection
To set the format of a letter address register. The following dialog box will appear:
Use the “Spin Buttons” to adjust the “left of the decimal” and “right of the decimal”
output for inch and metric modes. Use the “check boxes” to specify the output state
of leading zeros, trailing zeros, plus sign and the decimal point. To set the format on
a different letter address register, click the left mouse button on the on the letter
address in the upper left hand corner of this dialog box and the register address
selection box will allow you to select another letter address. When you have finished
formatting the letter addresses select the “Close” button.
44
1 The Option File Generator
You can apply format settings to multiple register addresses through use of the
“Copy” and “Paste” buttons. A typical circumstance where this is handy is a change
to the format for motion registers. Normally if one of the XYZIJK register addresses
change the requirements is for all of those addresses to change.
Assume you have set the X-axis register address to the desired format. Simply
position the mouse/cursor on the “Copy” button and click the left mouse button. You
will not see a visual clue that anything happened at this point. Now position the
mouse/cursor on the first letter address on the “MCD File Format” panel you wish to
have the change to the X-axis register affect. Click the left mouse button. The
selected register address will be highlighted and the Register Format Dialog Box will
now show the selected register’s letter. Now position the mouse/cursor to the next
address, HOLD DOWN THE ‘Ctrl” KEY then click the left mouse button. The
address you selected should ALSO be highlighted. Continue this selection process
until you have selected all register addresses you wish to affect. Once you have
selected all the register addresses, position the mouse/cursor on the ‘Paste” button
and click the left mouse button. The format for the X axis register address will now
be duplicated to all selected registers.
45
G-Post - Help Topic Collection
If you wish to use an ASCII character not shown in the table, select “enter value…”
(Figure 30). You will be prompted to enter the decimal value for the ASCII character
desired. Enter the decimal value and click the “OK” button.
46
1 The Option File Generator
If you select +100 (Figure 31), you will be prompted to enter the code value. Type
in any value between 0-999 and either press the “Enter” key or use the mouse to
select the “OK” button. The entered value will then be displayed in the “Edit Box”.
Selecting “Not Available” will instruct the postprocessor that this particular function
does not exist in the postprocessor. Subsequent use of the postprocessor command
the function represents will invoke a warning message from the postprocessor. “USE
WITH CAUTION”!
47
G-Post - Help Topic Collection
search box located in the lower left corner of the window. To execute the
search click the left mouse button on the “Forward Search ” or “Reverse
Search” button.
To fully understand and appreciate the value of this feature you will be
required to acquire a functional knowledge of FIL (Factory Interface
Language). The engine is used to search for variables used internal to the
postprocessor so that the user can more fully utilize the power of FIL.
(See the Factory Interface Language (FIL) manual.
1. File New – select this icon to create a new option file as previously
described.
48
1 The Option File Generator
2. File Open – select this icon to open an existing option file as previously
described.
3. File Close – select this icon to close the current option file. If the current
option file has not been saved the Option File Generator will prompt you
to save this option file.
4. File Save – select this icon to save the current option file without exiting
the Option File Generator.
5. Decrease Main Panel Size – selecting this icon will decrease the screen
size of the Main Panel Area only.
6. Increase Main Panel Size – selecting this icon will increase the screen
size of the Main Panel Area only.
7. Cancel Edits to Current Panel – selecting this icon will set the current
category back to the original values of the current option file.
8. Help – This will open a help file with information about the current panel.
49
G-Post - Help Topic Collection
1. File New – select this to create a new option file as previously described.
3. File Close – select this to close the current option file. If the current
option file has not been saved the Option File Generator will prompt you
to save this option file.
4. File Save – select this to save the current option file without exiting the
Option File Generator.
5. File Save As – select this to save the current option file with a new
machine number exiting the Option File Generator.
6. Send – select this to Email the current Option File and FIL file. You must
have a MAPI Email system set up on you workstation for this command to
work. You Email “Send New ” will be invoked with the current Option File
and FIL file attached to the Email.
7. Recent Files List, Up to the last nine option files opened will be listed
here. You can position to the desired Option File and double click with the
left mouse button. The selected option file will be opened in the Option
File Generator.
50
1 The Option File Generator
8. Exit – Will close the Option File Generator and prompt you to save any
opened Option files.
The Option File Generator is a multiple document interface, that means you can have
more than one Option File opened at any time. When more than one option file is
opened you can uses these menu commands to manipulate the viewing of these
option files.
1. Check the Dock Toolbar on Right to move the toolbar to the right side of the
window.
3. Change Font - will allow you to change the current screen fonts.
51
G-Post - Help Topic Collection
1. About Option File Generator – select this to get the current software
release and build number.
2. Contents - This is a standard windows help screen for the Option file
generator.
1.3.3.5Current File
The Option File Generator is a multiple document interface, that means you can have
more than one Option File opened at any time. The “Current File Box” is how you can
tell which option file is actively being modified. To change the active file just click in
the “Current File Box” with the left mouse button, a list of the currently opened
option files will appear with the active option file highlighted, select the desired
option file to modify by clicking on it with the left mouse button, the list of option
files will disappear and the one selected will be the active option file for modification.
There are two sets of these buttons active while using the Option File Generator. One
set is on the upper right hand corner of the Option File Generator Main Window and
is used for minimizing, maximizing and exiting from the Option File Generator. The
other set is in the upper right hand corner of the Main Panel and is used for used for
minimizing, maximizing and closing the “Active” Option File being modified. This
does not exit the Option File Generator
52
Chapter 4: Command Reference
Command Reference
Introduction to Commands
This chapter describes the G-Post vocabulary commands in alphabetical order by
major word. If the command is only for the Mill G-Post, an (M)follows the command
name; if only for the Lathe G-Post, an (L) follows; no letter indicates the command
applies for both. The postprocessors interpret the vocabulary as commands. This
chapter explains the function of each command with the associated minor words,
using the following conventions:
[,W1-W2] W1 or W2 is optional
Example: COOLNT/ON-OFF
COOLNT/ON
COOLNT/OFF
Example: FEDRAT/f[,IPM-IPR][,RAPTO,d]
FEDRAT/f
FEDRAT/f,IPM
FEDRAT/f,IPR
FEDRAT/f,RAPTO,d
FEDRAT/f,IPM,RAPTO,d
FEDRAT/f,IPM,RAPTO
FEDRAT/f,IPR,RAPTO
Example: CHECK/([XAXIS,x1,x2][,YAXIS,y1,y2])
53
G-Post - Help Topic Collection
CHECK/XAXIS,x1,x2
CHECK/YAXIS,y1,y2
CHECK/XAXIS,x1,x2,YAXIS,y1,y2
1.1 ARCDAT
ARCDAT/x,y,z,i,j,k,r
This command defines the circle for a circular move. This is the TYPE 3000 CL record.
The ARCDAT command will appear before the ARCMOV command line to define the
arc. Radius is the true radius of the arc, not the offset by the cutter radius.
Example:
Input:
GOTO/0,5,0
ARCDAT/0,0,0,0,0,1,5
ARCMOV/CLW,5,0,0,90
GOTO/5,10,0
N0006G01X0Y-00500Z0F01$
N0007G02X00500Y0Z0I0500J0K0$
N0008G01Y0010000F10$
54
Chapter 4: Command Reference
1.2 ARCMOV
ARCMOV/CCLW-CLW,xe,ye,ze,a
This command is the arc motion command and follows all ARCDAT commands.
xe,ye,ze Specifies the end point of the arc move. The start point is assumed
to be the prior point.
a Specifies the total angle in degrees, used only when the arc
move is greater than 360 degrees.
Example:
Input:
GOTO/0,5,0
ARCDAT/0,0,0,0,0,1,5
ARCMOV/CLW,5,0,0,90
GOTO/5,10,0
N0006G01X0Y-00500Z0F01$
N0007G02X00500Y0Z0I0500J0K0$
N0008G01Y0010000F10$
55
G-Post - Help Topic Collection
All circular motion following this statement will be output as helical arc blocks, if
helical interpolation is available.
d Specifies the linear lead for the third axis. The sign of d determines
positive or negative motion of this axis in the part coordinate system.
ARCSLP/OFF
Example:
Input:
FROM/-1,-4
ARCSLP/ON,(1/8)
GO/C1
TLLFT,GOLFT/C1,ON,3,INTOF,L1
ARCSLP/OFF
GOTO/P1
N6G1X-7.579Y-3.0317Z.0F10.$
N7G2X-3.125Y.0Z.264I.579J3.031K.199$
N8X.0Y3.125Z.576I3.125J.0$
N9X3.125Y.0Z.888I.0J3.125$
N10X.0Y-3.125Z1.2I3.125J0$
N11X-3.125Y.0Z1.512I.0J3.125$
N12X.0Y3.125Z1.824I3.125J.0$
N13G1Y-4.Z.0$
Related Commands:
PLABEL/OPTION,47
56
Chapter 4: Command Reference
1.4 AUXFUN
AUXFUN/m[,NEXT]
NEXT Generates this M-code with the next output block. If you omit NEXT,
the postprocessor outputs the M-code in a block by itself. If you select
the multiple M-code option, you can program a maximum of four
AUXFUN/m,NEXTs per block.
Use this command only when a postprocessor command is not available for this
M-code. The postprocessor does not verify the validity of the M-code.
Example:
Input:
AUXFUN/33,NEXT
AUXFUN/22
N4M22M33$
Related Commands:
PLABEL/OPTION,35
1.5 BREAK
BREAK
This statement indicates the end of a section in the part program. The punch output
ends with trailer.
The MACHIN statement and the current options are retained. Remember to restate
all applicable postprocessor commands (such as FROM, COOLNT, and TRANS) after
the BREAKcommand.
Example:
Input:
MACHIN/UNCL01,1
PLABEL/OPTION,n,TO,v
57
G-Post - Help Topic Collection
SPINDL/200
COOLNT/ON
END
BREAK
SPINDL/300
COOLNT/ON
FINI
This command modifies the axes limit values assumed for limit checking.
Example:
Input:
GOTO/P1
Related Commands:
PLABEL/OPTION,19
This command modifies the axes limit values assumed for limit checking.
58
Chapter 4: Command Reference
Example:
GOTO/P1
Related Commands:
PLABEL/OPTION,19
Example:
Input:
CLEARP/XYPLAN,5
GOTO/3,3,0
GOTO/6,6,0
RETRCT
GOTO/10,10
CLEARP/OFF
RETRCT
59
G-Post - Help Topic Collection
N0004G01X003Y003Z0F001$
N0005X006Y006$
N0006G00Z0005F0$
N0007G01X01Y01Z0F001$
N0008G00Z03F0$
Example:
Input:
CLEARP/ZAXIS,10,TABLE,20
GOTO/3,3,0
GOTO/6,6,0
RETRCT
GOTO/10,10
CLEARP/OFF
RETRCT
60
Chapter 4: Command Reference
N0004G01X003Y003Z0F001$
N0005X006Y006$
N0006G00Z0005F0$
N0007G01X01Y01Z0F001$
N0008G00Z10W20F0$
The direction and distance of this move are calculated from the current position
along the normal to the plane.
Example:
Input:
PL1=PLANE/0,0,1,5
CLRSRF/PL1
P1=POINT/5,8,0
GOTO/P1
CLRSRF/NOW
N0004G01X005Y008Z0F000001$
N0005G00Z005F0$
61
G-Post - Help Topic Collection
NEXT Generates this M-code with the next output block. If you
omit NEXT, the postprocessor outputs the M-code in a block by
itself.
62
Chapter 4: Command Reference
NEXT Generates this M-code with the next output block. If you
omit NEXT, the postprocessor outputs the M-code in a block by
itself.
CUTCOM/ZAXIS,h
This statement generates an offset register code to initiate the tool length
compensation.
If your option file is set up for Cincinnati PQ type cutter compensation, the following
CUTCOM commands are used to control activation of this feature.
CUTCOM/OFF-LEFT-RIGHT
63
G-Post - Help Topic Collection
CUTCOM/IN-OUT
This command may be used to cause PQ CUTCOM to compensate away from a circle.
IN would be used when machining a bore. OUT is for machining a cylinder or boss. A
vector will be output to offset the cutter away from the surface. This command
should be used only with line/circle, circle/circle, or circle/line combinations. If this
command is used with a line/line combination, incorrect vectors will be output.
CUTCOM/OFF,PERPTO-PLUS-MINUS
PLUS - Causes a vector to be output in the same direction as the last motion prior to
turning PQcutter compensation off. This feature is handy to use when you wish to
terminate cutter compensation by driving a cutter past an edge.
MINUS - Causes a vector to be output in the opposite direction as the last motion
prior to turning PQcutter compensation off. This feature is handy to use when you
wish to terminate cutter compensation by driving a cutter to an edge.
With all three of the above couplets on a CUTCOM/OFF command, a motion following
the CUTCOM/OFF is not required.
64
Chapter 4: Command Reference
same as the tool number if the switch is set in the Option File
Generator and the diameter offset number is no specified in the
CUTCOM command.
1.15 CYCLE
The G-Post generates two types of cycle output, Hardware and Software. A
Hardware cycle generates a G-code machine controller cycle, such as a G81 drilling
cycle. A Software cycle generates G00, G01 tool motion and is calculated by the
postprocessor. All lathe cycles are Software cycles.
In the following cycle command definitions, cycle types that are identified by a
hyphen followed by the G-code in the command, such as CYCLE/BORE-85 are
Hardware cycles. The G-codes are postprocessor defaults and may be changed in
the Option file Generator.
For canned cycles, the options LOCK,l and CAM,n will be output in the cycle DWELL
and CAM registers.
The PULBAC,g option will output an additional G-code with the cycle G-code.
The cycle command is modal and remains in effect for subsequent CL points until
turned off by CYCLE/OFF or a new CYCLE/type command.
It is assumed that the CL points following the cycle statement will be defined at the
work surface. Therefore, rapid positioning will occur to each CL point plus clearance
c. This is output as the rapid stop point. The feed distance will be the sum of the
values c and z, which is output as the feed stop point. The values c and z must be
positive and relative to the CL point as follows:
65
G-Post - Help Topic Collection
CYCLE/type,z,f,unit,c,optn
type A minor entry to indicate the cycle type.
z The z depth of the desired cycle could be z1 through z20 for certain
cycles.
optn Optional parameters given in couplet form for certain cycles. For
example, LOCK,1 where l states the dwell time for TAPcycle. These
optional values are modal.
CYCLE/type,z,f,unit,c[,sc][,optn]
CYCLE with Secondary Clearance Value
CYCLE with Secondary Clearance Value sc The secondary clearance value required
by some machines, which can be used on all the canned cycles in the Mill G-Post.
CYCLE/type,FEDTO,z,IPM-IPR,f,RAPTO,c,
RTRCTO,c2,DWELL,d
66
Chapter 4: Command Reference
FEDTO,z The z depth of the desired cycle could be z1 through z20 for
certain cycles.
CYCLE/CSINK only.
CYCLE/DEEP only.
67
G-Post - Help Topic Collection
Example:
Input:
$$ Z DEPTH=1.0,FEED=7.5,IPM,CLEARANCE=.1
CYCLE/BORE,1.0,7.5,IPM,.1
GOTO/0,0
CYCLE/AVOID
GOTO/1,0
GOTO/2,0
N4G85X.0Y.0R.1Z-1.0F7.5$
N5G80M26$
N6G85X1.0Y.0R.1Z-1.0F7.5$
N7X2.0$
CYCLE/BORE,z,f,IPM-IPR,c[,LOCK,l][,CAM,n][,PULBAC,g]
CYCLE/BORE,FEDTO,z,IPM-IPR,f,RAPTO,c[,DWELL,d]
Example:
Input:
$$ Z DEPTH=1.0,FEED=7.5,IPM CLEARANCE=.1
CYCLE/BORE,1.0,7.5,IPM,.1
GOTO/0,0
N4G85X0.0.0R.1Z-.1F7.5$
68
Chapter 4: Command Reference
CYCLE/BORE,z,f,IPM-IPR,c[,LOCK,l]
CYCLE/BORE,FEDTO,z,IPM-IPR,f,RAPTO,c[,DWELL,d]
LOCK,l Specifies the dwell time for spindle stop. Initially a value of 2 seconds
is assumed.
Example:
Input:
$$ Z DEPTH=1.0,FEED=7.5,IPM CLEARANCE=.1
CYCLE/BORE,1.0,7.5,IPM,.1
GOTO/0,0
N5G00X0.0Z.1$
N6G01Z-.1F7.5$
N7G04X2.0M05$
N8G00X0.0Z.1$
N9M01$
CYCLE/BORE-85,z,f,IPM-IPR,c[,LOCK,l][,CAM,n][,PULBAC,g]
CYCLE/BORE-85,FEDTO,z,IPM-IPR,f,RAPTO,c[,DWELL,d]
69
G-Post - Help Topic Collection
Example:
Input:
$$ Z DEPTH=1.0,FEED=7.5,IPM CLEARANCE=.1
CYCLE/BORE,1.0,7.5,IPM,.1
GOTO/0,0
N4G85X0.0Y0.0R.1Z-.1F7.5$
CYCLE/BORE,z,f,IPM-IPR,c[,LOCK,l][,ORIENT,y]
CYCLE/BORE,FEDTO,z,IPM-IPR,f,RAPTO,c[,DWELL,d]
LOCK,l Specifies the dwell time for spindle stop. Initially a value of 2
seconds is assumed.
Example:
Input:
CYCLE/BORE,1.0,7.5,IPM,.1
GOTO/0,0
N4G00Z.1$
N5G01X0.0Y0Z-1.0F7.5$
N6G04F2.0M19$
70
Chapter 4: Command Reference
N7G00Z.1$
N8M01$
CYCLE/DEEP,z,f,IPM-IPR,c,INCR,z1 [,PULBAC,g]
CYCLE/DEEP,FEDTO,z,IPM-IPR,f,RAPTO,c,INCR,k
1. Rapid to clearance c.
Example:
Input:
CYCLE/ BRKCHP,3.0,7.0,IPM,.2,INCR,.5
GOTO/0,0
N4G73X0.0Z3.0K.5F7.0$
71
G-Post - Help Topic Collection
CYCLE/BRKCHP,z1,z2,z3,z4.............z20,f,IPM-IPR,c
CYCLE/ BRKCHP,FEDTO,z,IPM-IPR,f,RAPTO,c,INCR,k
1. Rapid to clearance c.
Example:
Input:
GOTO/0,0
N004G00X0Z002$
N005G01Z-01F007$
N006G00Z002$
N007Z-008$
N008G01Z-02F007$
N009G00Z002$
N010Z-018$
N011G01Z-03F007$
N012G00Z002$
N013Z-028$
N014G01Z-04F007$
N01
5G0
0Z0
02$
72
Chapter 4: Command Reference
CYCLE/ BRKCHP,z1,z2,z3,z4.............z20,f,IPM-IPR,c
CYCLE/ BRKCHP,FEDTO,z,IPM-IPR,f,RAPTO,c,INCR,k
1. Rapid to clearance c.
Example:
Input:
CYCLE/ BRKCHP,1.0,2.0,3.0,4.0,7.0,IPM,.2
GOTO/0,0
N0004G00Z0002F0$
N0005G01X0Y0Z-001F007$
N0006G00Z0002F0$
N0007Z-0008F0$
N0008G01Z-002F007$
N0009G00Z0002F0$
N0010Z-0018F0$
N0011G01Z-003F007$
N0012G00Z0002F0$
N0013Z-0028F0$
N0014G01Z-004F007$
N0015G00Z0002F0$
73
G-Post - Help Topic Collection
CYCLE/ BRKCHP,FEDTO,z,IPM-IPR,f,RAPTO,c,INCR,k
1. Rapid to clearance c.
Rep
eat
ste
ps
2,
3, and 4 until depth z is reached.
Example:
Input:
CYCLE/ BRKCHP,3.0,7.0,IPM,.2,INCR,.5
GOTO/0,0
N4G73X0.0Y0.0Z3.0K.5F7.0$
CYCLE/CSINK,d,a,f,IPM-IPR,c[,LOCK,l][,CAM,n][,PULBAC,g]
CYCLE/CSINK,FEDTO,z,IPM-IPR,f,RAPTO,c[,DWELL,d]
74
Chapter 4: Command Reference
1. Rapid to clearance c.
3. Dwell.
Example:
Input:
CYCLE/DRILL,1.0,6.0,IPM,.1
GOTO/0,0
N4G81X.0R.1Z-1.F6.0$
CYCLE/CSINK,d,a,f,IPM-IPR,c[,LOCK,l]
CYCLE/CSINK,HOLDIA,d,TLANGL,a,IPM-IPR,f,RAPTO,c[,DWELL,d]
1. Rapid to clearance c.
3. Dwell.
Example:
Input:
CYCLE/CSINK,0.5,90.0,10.0,IPM,.1
GOTO/0,0
N5G00X0.0Z.1$
75
G-Post - Help Topic Collection
N7G04X2.0$
N8G00X0.0Z.1$
CYCLE/CSINK,d,a,f,IPM-IPR,c[,LOCK,l][,CAM,n][,PULBAC,g]
CYCLE/CSINK,FEDTO,z,IPM-IPR,f,RAPTO,c[,DWELL,d]
1. Rapid to clearance c.
3. Dwell.
Example:
Input:
CYCLE/DRILL,1.0,6.0,IPM,.1
GOTO/0,0
N4G81X.0Y.0R.1Z-1.F6.0$
CYCLE/CSINK,d,a,f,IPM-IPR,c[,LOCK,l]
CYCLE/CSINK,HOLDIA,d,TLANGL,a,IPM-IPR,f,RAPTO,c[,DWELL,d]
1. Rapid to clearance c.
4. Dwell.
76
Chapter 4: Command Reference
Example:
Input:
CYCLE/CSINK,0.5,90.0,10.0,IPM,.1
GOTO/0,0
N4G00Z.1$
N6G04F2.0$
N7G00Z.1$
CYCLE/DEEP,z,f,IPM-IPR,c,INCR,z1 [,PULBAC,g]
CYCLE/DEEP,FEDTO,z,IPM-IPR,f,RAPTO,c,INCR,k
1. Rapid to clearance c.
Example:
Input:
CYCLE/DEEP,3.0,7.0,IPM,.2,INCR,.5
77
G-Post - Help Topic Collection
GOTO/0,0
N4G83X0.0Z3.0K.5F7.0$
CYCLE/DEEP,z1,z2,z3,z4.............z20,f,IPM-IPR,c
CYCLE/DEEP,FEDTO,z,IPM-IPR,f,RAPTO,c,INCR,k
1. Rapid to clearance c.
Example:
Input:
CYCLE/DEEP,1.0,2.0,3.0,4.0,7.0,IPM,.2
GOTO/0,0
N004G00X0Z002$
N005G01Z-01F007$
N006G00Z002$
N007Z-008$
N008G01Z-02F007$
N009G00Z002$
N010Z-018$
N011G01Z-03F007$
N012G00Z002$
N013Z-028$
N014G01Z-04F007$
78
Chapter 4: Command Reference
N015G00Z002$
CYCLE/DEEP,z1,z2,z3,z4.............z20,f,IPM-IPR,c
CYCLE/DEEP,FEDTO,z,IPM-IPR,f,RAPTO,c,INCR,k
1. Rapid to clearance c.
Example:
Input:
CYCLE/DEEP,1.0,2.0,3.0,4.0,7.0,IPM,.2
GOTO/0,0
N0004G00Z0002F0$
N0005G01X0Y0Z-001F007$
N0006G00Z0002F0$
N0007Z-0008F0$
N0008G01Z-002F007$
N0009G00Z0002F0$
N0010Z-0018F0$
N0011G01Z-003F007$
N0012G00Z0002F0$
N0013Z-0028F0$
N0014G01Z-004F007$
N0015G00Z0002F0$
79
G-Post - Help Topic Collection
CYCLE/DEEP-83,z,f,IPM-IPR,c,INCR,z1 [,PULBAC,g]
CYCLE/DEEP,FEDTO,z,IPM-IPR,f,RAPTO,c,INCR,k
1. Rapid to clearance c.
Example:
Input:
CYCLE/DEEP,3.0,7.0,IPM,.2,INCR,.5
GOTO/0,0
N4G83X0.0Y0.0Z3.0K.5F7.0$
CYCLE/DEEPCL,z,f,IPM-IPR,c[,START,s][,DECR,d][,LAST,l] [,DIAMTR,dia]
1. Rapid to clearance c.
80
Chapter 4: Command Reference
Repeat steps 2, 3, 4, and 5 until the value of s equals the value of l. Then repeat
steps 2, 3, and 4 until final depth is reached. Cycle will always end when final depth
is reached, regardless of any other parameter value.
The following is a list of the default values for this cycle. You need enter only those
values that are to be changed.
DECR,d Default is .5
Example:
Input:
CUTTER/.5
CYCLE/DEEPCL,5,10,IPM,.1
GOTO/0,0,10
CYCLE/OFF
N0001G81X0Y0R010Z00875F01$
N0002G80$
N0003G81R00885Z00775$
N0004G80R0101$
N0005G81R00785Z007$
N0006G80R0101$
N0007G81R0071Z0065$
N0008G80R010$
N0009G81R0066Z006$
N0010G80R0101$
N0011G81R0061Z0055$
N0012G80R0101$
N0013G81R0056Z005$
N0014G80R0101$
81
G-Post - Help Topic Collection
CYCLE/DRILL,z,f,IPM-IPR,c[,LOCK,l][,CAM,n][,PULBAC,g]
CYCLE/DRILL,FEDTO,z,IPM-IPR,f,RAPTO,c
1. Rapid to clearance c.
Example:
Input:
CYCLE/DRILL,1.0,6.0,IPM,.1
GOTO/0,0
N4G81X.0R.1Z-1.F6.0$
CYCLE/DRILL,z,f,IPM-IPR,c
CYCLE/DRILL,FEDTO,z,IPM-IPR,f,RAPTO,c
1. Rapid to clearance c.
Example:
Input:
CYCLE/DRILL,1.0,6.0,IPM,.1
GOTO/0,0
N004G00X0Z001$
N005G01Z-01F006$
N006G00Z001$
82
Chapter 4: Command Reference
CYCLE/DRILL-81,z,f,IPM-IPR,c[,LOCK,l][,CAM,n][,PULBAC,g]
CYCLE/DRILL-81,FEDTO,z,IPM-IPR,f,RAPTO,c
1. Rapid to clearance c.
Example:
Input:
CYCLE/DRILL,1.0,6.0,IPM,.1
GOTO/0,0
N4G81X.0Y.0R.1Z-1.F6.0$
CYCLE/DRILL,z,f,IPM-IPR,c
CYCLE/DRILL,FEDTO,z,IPM-IPR,f,RAPTO,c
1. Rapid to clearance c.
Example:
Input:
CYCLE/DRILL,1.0,6.0,IPM,.1
GOTO/0,0
83
G-Post - Help Topic Collection
N4G00Z.1$
N5G01X.0Y.0Z-.1F6.0$
CYCLE/FACE,z,f,IPM-IPR,c[,LOCK,l][,CAM,n][,PULBAC,g]
CYCLE/FACE,FEDTO,z,IPM-IPR,f,RAPTO,c[,DWELL,d]
1. Rapid to clearance c.
3. Dwell.
Example:
Input:
CYCLE/FACE,1.0,4.5,IPM,.1
GOTO/0,0
N4G82X.0R.1Z-.1F4.5$
CYCLE/FACE,z,f,IPM-IPR,c[,LOCK,l ]
CYCLE/FACE,FEDTO,z,IPM-IPR,f,RAPTO,c[,DWELL,d]
1. Rapid to clearance c.
3. Dwell.
84
Chapter 4: Command Reference
Example:
Input:
CYCLE/FACE,1.0,4.5,IPM,.1
GOTO/0,0
N004G00X0Z001$
N005G01Z-01F0045$
N006G04X02$
N007G00X0Z001$
CYCLE/FACE-82,z,f,IPM-IPR,c[,LOCK,l][,CAM,n][,PULBAC,g]
CYCLE/FACE-82,FEDTO,z,IPM-IPR,f,RAPTO,c[,DWELL,d]
1. Rapid to clearance c.
3. Dwell.
Example:
Input:
CYCLE/FACE,1.0,4.5,IPM,.1
GOTO/0,0
N4G82X.0Y.0R.1Z-.1F4.5$
85
G-Post - Help Topic Collection
(Software Cycle)
CYCLE/FACE,z,f,IPM-IPR,c[,LOCK,l]
CYCLE/FACE,FEDTO,z,IPM-IPR,f,RAPTO,c[,DWELL,d]
1. Rapid to clearance c.
3. Dwell.
Example:
Input:
CYCLE/FACE,1.0,4.5,IPM,.1
GOTO/0,0
N4G00Z.1$
N5G01X.0Y.0Z-.1F4.5$
N6G04F2.$
N7G00Z.1$
CYCLE/MILL-86,z,f,IPM-IPR,c[,CAM,n]
CYCLE/MILL-86,FEDTO,z,IPM-IPR,f,RAPTO,c
The first CL point and all the subsequent RAPID CL points will be output as follows:
1. Rapid to clearance c.
2. Output xyz with proper interpolation mode with the milling feedrate
from the last FEDRAT/f statement.
Example:
86
Chapter 4: Command Reference
Input:
CYCLE/MILL,1.0,10,IPM,.2
GOTO/0,0
FEDRAT/15,IPM
GOTO/1,1
CYCLE/OFF
N4G86X.0Y.0R.2Z-.1F10.$
N5G01X1.Y1.F15.$
N7G80$
N8G00Z3.$
CYCLE/MILL,z,f,IPM-IPR,c
CYCLE/MILL,FEDTO,z,IPM-IPR,f,RAPTO,c
The first CL point and all subsequent RAPID CL points are output as follows:
1. Rapid to clearance c.
2. Output xyz with proper interpolation mode with the milling feedrate
from the last FEDRAT/f statement.
Example:
Input:
CYCLE/MILL,1.0,10,IPM,.2
GOTO/0,0
FEDRAT/15,IPM
GOTO/1,1
GOTO/2,3
87
G-Post - Help Topic Collection
CYCLE/OFF
RETRCT
N0004G00X0Y0F0$
N0005Z0002F0$
N0006G01Z-001F01$
N0007X001Y001F015$
N0008X002Y003$
N0009G00Z03F0$
CYCLE/REAM-88,z,f,IPM-IPR,c[,LOCK,l][,CAM,n][,PULBAC,g]
CYCLE/REAM-88,FEDTO,z,IPM-IPR,f,RAPTO,c[,DWELL,d]
1. Rapid to clearance c.
Example:
Input:
CYCLE/REAM,1.0,8.0,IPM,.1
GOTO/0,0
N0004G88X0R0001Z-001F008$
CYCLE/REAM,z,f,IPM-IPR,c
88
Chapter 4: Command Reference
CYCLE/REAM,FEDTO,z,IPM-IPR,f,RAPTO,c[,DWELL,d]
1. Rapid to clearance c.
Example:
Input:
CYCLE/REAM,1.0,8.0,IPM,.1
GOTO/0,0
N005G00X0Z001$
N006G01Z-01F008$
N007Z001$
CYCLE/REAM-88,z,f,IPM-IPR,c[,LOCK,l][,CAM,n][,PULBAC,g]
CYCLE/REAM-88,FEDTO,z,IPM-IPR,f,RAPTO,c[,DWELL,d]
1. Rapid to clearance c.
Example:
Input:
CYCLE/REAM,1.0,8.0,IPM,.1
GOTO/0,0
N0004G88X0Y0R0001Z-001F008$
89
G-Post - Help Topic Collection
(Software Cycle)
CYCLE/REAM,z,f,IPM-IPR,c
CYCLE/REAM,FEDTO,z,IPM-IPR,f,RAPTO,c[,DWELL,d]
1. Rapid to clearance c.
Example:
Input:
CYCLE/REAM,1.0,8.0,IPM,.1
GOTO/0,0
N0004G00Z0001F0$
N0005G01X0Y0Z-001F008$
N0006Z0001$
CYCLE/TAP-84,z,f,IPM-IPR,c[,LOCK,l][,CAM,n][,PULBAC,g]
CYCLE/TAP-84,FEDTO,z,IPM-IPR,f,RAPTO,c
1. Rapid to clearance c.
LOCK,l Specifies the dwell time for spindle reverse. Initially a value of 2 seconds is
assumed.
Example:
Input:
SPINDL/150
CYCLE/TAP,1.0,(1/13),IPR,.2
90
Chapter 4: Command Reference
GOTO/0,0
N0006G84X0R0002Z-001F011538$
CYCLE/TAP,z,f,IPM-IPR,c[,LOCK,l]
CYCLE/TAP,FEDTO,z,IPM-IPR,f,RAPTO,c
1. Rapid to clearance c.
LOCK,l specifies the dwell time for spindle reverse. Initially a value of 2 seconds is
assumed.
Example:
Input:
SPINDL/300,RPM,CLW
CYCLE/TAP,1.0,(1/13),IPR,.2
GOTO/0,0
N004S03M03$
N005G95$
N006G00X0Z002$
N007M51$
N009M05$
N010G04X101M04$
91
G-Post - Help Topic Collection
N011G01X0Z002$
N012M03$
N013M50$
CYCLE/TAP-84,z,f,IPM-IPR,c[,LOCK,l][,CAM,n][,PULBAC,g]
CYCLE/TAP-84,FEDTO,z,IPM-IPR,f,RAPTO,c
1. Rapid to clearance c.
LOCK,l Specifies the dwell time for spindle reverse. Initially a value of 2 seconds is
assumed.
Example:
Input:
SPINDL/150
CYCLE/TAP,1.0,(1/13),IPR,.2
GOTO/0,0
N0006G84X0Y0R0002Z-001F011538$
CYCLE/TAP-84,z,f,IPM-IPR,c,HIGH,ON-OFF
CYCLE/TAP-84,FEDTO,z,IPM-IPR,f,RAPTO,c,HIGH,ON-OFF
The rigid tap cycle allows you to output a cycle G-code with a decimal point such as
G84.2.
92
Chapter 4: Command Reference
1. Rapid to clearance c.
LOCK,l Specifies the dwell time for spindle reverse. Initially a value of 2 seconds is
assumed.
Example:
Input:
SPINDL/150
CYCLE/TAP,1.0,(1/13),IPR,.2
GOTO/0,0
N0006G84X0Y0R0002Z-001F011538$
CYCLE/TAP,z,f,IPM-IPR,c[,LOCK,l]
CYCLE/TAP,FEDTO,z,IPM-IPR,f,RAPTO,c
1. Rapid to clearance c.
LOCK,lSpecifies the dwell time for spindle reverse. Initially a value of 2 seconds is
assumed.
Example:
Input:
93
G-Post - Help Topic Collection
CYCLE/TAP,1.0,(1/13),IPR,.2
GOTO/0,0
N0006G00Z0002F0$
N0007M51$
N0008G01X0Y0Z-001F$
N0009M05$
N0010G04FM04$
N0011G01Z0002F$
N0012M03$
N0013M50$
CYCLE/THRU-87,z1,z2,z3,z4,...z19,f,IPM-IPR,c[,PULBAC,g]
1. Rapid to clearance c.
Repeat steps 3 and 4 for each successive pair of z values, after which, retract at
Example:
Input:
CYCLE/THRU,0.5,0.7,1.0,1.2,2.0,2.2,3.0,.0085,IPR,.1
GOTO/0,0
94
Chapter 4: Command Reference
N0006G87X0R0001Z-0005F0085$
N0007R-0006Z-001$
N0008R-0011Z-002$
N0009R-0021Z-003$
N0010R0001Z0001$
CYCLE/THRU,z1,z2,z3,...z19,f,IPM-IPR,c
1. Rapid to clearance c.
Repeat the steps 3 and 4 for each successive pair of z values, after which, retract at
Example:
Input:
SPINDL/1000,RPM,CLW
CYCLE/THRU,0.5,0.7,1.0,1.2,2.0,2.2,3.0,.0085,IPR,.1
GOTO/0,0
N004S51M03$
N005G95$
N006G00X0Z001$
N007G01Z-005F001$
N008G00Z-007$
N009G01Z-01F001$
95
G-Post - Help Topic Collection
N010G00Z-012$
N011G01Z-02F001$
N012G00Z-022$
N013G01Z-03F001$
N014G00Z001$
CYCLE/THRU-87,z1,z2,z3,z4,...z19,f,IPM-IPR,c[,PULBAC,g]
1. Rapid to clearance c.
Repeat steps 3 and 4 for each successive pair of z values, after which, retract at
Example:
Input:
CYCLE/THRU,0.5,0.7,1.0,1.2,2.0,2.2,3.0,.0085,IPR,.1
GOTO/0,0
N0006G87X0Y0R0001Z-0005F0085$
N0007R-0006Z-001$
N0008R-0011Z-002$
N0009R-0021Z-003$
N0010R0001Z0001$
96
Chapter 4: Command Reference
(Software Cycle)
CYCLE/THRU,z1,z2,z3,z4,...z19,f,IPM-IPR,c
1. Rapid to clearance c.
Repeat steps 3 and 4 for each successive pair of z values, after which, retract at
rapid rate to clearance c.
Example:
Input:
CYCLE/THRU,0.5,0.7,1.0,1.2,2.0,2.2,3.0,.0085,IPR,.1
GOTO/0,0
N0006G00Z0001F0$
N0007G01X0Y0Z-0005F$
N0008G00Z-0007F0$
N0009G01Z-001F$
N0010G00Z-0012F0$
N0011G01Z-002F$
N0012G00Z-0022F0$
N0013G01Z-003F$
N0014G00Z0001F0$
1.56DEBUGG
The DEBUGG statements are not intended for part programming. It is intended for
use during the development stage of a postprocessor. Use DEBUGGto analyze the
COMMON variable locations in the postprocessor. Use DEBUGG with discretion since
they generate a large volume of print output.
97
G-Post - Help Topic Collection
1.56.1 DEBUGG/FRONT
Prints the postprocessor register address locations, alphabetical addresses, formats,
and the contents of the WORD buffer.
1.56.2 DEBUGG/OFF
Turns off the DEBUGG print option.
1.56.3 DEBUGG/ON,CLW
Prints the CL file records as they are read.
1.57DELAY
DELAY/n[,REV]
When the IPM/IPR switchable option is not available in the control, the dwell time will
be converted to the available units.
98
Chapter 4: Command Reference
Examples (L):
FEDRAT/10,IPM
GOTO/0,0
GOTO/5,5
N005G01X0Z0F01$
N006G04X05$
N007G01X05Z05$
Example (L):
FEDRAT/.010,IPR
GOTO/0,0
GOTO/0,0
N005G95$
N006G01X0Z0F001$
N007G04X5425
N008G01X0Z0$
Examples (M):
Input:
SPINDL/1000,RPM,CLW
FEDRAT/10,IPM
GOTO/0,0
99
G-Post - Help Topic Collection
GOTO/5,5
N0004M4A$
N0005S1000M03$
N0006G01X0Y0Z0F01$
N0007G04F005$
N0008G01X005Y005F01$
Example (M):
Input:
SPINDL/1000,RPM,CLW
FEDRAT/.010,IPR
GOTO/0,0
GOTO/5,5
N004M41$
N005S100M03$
N006G01X0Z0F01$
N007G04F0003$
N008G01X005Y005F01$
1.58 DISPLY
1.58.1 DISPLY/ON-OFF
This statement allows the operator comments to be displayed at the Machine/Control
unit.
100
Chapter 4: Command Reference
Example:
Input:
GOTO/5,5
DISPLY/ON
DISPLY/OFF
GOTO/0,0
N004G01X05Z05$
N006X0Z0$
N004G01X05Y05Z05$
N006X0Z0$
Related Commands:
PLABEL/OPTION,14
PLABEL/OPTION,15
PLABEL/OPTION,30
1.59 DISPLY/NEXT
This command is similar to DISPLY/ON, except that it punches the text from the next
PPRINT statement, regardless of the current setting of DISPLY/ON-OFF condition.
Example:
DISPLY/NEXT
DISPLY/ON
101
G-Post - Help Topic Collection
DISPLY/OFF
1.60 END
END
1.61FEDRAT (L)
1.61.1 FEDRAT/f[,IPM-IPR][,RAPTO[,d]]
f Is the feedrate value to be used for subsequent non-rapid
motion.
1.61.2 FEDRAT/LOCK,ON-OFF
This command generates the M-codes to control feedrate override options.
102
Chapter 4: Command Reference
1.62 FINI
This statement indicates the end of the CL file. The postprocessor will output all
pending blocks and stop execution.
Using the Option File Generator you can define up to 10 blocks of NC code to be
output at the end of the MCD file. Tape trailer and the Rewind stop code are the only
pieces of data that will follow this output.
x,y Are the coordinates of the axes position in the part coordinate
system. Any effective translation will be applied to x and y to obtain
the machine coordinates.
The coordinates of x and y are assumed to be the tool tip, unless TURRET/CENTER is
in effect, and indicate the turret reference point.
x,y,z Are the coordinates of the axes position in the part coordinate
system. Any effective translation will be applied to x, y, and z to obtain
the machine coordinates.
Related Commands:
PLABEL/OPTION,45
1.65 GOHOME
GOHOME
Example (M):
Input:
103
G-Post - Help Topic Collection
GOTO/5,2,.5
GOTO/6,5,1
GOHOME
N004G01X005Y002Z0005F001$
N005X006Y005Z001$
N006G00Z03F0
N007X01Y01F0
Example (L):
Input:
GOTO/5,5
GOHOME
N004G01X05Z05F01$
N005G00X1Z1$
1.66 GOTO
GOTO/x,y,z
Example (M):
Input:
GOTO/5,2,.5
GOTO/6,5,1
N004G01X005Y002Z0005F001$
N005X006Y005Z001$
Example (L):
Input:
GOTO/5,5,0
104
Chapter 4: Command Reference
N004G01X05Z05F01$
Related Commands:
ARCDAT - ARCMOV
This statement modifies the default turret separation distance for multiple turret
lathes.
FRONT
1.68 INCLUD
INCLUD/Filename
This statement is used to include the contents of the specified ASCII source file,
Filename, into the current file. Once the contents of Filename are included the
process will continue on the line following the INCLUD statement.
Filename can be any valid ASCII text file on your system. If the file extension is not
specified, .INC is used. If the Filename does not include the path the system will
locate the file as follows:
1. Search the current working directory where the source file is located.
105
G-Post - Help Topic Collection
• If the specified Filename is not located in one of these locations the system will
generate an error message.
Examples:
The following INCLUD statements are INVALID:
INCLUD/TEST2.INC
INCLUD/TEST1.DAT
INCLUD/C:\TEST\SOURCE\MACHINE1\TEST1.INC
INCLUD/TEST3
1.69 INSERT
INSERT[text]
This statement allows the part programmer to directly output control information to
the punch file.
106
Chapter 4: Command Reference
Blanks in the [text] will be ignored. The [text] is punched with sequence number and
the current OPSKIP condition. End of block code is not generated by the
postprocessor and should appear in [text], if needed.
This command should be used only when a postprocessor command is not available
for the control information. When used, the postprocessor does not verify the validity
of this block.
You can combine INSERT commands into long tape blocks as follows:
Input:
INSERT/N001 G01 \$
INSERT/ X15.0 \$
INSERT/ Y10.0 \$
INSERT/ Z100.0 \$
INSERT/ F10.0 $
Output:
Related Commands:
PLABEL/OPTION,9
PLABEL/OPTION,30
1.70 LEADER
LEADER/n
Related Commands:
PLABEL/OPTION,10
107
G-Post - Help Topic Collection
This statement is used to test a MULTAX cutting path (at least one linear axis and a
rotary axis) against a given tolerance t for linearization. If the deviation of this path
exceeds the tolerance, it is segmented into smaller moves.
ON Enables testing for all subsequent MULTAX feed moves until OFF is
programmed.
This command generates a tool change block consisting of an M-code, a tool number
T-code, and an offset code.
OMIT Does not generate an M-code. You can use this option if
the tool is already resident in the spindle, such as the first
L
O
A
D
T
L
statement to indicate tool length.
108
Chapter 4: Command Reference
The first number is the number of tool changes in this program. In this case 3 tool
changes.
Ninth value is the TURRET being used, 1=FRONT, 2=REAR, 3=SADDLE, 4=MAIN,
5=RAIL and 0=LOADTL
1.73 LPRINT
LPRINT/NEXT
This statement causes the postprocessor print output (the .LST file) to start on a new
page at this point.
1.74 MACHIN
(M)
MACHIN/UNCX01,n[,ON-OFF][,CIRCUL-LINEAR]
[,OPTION,n1,v1,n2,v2,..] (M)
(L)
MACHIN/UNCL01,n[,ON-OFF][,CIRCUL-LINEAR]
[,OPTION,n1,v1,n2,v2,..] (L)
109
G-Post - Help Topic Collection
UNCL01
LINEAR Generates linear interpolation blocks for the circular motion in the
CL file.
The options are described in the PLABEL/OPTION section, since these two commands
are synonymous.
Examples (M):
MACHIN/UNCX01,1
FINI
FINI
MACHIN/UNCX01,1
FINI
Examples (L):
MACHIN/UNCL01,1
FINI
110
Chapter 4: Command Reference
FINI
MACHIN/UNCL01,1
FINI
MACHIN/UNCX01,n[,ON-OFF][,CIRCUL-LINEAR]
[LENGTH,min,max,TYPE,t[,MODIFY,c1,c2]
[,PULBAC,dx,dy,dz]][,OPTION,n1,v1,n2,v2,...]
(L)
MACHIN/UNCL01,n[,ON-OFF][,CIRCUL-LINEAR]
[LENGTH,min,max,TYPE,t[,MODIFY,c1,c2]
[,PULBAC,dx,dy]][,OPTION,n1,v1,n2,v2,...]
The Auto Break feature is activated if you enter values for LENGTH, TYPE, MODIFY,
and PULBAC. The postprocessor automatically generates a BREAK sequence once
the minimum tape footage is exceeded. If TYPE has a non-zero value associated with
it, the BREAK sequence is generated on the next occurrence of the major word
indicated by TYPE. If the maximum footage is exceeded, a warning message is
output.
LENGTH Specifies the minimum and maximum footage desired when using
the Auto Break feature.
TYPE Specifies the major word or words on which the Auto Break
feature is to act.
is GOHOME
is OPSTOP
is STOP
111
G-Post - Help Topic Collection
PULBAC During Auto Break, a pull-back move can be generated to clear the
part.
dx,dy,dz (M) Are the delta values along each axis desired for the move.
Note that all three values must be specified. Use zero if you do
not want a move along an axis.
dx,dy (L) Are the delta values along each axis desired for the move.
Note that both values must be specified. Use zero if you do not
want a move along an axis.
1.76 MCHTOL
MCHTOL/t[,ON] or MCHTOL/ON-OFF
This command will segment a linear move into smaller steps for tolerance
requirements.
Example:
Input:
FROM/10,0
MCHTOL/.5,ON
GOTO/15,0
MCHTOL/OFF
GOTO/10,0
N0004G01X0104545Y0051818Z0F001$
N0005X0109091Y0053636$
N0006X0113636Y0055455$
N0007X0118182Y0057273$
112
Chapter 4: Command Reference
N0008X0122727Y0059091$
N0009X0127273Y0060909$
N0010X0131818Y0062727$
N0011X0136364Y0064545$
N0012X0140909Y0066364$
N0013X0145455Y0068182$
N0014X015Y007$
N0015X01Y0$
N004G01X0Z104545F001$
N005Z109091$
N006Z113636$
N007Z118182$
N008Z122727$
N009Z127273$
N010Z131818$
N011Z136364$
N012Z140909$
N013Z145455$
N014Z15$
N015Z1$
1.77 MODE
1.77.1 MODE/INCR[,OFF]
INCR Generates an incremental G-code and incremental output.
1.77.2 MODE/90-91
90 Generates the absolute G-code G90 and absolute output.
113
G-Post - Help Topic Collection
1.77.3 MODE/INVERS,AUTO-ON-OFF
AUTO Generates inverse time feed rate codes for subsequent rotary
motion.
Example (L):
Input:
GOTO/6,6
GOTO/3,3
GOTO/2,2
GOTO/6,6
GOTO/10,10
N004G01X06Z06$
N005G91$
N006G01X-03Z-03$
N007X-01Z-01$
N008G90$
N009G01X06Z06$
N010X1Z1$
1.77.4 MODE/TABLE-ZAXIS[,ADJUST,d]
TABLE For colinear machines TABLE activates the W axis movements.
ADJUST,d Set the axis offset for the TABLE or ZAXIS in effect.
1.77.5 MODE/MILL-TURN,v[,nnnn]
114
Chapter 4: Command Reference
This statement causes the G-Post to read tool axis vector components for all points
in the CL file. The postprocessor converts these vector components to rotary axis
coordinates.
If you use MULTAX, it must appear after the MACHIN statement, but before the first
motion command. If the MULTAX command is not given, three-axis machine
processing is assumed.
Example:
MACHIN/UNCX01,1
MULTAX/ON
FROM/10,10,10,0,0,1
GOTO/5,5,10,0,1,0
GOTO/3,2,10,1,0,0
MULTAX/OFF
GOTO/10,10,10
FINI
1.79 OPSKIP
115
G-Post - Help Topic Collection
1.79.1 OPSKIP/ON-OFF
ON Generates block delete (/) codes for all subsequent punch blocks.
Example (L):
Input:
GOTO/6,6
OPSKIP/ON
GOTO/3,3
GOTO/2,2
OPSKIP/OFF
GOTO/0,0
GOTO/10,10
N004G01X06Z06$
/N005G01X03Z03$
/N006X02Z02$
N007G01X0Z0$
N008X1Z1$
Related Commands:
PLABEL/OPTION,12
PLABEL/OPTION,30
1.79.2 OPSKIP/n1,n2,n3,...,ON-OFF
Generates multiple block delete codes for all subsequent punch blocks. n1, n2, n3, ...
are the numerical codes to be output with the block deletes. Up to nine block deletes
may be used at one time. These block deletes may be selectively turned on and off,
based upon ON and OFF.
Example (L):
Input:
OPSKIP/4,5,ON
GOTO/3,3
GOTO/2,2
OPSKIP/4,OFF
116
Chapter 4: Command Reference
GOTO/0,0
GOTO/10,10
N004G01X06Z06$
/4/5N005G01X03Z03$
/4/5N006X02Z02$
/5N007G01X0Z0$
/5N008X1Z1$
Related Commands:
PLABEL/OPTION,12
PLABEL/OPTION,30
1.80 OPSTOP
OPSTOP
This statement relates the CL coordinate system to the machine coordinate system,
when the two are not coincidental. All the CL coordinates after the ORIGINstatement
are modified by the ORIGIN values.
Example:
Input:
ORIGIN/-10,-10
GOTO/0,0
ORIGIN/0
117
G-Post - Help Topic Collection
GOTO/10,10
N004G01X1Z1$
N005X1Z1$
Related Commands:
TRANS
This statement relates the CL coordinate system to the machine coordinate system,
when the two are not coincidental. All the CL coordinates after the ORIGINstatement
are modified by the ORIGIN values.
The x, y, and z values are stored until the rotary table is rotated to that angle by
ROTABL. At that time the x, y, and z values are used for the ORIGIN. The number of
EExample:
Input:
MACHINE/UNCX01,1
--
118
Chapter 4: Command Reference
--
ROTABL/ATANGL,45
--
ST
GOTO/P45 $$TABLE AT 45, 1 ORIGIN
--
ROTABL/ATANGL,90
--
ND
GOTO/P90 $$TABLE AT 90, 2 ORIGIN
--
ROTABL/ATANGL,0
--
--
FINI
Related Commands:
TRANS
1.83 PARTNO
PARTNO[text]
This is the only statement which is processed prior to the MACHINstatement in a part
program.
Related Commands:
PLABEL/OPTION,7
119
G-Post - Help Topic Collection
INCR-DECR For variable lead threading, INCR states increasing lead and
DECR states decreasing lead, with t1 as the ending threads per
unit.
The PITCH command is modal and the established lead remains in effect for all
subsequent THREADcommands, until changed by a new PITCH statement.
Related Commands:
PLABEL/OPTION,50
1.85 PLABEL
1.85.1 PLABEL/OPTION,n,TO,v
This command allows the part programmer to choose certain options provided by the
post processor.
To access the PLABEL/OPTION values directly from COMMON add 1830 to the option
number and this value will be the INTCOM location used by the desired
PLABEL/OPTION. PLABEL/OPTION,1 = INTCOM(1831), PLABEL/OPTION,2 =
INTCOM(1832), PLABEL/OPTION,3 = INTCOM(1833)&
n v Function
02 Add a blank space before each letter address in the MCD file.
Option 02 controls the verification print, which is the auxiliary information in the .LST
file. It contains for example, spindle speed, velocity, etc.
120
Chapter 4: Command Reference
05
05 00 Unpack MCD file output with one block per line. (default)
n v Function
02 Output a rewind stop code at start and end of the MCD file.
The following chart defines the decimal values for ASCII characters. The G-Post
requires the use of ASCII decimal values where specified.
121
G-Post - Help Topic Collection
∴= 32 ! = 33 = 34 # = 35 $ = 36 % = 37 & =38 = 39
( = 40 ) = 41 * = 42 + = 43 , = 44 - = 45 . = 46 / = 47
0 = 48 1 = 49 2 = 50 3 = 51 4 = 52 5 = 53 6 = 54 7 = 55
8 = 56 9 = 57 : = 58 ; = 59 < = 60 = = 61 > = 62 ? = 63
@ = 64 A = 65 B = 66 C = 67 D = 68 E = 69 F = 70 G = 71
H = 72 I = 73 J = 74 K = 75 L = 76 M = 77 N = 78 O = 79
P = 80 Q = 81 R = 82 S = 83 T = 84 U = 85 V = 86 W = 87
X = 88 Y = 89 Z = 90 [ = 91 \ = 92 ] = 93 ^ =95 _= 96
For example to change Rewind Stop code from = to %, you would enter:
PLABEL/OPTION,11,TO,37
122
Chapter 4: Command Reference
02 MULTAX axis limits will call the _REPOS macro from FIL.
Option 21 controls the format of the integer registers (N,G...) for punch output. The
4 digits correspond to leading zeros, trailing zeros, plus sign, and decimal point. Any
combination of the digits is acceptable. For example, 1100 will punch leading and
trailing zeros.
Option 22 controls the format of the decimal registers (X,Y...) for punch output. Any
combination of the digits is acceptable. For example, 1101 will punch leading and
trailing zeros with decimal point.
Option 23 specifies the contents of I,J and K registers for a circle block in absolute
mode.
04 Center coordinates.
Option 24 specifies the contents of I,J and K registers for a circle block in
incremental mode.
123
G-Post - Help Topic Collection
04 Center coordinates.
Option 26 controls the output of those points in the CL file, which have identical
coordinates and appear in succession.
n v Function
Option 27 controls the output of I,J and K registers in a circle block, when their value
is zero.
Option 31 controls the print output of the tape information which appears to the left
of the verification print. This can be the tape image or optionally edited for
readability. The editing places a decimal point for decimal registers (X,Y..) and does
not suppress zeros for integer registers (N,G..).
For some machine tools, the Rapid feedrate is required to be in IPMor IPR mode.
Option 32 selects this appropriate mode before the output of a rapid block. Assume
the current feed mode in the part program is IPR and your machine tool requires that
rapid must be in IPM mode. The postprocessor will automatically switch to IPMto
output the rapid block and then switch back to IPRmode for the next move.
124
Chapter 4: Command Reference
When the post is in simulation mode, no output is created for the print and punch
files. All processing takes place so that all common locations within the post are
updated. This option is normally set within FIL programs.
n v Function
Option 40 controls the motion analysis of rapid moves. This option applies only to
non-cycle RAPID moves.
125
G-Post - Help Topic Collection
Option 41 applies to machines with canned cycles. The Z value can be output as an
absolute coordinate in a cycle block or as an incremental value measured from the
rapid stop point.
Option 42 controls the output of a positioning block after each tool change. This
positioning block will contain the tool change coordinates for automatic tool change
machines or the current axes position for manual tool change machines. It is output
after each tool change for alignment.
Option 43 controls the output of motion in linear interpolation. Some machines will
not allow XYZ in the same block.
01 XY block followed by Z.
Some controllers have a built-in retract with G80 series cycles that causes a crash
condition when the postprocessor performs motion analysis in cycle mode. Option 44
will force the postprocessor to always output cycle motion in one block.
n v Function
126
Chapter 4: Command Reference
Option 46 controls the M-code to be output when the Auto Break feature generates a
break sequence.
01 Lead in radians.
04 Use ½ cutter height to shift tool tip along the tool axis to
calculate span length
Inverse time feedrate always uses analytical method and disregards tool length with
rotary tables, for the inverse feedrate arc length D=SQRTF(LIN**2 + ROT**2). Use
½ cutter height to shift tool-tip along the tool-axis to find the current span length
02 Make end point correction but do not output the linear move.
127
G-Post - Help Topic Collection
Option 53 relates the CL coordinate axes to the Lathe coordinate axes, which can be
interchanged for the ease of programming.
n v Function
Option 54 specifies the sequence of output for the axis preset blocks under
SET/START,AUTO mode.
Option 56 controls the output of the thread lead registers when the thread lead is
equal to zero.
128
Chapter 4: Command Reference
Option 62 suppresses the output of dwell times in the verification column for the
DELAY statement.
Option 63 has been added to allow blanks to be output with the multiple address
string. Setting this option to an ASCII pointer value will allow spaces to replace the
character that is designated.
n v Function
129
G-Post - Help Topic Collection
n v Function
Option 95 controls the information output at the beginning of the punch file.
130
Chapter 4: Command Reference
Option 96 determines whether or not the header line is inserted into the punch file
(VMS systems only).
02 Suppress CL verification.
Opt
ion
99
ma
y be used to designate a different rewind stop code at the end of the tape.
PLABEL/OPTION Examples:
Example (M):
Input:
131
G-Post - Help Topic Collection
MACHIN/UNCX01,1
PLABEL/OPTION,01,TO,01
PLABEL/OPTION,07,TO,01
FROM/10,10
GOTO/10,10
--
--
FINI
Example (L):
Input:
FROM/10,10
GOTO/5,7
GOTO/2,4
N001G71$
N002G90$
N003G94$
N004G01X1778Z127F00003$
N005X1016Z0508$
1.85.2 PLABEL/MODIFY,n,TO,v,TYPE,t
[DL1]
TYPE
INTCOM(n) = v
RELCOM(n) = v
DBLCOM(n) = v
132
Chapter 4: Command Reference
INTCOM(n) = ASCII(v)
INTCOM(v) = INTCOM(n)
RELCOM(v) = RELCOM(n)
DBLCOM(v) = DBLCOM(n)
INTCOM(v) = RELCOM(n)
INTCOM(v) = DBLCOM(n)
RELCOM(v) = INTCOM(n)
RELCOM(v) = DBLCOM(n)
DBLCOM(v) = INTCOM(n)
DBLCOM(v) = RELCOM(n)
INTCOM(v) = INTCOM(v) + n
INTCOM(v) = INTCOM(v) * n
RELCOM(v) = RELCOM(v) + n
RELCOM(v) = RELCOM(v) * n
DBLCOM(v) = DBLCOM(v) + n
DBLCOM(v) = DBLCOM(v) * n
1.86 POSTN
133
G-Post - Help Topic Collection
Example:
Input:
POSTN/XAXIS,15,YAXIS,10
GOTO/P1
GOHOME
1.86.2 POSTN/([XAXIS,xh][,YAXIS,yh][,ZAXIS,zh][,AAXIS,ah]
[,BAXIS,bh][,CAXIS,ch][,TABLE,wh) (M)
This command modifies the home coordinates, used by the GOHOME statement.
Example:
Input:
POSTN/XAXIS,15,ZAXIS,10
GOTO/P1
GOHOME
1.86.3 POSTN/IN-OUT,a1,v1,a2,v2.....an,vn[,NEXT]
This command provides a variable insert to output selected tape codes to the punch
file. This is a structured INSERT statement and the postprocessor only validates the
letter address. If you want to output a P value then the post must have a P letter
address.
134
Chapter 4: Command Reference
If some data already exists for output, the IN option will combine the POSTN codes
with the existing block and the OUT option will clear the current block and start a
new block for POSTN.
Example (M):
The following command generates a G40 block with the current X and Y coordinates:
Input:
G=7
X=24
Y=25
P1=POINT/10,10
GOTO/P1
POSTN/OUT,G,40,X,(CANF(P1,1)),Y,(CANF(P1,2))
FINI
Example (L):
The following command generates a G73 block with the current X and Z coordinates:
Input:
G=7
X=24
Z=26
P1=POINT/10,10
GOTO/P1
POSTN/OUT,G,73,X,(CANF(P1,2)),Z,(CANF(P1,1))
FINI
1.86.4 POSTN/ALL,OUT
This command will output all the registers in the tape format with their current
values in one block. Since the codes are output in one block, any validity for the
combination of the codes is not checked.
Example:
135
G-Post - Help Topic Collection
Input:
PARTNO
SEQNO/NEXT
POSTN/ALL,OUT
FINI
1.86.5 POSTN/ALL
This command will clear all the registers in the tape format without generating any
output. This command can be used to repeat any modal tape codes.
Example:
Input:
PARTNO
COOLNT/MIST
POSTN/ALL
FINI
1.87 PPRINT
PPRINT[text]
This statement allows the programmer comments and operator messages to appear
in the postprocessor print file and optionally in the punch file using the DISPLY/ON
command..
Related Commands:
DISPLY
1.88 PREFUN
PREFUN/g[,NEXT]
136
Chapter 4: Command Reference
This command should be used only when a postprocessor command is not available
for this G-code. When used, the postprocessor does not verify the validity of the G-
code.
Example:
Input:
$$ ARE AVAILABLE.
PREFUN/33,NEXT
PREFUN/22
N004G22G33$
Related Commands:
PLABEL/OPTION,34
1.89 RAPID
RAPID
Initiates rapid traverse feed for the next motion only. Subsequent motion will be at
the programmed feedrate.
Example (M):
Input:
MACHIN/UNCX01,1
P1=POINT/10,10,0
P2=POINT/20,20,0
P3=POINT/30,30,0
FEDRAT/10,IPM
137
G-Post - Help Topic Collection
RAPID
FINI
Example (L):
Input:
MACHIN/UNCL01,1
P1=POINT/10,10,0
P2=POINT/20,20,0
P3=POINT/30,30,0
FEDRAT/10,IPM
RAPID
FINI
1.90 REMARK
REMARK
REMARK is a programmer message and is not written to the listing or MCD files. It is
basically ignored and is thrown in the trash.
1.91 REPEAT
1.91.1 REPEAT/a1,a2,v[,ON-OFF]
138
Chapter 4: Command Reference
This command is used to output an extra address and value automatically whenever
a specific address is output.
1.91.2 REPEAT/a1,a2,a3,....,a25,,t1,v1,ALL
This command is similar to the above REPEAT, except that any one number of
addresses,a1,a2,a3...,a25, may force the output of the address t1 with the value of v1.
This command does not have the ON-OFF option like the above command.
used to output an extra address and value automatically whenever a specific address
is output.
ALL Specifies that any address a1,a2,a3,...,a25 will force the output of t1
and v1.
1.91.3 REPEAT/a1,v1
This command will output the address a1 with a value of v1 on every block until
REPEAT/OFF is encountered.
1.91.4 REPEAT/OFF
Turns off all REPEAT commands and clears all stored REPEAT values.
Caution:
REPEAT commands may be turned on and off at any time. It is important to remember that it is
possible to fill up all of the REPEAT locations. REPEAT/OFF clears all of these locations.
139
G-Post - Help Topic Collection
Example:
Input:
REPEAT/26,7,43
REPEAT/26,8,2
RAPID,GOTO/4,5,6
Output:
N008X4.Y5.$
N0090G00G43Z6.H02$
Example:
Input:
REPEAT/24,25,26,8,99,ALL
RAPID,GOTO/10,10,10
Output:
N008X10.Y10.H99$
N009Z10.$
1.92 RESET
RESET
This command generates a restart sequence, which contains the current speed, feed
rate and coolant conditions, with a motion block to the current axes position in
absolute mode.
This command retracts the tool tip at rapid rate to the last CLEARP/XYPLAN,d value.
Related Commands:
140
Chapter 4: Command Reference
CLEARP
1.94 REWIND
REWIND/[n]
Generates a rewind M-code, normally M30. Some CAM systems require n to satisfy
the syntax. It is ignored by the postprocessor.
Related Commands:
PLABEL/OPTION,8
PLABEL/OPTION,11
1.95.1 ROTABL/AAXIS-BAXIS-CAXIS,ATANGL-INCR,a,[CLW-
CCLW][,NEXT-NOW] (M)
(5 Axis Machine)
AAXIS
BAXIS
CLW
NEXT Causes the table motion to be output with the next linear motion
as a contouring move.
141
G-Post - Help Topic Collection
CLW
NEXT Causes the table motion to be output with the next linear motion
as a contouring move.
1.96.1 ROTABL/AAXIS-BAXIS-CAXIS,ATANGL-INCR,a,[CLW-
CCLW] [,NEXT-NOW](M)
(5 Axis Machine)
AAXIS
BAXIS
CLW
142
Chapter 4: Command Reference
NEXT Causes the table motion to be output with the next linear motion
as a contouring move.
1.97.1 ROTATE/AAXIS-BAXIS-CAXIS,ATANGL-INCR,a,[CLW-
CCLW][,NEXT][,OUT] (M)
This statement generates the rotary table motion block.
AAXIS
BAXIS
CLW
NEXT Causes the table motion to be output with the next linear motion
as a contouring move.
143
G-Post - Help Topic Collection
1.98.1 ROTHED/AAXIS-BAXIS-CAXIS,ATANGL-INCR,a[,CLW-
CCLW][,NEXT-NOW] (M)
(5 Axis Machine)
AAXIS
BAXIS
CLW
NEXT Causes the head motion to be output with the next linear motion
as a contouring move.
Related Commands:
ORIGIN
ROTHED/ATANGL-INCR,a[,CLW-CCLW][,NEXT-NOW] (M)
(4 Axis Machine)
CLW
NEXT Causes the head motion to be output with the next linear motion
as a contouring move.
144
Chapter 4: Command Reference
Related Commands:
ORIGIN
The first number is the number of tool changes in this program. In this case 3 tool
changes.
145
G-Post - Help Topic Collection
Ninth value is the TURRET being used, 1=FRONT, 2=REAR, 3=SADDLE, 4=MAIN,
5=RAIL and 0=LOADTL
This statement generates a fixture offset code to initiate the X-Y fixture offsets, with
the offset register number h. The address is selected by the Option File Generator.
1.100.2 SELECT/gg,ADJUST,dd
This statement generates a fixture offset gg G-code to initiate the X-Y fixture offsets,
with the offset register number dd. The address is selected by the Option File
Generator.
A head rotation range that will position on either side of the vertical axis presents
two possible machine positions that will satisfy the geometry of a given location. The
following vocabulary is provided so the programmer can control which condition is
satisfied.
This statement allows the A-axis to position between the front and rear positions.
A head rotation range that will position on either side of the vertical axis presents
two possible machine positions that will satisfy the geometry of a given location. The
following vocabulary is provided so the programmer can control which condition is
satisfied.
This statement allows the A-axis to position to the front or the rear position initially
and then change to the opposite condition for the remainder of the CL points.
146
Chapter 4: Command Reference
A head rotation range that will position on either side of the vertical axis presents
two possible machine positions that will satisfy the geometry of a given location. The
following vocabulary is provided so the programmer can control which condition is
satisfied.
This is the default modal head condition which confines the A-axis to the front
position (1st and 4th quadrants).
A head rotation range that will position on either side of the vertical axis presents
two possible machine positions that will satisfy the geometry of a given location. The
following vocabulary is provided so the programmer can control which condition is
satisfied.
This statement confines the A-axis to the rear position (2nd and 3rd quadrants).
1.101 SEQNO
1.101.1 SEQNO/k,INCR[,m[,n]]
k Is the starting sequence number.
1.101.2 SEQNO/k
Generates a sequence number kfor the next block only.
1.101.3 SEQNO/0
Causes sequence numbers to be same as CL record numbers.
1.101.4 SEQNO/OFF
Terminates sequence number output.
1.101.5 SEQNO/ON
Reinstates the sequence number output to its last condition after a SEQNO/OFF or
SEQNO/0 request.
147
G-Post - Help Topic Collection
1.101.6 SEQNO/NEXT
Generates the next block as an alignment block with the address selected by the
option file generator in the sequence number.
Related Commands:
PLABEL/OPTION,30
x,z The values output for the X and Z axes in machine coordinates.
1.103.1 SET/START([,XAXIS,x][,YAXIS,y][,ZAXIS,z]
[,AAXIS,a][,BAXIS,b][,CAXIS,c]) (M)
This statement generates a preset block to preset the axes registers.
148
Chapter 4: Command Reference
Only the specified axes will be preset. They may appear in any order in the above
statement.
Example:
Input:
SET/START,XAXIS,-1,BAXIS,90
GOTO/0,0,-.5
N0004G92X-1.Y-1.B90.$
N0005G01X0.Y0.Z-5.F10.$
1.104.1.1 SPINDL/s[,RPM-SFM][,CLW-CCLW][,RANGE,n]
[,MAXRPM,m][,RADIUS,r][,INCR,i][,LINEAR]
Causes an S-code block to be output for spindle condition.
149
G-Post - Help Topic Collection
MAXRPM, RADIUS, and LINEAR are non-modal options. Initially RPM,RANGE,1 and
CLW are assumed.
INCR 0.0
1.104.1.2 SPINDL/ON-OFF
ON Reinstates the last spindle condition.
1.104.1.3 SPINDL/LOCK,AUTO-ON-OFF
For SFM mode, this statement provides speed change control.
AUTO Inhibits speed changes for rapid moves and allows speed
changes for feed moves automatically. This is the default
condition assumed.
1.104.2.1 SPINDL/s[,RPM-SFM][,CLW-CCLW][,RANGE,n]
[,MAXRPM,m][,RADIUS,r]
Causes an S-code block to be output for spindle condition.
150
Chapter 4: Command Reference
1.104.2.2 SPINDL/ON-OFF
ON Reinstates the last spindle condition.
1.104.2.3 SPINDL/LOCK,AUTO-ON-OFF
SPINDL/LOCK,AUTO,LAST
For SFM mode, this statement provides speed change control.
AUTO Inhibits speed changes for rapid moves and allows speed
changes for feed moves automatically. This is the default
condition assumed.
1.105.1 SPINDL/s[,CLW-CCLW][,RANGE,n]
Causes an S-code block to be output for spindle condition.
151
G-Post - Help Topic Collection
1.105.2 SPINDL/ON-OFF
ON Reinstates the last spindle condition.
1.105.3 SPINDL/LOCK
This statement generates an M-code for spindle key lock.
1.106 STARTUP
This is not a postprocessor command or CL record but it is the first thing that
happens when the postprocessor starts processing. Using the Option File Generator
you can specify the initial data in the MCD file. Following is a list of possible output
blocks for the start of each MCD file. Each output sequence may be turned on or off
using the Option File Generator. You cannot change the order of these output blocks.
4. Program number
5. Time Stamp
1.107 STOP
STOP
152
Chapter 4: Command Reference
1.108.1 THREAD/ON-TURN-FACE
Causes the next motion block to be output as a thread block. The thread chasing axis
is stated to be TURN for CL X or FACE for CL Y.
1.108.2 THREAD/OUT[,XAXIS,x][,YAXIS,y][,INCR]
The THREAD/OUT command is used to enable automatic pullout.
Example:
Input:
THREAD/OUT,YAXIS,0.125,INCR
PITCH/8
GOTO/10,3.875
THREAD/ON
GOTO/5,3.875
N0090G01X3.875Z10.$
N0100G33X4Z5.K125$
153
G-Post - Help Topic Collection
1.108.3 THREAD/AUTO[,LEFT-RIGHT][,IN-OUT],START,s,
LENGTH,l,DIAMTR,d1,d2,INCR,s1[,s2][,ATANGL,a][,PULBAC,d,a][,
BOTH]
[,PITCH,p][,REPEAT,r][,OPSTOP][,OPSTOP][,SELECT,s][,CLEARP,x
,y] [,FEDRAT,f1,f2,f3,f4,f5] [,START,s,n][,TAPER,x,y,a]
The THREAD/AUTO command allows you to program an entire threading operation by
means of a single statement.
You can specify a variable number of data items, according to the options you desire,
and you can specify them in any order. Each item consist of either a vocabulary word
only or a vocabulary word followed by one or more entities in a fixed order.
START
LENGTH
DIAMTR
INCR
The THREAD/AUTO command assumes a point tip cutter and hence ignores the
CUTTER statement in effect.
The THREAD/AUTO process generates a series of passes, cutting into the part a
specified amount on each pass until the specified total depth has been reached.
1. The Step-in move, which moves the cutter into the part an amount
specified by INCR. This move is perpendicular to the centerline unless
specified otherwise by ATANGL.
3. The Pull-back move, which moves the cutter away from the part.
This move is perpendicular to the centerline unless otherwise specified
by PULBAC.
4. The Return move, which moves the cutter back to a position from
which the step-in move for the next pass can be made. This move is
always parallel to the centerline.
RIGHT or LEFT
154
Chapter 4: Command Reference
DIAMTR,d1,d2 Specifies the major and minor diameters of the thread. The
order in which the two diameters are given is immaterial; the
larger is used as the major diameter and the smaller as the
minor. External threads are cut from major diameter to minor;
internal threads from minor to the major.
INCR,s1,s2 When you specify two values following INCR, the larger is
used as the depth of cut for the first pass and the smaller as
the depth of cut for the final pass. Intermediate passes are
made at proportionately smaller depths to provide a smooth
transition from the starting depth to the final depth. If you
specify two equal depth values, the result is the same as if you
specified a single value.
ATANGL,a Specifies the angle between the step-in move and a line
perpendicular to the centerline. It is positive if the step-in move
is in the same general direction as the thread move; negative if
opposite. The angle must be less than 90 degrees in absolute
value. ATANGL,0 is assumed.
PULBAC,d,a Specifies the distance and angle of the pull-back move. The
distance is measured from the end of the threading move in a
direction perpendicular to the centerline. The angle is measured
between the pull-back line and a line perpendicular to the
centerline. It is positive if the pull-back move is in the same
general direction as the threading move; negative if opposite.
155
G-Post - Help Topic Collection
BOTH Specifies that both the treading move and the pull-back
move are to be made in threading mode. By default the pull-
back move is NOT made in threading mode.
PITCH,p Specifies the number of threads per inch. For multiple start
threading you must specify PITCH in the THREAD/AUTO
command. Otherwise, you may specify PITCH either in the
THREAD/AUTO statement or as a regular postprocessor
statement preceding the THREAD/AUTO statement.
The THREAD/AUTO data items SELECT, CLEARP, OPSTOP, and OPSKIP provide
various options relative to a move to a clearance point that is made on each
repetition of the final pass except the last. These words are ignored if REPEAT,O is
given or implied since the final pass is made only once in this case.
FEDRAT,f1,f2,f3,f4,f5
156
Chapter 4: Command Reference
The FEDRAT data item can be used to specify the feed rate for each of the four
moves of a regular pass as well as the move to and from the clearance point.
3. A scalar zero causes no feed rate command, neither FEDRAT nor RAPID
to be output preceding the move with the result that the previous
established FEDRAT command remains in effect.
FEDRAT,RAPID,0,RAPID,RAPID,RAPID
Tapered Threading
TAPER,x,y,a You should specify TAPER only if the thread is not parallel to
the centerline. The entries x and y are the centerline and cross
slide dimensions, respectively, of any point on the major
diameter of the thread, if external or minor diameter, if
internal. The angle of taper, a, is measured between the
tapered line and the centerline and is positive if movement
along the taper is in the general direction opposite the stepover
157
G-Post - Help Topic Collection
The thread move is started at the point where the tapered line
intersects the line perpendicular to the centerline at the START
dimension.
1.109.1 TLSPEC/CENTER,RIGHT-LEFT,IN-OUT
This command is used by the postprocessor the determine the direction for drilling
CYCLEs.
1.109.2 TLSPEC/OFFSET,RIGHT-LEFT-ON,DIAMTR,IN-OUT-
ON
This command is NOT used by the postprocessor but is does set the internal flags in
the post and is used by NC Verify to determine the tool orientation to the part.
158
Chapter 4: Command Reference
1.110 TMARK
TMARK/[n]
Causes a rewind stop code to be output. Certain CAM systems require n to satisfy
the syntax. It is ignored by the postprocessor.
The default rewind stop code (=) is set in the option file generator.
Related Commands:
PLABEL/OPTION,8
PLABEL/OPTION,11
1.111 TRANS
All the CL coordinates after the TRANS statement are modified by the TRANS values.
159
G-Post - Help Topic Collection
Example:
Input:
TRANS/10,10
P1=POINT/5,5,0
P2=POINT/3,3,0
GOTO/P1
GOTO/P2
TRANS/0
GOTO/10,10
N004G01X15Z15$
N005X13Z13$
N006X1Z1$
All the CL coordinates after the TRANS statement are modified by the TRANS values.
Example (M):
Input:
GOTO/3,3,0
TRANS/10,10,1
P1=POINT/4,6,.5
P2=POINT/5,5,2
TRANS/0
GOTO/7,7,4
N0004G01X003Y003Z0$
N0005X014Y016Z0015$
160
Chapter 4: Command Reference
N0006X015Y015Z003$
N0007X007Y007Z004$
Related Command:
ORIGIN
1.111.3 TRANS/xi,xj,xk,xd,yi,yj,yk,yd,zi,zj,zk,zd
This statement relates the machine coordinate system to the CL coordinate system,
when the two are not coincidental. All the CL coordinates after the TRANSstatement
are modified by the TRANS values. A rotation can be included with translation for the
CL coordinates.
X axis xi xj xk xd X Output
Y axis yi yj yk yd Y Output
Z axis zi zj zk zd Z Output
6*-1+3*0+7*0+5=-1
161
G-Post - Help Topic Collection
1.111.4 TRANS/xi,xj,xk,xd,yi,yj,yk,yd,zi,zj,zk,zd[,OPTION
,00-01-10] (M)
This TRANS statement is used to translate just the point or the vector.
1.112.1.1 TURRET/p,f,x,y[,CLW-CCLW]
Generates a T-code for turret indexing. Assumes the subsequent CL coordinates refer
to the tool tip.
x,y Are the gauge lengths measured from the turret reference point
along CL axes.
1.112.1.2 TURRET/CENTER[,OFF]
Specifies that the subsequent CL coordinates refer to the turret reference point
instead of the tool tip.
OFF Specifies that the CL coordinates refer to tool tip, which is the
initial default condition.
1.112.1.3 TURRET/0
Generates a T00 code and assumes that the subsequent CL coordinates refer to the
turret reference point.
162
Chapter 4: Command Reference
Related Command:
FROM
Example:
Assuming that the tool is on turret face 1 and that offset register number 1 is to be
used, the complete Turret command is:
TURRET/1,1,-2.5,-4.5
The value of the gauge length along the CL X axis is -2.5, since the distance from the
reference point to the tool tip center is 2.5 in the negative direction. Similarly, the
value of the gauge length along CL Y-axis is -4.5 as shown in .
Example:
Assuming that the tool is on turret face 1 and that offset register number 1 is to be
used, the complete Turret command is:
TURRET/1,1,-2.5,4.5
The value of the gauge length along the CL X axis is -2.5, since the distance from the
reference point to the tool tip center is 2.5 in the negative direction. Similarly, the
value of the gauge length along CL Y-axis is 4.5 as shown in .
163
G-Post - Help Topic Collection
Example:
VTL:
Assuming that the tool is on turret face 1 and that offset register number 1 is to be
used, the complete Turret command is:
TURRET/1,1,-2.5,-4.5
The value of the gauge length along the CL X axis is -2.5, since the distance from the
reference point to the tool tip center is 2.5 in the negative direction. Similarly, the
value of the gauge length along CL Y-axis is -4.5 as shown in .
164
Chapter 4: Command Reference
1.112.2.1 TURRET/p,f,x,y[,CLW-CCLW][,FRONT-REAR]
Generates a T-code for turret indexing and assumes that the subsequent CL
coordinates refer the tool tip.
x,y Are the gage lengths measured from the turret reference point
along CL XY axes.
FRONT
REAR Specifies the turret type. This is a modal option and initially the
primary turret is assumed.
1.112.2.2 TURRET/CENTER[,OFF]
Specifies that the subsequent CL coordinates refer to the turret reference point
instead of the tool tip.
OFF Specifies that the CL coordinates refer to tool tip, which is the
initial default condition.
1.112.2.3 TURRET/0
Generates a T00 code and assumes that the subsequent CL coordinates refer to the
turret reference point.
1.112.2.4 TURRET/FRONT-REAR
This command switches turret type without indexing the turret. Subsequent CL
points should refer to the turret selected. This command is recommended for use
with zero gauge lengths.
Related Commands:
FROM
Example:
Secondary Turret:
Assuming that the tool is on REAR turret face 1 and that offset register number 1 is
to be used, the complete Turret command is:
TURRET/1,1,-2.5,-4.5,REAR
165
G-Post - Help Topic Collection
The value of the gauge length along the CL X axis is -2.5, since the distance from the
reference point to the tool tip center is 2.5 in the negative direction. Similarly, the
value of the gauge length along CL Y-axis is -4.5 as shown in .
Example:
Primary Turret:
Assuming that the tool is on FRONT turret face 1 and that offset register number 1 is
to be used, the complete Turret command is:
TURRET/1,1,-2.5,4.5,FRONT
The value of the gauge length along the CL X axis is -2.5, since the distance from the
reference point to the tool tip center is 2.5 in the negative direction. Similarly, the
value of the gauge length along CL Y-axis is 4.5 as shown in .
166
Chapter 4: Command Reference
167
1 Lathe–Common Variables
Introduction
This chapter contains a reference list of the Lathe G-Post COMMON variables.
INTCOM Variables
NOTE: Set INTCOMs 1-52 to 53 to cancel letter. Set to position of letter in tape
format to output letter. You cannot output more than one letter in the same
position at the same time.
Default = 53
Range = 1 to 26 , 53
Default = 53
Range = 1 to 26,53
Default = 53
Range = 1 to 26,53
Default = 53
Range = 1 to 26,53
169
G-Post - Help Topic Collection
Default = 53
Range = 1 to 26,53
Default = 8
Range = 1 to 26,53
Default = 2
Range = 1 to 26,53
Default = 53
Range = 1 to 26,53
Default = 6
Range = 1 to 26,53
Default = 5
Range = 1 to 26,53
Default = 53
Range = 1 to 26,53
Default = 53
170
1 Lathe–Common Variables
Range = 1 to 26,53
Default = 11
Range = 1 to 26,53
Default = 1
Range = 1 to 26,53
Default = 53
Range = 1 to 26,53
Default = 53
Range = 1 to 26,53
Default = 53
Range = 1 to 26,53
Default = 53
Range = 1 to 26,53
Default = 9
Range = 1 to 26,53
171
G-Post - Help Topic Collection
Default = 10
Range = 1 to 26,53
Default = 53
Range = 1 to 26,53
Default = 53
Range = 1 to 26,53
Default = 53
Range = 1 to 26,53
Default = 4
Range = 1 to 26,53
Default = 3
Range = 1 to 26,53
Default = 53
Range = 1 to 26,53
Default = 53
172
1 Lathe–Common Variables
Range = 1 to 53
Default = 53
Range = 1 to 53
Default = 53
Range = 1 to 53
Default = 53
Range = 1 to 53
Default = 53
Range = 1 to 53
Default = 16
Range = 1 to 53
Default = 53
Range = 1 to 53
Default = 53
Range = 1 to 53
Default = 53
173
G-Post - Help Topic Collection
Range = 1 to 53
Default = 53
Range = 1 to 53
Default = 53
Range = 1 to 53
Default = 53
Range = 1 to 53
Default = 53
Range = 1 to 53
Default = 53
Range = 1 to 53
Default = 53
Range = 1 to 53
Default = 53
Range = 1 to 53
174
1 Lathe–Common Variables
Default = 53
Range = 1 to 53
Default = 53
Range = 1 to 53
Default = 17
Range = 1 to 53
Default = 53
Range = 1 to 53
Default = 15
Range = 1 to 53
Default = 14
Range = 1 to 53
Default = 53
Range = 1 to 53
175
G-Post - Help Topic Collection
Default = 13
Range = 1 to 53
Default = 12
Range = 1 to 53
Default = 53
Range = 1 to 53
Default = 78
Range = 32 to 96
Default = 71
Range = 32 to 96
Default = 88
Range = 32 to 96
Default = 90
Range = 32 to 96
176
1 Lathe–Common Variables
Default = 73
Range = 32 to 96
Default = 75
Range = 32 to 96
Range = 32 to 96
Default = 70
Range = 32 to 96
Default = 83
Range = 32 to 96
Default = 84
Range = 32 to 96
Default = 77
Range = 32 to 96
Default = 88
Range = 32 to 96
177
G-Post - Help Topic Collection
Default = 90
Range = 32 to 96
Default = 88
Range = 32 to 96
Default = 90
Range = 32 to 96
Default = 70
Range = 32 to 96
Default = 83
Range = 32 to 96
178
1 Lathe–Common Variables
EXAMPLE: 34 40 etc.
Default = 3030
Range = 0 to 9999
Default = 2020
Range = 0 to 9999
Default = 2433
Range = 0 to 9999
Default = 2433
Range = 0 to 9999
Default = 2433
Range = 0 to 9999
Default = 2433
Range = 0 to 9999
179
G-Post - Help Topic Collection
Range = 0 to 9999
Default = 3241
Range = 0 to 9999
Default = 2020
Range = 0 to 9999
Default = 4040
Range = 0 to 9999
Default = 2020
Range = 0 to 9999
Default = 0
Range = 0 to 9999
180
1 Lathe–Common Variables
Default = 1100
Range = 1 to 1111
Default = 1100
Range = 1 to 1111
Default = 1000
Range = 1 to 1111
Default = 1000
Range = 1 to 1111
Default = 1000
Range = 1 to 1111
Default = 1000
Range = 1 to 1111
181
G-Post - Help Topic Collection
Default = 1000
Range = 1 to 1111
Default = 1000
Range = 1 to 1111
Default = 1100
Range = 1 to 1111
Default = 1100
Range = 1 to 1111
Default = 1100
Range = 1 to 1111
Default = 0
Range = 0 to 1111
Default = 1
Range = 0 to 32766
Default = 2
182
1 Lathe–Common Variables
Range = 0 to 32766
Default = nn
Range = 0 to 32766
Default = 0
Range = 0 to 32766
be set manually.
Default = 0
Range = 0 to 2500
Default = 0
Range = 0 to 2500
Default = 0
Range = 0 to 1700
183
G-Post - Help Topic Collection
Default = 0
Range = 0 to 1700
Default = 72 (OFF)
Default = 72 (OFF)
Default = 72 (OFF)
Default = 72 (OFF)
Default = 72 (OFF)
184
1 Lathe–Common Variables
Cannot be reset.
Default = 73 (IPM)
Default = 0
2: Circle in process
Default = 1
185
G-Post - Help Topic Collection
Default = 82 (BORE)
Default = 81 (FACE)
Default = 163
186
1 Lathe–Common Variables
Default = 163
Default = 163
Default = 163
Default = 81
Default = 83
187
G-Post - Help Topic Collection
Default = 84
Default = 85
Default = 89
Default = 87
Default = 82
188
1 Lathe–Common Variables
Default = 86
Default = 72 (OFF)
53 (NOMORE): for
CYCLE/NOMORE.
Default = 71 (ON)
Default = 72 (OFF)
189
G-Post - Help Topic Collection
Default = 2222
Default = 2424
Default = 25
Default = 72 (OFF)
190
1 Lathe–Common Variables
Default = 71 (ON)
Default = 73 (IPM)
Default = 93
Default = 72 (OFF)
191
G-Post - Help Topic Collection
Default = 73 (IPM)
Example: If the dwell code was G104, set IGDWL to 4, and then set IPREFN(4) to
104.
Default = 90
Default = 3
Default = 2
192
1 Lathe–Common Variables
Default = 80
Default = 40
Default = 41
Default = 42
193
G-Post - Help Topic Collection
Default = 4
Default = 91
Default = 70
194
1 Lathe–Common Variables
Default = 94
Default = 95
Default = 1
195
G-Post - Help Topic Collection
Default = 71
Default = 0
Default = 97
Default = 92
196
1 Lathe–Common Variables
Default = 96
Default = 33
Default = 34
197
G-Post - Help Topic Collection
Default = 35
SFM mode.
Default = 80 (MLOKOF)
Default = 72 (OFF)
Default = 90 (IGABS)
198
1 Lathe–Common Variables
INTCOM(534)
Default = 72 (OFF)
Default = 0
Default = 0
199
G-Post - Help Topic Collection
Default = 72 (OFF)
Default = 72 (OFF)
Default = 0
Range = 0 to 32766
Default = 0
Range = 0 to 32766
Default = 3241
200
1 Lathe–Common Variables
Default = 1
Range = 0 to 32766
Default = 2
Range = 0 to 32766
location number.
Default = nnn
Range = 0 to 32766
Default = 0
Range = 0 to 32766
Example: If the dwell code was G104, set IGDWL to 4, then set IPREFN(4) to 104.
Default = 1423
201
G-Post - Help Topic Collection
2 for vertical
1 for vertical
Default = 72 (OFF)
Default = 72 (OFF)
Default = 72 (OFF)
202
1 Lathe–Common Variables
Default = 72 (OFF)
Default = 0
1: Equation
Default = 0
Range = 0 to 32766
203
G-Post - Help Topic Collection
Range = +-32766
Range = +-32766
Range = +-32766
Range = +-32766
(2) = 66 (INCR)
204
1 Lathe–Common Variables
Default = 88 (AUTO)
Default = 72 (OFF)
Default = 0
Default = 88 (AUTO)
205
G-Post - Help Topic Collection
Default = 78 (RPM)
Range = 78 (RPM)
115 (SFM)
Default = 78 (RPM)
Range = 78 (RPM)
115 (SFM)
Default = 25 (NSPDHI(1))
Default = 1 (NSPDLW(1))
Default = 0
Range = 1 to 99
206
1 Lathe–Common Variables
Default = 72 (OFF)
Default = 0
Default = 1
Range = 1 to 6
Default = 72 (OFF)
Default = 72 (OFF)
81 (FACE)
80 (TURN)
Default = 1524
207
G-Post - Help Topic Collection
Default = 0 (off)
Range = 0 (off)
1 Constant lead
2 Increasing lead
3 Decreasing lead
Default = 0
Range = 0 to 32766
Default = 72 (OFF)
Default = 72 (OFF)
MTRCCW INTCOM(1985)
208
1 Lathe–Common Variables
Default = 1 - FRONT
Range = 1 - FRONT
2 - REAR
3 - SADDLE
4 - MAIN
Default = -1
Range = 1, -1
Default = 0
Range = 0 to 32766
Default = 24 (X)
209
G-Post - Help Topic Collection
Default = 25 (Y)
Default = 0
Range = 0 to 32767
Range = 32 to 96
LINCT 1954 Line count of the current page for the print
output.
Default = 0
210
1 Lathe–Common Variables
Range = 0 to 32766
Default = 72 (OFF)
Default = 0
Range = 0 to 99
processing CL information.
Default = 72 (OFF)
Default = 72 (OFF)
Default = 8
211
G-Post - Help Topic Collection
Default = 7
Default = 9
MCLMST INTCOM(1960):
Default = 2
212
1 Lathe–Common Variables
Default = 50
Default = 51
Default = 80
Default = 81
213
G-Post - Help Topic Collection
Default = 1
Default = 5
Default = 0
Range = 0 No move, 1 Z, 2 X, 3 ZX
214
1 Lathe–Common Variables
Default = 30
Default = 4
Default = 3
Default = 5
215
G-Post - Help Topic Collection
Default = 0
Default = 24
Default = 23
Default = 3
216
1 Lathe–Common Variables
Default = 51
Range = 1 to 32766
Default = 2
Default = 0
Range = 0 to 32767
Default = 0
Default = 0
Range = 0 - Off
Default = 0
217
G-Post - Help Topic Collection
Range = 2 to 99
Range = 1 to 98
Default = 2
Range = 1 to 6
Default = 1
Range = 1 to 32766
NTOOL 2008 Pointer into the tool table for last tool
stored.
Default = 0
Range = 0 to 99
Default = 99
Range = 1 to 99
218
1 Lathe–Common Variables
Default = 11
Range = 1 to 26
Default = 17
Default = 0
Range = 0 to 32766
Default = 0
ITITLE(33) 2019 Array for user title. Must be set from within
the Option File
Default = 0
Range = 0 - Off
219
G-Post - Help Topic Collection
Default = 0 (off)
Default = 0
Default = 72 (OFF)
220
1 Lathe–Common Variables
Default = 0 (Unused)
Range = 0 to 26 (A-Z)
Default = 0 (off)
Default = 72 (OFF)
Default = 0 (Off)
71 (ON)
72 (OFF)
Default = 0 (Off)
221
G-Post - Help Topic Collection
Default = 0 (Unused)
Range = 0 to 26 (A-Z)
Default = 0 (off)
Range = 0 - off
1 - Maximum on GOHOME
2 - Maximum on TURRET
3 - Maximum on OPSTOP
4 - Maximum on STOP
5 - Maximum no KEYWORD
Default = 0 (off)
222
1 Lathe–Common Variables
Range = (n,1-8) - 32 to 96
ITY5SW2450 Obsolete
(2) 0
(2) 0-9
Default = 0 (Unused)
Range = 0 to 26 (A-Z)
223
G-Post - Help Topic Collection
Default = 0 (off)
Range = 1 - 32766
Default = 0 (no)
Range = 0 (no)
1 (yes)
Default = 0 (off)
Range = 0 (off)
1 - couplet is absolute
2 - couplet is incremental
Default = 0 (off)
Range = 0 (off)
1 - couplet is absolute
2 - couplet is incremental
Default = 0 (off)
224
1 Lathe–Common Variables
Range = 1 - 32766
Default = 72 (OFF)
Default = 72 (OFF)
Default = 0 (unused)
Range = 0, 32 - 96
Default = 18
Default = 17
225
G-Post - Help Topic Collection
Default = 28
Default = 27
Default = 0 (off)
Default = 0 (off)
Default = 54
226
1 Lathe–Common Variables
Default = 54
Default = 59
Default = 0 (off)
Default = 0 (yes)
227
G-Post - Help Topic Collection
Default = 0 (off)
Default = 0 (off)
Default = 0 (off)
Default = 0 (off)
Default = 92
228
1 Lathe–Common Variables
Default = (1) 1
Default = (2) 1
Default = 0 (off)
Default = 841
Default = 1
Range = 0-32767
229
G-Post - Help Topic Collection
TLSPEC/OFFSET,RIGHT-LEFT-ON,OUT-IN-ON
Default = (1) 0
Default = (2) 0
Default = 0 (off)
Default = 0 (all)
Internal setting.
Internal setting.
Internal setting.
Internal setting.
Internal setting.
230
1 Lathe–Common Variables
Internal setting.
Internal setting.
Internal setting.
Internal setting.
Internal setting.
Default = 76
Range = 0-32767
Default = 76
Range = 0-32767
Default = 60
Range = 0-32767
231
G-Post - Help Topic Collection
Default = 40
Range = 0-32767
Default = 31
Range = 0-32767
Default = 40
Range = 0-32767
Default = 40
Range = 0-32767
Default = 31
Range = 0-32767
Default = 31
Range = 0-32767
Default = 16
232
1 Lathe–Common Variables
Default = 17
Default = 18
Default = 1100
1 or 0 1 or 0
1 or 0 1 or 0
Default = 1100
1 or 0 1 or 0
1 or 0 1 or 0
Default = 0001
1 or 0 1 or 0
1 or 0 1 or 0
233
G-Post - Help Topic Collection
Default = 1100
1 or 0 1 or 0
1 or 0 1 or 0
Default = 1100
1 or 0 1 or 0
1 or 0 1 or 0
Default = 0001
1 or 0 1 or 0
1 or 0 1 or 0
Default = 0001
1 or 0 1 or 0
1 or 0 1 or 0
Default = 6
234
1 Lathe–Common Variables
Default = 0 (off)
Default = 0
Range = 0 -10
Do not change.
Default = 0 (off)
Default = 0 (off)
Do not change.
235
G-Post - Help Topic Collection
Do not change.
Do not change.
Default = 1
Range = 1-33
Do not change.
236
1 Lathe–Common Variables
Default = 0 (off)
Default = 0
Default = 0
Default = 0 (off)
Default = 0
Range = 0 -10
237
G-Post - Help Topic Collection
Do not change.
Default = 0 = Off
Range = 0 = Off
1 = On
238
1 Lathe–Common Variables
239
G-Post - Help Topic Collection
Range = (n,1-8) - 32 to 96
= 1, Output X12
Default = 98
Range = 0-32767
240
1 Lathe–Common Variables
Default = 99
Range = 0-32767
DBLCOM Variables
Default = 0.0
241
G-Post - Help Topic Collection
Default = 0.0
Default = 0.0
Default = 0.0
Default = 25.4
Default = .0167
Default = 10.0
Default = 300.0
Range = 1 to 99999.0
242
1 Lathe–Common Variables
Default = 0.0
Default = 0.0
Default = 2.0
Default = 0.0
Default = 2.0
Default = 2.0
Default = 0.0
243
G-Post - Help Topic Collection
Default = 0.0
Default = 2.0
Default = 0.0
Default = 99.9999
Range = +-99999.0
Default = 0.0
244
1 Lathe–Common Variables
Default = 0.3
Default = 0.0001
Default = 0.01
Default = 99.9999
Default = 99.99
Default = 0.0
245
G-Post - Help Topic Collection
Do not change
Default = 1.0
Default = 0.0
Default = 0.0
Default = 0.0
Default = 0.0
Default = 0.0
246
1 Lathe–Common Variables
Default = 300.0
Default = 300.0
Default = 0.0
Default = 0.01
Default = 0.01
247
G-Post - Help Topic Collection
Default = 300.0
Default = 300.0
Default = 0.0
Default = 0.01
Default = 9.9999
Default = 10.0
Range = +-99999.0
248
1 Lathe–Common Variables
Default = 10.0
Range = +-99999.0
Default = 10.0
Range = +-99999.0
Default = 10.0
Range = +-99999.0
Default = 0.0
Default = 0.0
Do not change
249
G-Post - Help Topic Collection
Default = 0.0
Range = +-99999.0
Default = 0.0
Range = +-99999.0
Default = 0.0
Range = +-99999.0
Default = 0.0
Range = +-99999.0
Default = 0.0
Range = +-99999.0
Default = 0.0
Range = +-99999.0
250
1 Lathe–Common Variables
Default = EMPTY
Default = 0.0
Range = +-99999.0
Default = 0.0
Range = +-99999.0
Default = 0.0
Range = +-99999.0
Default = 0.0
Range = +-99999.0
251
G-Post - Help Topic Collection
Default = EMPTY
Range = +-99999.0
Default = 0.0
Range = +-99999.0
Default = 0.0
Range = +-99999.0
Default = 0.0
Range = +-99999.0
Default = 0.0
Range = +-99999.0
252
1 Lathe–Common Variables
Default = 0.0001
Default = 999.9999
Default = 0.0
Default = 0.0
Default = 36.0
253
G-Post - Help Topic Collection
Default = 0.0
Range = +-99999.0
Do not change
Default = 0.0
Default = 0.0
Range = +-99999.0
Default = 1.0
Default = 999.0
254
1 Lathe–Common Variables
Default = 0.0
Default = 1.9098593
159.15494 (metric)
Default = 1.0
3.2808399 (metric/inch)
0.3048 (inch/metric)
Default = EMPTY
Default = 0.0
Default = 0.0
Default = 0.0
255
G-Post - Help Topic Collection
Default = 0.1
Default = 0.0
Default = 0.0
Range = +-99999.0
Range = +-99999.0
256
1 Lathe–Common Variables
Range = +-99999.0
Default = 0.0083334
Default = 0.00001
Default = 0.0
Default = 0.0
Default = 0.0
TLTABL(99,3) 1052 Gauge length X,Y and tool number stored for
each tool in lathes
Default = 0.0
Range = +-99999.0
257
G-Post - Help Topic Collection
Default = 1.0
Range = +-99999.0
Default = 1.0
Range = +-99999.0
Default = 0.0
Range = +-99999.0
Default = 0.0
Default = 0.0
Default = 0.0
Default = 0.0
258
1 Lathe–Common Variables
Default = 0.0
Range = +-99999.0
Default = 0.0
Range = +-99999.0
Default = 0.0
Range = +-99999.0
Default = 0.0
Range = +-99999.0
Default = 0.0
Range = +-99999.0
Default = 0.0
Range = +-99999.0
259
G-Post - Help Topic Collection
Default = 0.0
Range = +-99999.0
Default = 0.0
Range = +-99999.0
Default = 0.0
Range = +-99999.0
Default = 0.0
Range = +-99999.0
Default = 0.0
Range = +-99999.0
Default = 0.0
Range = +-99999.0
(888888.0)
Do not change
260
1 Lathe–Common Variables
calculations
Default = 0.0
Default = EMPTY
Default = 0.0
Range = +-99999.0
Default = 0.0
Range = +-99999.0
Default = 0.0
Range = +-99999.0
Default = 0.0
Range = +-99999.0
261
G-Post - Help Topic Collection
Default = 0.0
Range = +-99999.0
Default = 10.0
Range = +-99999.0
Default = 10.0
Range = +-99999.0
Default = 10.0
Range = +-99999.0
Default = 10.0
Range = +-99999.0
262
1 Lathe–Common Variables
Default = 0.0
Range = +-99999.0
Default = 0.0
Range = +-99999.0
Default = 0.0
Range = +-99999.0
Default = 0.0
Default = 0.0
Default = 0.0
Range = +-99999.0
263
G-Post - Help Topic Collection
Default = 0.0
Default = 0.0
Range = +-99999.0
Default = 0.0
Default = 0.0
Default = 0.0
Default = 0.0
264
1 Lathe–Common Variables
Default = 0.0
Range = +-99999.0
Default = 0.0
Range = +-99999.0
Default = EMPTY
Default = EMPTY
Default = 0.0
Default = 0.0
265
G-Post - Help Topic Collection
Do not reset.
Do not reset.
Default = 0.0
Range = +-99999.0
Default = 0.0
Range = +-99999.0
Default = 0.0
Range = +-99999.0
Default = 0.0
Range = +-99999.0
266
1 Lathe–Common Variables
Default = 0.0
Range = +-99999.0
Default = 0.0
Range = +-99999.0
Default = 0.0
Range = +-99999.0
267
G-Post - Help Topic Collection
ID of thread if it is an ID thread.
OD of thread if it is an ID thread.
TTHRDS(10) 1677 Feed rate for the thread move of the thread.
TTHRDS(12) 1679 Feed rate for the return move of the thread.
268
1 Lathe–Common Variables
269
G-Post - Help Topic Collection
Default = 0.0
Range = +-99999.0
Default = 0.0
Range = +-99999.0
Default = 0.0
Range = +-99999.0
Default = 0.0
Range = +-99999.0
Default = 0.0
Range = +-99999.0
Default = 0.0
Range = +-99999.0
Default = 0.0
270
1 Lathe–Common Variables
Range = +-99999.0
271
1 Mill – Common Variables
Introduction
This chapter contains a reference list of the Mill G-Post COMMON variables.
INTCOM Variables
Default = 53
Range = 1 to 26,53
Default = 11
Range = 1 to 26,53
Default = 53
Range = 1 to 26,53
Default = 16
Range = 1 to 26,53
273
G-Post - Help Topic Collection
Default = 53
Range = 1 to 26,53
Default = 13
Range = 1 to 26,53
Default = 2
Range = 1 to 26,53
Default = 17
Range = 1 to 26,53
Default = 7
Range = 1 to 26,53
Default = 8
Range = 1 to 26,53
Default = 9
Range = 1 to 26,53
274
1 Mill – Common Variables
Default = 53
Range = 1 to 26,53
Default = 18
Range = 1 to 26,53
Default = 1
Range = 1 to 26,53
Default = 53
Range = 1 to 26,53
Default = 53
Range = 1 to 26,53
Default = 53
Range = 1 to 26,53
Default = 5
Range = 1 to 26,53
Default = 14
Range = 1 to 26,53
275
G-Post - Help Topic Collection
Default = 15
Range = 1 to 26,53
Default = 53
Range = 1 to 26,53
Default = 53
Range = 1 to 26,53
Default = 53
Range = 1 to 26,53
Default = 3
Range = 1 to 26,53
Default = 4
Range = 1 to 26,53
Default = 6
Range = 1 to 26,53
276
1 Mill – Common Variables
Default = 53
Range = 1 to 53
Default = 25
Range = 1 to 53
Default = 53
Range = 1 to 53
Default = 53
Range = 1 to 53
Default = 53
Range = 1 to 53
Default = 27
Range = 1 to 53
Default = 53
Range = 1 to 53
Default = 53
Range = 1 to 53
277
G-Post - Help Topic Collection
Default = 53
Range = 1 to 53
Default = 53
Range = 1 to 53
Default = 53
Range = 1 to 53
Default = 53
Range = 1 to 53
Default = 53
Range = 1 to 53
Default = 53
Range = 1 to 53
Default = 53
Range = 1 to 53
278
1 Mill – Common Variables
Default = 53
Range = 1 to 53
Default = 53
Range = 1 to 53
Default = 53
Range = 1 to 53
Default = 28
Range = 1 to 53
Default = 53
Range = 1 to 53
Default = 53
Range = 1 to 53
Default = 53
Range = 1 to 53
279
G-Post - Help Topic Collection
Default = 53
Range = 1 to 53
Default = 21
Range = 1 to 53
Default = 22
Range = 1 to 53
Default = 53
Range = 1 to 53
Default = 78
Range = 32 to 96
Default = 71
Range = 32 to 9678
Default = 88
Range = 32 to 96
Default = 89
280
1 Mill – Common Variables
Range = 32 to 96
Default = 82
Range = 32 to 96
Default = 90
Range = 32 to 96
Default = 73
Range = 32 to 96
Default = 74
Range = 32 to 96
Default = 75
Range = 32 to 96
Default = unused
Range = 32 to 96
Default = 66
281
G-Post - Help Topic Collection
Range = 32 to 96
Default = unused
Range = 32 to 96
Default = 70
Range = 32 to 96
Default = 83
Range = 32 to 96
Default = 84
Range = 32 to 96
Default = 68
Range = 32 to 96
Default = 72
Range = 32 to 96
Default = 77
Range = 32 to 96
282
1 Mill – Common Variables
Default = unused
Range = 32 to 96
Default = unused
Range = 32 to 96
Default = 88
Range = 32 to 96
Default = 89
Range = 32 to 96
Default = 90
Range = 32 to 96
Default = unused
Range = 32 to 96
Default = 66
Range = 32 to 96
283
G-Post - Help Topic Collection
Default = unused
Range = 32-96
Default = unused
Range = 32-96
Default = 4040
Range = 0 to 9999
Default = 2020
Range = 0 to 9999
Default = 3443
Range = 0 to 9999
Default = 3443
Range = 0 to 9999
284
1 Mill – Common Variables
Default = 3443
Range = 0 to 9999
Default = 3443
Range = 0 to 9999
Default = 3443
Range = 0 to 9999
Default = 3443
Range = 0 to 9999
Default = 3443
Range = 0 to 9999
Default = 0 (unused)
Range = 0 to 9999
Default = 3333
Range = 0 to 9999
Default = 0 (unused)
Range = 0 to 9999
285
G-Post - Help Topic Collection
Default = 3342
Range = 0 to 9999
Default = 4040
Range = 0 to 9999
Default = 5050
Range = 0 to 9999
Default = 2020
Range = 0 to 9999
Default = 2020
Range = 0 to 9999
Default = 2020
Range = 0 to 9999
Default = 0 (unused)
Range = 0 to 9999
286
1 Mill – Common Variables
Default = 0 (unused)
Range = 0 to 9999
Default = 3443
Range = 0 to 9999
Default = 3443
Range = 0 to 9999
Default = 3443
Range = 0 to 9999
Default = 0 (unused)
Range = 0 to 9999
Default = 4343
Range = 0 to 9999
Default = 0 (unused)
Range = 0 to 9999
Default = 0 (unused)
Range = 0 to 9999
287
G-Post - Help Topic Collection
Example: 1010 turns off trailing zeros, outputs a plus sign, and does not print a
decimal point
Default = 1100
Range = 1 to 1111
Default = 1100
Range = 1 to 1111
Default = 1000
Range = 1 to 1111
Default = 1000
Range = 1 to 1111
Default = 1000
Range = 1 to 1111
288
1 Mill – Common Variables
Default = 1000
Range = 1 to 1111
Default = 1000
Range = 1 to 1111
Default = 1000
Range = 1 to 1111
Default = 1000
Range = 1 to 1111
Default = 0
Range = 1 to 1111
Default = 1000
Range = 1 to 1111
Default = 0
289
G-Post - Help Topic Collection
Default = 1000
Default = 1100
Default = 1100
Default = 1100
Default = 1100
Default = 1100
JSPC(nn) 0nnn nth letter in the series. Add 0158+n for the
location number
Default = 0
290
1 Mill – Common Variables
Default = 0
Default = 1
Range = 0 to 32766
Default = 2
Range = 0 to 32766
Default = nn
Range = 0 to 32766
Default = 0
Range = 0 to 32766
Default = 0
Range = 0 to 2500
291
G-Post - Help Topic Collection
Default = 0
Range = 0 to 2500
Default = 0
Range = 0 to 902
Default = 0
Range = 0 to 902
Default = 72 (OFF)
Default = 72 (OFF)
Default = 72 (OFF)
Default = 72 (OFF)
292
1 Mill – Common Variables
Default = 72 (OFF)
Cannot be reset.
Default = 73 (IPM)
Range = 73 (IPM)
74 (IPR)
Default = 0
Default = 1
Range = 1: XY plane
2: ZX plane
3: YZ plane
293
G-Post - Help Topic Collection
Default = 1
Default = 82 (BORE)
294
1 Mill – Common Variables
Default = 81 (FACE)
Default = 163
Default = 163
Default = 81
295
G-Post - Help Topic Collection
Default = 83
Default = 84
Default = 85
Default = 89
296
1 Mill – Common Variables
Default = 87
Default = 82
Default = 86
297
G-Post - Help Topic Collection
Default = 72 (OFF)
53 (NOMORE): for
CYCLE/NOMORE
Default = 71 (ON)
Default = 72 (OFF)
Default = 0
Default = 3333
298
1 Mill – Common Variables
Default = 6
Default = 72 (OFF)
Default = 71 (ON)
Default = 73 (IPM)
Range = 73 (IPM)
74 (IPR)
299
G-Post - Help Topic Collection
Default = 72 (OFF)
Default = 72 (OFF)
Default = 8 (H)
300
1 Mill – Common Variables
Default = 90
Default = 3
Default = 2
Default = 80
301
G-Post - Help Topic Collection
Default = 40
Default = 41
Default = 42
Default = 4
302
1 Mill – Common Variables
Default = 91
Default = 70
303
G-Post - Help Topic Collection
Default = 94
Default = 1
Default = 71
304
1 Mill – Common Variables
Default = 0
Default = 0
Default = 0
305
G-Post - Help Topic Collection
Default = 0 (off)
Default = IEMPTY
Default = 92
Default = 17
306
1 Mill – Common Variables
Default = 19
Default = 18
Default = 72 (OFF)
Default = 9 (I)
307
G-Post - Help Topic Collection
Default = 10 (J)
Default = 11 (K)
Default = 0 (off)
Range = 0 (off)
1 (on)
Default = 72 (OFF)
Default = 90 (IGABS)
308
1 Mill – Common Variables
Default = 1
Default = 72 (OFF)
Default = 0
IGCCLW INTCOM(498)
Default = 3
Default = 80 (IGCOFF)
309
G-Post - Help Topic Collection
Default = 72 (OFF)
Default = 72 (OFF)
Default = 0
Range = 0 to 32766
Default = 72 (OFF)
Default = Z (26)
310
1 Mill – Common Variables
Default = 72 (OFF)
Default = 0 (off)
Range = 0 (off)
1 = GOHOME
2 = RETRCT
Default = 0
311
G-Post - Help Topic Collection
Range = 0 to 32766
Default = 3342
Default = 1
Range = 0 to 32766
312
1 Mill – Common Variables
Default = 2
Range = 0 to 32766
Default = nnn
Range = 0 to 32766
Default = 0
Range = 0 to 32766
Example: If the dwell code was G104, set IGDWL to 4, then set IPREFN(4) to 104
Default = 0 (unused)
313
G-Post - Help Topic Collection
Range = 1 to 3
Default = 3
Range = 1 to 3
Default = 3
Range = 1 to 3
Default = 72 (OFF)
Default = 72 (OFF)
Default = 4 (D)
314
1 Mill – Common Variables
Default = 72 (OFF)
Default = 1010
Default = 72 (OFF)
162 (NEXT):
Output one time only
Default = 0
315
G-Post - Help Topic Collection
1: Equation
Default = 0
Range = 0 to 32766
Range = +-32766
Range = +-32766
Range = +-32766
Range = +-32766
(2) = 66 (INCR)
316
1 Mill – Common Variables
Default = 72 (OFF)
Default = 0
0 No spindle move
+1 Spindle advancing
KULCLW INTCOM(2208):
CLW SP/CO M-code
KULCCW INTCOM(1981):
CCLW SP/CO M-code
317
G-Post - Help Topic Collection
Default = 0
ISPDIR INTCOM(1513):
Current spindle direction.
Default = 2 (NSPDHI(1))
Default = 1 (NSPDLW(1))
Default = 0
Range = 1 to 99
Default = 72 (OFF)
318
1 Mill – Common Variables
Default = 0
Default = 1
Range = 1 to 6
Default = 0
Range = 0 to 32766
Name Location Description
Default = 72 (OFF)
Default = 0
319
G-Post - Help Topic Collection
Default = 0
Range = 0 to 32766
Default = 24 (X)
Range = 24 to 26
Default = 25 (Y)
Range = 24 to 26
Default = 26 (Z)
Range = 24 to 26
320
1 Mill – Common Variables
Default = 8 (H)
Range = 1 to 26 (A - Z)
Range = IGCOMF
INTCOM(0501):CUTCOM/OFF G-code
IGCOML INTCOM(0502):
CUTCOM/LEFT G-code
IGCOMR INTCOM(0503):
CUTCOM/RIGHT G-code
Default = 0
Range = 0 to 32766
Default = 72 (OFF)
GOTO point.
321
G-Post - Help Topic Collection
Default = 1
2 - Non-PQ CUTCOM is on
71 (ON) PQ CUTCOM is on
Default = 0
Range = 0 to 32766
Range = 32 to 96
Default = 2
Range = 1 to 3
(AAXIS=1,BAXIS=2,CAXIS=3)
LINCT 1954 Line count of the current page for the print
output
322
1 Mill – Common Variables
Default = 0
Range = 0 to 32766
Default = 0
Range = 0 to 99
processing CL information
Default = 72 (OFF)
Default = 72 (OFF)
Default = 8
323
G-Post - Help Topic Collection
Default = 7
Default = 9
MCLMST INTCOM(1960)
COOLNT/MIST M-code
Default = 50
324
1 Mill – Common Variables
Default = 51
Default = 1
Default = 5
325
G-Post - Help Topic Collection
Default = 0
Default = 0
Range = 0 No move, 4 A, 5 B, 6 C, 9
AB, 10 AC, 11 BC, 15 ABC
Default = 30
326
1 Mill – Common Variables
Default = 4
Default = 3
Default = 5
327
G-Post - Help Topic Collection
Default = 0
Default = 3
Default = 51
Range = 1 to 32766
Default = 3
Range = 3 (non-MULTAX), 6
(MULTAX)
Default = 0
Range = 0 to 32766
Default = 0
328
1 Mill – Common Variables
Default = 0
Range = 0 - Off
Default = 3
Range = 1 - X
2-Y
3-Z
Range = 2 to 99
Range = 1 to 98
Default = 3
329
G-Post - Help Topic Collection
Range = 1 to 6
Default = 1
Range = 1 to 32766
NTOOL 2008 Pointer into the tool table for last tool
stored
Default = 0
Range = 0 to 99
Default = 99
Range = 1 to 99
Default = 20
Range = 1 to 26
Default = 27
Default = 0
Range = 0 to 32766
330
1 Mill – Common Variables
Default = 0
Default = 11 (K)
Range = 1 to 26 (A-Z)
1 = XY plane
2 = ZX plane
3 = YZ plane
ITITLE(33) 2019 Array for user title; must be set from within
the Option File
Default = 0
Range = 0 - Off
331
G-Post - Help Topic Collection
Default = 0 (off)
Range = 0 (off)
Default = 0
IGIPM INTCOM(508)
IGIPR INTCOM(509)
IGINV INTCOM(507)
Default = 72 (OFF)
332
1 Mill – Common Variables
Default = 0 (Unused)
Range = 0 to 26 (A-Z)
Default = 72 (OFF)
Default = 0 (Off)
Default = 72 (OFF)
Default = 0 (Off)
333
G-Post - Help Topic Collection
Default = 0 (Unused)
Range = 0 to 26 (A-Z)
Default = 0 (Off)
Range = 0 to 1000
Default = 0 (Off)
Range = 0 to 1000
Default = 72 (OFF)
Default = 2
Range = 1 to 6
334
1 Mill – Common Variables
Default = 1
Range = 1 to 6
Default = 3
Range = 1 to 6
Default = 5
Default = 5
Range = 1 to 6
Default = 4
Range = 1 to 6
Default = 6
Range = 0 to 32766
335
G-Post - Help Topic Collection
Default = 3
Range = 1 = X axis
2 = Y axis
3 = Z axis
Default = 0 (off)
Default = 1
1 = A axis
2 = B axis
3 = C axis
336
1 Mill – Common Variables
Default = 0
Default = 0 (Off)
10 Rotate point
fourth quadrants
Default = 0 (Off)
Range = 0 Off
12 Select positive A or B
position only
13 Select negative A or B
position only
Default = 0 (Off)
Range = 0 Off
Default = 0 (Unused)
Range = 0 Unused
337
G-Post - Help Topic Collection
1 A axis
2 B axis
3 C axis
Default = 0
149 (REAR)
88 (AUTO)
Default = 0 (No)
Default = 1 (A)
Range = 1 to 26 (A-Z)
338
1 Mill – Common Variables
Default = 26
Default = 26 (Z)
Range = 1 to 26 (A-Z)
Default = 72 (OFF)
Default = 14
Default = 13
339
G-Post - Help Topic Collection
Default = 0
1 - Max. on GOHOME
2 - Max. on LOADTL
3 - Max. on OPSTOP
4 - Max. on STOP
-1 - BREAK
Default = 0 (off)
340
1 Mill – Common Variables
Range = (n,1-8) - 32 to 96
Default = 0 (off)
Default = 0 (unused)
Range = 1: X axis
2: Y axis
3: Z axis
Default = 0 (unused)
Range = 4: A axis
5: B axis
6: C axis
341
G-Post - Help Topic Collection
Range = 1 to 26 (A to Z)
compensation
Default = 71 (ON)
Range = 71 (ON)
Default = 1
1: Non-modal vectors
Default = 72 (OFF)
342
1 Mill – Common Variables
Default = 72 (OFF)
Default = 72 (OFF)
Default = 72 (OFF)
Default = 72 (OFF)
Default = 1
343
G-Post - Help Topic Collection
3: 8 direction type
Default = 72 (OFF)
(2) 0
(2) 0-9
Default = 0 (off)
Range = 1 - 32766
344
1 Mill – Common Variables
Default = 0 (off)
Default = 72 (OFF)
OPSKIP option
Range = 1 - 32766
Default = 72 (OFF)
Default = 0 (off)
Default = 72 (OFF)
KSYM(2), etc.
345
G-Post - Help Topic Collection
Default = 0 (unused)
Range = 0, 32 - 96
Default = 0 (off)
Default = 0 (off)
Default = 0 (off)
only)
Default = 0 (off)
Default = 0 (off)
346
1 Mill – Common Variables
Default = 0
Default = 72 (off)
Default = 0
Default = 21 (U)
347
G-Post - Help Topic Collection
Default = 22 (V)
Default = 2 Incremental
Range = 1 Absolute
Default = 841
Range = +- 32767
Default = 1
Range = +- 32767
348
1 Mill – Common Variables
Default = 18
Default = 17
Default = 28
Default = 27
349
G-Post - Help Topic Collection
Default = 0 (off)
Default = 0 (off)
Default = 54
Default = 54
350
1 Mill – Common Variables
Default = 59
Default = 0 (off)
Default = 0 (yes)
Default = 0 (on)
351
G-Post - Help Topic Collection
Default = 0 (off)
Default = 0
Default = 0 (off)
352
1 Mill – Common Variables
Default = 0 (off)
Default = 0
Range = 0 -10
Do not change.
Default = 0 (off)
Default = 0 (off)
Do not change.
Do not change.
353
G-Post - Help Topic Collection
Do not change.
Default = 1
Range = 1-33
Do not change.
Default = 0 (off)
354
1 Mill – Common Variables
Default = 0 (off)
Do Not Reset
Default = 0 = 12 parameter
matrix
Range = 0 = 12 parameter
matrix
1 = XY
2 = YZ
3 = ZX
Default = 0 (off)
355
G-Post - Help Topic Collection
Default = 0
Range = 0 -10
Do not change.
Default = 0 = Mill
Range = 0 = Mill
1 = Laser
2 = Punch
Default = 0 = Off
Range = 0 = Off
1 = On
Range = 0 = Off
1 = On
356
1 Mill – Common Variables
ITLPRE 4315 Preselect the next tool and create the tool
list file .TL1.
= 2 Verification XYZ is
PRESPT(XYZ) after TRANS/ORIGIN
357
G-Post - Help Topic Collection
358
1 Mill – Common Variables
359
G-Post - Help Topic Collection
360
1 Mill – Common Variables
361
G-Post - Help Topic Collection
= 1, Output SPINDL/OFF
= 1, Output COOLNT/OFF
= 1, Output OPSTOP
= 1, Output STOP
= 1, Output SPINDL/ON
362
1 Mill – Common Variables
= 1, Output COOLNT/ON
Default = 0, No
= 1, Yes
Default = 3,
Range = 3 - 999999.
Default = 0, G00
Range = 1, G01
Default = 0, Off
Range = 1, On
Default = 0, Off
Range = 1, On
363
G-Post - Help Topic Collection
Default = 0, Off
Range = 1, On
Range = (n,1-8) - 32 to 96
= 1, Output X12
364
1 Mill – Common Variables
= 0, Software cycle
= 0 ,Software cycle
= 0, Software cycle
= 0, Software cycle
= 1, Hardware cycle
365
G-Post - Help Topic Collection
Default = 98
Range = 0-32767
Default = 99
Range = 0-32767
Default = 0, OFF
= 1, On
Default = 0, OFF
= 1, On
Default = 0, SPINDL/PARLEL,ZAXIS
= 1, SPINDL/PARLEL,XAXIS
366
1 Mill – Common Variables
Default = 0, Off
= 1, On
Default = 6. F
= 1-26, A-Z
Default = 33
= 0-99
Default = 96
= 0-99
Default = 97
= 0-99
Default = 92
= 0-99
Default = 0, Off
= 1, On
Default = 0, Off
= 1, On
367
G-Post - Help Topic Collection
Default = 0, Off
= 1, On
Default = 0, CL = Z,X,0
= 1, CL = X,0,Z
Default = 0, Yes
= 1, No
Default 0 = None
368
1 Mill – Common Variables
IABCLNGRT(3) 4636 Rotary axes ABC take long route flag for
ANALYZ
Default 0 = No
Default 0 = No
1 = Yes
RELCOM Variables
Default = 0.0
Default = 0.0
369
G-Post - Help Topic Collection
Default = 0.0
(1,2) - 3000.0
(2,1) - 1.0
(2,2) - 3000.01
(3,1) - 1.0
(3,2) - 3000.0
Range = +-99999.0
Range = +-99999.0
Range = +-99999.0
370
1 Mill – Common Variables
Range = +-99999.0
TLTABL(99,3) 0605 Tool length and tool number stored for each
tool
Default = 0.0
Range = +-99999.0
DBLCOM Variables
Default = 0.0
Range = +-99999.0
Default = 0.0
Default = 0.0
Range = +-99999.0
371
G-Post - Help Topic Collection
Default = 0.0
Default = 0.0
Default = 0.0
Default = 0.0
Default = 25.4
Default = .0167
Default = 10.0
372
1 Mill – Common Variables
Default = 300.0
Range = 1 to 99999.0
Default = 0.0
Range = +-99999.0
Default = EMPTY
Range = +-99999.0
Default = 0.0
Default = 0.0
Default = 0.0
373
G-Post - Help Topic Collection
Default = 0.0
Default = 2.0
Default = 0.0
Default = 2.0
Default = 2.0
Default = 0.0
Default = 0.0
374
1 Mill – Common Variables
Default = 2.0
Default = 0.0
Default = 0.0
MULTAX mill
Default = 0.0
Default = 999.9999
Range = +-99999.0
Default = 0.0
Default = 0.0
375
G-Post - Help Topic Collection
Default = 0.0
Default = 0.3
Default = 0.0
376
1 Mill – Common Variables
Do not change
Default = 1.0
Default = 0.0
Default = 0.0
Default = 0.0
Default = 0.001
Default = 200.0
377
G-Post - Help Topic Collection
Default = 0.0
Default = 0.0
Default = 0.0
378
1 Mill – Common Variables
Default = 0.0
Default = 0.0
Range = +-99999.0
Default = 0.0
Default = 0.0
Default = 0.0
Do not change
Default = 0.0
379
G-Post - Help Topic Collection
Range = +-99999.0
Default = 0.0
Range = +-99999.0
Default = 0.0
Range = +-99999.0
Default = EMPTY
Default = 0.0
Range = +-99999.0
Default = EMPTY
380
1 Mill – Common Variables
Default = 0.0
Range = +-99999.0
Default = 0.0
Default = 0.0
Default = 0.0001
Default = 0.0
Default = 999.9999
Default = 0.0
Range = +-99999.0
Default = 0.0
381
G-Post - Help Topic Collection
Default = 0.0
Default = EMPTY
Range = +-99999.0
Default = 36.0
Default = 1,0,0,0,0,1,0,0,0,0,1,0
Range = +-99999.0
382
1 Mill – Common Variables
Default = 1.0
Default = 0.001
Default = -1.0
Do not change
Default = 0.0
Range = +-99999.0
Default = 0.0
Range = +-99999.0
Default = 0.0
Default = 1.0
383
G-Post - Help Topic Collection
Default = 9999.0
Default = 0.0
Default = 0.0083334
Default = 3.0
Range = +-99999.0
Default = 0.0
384
1 Mill – Common Variables
Range = +-99999.0
Default = 0.0
Default = 0.0
Default = 0.0
Default = 0.0
Default = 0.0
Default = 0.0
385
G-Post - Help Topic Collection
Range = +-99999.0
Default = 0.0
Range = +-99999.0
Do not change
Default = 0.0
Default = EMPTY
Default = 0.0
Range = +-99999.0
Range = +-99999.0
386
1 Mill – Common Variables
Range = +-99999.0
Range = +-99999.0
Default = 0.0
Range = +-99999.0
Default = 0.0
Range = +-99999.0
Default = 0.0
Range = +-99999.0
Default = 0.0
Range = +-99999.0
387
G-Post - Help Topic Collection
Default = -0.005
Default = 0.0
Range = +-99999.0
Default = 1,0,0,0,0,1,0,0,0,0,1,0
Range = +-99999.0
Default = 1.0
Default = 0.0
Range = +-99999.0
Default = 0.0
Range = +-99999.0
Default = 1.0
388
1 Mill – Common Variables
Default = 0.0
Range = +-99999.0
Default = 0.0
Range = +-99999.0
Default = 0.5
Default = 1.0
Default = 2.5
Default = 0.0
Range = +-99999.0
Default = 0.0
Range = +-99999.0
389
G-Post - Help Topic Collection
Default = 0.0
Range = +-99999.0
Default = 0.0
Range = +-99999.0
Default = 0.0
Range = +-99999.0
Default = 0.0
Range = +-99999.0
Default = 0.0
Default = 0.0
Default = 0.0
Default = 0.0
390
1 Mill – Common Variables
Range = +-99999.0
Default = 0.0
Range = +-99999.0
Default = 0.0
Range = +-99999.0
Default = 0.0
Default = 0.0
Range = +-99999.0
391
G-Post - Help Topic Collection
Default = 0.0
Range = +-99999.0
Default = 0.0
Range = +-99999.0
Range = +-99999.0
Range = +-99999.0
Range = +-99999.0
Default = 0.0
Default = EMPTY
392
1 Mill – Common Variables
Default = 0.0
Range = +-99999.0
Default = 1,0,0,0,0,1,0,0,0,0,1,0
Range = +-99999.0
Default = 1,0,0,0,0,1,0,0,0,0,1,0
Range = +-99999.0
Default = 0.0
Range = +-99999.0
Default = EMPTY
Default = 1.0
Default = 0.0
Range = +-99999.0
393
G-Post - Help Topic Collection
Range = +-99999.0
Range = +-99999.0
Range = +-99999.0
Range = +-99999.0
Range = +-99999.0
Default = 0.0
Range = +-99999.0
394
1 Mill – Common Variables
Default = 0.0
Range = +-360.0
Default = 0.0
Range = +-99999.0
Default = 0.0
Default = 0.0
Default = 1.0
395
G-Post - Help Topic Collection
Default = 0.0
Range = +- 99999.0
Default = 0.0
Range = +- 99999.0
Default = 0.0
Range = +- 99999.0
Vector wiggle.
Do not reset
396
1 Mill – Common Variables
Do not reset
Do not reset
Do not reset.
Default = 0.0001
Do not reset.
397
G-Post - Help Topic Collection
Do not reset.
Default = 0.0
Range = +- 999999.0
Default = 0.0
Range = +- 999999.0
Default = 0.0
Range = +- 999999.0
Default = 0.0
Range = +-99999.0
Default = 0.0
Range = +-99999.0
398
1 Mill – Common Variables
Default = 0.0
Range = +-99999.0
Default = 0.0
Range = +-99999.0
Default = 0.0
Range = +-99999.0
Do Not Reset
Default = 0
Range = +-360
399
G-Post - Help Topic Collection
R40XSHFT 0986 A40= B40= C40=. X axis shift for the radius
calculation.
Default = 0.0
Range = +-99999.0
R40YSHFT 0987 A40= B40= C40=. Y axis shift for the radius
calculation.
Default = 0.0
Range = +-99999.0
R40ZSHFT 0988 A40= B40= C40=. Z axis shift for the radius
calculation.
Default = 0.0
Range = +-99999.0
Default = 0.0
Range = +-99999.0
Default = 0.0
Range = +-99999.0
Default = 0.0
Range = +-99999.0
400
1 Mill – Common Variables
Default = 0.0
Range = +-99999.0
Default = 0.0
Range = +-99999.0
Default = 0.0
Range = +-99999.0
DRPSFDRETF 1026 Feed rate for retract move along tool axis
during automatic REPOS.
Range = +-99999.0
DRPSFDAPRF 1027 Feed rate for advance move along tool axis
during automatic REPOS.
Range = +-99999.0
401
G-Post - Help Topic Collection
Default = 0.0
Range = +-99999.0
Default = 0.0
Range = +-99999.0
Default = 0.0
Range = +-99999.0
Default = 0.0
Range = +-99999.0
Default = 0.0
Range = +-99999.0
402
1 Mill – Common Variables
Default = 0.0
Range = +-99999.0
Default = 0.0
Range = +-99999.0
Default = 0.0
Range = +-99999.0
Default = 0.0
Range = +-99999.0
Default = 0.0
Range = +-99999.0
Default = 0.0
Range = +-99999.0
Default = 0.0
Range = +-99999.0
403
G-Post - Help Topic Collection
Default = 0.0
Range = +-99999.0
Default = 0.0
Range = +-99999.0
Default = 0.0
Range = +-99999.0
Default = 0.0
Range = +-99999.0
Default = 0.0
Range = +-99999.0
404
1 Default Settings
The Lathe and Mill G-Post come with the default settings listed in this chapter.
Defaults include tape format, output codes and relative Postprocessor statements,
and machine/control parameters.
Lathe
Inch N30 G20 X24 Z24 I24 K24 F32 S20 T40 M20
Metric N30 G20 X33 Z33 I33 K33 F41 S20 T40 M20
Example:
N30 means the N letter address will be output with three places to the left of the
decimal point and no places to the right as follows:
X24 means the X letter address will be output with two places to the left of the
decimal point and four places to the right as follows:
Mill
405
G-Post - Help Topic Collection
Inch N30 G20 X34 Y34 R34 Z34 I34 J34 K34 F33 S40 T50 B33 D20 H20 M20
Metric N30 G20 X43 Y43 R43 Z43 I43 J43 K43 F42 S40 T50 B33 D20 H20 M20
Lathe
= TMARK/--
N SEQNO/--
G04 DELAY/--
G33 THREAD/--
G34 THREAD/--
G35 THREAD/--
G90 MODE/90
G91 MODE/91
G92 SET/START,--
G94 FEDRAT/--,IPM
G95 FEDRAT/--,IPR
F FEDRAT/--
S SPINDL/--
406
1 Default Settings
T TURRET/--;SELECT/--
M00 STOP
M01 OPSTOP
M02 END
M03 SPINDL/--,CLW
M04 SPINDL/--,CCLW
M05 SPINDL/OFF
M07 COOLNT/MIST
M08 COOLNT/FLOOD
M09 COOLNT/OFF
M23 TURRET/--,CLW
M24 TURRET/--,CCLW
M30 REWIND/--
M50 FEDRAT/LOCK,OFF
M51 FEDRAT/LOCK,ON
Mill
= TMARK/--
N SEQNO/--
G04 DELAY/--
G40 CUTCOM/OFF
G41 CUTCOM/LEFT
407
G-Post - Help Topic Collection
G42 CUTCOM/RIGHT
G80 CYCLE/OFF
G81 CYCLE/DRILL,--
G82 CYCLE/FACE,--
G83 CYCLE/DEEP,--
G84 CYCLE/TAP,--
G85 CYCLE/BORE,--
G86 CYCLE/MILL,--
G87 CYCLE/THRU,--
G88 CYCLE/REAM,--
G92 SET/START--
G93 MODE/INVERS,ON
G94 FEDRAT/--,IPM
F FEDRAT/--
S SPINDL/--
T LOADTL/--;SELECTL/--
B ROTABL/--
D CUTCOM/--
H LOADTL/--;SELECT/--;CUTCOM/ZAXIS,--
M00 STOP
M01 OPSTOP
M02 END
M03 SPINDL/--,CLW
M04 SPINDL/--,CCLW
M05 SPINDL/OFF
M06 LOADTL/--
408
1 Default Settings
M07 COOLNT/MIST
M08 COOLNT/FLOOD
M09 COOLNT/OFF
M19 SPINDL/LOCK
M30 REWIND/--
M41 SPINDL/--,RANGE,1
M42 SPINDL/--,RANGE,2
M43 SPINDL/--,RANGE,3
M50 FEDRAT/LOCK,OFF
M51 FEDRAT/LOCK,ON
Built in translation 0, 0
409
G-Post - Help Topic Collection
Mill
Number of axes 4 XYZB
410
1 Default Settings
Rapid F-code 0
411
1 UNCMRG Postprocessor
The UNCMRG postprocessor is used to merge multiple punch files to accommodate
machine tools that require a new configuration when certain secondary tool
operations are required. The main concern at this time is the live tooling lathes.
When milling, the machine takes on the characteristics of a machining center. When
turning, the machine takes on the characteristics of a lathe.
The method used by UNCMRG requires that multiple option files have been
generated. The maximum number of option files allowed is eight.
As a safety feature for non-merging G-Post users, each option file must have
PLABEL OPTION (38) set to 1 (INTCOM(1868)).
The part program requires that each option file have a MACHIN statement. The first
MACHIN statement in the part program will create the start-up tape data. This may
include man-readable PARTNO, leader, TMARK or G-codes.
MODE/MILL-TURN, o1,s1
MILL will allow the Mill G-Post (UNCX01) to be executed and TURN will allow the
Lathe G-Post (UNCL01) to be executed. The o1 designates the option file number.
The s1 is optional and may be used to designate the starting sequence (N-code)
number. Failure to find an option file number will stop the program.
MACHIN/UNCMRG,1
Option files are not allowed with the UNCMRG postprocessor and it must be the last
MACHIN statement in the MACHIN section of the part program.
Example:
413
G-Post - Help Topic Collection
MACHINE/UNCL01,11
MACHINE/UNCX01,12
MACHINE/UNCMRG,1
SPINDL/200,SFM
FEDRAT/.010,IPR
TURRET/2,2,-1.5,.875
CUTTER/.032
FROM/8.5,6
GOTO/1.5,1
--
MODE/MILL,12
SPINDL/500,RPM
FEDRAT/8,IPM
LOADTL/3,LENGTH,1.75
CUTTER/.5
FROM/2,2,6
GOTO/3,3,1.5
--
MODE/TURN,11
SPINDL/350,SFM
FEDRAT/.008,IPR
TURRET/3,3,-1.1,3
CUTTER/.062
FROM/8.5,6
414
1 UNCMRG Postprocessor
GOTO/1.2,2
GOTO/--
--
FINI
Note that when a MODE statement is programmed, all of the required machine
information is put in effect. If the SPINDL or FEDRAT had not been programmed in
the MODE/MILL section, the minimums would have been output with a warning.
If the SPINDL or FEDRAT had not been programmed in the MODE/TURN section, the
last valued programmed in the start-up would have been in effect.
One of the functions of the MODE statement is to turn the MACHIN switch ON and
OFF
415
1 4-Axis Merging Lathes
PLABEL/OPTION,55 controls the type of merging and merged CL file printing. This
option MUST be set in the Option File to process properly.
Commands:
OP/n1[,HED,n2]
Processing order:
417
G-Post - Help Topic Collection
The merging section of the postprocessor converts these to COMBIN and HEAD
commands and creates the merged CL file.
The FIL (Factory Interface Language) filters the COMBIN and HEAD commands to
generate the proper postprocessor commands to create the desired output.
APT program:
MACHIN/UNCL01,1
CLPRNT
OP/10
SPINDL/200
FEDRAT/10
FROM/10,5
GOTO/10,2.002
GOTO/1,2.002
RAPID
GOTO/10,5.002
OP/20
SPINDL/100
FEDRAT/5
GOTO/10,1.003
GOTO/10,5.003
OP/10,HED,2
418
1 4-Axis Merging Lathes
FROM/12,-5
GOTO/12,-4.004
GOTO/11,-4.004
GOTO/12,-4.004
GOTO/12,-5.004
FINI
CL File created:
4 MACHIN UNCL01 1
6 OP 10
8 SPINDL 200
10 FEDRAT 10
18 RAPID
22 OP 20
24 SPINDL 100
26 FEDRAT 5
32 OP 10 HED 2
44 FINI
419
G-Post - Help Topic Collection
2 MACHIN/UNCL01 1
2 COMBIN/10,START
5 HEAD/101
5 SPINDL/200
6 FEDRAT/10
7 SPINDL/200,RPM
7 FROM/ 10.000,5.000,0.000
8 GOTO/ 10.000,2.002,0.000
17 HEAD/102
9 HEAD/101
9 GOTO/ 1.000,2.002,0.000
21 HEAD/102
21 HEAD/102,NOMORE
10 HEAD/101
10 RAPID
10 COMBIN/10,NOMORE
11 OP/20
12 SPINDL/100
13 FEDRAT/5
420
1 4-Axis Merging Lathes
15 FINI
ELSE
ENDIF
CIMFIL/OFF
TURRET/REAR
ELSE
TURRET/FRONT
ENDIF
421
G-Post - Help Topic Collection
ENDIF
CIMFIL/OFF
CIMFIL/OFF
FINI
MCD Output:
N5 G70$
N10 G90$
N15 G94$
N40 W11. $
N45 W12. $
N70 S100 $
N80 X5.003 $
N85 M02 $
422
1 4-Axis Merging Lathes
MACHIN/UNCL01,1
CLPRNT
OP/10
SPINDL/200
FEDRAT/10
FROM/10,5
GOTO/10,2.00
GOTO/1,2.00
RAPID
GOTO/10,5.00
OP/20
SPINDL/100
FEDRAT/5
GOTO/10,1.00
GOTO/10,5.00
OP/10,HED,2
FROM/12,-5.0
GOTO/12,-4.0
GOTO/11,-4.0
GOTO/12,-4.0
GOTO/12,-5.0
FINI
CL File created:
4 MACHIN UNCL01 1
6 OP 10
8 SPINDL 200
10 FEDRAT 10
423
G-Post - Help Topic Collection
18 RAPID
22 OP 20
24 SPINDL 100
26 FEDRAT 5
32 OP 10 HED 2
44 FINI
2 MACHIN/UNCL01 1
2 COMBIN/10,START
5 HEAD/101
5 SPINDL/200
6 FEDRAT/10
7 FROM/ 10.000,5.000,0.000
8 GOTO/ 10.000,2.000,0.000
9 GOTO/ 1.000,2.000,0.000
10 RAPID
10 GOTO/10.000,5.000, 0.000
424
1 4-Axis Merging Lathes
10 HEAD/101,NOMORE
17 HEAD/102
21 COMBIN/10,NOMORE
21 HEAD/101
22 OP/20
12 SPINDL/100
13 FEDRAT/5
15 FINI
SQN = OPN*10+1
425
G-Post - Help Topic Collection
ELSE
ENDIF
CIMFIL/OFF
TURRET/REAR
ENDIF
TURRET/FRONT
ENDIF
SEQNO/SQN,INCR
ENDIF
CIMFIL/OFF
CIMFIL/OFF
FINI
MCD Output:
N5 G70$
N10 G90$
N15 G94$
426
1 4-Axis Merging Lathes
N25 P101 $
N40 Z1. $
N55 W11. $
N60 W12. $
N65 U-5. $
N75 S100 $
N85 X5. $
N90 M02 $
427
Chapter 10: ARC / NURBS Fitting
The Curve Fitting (CRVFIT) process has been implemented in both the Intercim APT
and GPost systems. The difference being, it is optional with the APT system and
must be purchased to be used with your custom posts. It is a standard feature of the
GPost and no additional purchase is needed.
Note:
The new JAVA version of the Option File Generator will have a separate panel which
will allow you to activate (i.e. Set INTCOM(4334) = 1) and set all of the default
parameters for the Curve Fitting (CRVFIT) routines. You can use this panel to set the
values or use the CRVFIT/--- commands in the input CLfile.
Note:
You can NOT use CRVFIT/--- commands in a FIL file as the curve fitting process is
completed prior to FIL being executed. Again, you can set the CRVFIT/--- options
globally in option file or in the input file.
PPWORD/CRVFIT,1093
429
G-Post - Help Topic Collection
PPWORD/MOVNRB,1094
1.4.1 CRVFIT/ARC,ON
This command initiates the "arc fit" process of the CL file. The next non-RAPID
GOTO/x,y,z(,i,j,k) will start the arc fitting process and it will continue until a non-
GOTO CL record or the maximum number of points is encountered.
Sets DBLCOM(994) = 71
1.4.2 CRVFIT/ARC,OFF
This command disables the "arc fit" process of the CL file. No arc fitting will be
executed until CRVFIT/ARC,ON is encountered.
Sets DBLCOM(994) = 72
During the arc fitting process a set of linear GOTO/x,y,z(,i,j,k) points are converted
into circular motion that fit the tolerance and other options specified. This may
reduce the MCD file size or generate a smooth machining operation.
1.4.3 CRVFIT/ARCSLP,ON-OFF
Allows helical motion with arc fitting. The default is OFF.
1.4.4 CRVFIT/XYZ,0-1
Specifies a condition to output arc data as MOVNRB/--- to support circular
interpolation in any plane, such as Siemens CIP format.
0 = no 3D arc. Default
Sets DBLCOM(1009)
1.4.5 CRVFIT/RADIUS,1,r1
This command specifies the minimum radius allowed.
430
Chapter 10: ARC / NURBS Fitting
Sets DBLCOM(1010)
1.4.6 CRVFIT/RADIUS,2,r2
This command specifies the maximum radius allowed.
Sets DBLCOM(1011)
Note:
It is suggested not to change these values, since the GPost has a maximum radius
and will switch into linear interpolation for any large radius automatically.
1.4.7 CRVFIT/SPLINE,ON
This command initiates the "spline/NURBS fit" process of the CL file.
Sets DBLCOM(996) = 71 or ON
1.4.8 CRVFIT/SPLINE,OFF
This command terminates the "spline/NURBS fit" process of the CL file.
The output of NURBS parameters and the points of the NURBS curve will be output
as MOVNRB/--- command as explained later in this document.
1.4.9 CRVFIT/TYPE,e1
e1 = specifies the type of spline required, 0= NURBS, 1=Cubic spline. Default is 0
Sets DBLCOM(997)
1.4.10 CRVFIT/PLANE,YXPLAN-YZPLAN-ZXPLAN-ALL
Specifies the desired plane, Default = ALL
Sets DBLCOM(998)
431
G-Post - Help Topic Collection
1.4.11 CRVFIT/TOLER,1,t1
t1 = General curve fit tolerance. Default = 0.005
Sets DBLCOM(1001)
1.4.12 CRVFIT/TOLER,2,t2
t2 = Z-change tolerance. Default = 0.005
Sets DBLCOM(1002)
1.4.13 CRVFIT/TOLER,3,t3
t3 = Tool axis vector change tolerance. Default = 0.005
Sets DBLCOM(1003)
1.4.14 CRVFIT/TOLER,4,t4
t4 = Direction change tolerance in degrees. Default = 60
Sets DBLCOM(1004)
1.4.15 CRVFIT/TOLER,5,t5
t5 = Distance length tolerance. Default = .5
Sets DBLCOM(1005)
1.4.16 CRVFIT/TOLER,6,t6
t6 = Z-change tolerance with ARCSLP=ON. Default = .015
Sets DBLCOM(1006)
1.4.17 CRVFIT/TOLER,7,t7
t7 = Arc fitting ratio tolerance (arcs to GOTO points) in percentage. Default = 10
Sets DBLCOM(1007)
1.4.18 CRVFIT/TOLER,8,t8
t8 = Chordal tolerance for adjacent points. Default = .025
Sets DBLCOM(1008)
1.4.19 CRVFIT/POINT,1,p1
p1 = Minimum number of points allowed. Default = 5
432
Chapter 10: ARC / NURBS Fitting
Sets DBLCOM(1010)
1.4.20 CRVFIT/POINT,2,p2
p2 = Maximum number of points allowed. Default = 500
Sets DBLCOM(1011)
2. MOVNRB/1,k1..kk
3. MOVNRB/2,cp1...cpn
4. MOVNRB/NEXT
GOTO/p1,p2...pn
5. MOVNRB/OFF
The 1st line specifies the (o = order of the curve, k = number of knots, w = number
of weights as always 0, n = number of control points, s = curve length).
The 2nd line specifies the actual knot values as scalars. The maximum number of
knot values will be 24 in one command. If there are more knots, then there will be
another MOVNRB/1 command and so on.
The 3rd line specifies the actual control points as xyz data. The maximum number of
xyz values will be 24 in one command. If there are more points, then there will be
another MOVNRB/2 command and so on.
The 4th line specifies the start of the original points that were converted into spline
data. This is given, in case the machine does not have a certain NURBS function and
can output G01 motion, ignoring the MOVNRB command.
433
G-Post - Help Topic Collection
2. MOVNRB/2,cp1...cpn
3. MOVNRB/NEXT
GOTO/p1,p2...pn
4. MOVNRB/OFF
The control points actually represent the polynomial coefficients for a cubic spline.
These are the three vector data along xyz axes and the start point. The parameter
space t = is from 0 to 1, to satisfy the equation d+ at+ bt2+ct3. For each curve
segment, there will be 12-scalar values (1-3 = d start xyz, 4-6 = a(xyz), 7-9 =
b(xyz), 10-12 = c(xyz).
2. MOVNRB/1,xyz,ijk,r
3. MOVNRB/2,cp1,cp2
4. MOVNRB/NEXT
CIRCLE/xyz,ijk,r
GOTO/p1,p2,…,pn
5. MOVNRB/OFF
The knot values represent the circle center (xyz), axis (ijk) and radius (r). The 1st
control point is the mid point of the arc and the 2nd control point is the end point of
the arc. This can be used to output the Siemens CIP block and skip the CIRCLE/---
and original GOTO/x,y,z(,i,j,k) for the arc.
434
Chapter 10: ARC / NURBS Fitting
A: At the start of APT/GPost run, a separate pass of the CL file will be made to
scan and convert linear move, G01, commands into circular moves, G02/G03,
commands.
A: Use the previously described CRVFIT/--- commands to control curve fit option
within the CL file.
A: Curve fit will not span across a FEDRAT/--- or any other GPost command, only
GOTO/x,y,z(,i,j,k) within the span will be qualified. The minimum and
maximum number of points stated control the point set selected. It is suggested
that you do not set the maximum points more than 500 due to performance.
Q: Will the arc fitting substitute helical motion for linear motion, G01's?
A: Yes – using the CRVFIT/ARCSLP,ON option. This will check the Z-change
along the tool axis to be constant and be within the stated tolerance, as specified
by the CRVFIT/TOLER,6,t6 command. When this is satisfied, an
ARCSLP/ON,--- command will be output before the circular motion. This will
instruct the GPost to perform helical interpolation motion for the circular records
in the MCD file (G02/G03 blocks will contain I, J, K lead values).
Q: Will arc fitting produce circular motion, G02 and G03's, when the tool axis is not
fixed (constant)?
A: No - the tool axis must remain constant for both arc and NURBS fitting.
A: Linear moves, G01, before and after CUTCOM/--- will be left alone since the
point set will not span a post processor command as stated before.
Note: The CUTCOM/plane must be in the same plane as the circular plane,
G02/G03. this condition is tested by GPost.
435
G-Post - Help Topic Collection
A: If we select 100 points from the CL file as a set and fit one arc, the arc motion
(the CIRCLE/--- and GOTO/---) records will have the ISN of the first
GOTO/x,y,z(,I,j,k) of this selected set.
A: Start and end points of the arc will be from the input CL file and are not
interpolated. Interim points can be discarded by the arc fitting routine using the
given tolerance t1 specified by the CRVFIT/TOLER,1,t1 command.
The general curve fitting tolerance t1 is used for all arc fitting and NURBS curves
creation and interpolation etc.
436
Chapter 10: ARC / NURBS Fitting
A: PROBE/--- points between PROBE/ON-OFF pair will not qualify for curve
fitting.
1.7 Examples
There are several test files available for both APT and GPost for
CRVFIT implementation. You can obtain these test files from Intercim free of
charge. Visit our WEB Site www.austinnc.com and go to the Support page to download
the Curve Fitting test files. Look at the FIL files to get an understanding of the
various formats from CRVFIT. This will help you to implement the MCD format in
your custom post.
For GPost, you can simply select the desired format FANUC, Siemens, etc. in the
option file generator and the MCD is automatically formatted.
1 PARTNO ARCFIT
2 MACHIN/UNCX01,1
3 MULTAX/ON
4 CLPRNT
5 CUTTER/0,0,0,0,0,0,5
6 SPINDL/300
7 FEDRAT/10
8 CRVFIT/ARC,ON
9 FROM /.70710678,0,-.70710678,.70710678,0,.70710678
10 GOTO /.70699909,.01745241,-.70699908,.70710678,0,.70710678
11 GOTO /.70667603,.0348995,-.70667603,.70710678,0,.70710678
437
G-Post - Help Topic Collection
12 GOTO /.70613772,.05233596,-.70613772,.70710678,0,.70710678
13 GOTO /.70538431,.06975647,-.7053843,.70710678,0,.70710678
14 GOTO /.70441603,.08715574,-.70441603,.70710678,0,.70710678
15 GOTO /.70323318,.10452846,-.70323318,.70710678,0,.70710678
16 GOTO /.70183612,.12186934,-.70183611,.70710678,0,.70710678
17 GOTO /.70022527,.1391731,-.70022527,.70710678,0,.70710678
18 GOTO /.69840112,.15643446,-.69840112,.70710678,0,.70710678
19 GOTO /.69636424,.17364818,-.69636424,.70710678,0,.70710678
20 GOTO /.69411524,.190809,-.69411524,.70710678,0,.70710678
21 GOTO /.6916548,.20791169,-.6916548,.70710678,0,.70710678
22 GOTO /.68898368,.22495105,-.68898368,.70710678,0,.70710678
23 GOTO /.68610269,.2419219,-.68610269,.70710678,0,.70710678
24 GOTO /.6830127,.25881904,-.6830127,.70710678,0,.70710678
25 GOTO /.67971466,.27563736,-.67971466,.70710678,0,.70710678
26 GOTO /.67620958,.2923717,-.67620958,.70710678,0,.70710678
27 GOTO /.67249851,.30901699,-.67249851,.70710678,0,.70710678
28 GOTO /.6685826,.32556815,-.6685826,.70710678,0,.70710678
29 GOTO /.66446303,.34202014,-.66446302,.70710678,0,.70710678
30 GOTO /.66014105,.35836795,-.66014105,.70710678,0,.70710678
31 GOTO /.65561799,.37460659,-.65561799,.70710678,0,.70710678
32 GOTO /.65089522,.39073113,-.65089522,.70710678,0,.70710678
33 GOTO /.64597419,.40673664,-.64597419,.70710678,0,.70710678
34 GOTO /.64085638,.42261826,-.64085638,.70710678,0,.70710678
35 GOTO /.63554337,.43837115,-.63554336,.70710678,0,.70710678
36 GOTO /.63003676,.4539905,-.63003675,.70710678,0,.70710678
37 GOTO /.62433823,.46947156,-.62433823,.70710678,0,.70710678
38 GOTO /.61844953,.48480962,-.61844953,.70710678,0,.70710678
39 GOTO /.61237244,.5,-.61237244,.70710678,0,.70710678
40 GOTO /.60610881,.51503807,-.60610881,.70710678,0,.70710678
41 GOTO /.59966056,.52991926,-.59966056,.70710678,0,.70710678
42 GOTO /.59302965,.54463903,-.59302965,.70710678,0,.70710678
438
Chapter 10: ARC / NURBS Fitting
43 GOTO /.58621809,.5591929,-.58621809,.70710678,0,.70710678
44 GOTO /.57922797,.57357644,-.57922797,.70710678,0,.70710678
45 GOTO /.5720614,.58778525,-.5720614,.70710678,0,.70710678
46 GOTO /.56472059,.60181502,-.56472058,.70710678,0,.70710678
47 GOTO /.55720775,.61566147,-.55720775,.70710678,0,.70710678
48 GOTO /.54952518,.62932039,-.54952518,.70710678,0,.70710678
49 GOTO /.54167522,.64278761,-.54167522,.70710678,0,.70710678
50 GOTO /.53366026,.65605903,-.53366026,.70710678,0,.70710678
51 GOTO /.52548275,.66913061,-.52548275,.70710678,0,.70710678
52 GOTO /.51714516,.68199836,-.51714516,.70710678,0,.70710678
53 GOTO /.50865005,.69465837,-.50865005,.70710678,0,.70710678
54 GOTO /.5,.70710678,-.5,.70710678,0,.70710678
55 GOTO /.49119765,.7193398,-.49119764,.70710678,0,.70710678
56 GOTO /.48224567,.7313537,-.48224567,.70710678,0,.70710678
57 GOTO /.47314679,.74314482,-.47314679,.70710678,0,.70710678
58 GOTO /.46390379,.75470958,-.46390379,.70710678,0,.70710678
59 GOTO /.45451948,.76604444,-.45451948,.70710678,0,.70710678
60 GOTO /.44499672,.77714596,-.44499672,.70710678,0,.70710678
61 GOTO /.43533841,.78801075,-.4353384,.70710678,0,.70710678
62 GOTO /.42554748,.79863551,-.42554748,.70710678,0,.70710678
63 GOTO /.41562694,.80901699,-.41562694,.70710678,0,.70710678
64 GOTO /.40557979,.81915204,-.40557979,.70710678,0,.70710678
65 GOTO /.3954091,.82903757,-.39540909,.70710678,0,.70710678
66 GOTO /.38511796,.83867057,-.38511796,.70710678,0,.70710678
67 GOTO /.37470951,.8480481,-.37470951,.70710678,0,.70710678
68 GOTO /.36418692,.8571673,-.36418692,.70710678,0,.70710678
69 GOTO /.35355339,.8660254,-.35355339,.70710678,0,.70710678
70 GOTO /.34281217,.87461971,-.34281217,.70710678,0,.70710678
71 GOTO /.33196653,.88294759,-.33196653,.70710678,0,.70710678
72 GOTO /.32101976,.89100652,-.32101976,.70710678,0,.70710678
73 GOTO /.30997521,.89879405,-.30997521,.70710678,0,.70710678
439
G-Post - Help Topic Collection
74 GOTO /.29883624,.90630779,-.29883624,.70710678,0,.70710678
75 GOTO /.28760624,.91354546,-.28760624,.70710678,0,.70710678
76 GOTO /.27628863,.92050485,-.27628863,.70710678,0,.70710678
77 GOTO /.26488686,.92718385,-.26488686,.70710678,0,.70710678
78 GOTO /.25340441,.93358043,-.25340441,.70710678,0,.70710678
79 GOTO /.24184476,.93969262,-.24184476,.70710678,0,.70710678
80 GOTO /.23021145,.94551858,-.23021145,.70710678,0,.70710678
81 GOTO /.21850801,.95105652,-.21850801,.70710678,0,.70710678
82 GOTO /.20673802,.95630476,-.20673802,.70710678,0,.70710678
83 GOTO /.19490504,.9612617,-.19490504,.70710678,0,.70710678
84 GOTO /.1830127,.96592583,-.1830127,.70710678,0,.70710678
85 GOTO /.17106461,.97029573,-.17106461,.70710678,0,.70710678
86 GOTO /.15906442,.97437006,-.15906442,.70710678,0,.70710678
87 GOTO /.14701577,.9781476,-.14701577,.70710678,0,.70710678
88 GOTO /.13492234,.98162718,-.13492234,.70710678,0,.70710678
89 GOTO /.12278781,.98480775,-.1227878,.70710678,0,.70710678
90 GOTO /.11061587,.98768834,-.11061587,.70710678,0,.70710678
91 GOTO /.09841024,.99026807,-.09841024,.70710678,0,.70710678
92 GOTO /.08617464,.99254615,-.08617464,.70710678,0,.70710678
93 GOTO /.07391279,.9945219,-.07391279,.70710678,0,.70710678
94 GOTO /.06162842,.9961947,-.06162842,.70710678,0,.70710678
95 GOTO /.04932528,.99756405,-.04932528,.70710678,0,.70710678
96 GOTO /.03700711,.99862953,-.03700711,.70710678,0,.70710678
97 GOTO /.02467767,.99939083,-.02467767,.70710678,0,.70710678
98 GOTO /.01234072,.9998477,-.01234072,.70710678,0,.70710678
99 GOTO /0,1,0,.70710678,0,.70710678
101 END
101 FINI$$
440
Chapter 10: ARC / NURBS Fitting
2 1 PARTNO ARCFIT
4 2 MACHIN UNCX01 1
6 3 MULTAX/ON
8 5 CUTTER 0 0 0 0 0 0 5
10 6 SPINDL 300
12 7 FEDRAT 10
441
G-Post - Help Topic Collection
29 101 END
31 101 FINI
13:43:56 Completed OK
-1 FINI
ARCFIT (INCH)
INPUT CLREC
N4G2Q24P5X34Y34R34Z34A43B33I34J34K34F32S5T2D2H2M2E2L4W32
3 6 $ ARCFIT
6 10 N1 M41$
6 10 N2 S00300 M03$
442
Chapter 10: ARC / NURBS Fitting
101 29 N9 M02$
101 31 %$
ARCFIT (INCH)
INPUT CLREC
N4G2Q24P5X34Y34R34Z34A43B33I34J34K34F32S5T2D2H2M2E2L4W32
443
G-Post - Help Topic Collection
2 MACHIN/UNCX01,11
3 MULTAX/ON
4 CLPRNT
5 CUTTER/0,0,0,0,0,0,5
6 SPINDL/300
7 FEDRAT/10
8 CRVFIT/SPLINE,ON
9 FROM /.70710678,0,-.70710678,.70710678,0,.70710678
10 GOTO /.70699909,.01745241,-.70699908,.70710678,0,.70710678
11 GOTO /.70667603,.0348995,-.70667603,.70710678,0,.70710678
12 GOTO /.70613772,.05233596,-.70613772,.70710678,0,.70710678
13 GOTO /.70538431,.06975647,-.7053843,.70710678,0,.70710678
14 GOTO /.70441603,.08715574,-.70441603,.70710678,0,.70710678
15 GOTO /.70323318,.10452846,-.70323318,.70710678,0,.70710678
16 GOTO /.70183612,.12186934,-.70183611,.70710678,0,.70710678
17 GOTO /.70022527,.1391731,-.70022527,.70710678,0,.70710678
18 GOTO /.69840112,.15643446,-.69840112,.70710678,0,.70710678
19 GOTO /.69636424,.17364818,-.69636424,.70710678,0,.70710678
20 GOTO /.69411524,.190809,-.69411524,.70710678,0,.70710678
21 GOTO /.6916548,.20791169,-.6916548,.70710678,0,.70710678
22 GOTO /.68898368,.22495105,-.68898368,.70710678,0,.70710678
23 GOTO /.68610269,.2419219,-.68610269,.70710678,0,.70710678
24 GOTO /.6830127,.25881904,-.6830127,.70710678,0,.70710678
25 GOTO /.67971466,.27563736,-.67971466,.70710678,0,.70710678
444
Chapter 10: ARC / NURBS Fitting
26 GOTO /.67620958,.2923717,-.67620958,.70710678,0,.70710678
27 GOTO /.67249851,.30901699,-.67249851,.70710678,0,.70710678
28 GOTO /.6685826,.32556815,-.6685826,.70710678,0,.70710678
29 GOTO /.66446303,.34202014,-.66446302,.70710678,0,.70710678
30 GOTO /.66014105,.35836795,-.66014105,.70710678,0,.70710678
31 GOTO /.65561799,.37460659,-.65561799,.70710678,0,.70710678
32 GOTO /.65089522,.39073113,-.65089522,.70710678,0,.70710678
33 GOTO /.64597419,.40673664,-.64597419,.70710678,0,.70710678
34 GOTO /.64085638,.42261826,-.64085638,.70710678,0,.70710678
35 GOTO /.63554337,.43837115,-.63554336,.70710678,0,.70710678
36 GOTO /.63003676,.4539905,-.63003675,.70710678,0,.70710678
37 GOTO /.62433823,.46947156,-.62433823,.70710678,0,.70710678
38 GOTO /.61844953,.48480962,-.61844953,.70710678,0,.70710678
39 GOTO /.61237244,.5,-.61237244,.70710678,0,.70710678
40 GOTO /.60610881,.51503807,-.60610881,.70710678,0,.70710678
41 GOTO /.59966056,.52991926,-.59966056,.70710678,0,.70710678
42 GOTO /.59302965,.54463903,-.59302965,.70710678,0,.70710678
43 GOTO /.58621809,.5591929,-.58621809,.70710678,0,.70710678
44 GOTO /.57922797,.57357644,-.57922797,.70710678,0,.70710678
45 GOTO /.5720614,.58778525,-.5720614,.70710678,0,.70710678
46 GOTO /.56472059,.60181502,-.56472058,.70710678,0,.70710678
47 GOTO /.55720775,.61566147,-.55720775,.70710678,0,.70710678
48 GOTO /.54952518,.62932039,-.54952518,.70710678,0,.70710678
49 GOTO /.54167522,.64278761,-.54167522,.70710678,0,.70710678
50 GOTO /.53366026,.65605903,-.53366026,.70710678,0,.70710678
51 GOTO /.52548275,.66913061,-.52548275,.70710678,0,.70710678
52 GOTO /.51714516,.68199836,-.51714516,.70710678,0,.70710678
53 GOTO /.50865005,.69465837,-.50865005,.70710678,0,.70710678
54 GOTO /.5,.70710678,-.5,.70710678,0,.70710678
55 GOTO /.49119765,.7193398,-.49119764,.70710678,0,.70710678
56 GOTO /.48224567,.7313537,-.48224567,.70710678,0,.70710678
445
G-Post - Help Topic Collection
57 GOTO /.47314679,.74314482,-.47314679,.70710678,0,.70710678
58 GOTO /.46390379,.75470958,-.46390379,.70710678,0,.70710678
59 GOTO /.45451948,.76604444,-.45451948,.70710678,0,.70710678
60 GOTO /.44499672,.77714596,-.44499672,.70710678,0,.70710678
61 GOTO /.43533841,.78801075,-.4353384,.70710678,0,.70710678
62 GOTO /.42554748,.79863551,-.42554748,.70710678,0,.70710678
63 GOTO /.41562694,.80901699,-.41562694,.70710678,0,.70710678
64 GOTO /.40557979,.81915204,-.40557979,.70710678,0,.70710678
65 GOTO /.3954091,.82903757,-.39540909,.70710678,0,.70710678
66 GOTO /.38511796,.83867057,-.38511796,.70710678,0,.70710678
67 GOTO /.37470951,.8480481,-.37470951,.70710678,0,.70710678
68 GOTO /.36418692,.8571673,-.36418692,.70710678,0,.70710678
69 GOTO /.35355339,.8660254,-.35355339,.70710678,0,.70710678
70 GOTO /.34281217,.87461971,-.34281217,.70710678,0,.70710678
71 GOTO /.33196653,.88294759,-.33196653,.70710678,0,.70710678
72 GOTO /.32101976,.89100652,-.32101976,.70710678,0,.70710678
73 GOTO /.30997521,.89879405,-.30997521,.70710678,0,.70710678
74 GOTO /.29883624,.90630779,-.29883624,.70710678,0,.70710678
75 GOTO /.28760624,.91354546,-.28760624,.70710678,0,.70710678
76 GOTO /.27628863,.92050485,-.27628863,.70710678,0,.70710678
77 GOTO /.26488686,.92718385,-.26488686,.70710678,0,.70710678
78 GOTO /.25340441,.93358043,-.25340441,.70710678,0,.70710678
79 GOTO /.24184476,.93969262,-.24184476,.70710678,0,.70710678
80 GOTO /.23021145,.94551858,-.23021145,.70710678,0,.70710678
81 GOTO /.21850801,.95105652,-.21850801,.70710678,0,.70710678
82 GOTO /.20673802,.95630476,-.20673802,.70710678,0,.70710678
83 GOTO /.19490504,.9612617,-.19490504,.70710678,0,.70710678
84 GOTO /.1830127,.96592583,-.1830127,.70710678,0,.70710678
85 GOTO /.17106461,.97029573,-.17106461,.70710678,0,.70710678
86 GOTO /.15906442,.97437006,-.15906442,.70710678,0,.70710678
87 GOTO /.14701577,.9781476,-.14701577,.70710678,0,.70710678
446
Chapter 10: ARC / NURBS Fitting
88 GOTO /.13492234,.98162718,-.13492234,.70710678,0,.70710678
89 GOTO /.12278781,.98480775,-.1227878,.70710678,0,.70710678
90 GOTO /.11061587,.98768834,-.11061587,.70710678,0,.70710678
91 GOTO /.09841024,.99026807,-.09841024,.70710678,0,.70710678
92 GOTO /.08617464,.99254615,-.08617464,.70710678,0,.70710678
93 GOTO /.07391279,.9945219,-.07391279,.70710678,0,.70710678
94 GOTO /.06162842,.9961947,-.06162842,.70710678,0,.70710678
95 GOTO /.04932528,.99756405,-.04932528,.70710678,0,.70710678
96 GOTO /.03700711,.99862953,-.03700711,.70710678,0,.70710678
97 GOTO /.02467767,.99939083,-.02467767,.70710678,0,.70710678
98 GOTO /.01234072,.9998477,-.01234072,.70710678,0,.70710678
99 GOTO /0,1,0,.70710678,0,.70710678
101 END
101 FINI$$
4 2 MACHIN UNCX01 11
6 3 MULTAX/ON
8 5 CUTTER 0 0 0 0 0 0 5
10 6 SPINDL 300
12 7 FEDRAT 10
18 10 MOVNRB ON
19 10 MOVNRB 1
447
G-Post - Help Topic Collection
1.0000000 1.0000000
20 10 MOVNRB 2
.0000157
21 10 MOVNRB NEXT
448
Chapter 10: ARC / NURBS Fitting
449
G-Post - Help Topic Collection
450
Chapter 10: ARC / NURBS Fitting
25 10 MOVNRB OFF
28 101 END
30 101 FINI
08:25:09 Completed OK
-2 PPWORD/MOVNRB,1094
-3 $$
-4 $$ CRVFIT/SPLINE,ON
-5 $$ GOTO/PTS
-6 $$ CRVFIT/OFF
-7 $$
-9 $$ MOVNRB/ON,ORDER,#KNOTS,#WEIGHTS,#CONTROL PTS
-10 $$ MOVNRB/1,KNOTS...
-11 $$ MOVNRB/2,CPT-XYZ...
-12 $$ MOVNRB/NEXT
-13 $$ GOTO/PTS
-14 $$ MOVNRB/OFF
-15 $$
-16 MXP=200
451
G-Post - Help Topic Collection
-17 RESERV/PKN,MXP,PCX,MXP,PCY,MXP,PCZ,MXP
-18 MXWD2=24+4
-19 CIMFIL/ON,MOVNRB
-20 DMY=POSTF(20)
-21 IW4=POSTF(7,4)
-23 KRD=POSTF(7,5)
-24 KNT=POSTF(7,6)
-25 KWT=POSTF(7,7)
-26 KCP=POSTF(7,8)
-28 DMY=POSTF(13)
-29 JUMPTO/LB90
-30 ENDIF
-32 DMY=POSTF(14)
-33 J1=4
-34 DO/LB10,I1=1,KNT
-36 DMY=POSTF(14)
-37 J1=4
-38 ENDIF
-39 PKN(I1)=POSTF(7,(J1+1))
-40 J1=J1+1
-41 LB10)CONTIN
-42 $$ NO WEIGHTS
-44 DMY=POSTF(14)
-45 J1=4
-46 DO/LB20,I1=1,KCP
452
Chapter 10: ARC / NURBS Fitting
-48 DMY=POSTF(14)
-49 J1=4
-50 ENDIF
-51 PCX(I1)=POSTF(7,(J1+1))
-52 PCY(I1)=POSTF(7,(J1+2))
-53 PCZ(I1)=POSTF(7,(J1+3))
-54 J1=J1+3
-55 LB20)CONTIN
-60 $$ ...
-61 $$ KN-3
-62 $$ KN-2
-63 $$ KN-1
-64 $$ KN
-65 POSTN/ALL
-66 GOTO/PCX(1),PCY(1),PCZ(1)
-67 POSTN/OUT,7,5,16,10000
-68 POSTN/OUT,17,6.2,16,KRD,11,PKN(1),24,PCX(1),25,PCY(1),26,PCZ(1)
-69 PLABEL/OPTION,61,TO,10
-70 DO/LB30,I1=2,KCP
-71 DMY=POSTF(3,3,(355+11))
-72 POSTN/OUT,11,PKN(I1),24,PCX(I1),25,PCY(I1),26,PCZ(I1)
-73 LB30)CONTIN
-74 PLABEL/OPTION,61,TO,0
-75 I1=I1+1
-76 DO/LB30,J1=I1,KNT
-77 POSTN/OUT,11,PKN(J1)
-78 LB30)CONTIN
453
G-Post - Help Topic Collection
-79 POSTN/OUT,7,5,16,0
-81 DMY=POSTF(14)
-82 DMY=POSTF(20)
-83 IW4=POSTF(7,4)
-85 DO/LB40,I1=1,2
-86 I1=1
-87 DMY=POSTF(14)
-88 IW2=POSTF(7,2)
-89 IW3=POSTF(7,3)
-91 LB40)CONTIN
-92 JUMPTO/LB90
-93 $$ MOVNRB/BAD
-94 LB80)CONTIN
-95 DMY=POSTF(21)
-96 DMY=POSTF(13)
-97 JUMPTO/LB90
-98 LB90)CONTIN
-99 CIMFIL/OFF
-100 FINI
3 6 $ NURB FIT
6 10 N1 M41$
6 10 N2 S00300 M03$
454
Chapter 10: ARC / NURBS Fitting
10 18 N3 G1 X.707 Y.0175 Z-.707 A90. B-0. F10.$ .7070 .0175 -.7070 90.000
.000
10 18 N4 G5 P10000$
10 18 N10 K1.$
10 18 N11 K1.$
10 18 N12 K1.$
10 18 N13 K1.$
10 18 N14 G5 P0$
101 30 %$
INPUT CLREC
N4G2Q24P5X34Y34R34Z34A43B33I34J34K34F32S5T2D2H2M2E2L4W32
455
1 Appendix A
∴= 32 ! = 33 “ = 34 # = 35 $ = 36 % = 37 & =38 ‘ = 39
( = 40 ) = 41 * = 42 + = 43 , = 44 - = 45 . = 46 / = 47
0 = 48 1 = 49 2 = 50 3 = 51 4 = 52 5 = 53 6 = 54 7 = 55
8 = 56 9 = 57 : = 58 ; = 59 < = 60 = = 61 > = 62 ? = 63
@ = 64 A = 65 B = 66 C = 67 D = 68 E = 69 F = 70 G = 71
H = 72 I = 73 J = 74 K = 75 L = 76 M = 77 N = 78 O = 79
P = 80 Q = 81 R = 82 S = 83 T = 84 U = 85 V = 86 W = 87
X = 88 Y = 89 Z = 90 [ = 91 \ = 92 ] = 93 ^ =95 _= 96
457
G-Post - Help Topic Collection
Q = 17 R = 18 S = 19 T = 20 U = 21 V = 22 W = 23 Z = 24
Y = 25 Z = 26
458
Appendix B: Other Commands
1 Appendix B
This appendix describes some additional functions in the Gpost that have been added
at different times to meet the needs of different machine tools but are not generic
enough to be added to the Option File Generator. To activate these functions you will
be required to set some of the post processor common variables. To set the
commons variables in the Gpost you can use the “Common Variable” panel in the
Option File Generator or use FIL.
⇒ To output the radius of rotation used by some controllers to adjust the feed
rates has been added. Some MAHO 5 axis machines use A40raidus B40raidus
C40radius to update the feed rates.
New variable,
R40ABCFG DBLCOM(0985)
You can specify a shift of XYZ for the radius calculation such as the pivot distance
for Z axis etc.
New variable,
Example:
CIMFIL/ON,MACHIN
DMY = POSTF(13)
DMY = POSTF(2,3,985,1) $$ OUTPUT NON-
459
G-Post - Help Topic Collection
MODAL A40-C40
DMY = POSTF(2,3,988,3.1) $$ SHIFT Z 3.1
DMY = POSTF(2,1,2455,16) $$ A AXIS ADDRESS = P
DMY = POSTF(2,1,2456,0) $$ NO B AXIS
ADDRESS
DMY = POSTF(2,1,2457,17) $$ C AXIS ADDRESS = Q
CIMFIL/OFF
⇒ To adjust the output XYZ coordinates along the tool axis for a dual rotary
head machine you need to set the OTRANV common variable, it is
DBLCOM(918). Initially this value is set to Zero and if this is set to a value, the
XYZ will be modified by this distance along the current tool axis.
⇒ The current CIRCLE information can be retrieved from the following common
locations:
Lathe
circle start angle (DBLCOM(1666))
total angle (DBLCOM(1667))
circle direction (INTCOM(538)).
⇒ An output address multiplier has been added for each output address.
Setting these locations will force the post to multiply the current output value by
this multiplier prior to it being output.
Lathe
DBLCOM(1610) – DBLCOM(1661) a through verify z. Dwell IPM is DBLCOM(1662)
and DWELL IPR is DBLCOM(1663).
⇒ G93 F# to match the Cincinnati hi-speed machines. Using 1/2 cutter height
to shift tool-tip along the tool-axis to find the current span length.
460
Appendix B: Other Commands
⇒ On a dual rotary head machine (HEAD/HEAD), a check has been added for
the PVTDS2 DBLCOM(653) being greater than zero. If PVTDS2 is greater than
zero the PVTDS2 DBLCOM(635) is recalculated to be (PVTDST-PVTDS2) and the
machine points are modified.
461
G-Post - Help Topic Collection
⇒ Complete axis travel limits are now printed to the listing file.
⇒ INTCOM(2717) can be set to 1 to skip the Z test for one circle move
following the ARCSLP/OFF command.
⇒ When using a tilt wire EDM post (INTCOM(2713) =0 ) the default wire height
is set in DBLCOM(889) and is 1.00 by default.
462
Copyright 1992-2002, All Rights Reserved
Intercim-Austin
Austin N.C., Inc.
505 East Huntland Drive, Suite 480
Austin, Texas 78752
This manual and accompanying software are copyrighted and contain proprietary
information belonging to Intercim-Austin. This manual may not be copied,
photocopied, reproduced, translated, or reduced to machine-readable form without
the prior written consent of Intercim-Austin. No copies of the manual may be sold to
any person or other entity.
Product Improvements
The information in this document is subject to change without notice and should not
be construed as a commitment by Intercim-Austin. Intercim-Austin assumes no
responsibility for any errors that may appear in this document.
463
Index
0 0509 G-code
465
0xxx ......................................... 169 1510 Flag ............ 169
15 ABC...................................... 273
466
Index
1993 SP-RANGEM- 3
code ...................................... 169
3 XY ......................................... 273
1-999,M-Code
3,k ............................................ 429
unclamping ............................. 273
3.0 MACHIN/UNCX01................... 429
unclamping B .......................... 273
3.0 MACHIN/UNCX01,11 DATE ...... 429
unclamping C .......................... 273
3427 Switch
unclamping Y .......................... 273
G 169, 273
unclamping Z .......................... 273
3427 Switch ..169, 273
1-999,M-Code ............................ 273
3432 Output SELECT
1Intercim Cimpro/Win32 APT ....... 429 ......................................169, 273
467
3861 Allow Alpha- 4353 Add......169, 273
Numeric ................................. 169
4354 Minimum ..... 273
3861 Allow Alpha-Numeric .... 273
4635 Repeat CYCLE
3941 Output ......................................169, 273
4346 Output 7
SPINDL/OFF ............................ 273
7 XYZ ....................................... 273
4347 Output
7,w,n ........................................ 429
COOLNT/OFF ........................... 273
7.5,IPM CLEARANCE ......................53
4348 Output OPSTOP
............................................. 273 7.5,IPM,CLEARANCE ......................53
468
Index
8 A-axis
80 allows .......................................53
9 A-axis..........................................53
A AAXIS,a .......................................53
469
Add 0158+n .............................. 273 Address Z ................................. 169
470
Index
Spindle..................................... 53 And
471
Approach................................... 169 ARCMOV .............................. 53, 429
472
Index
AUXFUN/m,NEXTs......................... 53 Back
Axis BAXIS,b1,b2.................................53
473
Bitmap ........................................ 23 BRKDLT ..............................169, 273
Block BRKLNG
0671 Maximum.. 273
NC ........................................... 53
BRKLNG
POSTN ..................................... 53
1583 Length...... 169
Block ................................... 53, 405
BRKLOK
Block 0672 Minimum... 273
474
Index
475
CHECK CIRRAD
0016 Current..... 169
Dock Toolbar ............................. 23
CIRRAD
Z-change ................................ 429
0017 Current..... 273
CHECK ................................. 23, 429
CL
CHECK/XAXIS,0,50,YAXIS,0,20 ...... 53
applies ......................................53
CHECK/XAXIS,x1,x2 ..................... 53
following ...................................53
CHECK/XAXIS,x1,x2,YAXIS,y1,y2 ... 53
processing ........................169, 273
CHECK/YAXIS,y1,y2...................... 53
reads ...............................169, 273
CIMFIL/OFF ................. 417, 429, 459
relates ......................................53
CIMFIL/ON,COMBIN .................... 417
TURN ........................................53
CIMFIL/ON,HEAD........................ 417
CL ..... 5, 9, 23, 53, 169, 273, 429, 459
CIMFIL/ON,MACHIN .................... 459
CL File
CIMFIL/ON,MOVNRB ................... 429
pass ....................................... 429
CIMFIL/ON,OP............................ 417
Prints........................................53
CimPRO
reprocessing ............................ 417
installed ................................... 23
CL File5, 9, 23, 53, 169, 273, 417, 429
CimPRO....................................... 23
CL FILE BY OP-NUMBERS AND
CimPRO/Win32............................. 23 CREATES THE COMBIN,HEAD
COMMANDS ............................. 417
Cincinnati
CL FILE BY TIMING THE MOTION AND
match .................................... 459 CREATES THE COMBIN,HEAD
COMMANDS ............................. 417
Cincinnati .................................. 459
CL For ....................................... 169
Cincinnati PQ ............................... 53
CL Record .................................. 459
CIRCEN .............................. 169, 273
CL XY ..........................................53
CIRCLE........................ 169, 273, 429
CL XYZ ...................................... 273
Circle/circle.................................. 53
CL Y
Circle/line .................................... 53
applies ......................................53
CIRCLE/xyz,ijk,r ......................... 429
FACE ........................................53
CIRCUL Causes ............................ 53
Lathe ......................................... 9
Circular ..................................... 405
VTL Z......................................... 9
Circular ..................................... 169
CL Y ........................................ 9, 53
CIRCULLINEAR ............................. 53
476
Index
CL z ............................................ 53 CLWare........................................53
CLRSRF/NOW............................... 53 COMBINand
477
Command Reference ..............5, 9, 53 Contents - This .............................23
478
Index
479
CRCLWD............................. 169, 273 CRVFIT/TOLER,6,t6 ..................... 429
480
Index
481
CYCLE/BORE,FEDTO,z,IPMIPR,f,RAPTO CYCLE/DRILL,z,f,IPMIPR,c ..............53
,c............................................. 53
CYCLE/DRILL-
CYCLE/BORE,z,f,IPMIPR,c .............. 53 81,FEDTO,z,IPMIPR,f,RAPTO,c......53
CYCLE/DEEP,z,f,IPMIPR,c,INCR,z1 .. 53 CYCLE/OFF
CYCLE/DEEP,z1,z2,z3,z4.z20,f,IPMIPR, IGCOFF
0500 G-code.. 169,
c.............................................. 53
273
CYCLE/DEEP-83,z,f,IPMIPR,c,INCR,z1
CYCLE/OFF .................... 53, 169, 273
............................................... 53
CYCLE/ON-OFF ........................... 429
CYCLE/DEEPCL ...................... 53, 273
CYCLE/points.............................. 429
CYCLE/DEEPCL,5,10,IPM,.1............ 53
CYCLE/REAM ............... 169, 273, 405
CYCLE/DEEPCL,z,f,IPM-IPR,c .......... 53
CYCLE/REAM,1.0,8.0,IPM,.1 ...........53
CYCLE/DRILL ............... 169, 273, 405
CYCLE/REAM,FEDTO,z,IPMIPR,f,RAPTO
CYCLE/DRILL,1.0,6.0,IPM,.1 .......... 53
,c .............................................53
CYCLE/DRILL,FEDTO,z,IPMIPR,f,RAPTO
,c............................................. 53 CYCLE/REAM,z,f,IPMIPR,c...............53
482
Index
CYCLE/REAM- CYCLTM
88,FEDTO,z,IPMIPR,f,RAPTO,c ..... 53 0031 Current..... 169
483
DEBUGG ending .................. 169, 273 DEGARC
0910 Total ........ 273
DEBUGG starting ................. 169, 273
Degree ...................................... 273
DEBUGG/. This postprocessor.......... 9
Degrees ..................................... 273
DEBUGG/.This postprocessor............ 9
DEGSTR..............................169, 273
DEBUGG/FRONT ........................... 53
DELAY ........................ 169, 273, 405
DEBUGG/OFF ............................... 53
DELAY/5 ......................................53
DEBUGG/ON,CLW ......................... 53
DELAY/5,REV................................53
DEBUGG/ON,n,TO,m,TYPE,13......... 53
DELAY/n ......................................53
Decimal....................................... 23
Delete ....................................... 405
DECR
DELTA ................................169, 273
lead ....................................... 169
DELTAM ..................................... 273
DECR ................................... 53, 169
Delta-z ...................................... 429
DECR,d ....................................... 53
Departure .................................. 405
DECR,d Default ............................ 53
Departure .................................. 405
Decrease ................................... 169
DEPMAX 0068
Decrease Main Panel Size .............. 23
Maximum ................................ 169
DEEP ................................. 169, 273
DEPMAX 0079
DEEPCL ..................................... 273 Maximum ................................ 273
484
Index
485
DRILL ................................ 169, 273 DWELL IN SECONDS......................53
486
Index
EMPTY Existing
0088 Real......... 169
postprocessor ............................23
EMPTY
Existing .......................................23
0099 Real......... 273
Existing Option File
Enable A40-C40 ......................... 459
Figure 20 – Open .......................23
END
Figure 21 - Open ........................23
1963 M-code..... 169
Existing Option File........................23
block...................................... 273
Existing Postprocessor Option File
MEND
1963 M-code .. 273 Opening ....................................23
program ................................. 405 Existing Postprocessor Option File ...23
program ................................. 405 Exit – Will ....................................23
END ...... 169, 273, 405, 413, 417, 429 Exiting
END OF LATHE OPERATION.......... 413 Option File Generator..................23
END OF MERGING OP .................. 417 Exiting .........................................23
END OF MILLING OPERATION....... 413 Expand
End point................................... 169 THRDSQ.................................. 273
End point Y ............................... 169 Expand ...................................... 273
ENDIF ................................ 417, 429 Expand THEAD/AUTO................... 273
Enter .......................................... 23 Explains
487
4-Axis Merging Lathe................ 1, 3 FANUC....................................... 429
F FCPM
0091 Cycle ........ 169
F 23, 53, 169, 273, 457
FCPM
F FEDRAT........................ 405
0102 CYCLE FEED
F Is ............................................. 273
CL Y ......................................... 53 FEDFOR
0088 Mazak....... 273
FACE.............................53, 169, 273
FEDMUL ..............................169, 273
FACTO ...................................... 169
FEDRAT
FACTOR..................................... 273
Use ..........................................53
FACTOR
0090 Conversion 169 FEDRAT ................. 53, 273, 413, 429
488
Index
FEDRAT,RAPID,0,RAPID,RAPID,RAPID Feedrate
............................................... 53
f Is ...........................................53
FEDRAT/.008,IPR........................ 413
milling ......................................53
FEDRAT/.010,IPR................... 53, 413
Feedrate ................ 53, 169, 273, 405
FEDRAT/10 ......................... 417, 429
Feedrate f ....................................53
FEDRAT/10,IPM ............................ 53
Feedrate fthe................................53
FEDRAT/15,IPM ............................ 53
Feedrate fto .................................53
FEDRAT/5.................................. 417
Feedrate maximum ..................... 405
FEDRAT/8,IPM............................ 413
Feedrate minimum ...................... 405
FEDRAT/f..................................... 53
Feedrate minimum ...................... 405
FEDRAT/f,IPM .............................. 53
Feedrate mode ....................169, 273
FEDRAT/f,IPM,RAPTO .................... 53
Feedrates............................169, 273
FEDRAT/f,IPM,RAPTO,d ................. 53
Few Words… .................................23
FEDRAT/f,IPR ............................... 53
Fifty-third ...........................169, 273
FEDRAT/f,IPR,RAPTO .................... 53
Figure 1 Postprocessing Model ......23
FEDRAT/f,RAPTO,d........................ 53
Figure 10 - Start Up Screen ............23
FEDRAT/LOCK,OFF
Figure 11 – Creating
1964 M-code..... 169
New Option File..........................23
MFDOFF
Figure 11 – Creating......................23
1964 M-code .. 273
Figure 1-1 APT-GPOST System Flow
FEDRAT/LOCK,OFF............... 169, 273
Chart ......................................... 5
FEDRAT/LOCK,ON
Figure 1-1 CL Points ......................53
MFDON1965 M-code
Figure 1-1 First Quadrant Lathe ....... 9
................................... 169, 273
Figure 12 – Creating
FEDRAT/LOCK,ON................ 169, 273
New Option File..........................23
FEDRAT/LOCK,ONOFF ................... 53
Figure 12 – Creating......................23
FEDRAT/RAPTO ................... 169, 273
Figure 1-2 CAD/CAM....................... 5
FEDTO,z The z ............................. 53
Figure 1-2 CL Points ......................53
FEED
489
Figure 1-2 Fourth Quadrant Lathe ..... 9 Figure 21 - Open...........................23
Figure 19 - Specify ....................... 23 FIL ....1, 3, 5, 9, 23, 53, 273, 417, 429
490
Index
491
Format 16 ................................. 273 FROM/8.5,6................................ 413
492
Index
493
G80 ..................................... 53, 273 requires ...........................169, 273
494
Index
495
GOTO/2,3 .................................... 53 Gpost
GOTO/p1,p2,…,pn....................... 429 H
496
Index
I IAX1
2078 CLWRD ..... 273
I,J .............................................. 53
IAX2
I,j,k .......................................... 429 2079 CLWRD ..... 273
497
IAX4 IBLKLG 0447 Number
2081 CLWRD .... 273 ............................................. 169
IAX5 IBQUAD
2082 CLWRD .... 273 2094 Switch ...... 273
IAX6 IBRKFL
2083 CLWRD .... 273 2210 Flag...169, 273
498
Index
499
IFCZPR............................... 169, 273 IG1MODALFG ......................169, 273
IFMODL IGCLW
0493 Previous 0499 G-code CLW
FEDRAT mode ......................... 169 ......................................169, 273
500
Index
501
IGPOS IGTHD ....................................... 169
0512 G-code
IGTLNG0516 G-code
RAPID positioning .................... 273
tool ........................................ 273
IGPOS
IGTLNG0516 G-code
0512 G-code ..... 273
............................................. 273
IGPOS INTCOM ................... 169, 273
IGXYP
IGPOSZ 0513 G-code 0523 G-code
502
Index
IKA IN Specifies
0531 Letter....... 273
tool ..........................................53
IKULSPINOF
IN Specifies ..................................53
3978 Internal Flag
............................................. 273 INAUTO
2095 Switch ...... 273
IKULSPINSW
3977 Switch...... 273 Inc ...................................... 53, 463
ILASERPUNCH 4312 . 273 INCH ................................... 53, 429
ILNBLK2701 Flag.. 273 Inch N30 G20 X24 Z24 I24
ILNMOV K24 F32 S20 T40 M20............... 405
2702 Internal.... 273 Inch N30 G20 X34 Y34 R34
Z34 I34 J34 K34 F33 S40 T50 B33
ILOKSW
D20 H20 M20........................... 405
0532 For .......... 169
INCH INPUT .................................53
ILTSPT ...................................... 273
Inch Only MachineInch Only Machine 9
IMANRD
0533 Flag Inch/inch ................................... 169
PNCHIT ........................... 169, 273 Inch/metric
IMANRD 0489 Switch ...... 273
0533 Flag .. 169, 273
IFACSW
IMAVOD 0489 Switch ... 169
2205 M-code..... 273
Inch/metric .........................169, 273
IMILLTURN ................................ 273
INCLUD/C ....................................53
IMLXCPFLG 4639
Auto....................................... 273 INCLUD/Filename..........................53
503
following................................... 53 Initialized
Inhouse......................................... 9 Instructs
504
Index
505
IPGMBLOCK ........................ 169, 273 IPM mode. ................................. 169
IPM............................................... 9 IPR............................................... 9
506
Index
507
IRPTYP ISELOUTSW 3433
2053 Flag Internal............................169, 273
ISELGDEF ISPDIR
1513 Current.... 169,
3428 Default G-code
273
SELECT ........................... 169, 273
ISPDIR INTCOM ...................169, 273
ISELGDEF
ISPDRL
3428 Default G-code
...................................... 169, 273 1514 Last...169, 273
508
Index
ISPNRW ITHDP
1520 Current ... 169, 3474 G76 Threading
273 ............................................. 169
ITAPH ITHP2
2714 CYCLE/TAP,--- 3468 G76 Threading
HIGH G-code........................... 273 ............................................. 169
ITAPSW ITHP2S
2069 Switch..... 169, 3478 G76 Threading
273 ............................................. 169
ITHD76 ITHQ1
3452 G76 Threading 3466 G76 Threading
............................................. 169 ............................................. 169
ITHDF ITHQ1S
3482 G76 Threading 3476 G76 Threading
............................................. 169 ............................................. 169
ITHDP ITHQ2
3472 G76 Threading 3469 G76 Threading
............................................. 169 ............................................. 169
509
ITHQ2S ITLTBL................................169, 273
3479 G76 Threading
ITMLBK
............................................. 169
2703 Internal .... 273
ITHR1
ITMLFD
3467 G76 Threading
............................................. 169 2704 Switch ...... 273
ITHR1S ITOLSW
1825 Flag...169, 273
3477 G76 Threading
............................................. 169 ITOLVC2705 Switch
............................................. 273
ITHR2
3470 G76 Threading ITRCNT ...................................... 169
............................................. 169
ITRDIR ...................................... 169
ITHR2S
3480 G76 Threading ITRDIR
............................................. 169 1827 Current..... 169
510
Index
IVC1 IZWMOD
2084 CLWRD .... 273 0545 Switch ...... 273
IVC2 IZWMUV
2085 CLWRD .... 273 0556 Type
511
JABSI JABSZ
0035 Order 169, 273 0052 Order 169, 273
JJ 0010........... 169
512
Index
JJ JSPC...................................169, 273
0010 Tape ........ 273
JSPCZW ..................................... 273
JK 0011 ........... 169
JSPEC ........................................ 273
JK
JT ............................................. 273
0011 Tape ........ 273
JT
JKSW
0020 Tape......... 169
2097 Flag ......... 273
JTIRET
JL 0012 ........... 169
2457 Threading . 169
JL
0012 Tape ........ 273 JU
0021 Tape..169, 273
JM
JUMPTO/LB80 ............................. 429
0013 Tape . 169, 273
JUMPTO/LB90 ............................. 429
JN ..................................... 169, 273
JV
JN
0022 Tape..169, 273
0014 Tape . 169, 273
JW ............................................ 273
JO ............................................ 273
JW
JO
0015 Tape ........ 169 0023 Tape..169, 273
JP JX
0024 Tape..169, 273
0016 Tape . 169, 273
JY
JPARAD .............................. 169, 273
0025 Tape..169, 273
JQ
JZ ............................................. 273
0017 Tape . 169, 273
JZ
JR............................................. 273
0026 Tape..169, 273
JR
0018 Tape ........ 169 JZSVZW..................................... 273
K
JRAPAD
2073 RAPID169, 273 K 53, 169, 273, 429, 457, 459
JROTSW K Is .............................................53
2093 Flag ......... 273
K,m,n ..........................................53
JS............................................. 169
K.4607 ...................................... 429
JS
0019 Tape ........ 273 K2 CPX CPY CPZ ......................... 429
513
KCP .......................................... 429 KOMPQRF
4356 PQR CUTCOM
KEYWORD ................................. 169
............................................. 273
Kfor ............................................ 53
KOMPQRM 4357
KKDOFF PQR CUTCOM/XYZ .................... 273
2708 Switch...... 273
KOMRAD .................................... 273
KKDOFF
KOMRAD 1939
3440 Internal.... 169 Radius .................................... 273
KKHOFF KOMREG
2707 Switch...... 273
1942 Offset ....... 169
KKMANL 2466
KOMROT
Switch .................................... 273
1940 Flag.......... 273
KKPQSW ................................... 273
KOMRT2
KKRSW ..................................... 169 2483 Flag.......... 273
value ........................................53
514
Index
515
LEFT Generates ............................ 53 Linear.................................. 53, 405
516
Index
517
Machine Control Data ...................... 5 MACHINstatement.........................53
518
Index
519
MCLTHH 3421 Units ......................................... 9
COOLNT/THRU,HIGH M-code .... 169,
MeasureUnits................................. 9
273
MEND ........................................ 169
MCLTHL
3422 MEND
COOLNT/THRU,LOW M-code169, 273 1963 M-code
Mcode END........................................ 273
CCLW Generates........................ 53 MEND
CLW Generates.......................... 53 1963 M-code ..... 273
M00 ................................ 169, 273 Metric N30 G20 X33 Z33 I33
K33 F41 S20 T40 M20............... 405
M01 ................................ 169, 273
Metric N30 G20 X43 Y43 R43
M02 ................................ 169, 273 Z43 I43 J43 K43 F42 S40 T50 B33
D20 H20 M20........................... 405
requires........................... 169, 273
Metric Only MachineMetric Only
Mcode ......................................... 53
Machine ..................................... 9
M-code..........................53, 169, 273
METRIC OUTPUT ...........................53
Mcodes
Metric/inch ................................. 169
generates ................................. 53
Metric/metric .............................. 169
Mcodes ....................................... 53
MFDOFF ..................................... 169
M-codes ............................. 169, 273
MFDOFF
MCRANG ................................... 169 1964 M-code
520
Index
521
MMPM ........................................... 9 MODIFY Allows
Modify....................................23, 53 MOVNRB
522
Index
523
MULFGC N
0532 Switch...... 273
N
MULRSW 2463
value ........................................53
Switch .................................... 273
N 53, 169, 273, 405, 429, 457
MULTAX
N SEQNO......................... 405
distance ................................. 273
N Causes .....................................53
during ...................................... 53
N Denotes ....................................53
test.......................................... 53
N IASCII ......................................53
MULTAX ........................53, 169, 273
N The ..........................................53
MULTAX 1987
Flag ................................ 169, 273 N,1-8 .................................169, 273
MULTAX CL file ............................. 53 N,9 ....................................169, 273
MULTAX TEST N,G .............................................53
PARTNO THIS IS ........................ 53 N0001G81X0Y0R010Z00875F01......53
MULTAX TEST .............................. 53 N0002G80....................................53
MULTAX/OFF ................................ 53 N0003G81R00885Z00775 ..............53
MULTAX/ON ...................53, 273, 429 N0004G00X0Y0F0 .........................53
MULTG ............................... 169, 273 N0004G00Z0001F0 .......................53
Multiple OPSKIP................... 169, 273 N0004G00Z0002F0 .......................53
Multiple Register Addresses N0004G01X003Y003Z0 ..................53
Simultaneously
N0004G01X003Y003Z0F001 ...........53
Changing .................................. 23
N0004G01X005Y008Z0F000001......53
Multiple Register Addresses
Simultaneously .......................... 23 N0004G01X0104545Y0051818Z0F001
...............................................53
Multiple Start Threading ................ 53
N0004G80R0101...........................53
Multiple Turret Lathe ................. 9, 53
N0004G88X0R0001Z-001F008........53
MULTM ............................... 169, 273
N0004G88X0Y0R0001Z-001F008 ....53
MUST ........................................ 417
N0004G92X-1.Y-1.B90...................53
MXLINE
1988 Maximum 169, N0004M4A ...................................53
273
N0005G00Z005F0 .........................53
MXP .......................................... 429
N0005G01X0.Y0.Z-5.F10 ...............53
MXWD2 ..................................... 429
N0005G01X0Y0Z-001F007 .............53
524
Index
N0005X0109091Y0053636............. 53 N0008G00Z10W20F0.....................53
N0006G84X0Y0R0002Z-001F011538 N0009G01Z-001F..........................53
............................................... 53
N0009G81R0066Z006 ...................53
N0006G87X0R0001Z-0005F0085.... 53
N0009M05 ...................................53
N0006G87X0Y0R0001Z-0005F0085 53
N0009R-0021Z-003.......................53
N0006X0113636Y0055455............. 53
N0009X0127273Y0060909 .............53
N0006X015Y015Z003 ................... 53
N001 Where nnn .............. 405
N0006Z0001................................ 53
N001 G01 X15.0 Y10.0 Z100.0 F10.0
N0007G01X01Y01Z0F001 .............. 53 ...............................................53
525
N0011G01Z003F007 ..................... 53 N004G01X1778Z127F00003 ...........53
N0011X0136364Y0064545............. 53 N004G22G33................................53
N0012G00Z-0022F0...................... 53 N004S03M03................................53
N0012X0140909Y0066364............. 53 N005G00X0Z001...........................53
N002G90..................................... 53 N005X1Z1....................................53
N003G94..................................... 53 N005Z109091...............................53
526
Index
N007X01Z01................................ 53 N011Z136364...............................53
N008G00Z007.............................. 53 N012Z140909...............................53
N008G01Z02F007......................... 53 N013Z145455...............................53
527
N10 K1...................................... 429 N45 W12 ................................... 417
N2 .............................................. 53 N4G85X0.0Y0.0R.1Z-.1F7.5............53
528
Index
N7G00Z.1.................................... 53 NBLOCK
1990 Number ... 169,
N7G04X2.0 .................................. 53 273
N7G04X2.0M05 ............................ 53 NC
N7G2X- blocks .......................................53
3.125Y.0Z.264I.579J3.031K.199.. 53
NC ..............................................53
N7G80 ........................................ 53
NC System Guide ..........................23
N7X2.0........................................ 53
NC Verify .....................................53
N8 G1 X1 .................................. 429
NC/CNC .......................................23
N8 X.1975 Y1............................. 429
NC/CNC machine/control................23
N80 G1 X1................................. 417
N-code ...................................... 413
N80 X5.003 ............................... 417
529
NCYCLE Nnnn
1991 Current ... 169,
MODE .......................................53
273
Nnnn ................................... 53, 405
NE ............................................ 429
Nnnn Optional ..............................53
NEVER CHANGE THIS LOCATION . 169,
273 Nnth.......................................... 169
New............................................ 23 NO B AXIS ADDRESS ................... 459
New............................................ 23 NO ORIGIN ..................................53
New FEDRAT ....................... 169, 273 No tool ...................................... 273
New Option File No tool list file ............................ 169
Figure 11 – Creating .................. 23 NO WEIGHTS.............................. 429
Figure 12 – Creating .................. 23 NODIAG
1992 Flag...169, 273
New Option File ............................ 23
NOMORE ..................... 169, 273, 417
New Postprocessor Option File
Non Tilt Wire EDM ....................... 273
Creating ................................... 23
Nonfractional ................................. 9
New Postprocessor Option File........ 23
Non-GOTO CL ............................. 429
Next ........................................... 23
Non-merging
NEXT .....................53, 169, 273, 429
G-Post .................................... 413
NEXT BLOCKS .............................. 53
Non-merging .............................. 413
NEXT Causes................................ 53
Nonmodal
NEXT Generates ........................... 53
RAPTO Is...................................53
NEXT OPTION WHEN MULTIPLE
GCODES ................................... 53 Nonmodal ....................................53
NEXT Will .................................... 53 NON-MODAL............................... 459
NEXTis ........................................ 53 Non-MULTAX .......................169, 273
NEXT-NOW .................................. 53 Non-PQ CUTCOM......................... 273
Nn .......................5, 23, 53, 169, 273 Non-RAPID CL ..............................53
Nn Number .................................. 53 Non-RAPID GOTO/x,y,z................ 429
Nn Output Mnn on Auto Break ........ 53 Normal ...............................169, 273
Nn Switch .................................... 53 Normally M00 ...............................53
Nn Use IASCII.............................. 53 Normally M01 ...............................53
Nnn ................................... 169, 273 Normally M02 ...............................53
530
Index
NTHBLK NXTCLR
2007 SEQNO.... 169, 2461 Switch ...... 273
273
NXTSEQ
NTOOL 2012 Next ..169, 273
2008 Pointer .... 169,
273 NXTWRD 2013
Internal............................169, 273
NTTL......................................... 273
NZDATA 2014
NTTL Counter............................169, 273
2009 Maximum . 169
O
NTW .................................. 169, 273
O 53, 273, 429, 457
NTW
O1 ............................................ 413
2010 Number... 169,
273 O1,s1 ........................................ 413
Number OBSOLETE ...................................53
addresses,a1,a2,a3.,a25............. 53 OBSOLETE Print IAPT CL ................53
axes....................................... 405 OD
ORIGINstatements ..................... 53
531
ID............................................ 53 tool ..........................................53
OFF OFG
532
Index
OPSKIP .......... 53, 169, 273, 405, 459 How To Use ...............................23
533
OPTION Specifies.......................... 53 OUT Causes..................................53
534
Index
Output X12.0 ...................... 169, 273 PARTNO ........ 169, 273, 413, 417, 429
P PARTNO THIS IS
535
PGETIM0270 Machine Plabel/modify ...............................53
............................................. 169
PLABEL/MODIFY,n,TO,v,TYPE,t........53
PGETIM0281 Machine
PLABEL/MODIFY. This postprocessor 9
............................................. 273
PLABEL/Option
PGMNUMMAX 0983
Program Number Maximum ....... 273 access ......................................53
PGMNUMMAX 1699 PLABEL/Option............... 53, 169, 273
Program Number Maximum ....... 169
PLABEL/OPTION Examples..............53
PGMNUMMIN 0982
Program Number Minimum........ 273 PLABEL/OPTION,01,TO,01 ..............53
536
Index
537
POSTN/INOUT,a1,v1,a2,v2.an,vn.... 53 Postprocessor defaults ...................23
POSTN/OUT,17,6.2,16,KRD,11,PKN429 Postprocessor’s
POSTN/OUT,G,40,X....................... 53 Postprocessors
538
Index
Preconfigures W273
PREFUN/g.................................... 53 PRMDIR
0652 Flag.......... 273
PREFUN/g,NEXTs .......................... 53
PROBE ....................................... 429
PREFUN/nn ......................... 169, 273
PROBE/ON-OFF ........................... 429
PRES.................................. 169, 273
Processed .................................. 273
Preselected .................................. 53
Processed. ................................. 169
Preset. ...................................... 169
Processing
PRESMP..................................... 273
CL ...................................169, 273
PRESPT .............................. 169, 273
Processing...........................169, 273
PREV
Program
Z 53
end ........................................ 405
PREV.............................53, 169, 273
Program..................................... 405
Prev XYZABC ............................... 53
Program
Previously-established
539
end ........................................ 405 PULSE
0409 Machine .... 169
Program .................................... 405
PULSE
PRVCPT ..................................... 273
0421 Machine .... 273
PRVMZW ................................... 273
Punch ........................... 53, 169, 273
PRVTIM ..................................... 273
Punch Buffer............................... 273
PRVTIM
Punch File Output..........................53
1535 Total ........ 169
Punch Press Option file ................... 5
PSTBLD0920
Postprocessor.......................... 273 Punch Presses......................... 5, 459
540
Index
R40ZSHFT DBLCOM .................... 459 RAPID........... 169, 273, 405, 417, 429
541
RAPIDmove ................................. 53 Rec Isn ...................................... 429
RAPMIN Refer
0413 Minimum .. 169
PQ...................................273, 459
RAPMIN
Refer ..................................273, 459
0425 Minimum .. 273
Register .......................................23
RAPMNF .................................... 169
Register Box.................................23
RAPMNF 0426
Feed ...................................... 273 Register Format Dialog Box ............23
RAPTO ........................................ 53 Register’s.....................................23
RAPTO Is Registers
nonmodal ................................. 53 MODE/INCR ...............................53
RAPTO Is ..................................... 53 Registers .....................................53
RAPTO,c The ................................ 53 REINIT................................169, 273
RAPTO,d...................................... 53 Related Commands .......................53
Rates Relates
ROTARY.................................. 273 CL ............................................53
Rates ........................................ 273 Relates ........................................53
R-code ...................................... 169 Relative Commands..................... 405
Read CL .................................... 169 RELCOM
Read CL record........................... 273 number ...................................... 9
Read This First .......................... 1, 3 RELCOM.................... 9, 53, 169, 273
Reads RELCOM Variables ....................... 273
CL................................... 169, 273 RELCOMvariables ........................... 9
toolpath.................................... 23 REPEAT
Reads ...........................23, 169, 273 specify ......................................53
REAM ................................. 169, 273 REPEAT......................... 53, 169, 273
REAR Repeat CYCLE ......................169, 273
distance ................................. 169 REPEAT Switch ........................... 169
REAR ............................53, 169, 273 REPEAT,0 .....................................53
REAR ........................................ 169 REPEAT,O ....................................53
REAR Specifies ............................. 53 REPEAT,r .....................................53
542
Index
Represents REWIND
543
RLEDER.............................. 169, 273 ROTSGN
0447 Rotary axis
RMTRX ............................... 169, 273
CCLW ..................................... 273
ROREFS..................................... 273
RPCHEK3 ................................... 273
ROT**2....................................... 53
RPDEG
ROTABL................................ 53, 273 0436 Conversion 169
ROTREF..................................... 273 S
value ........................................53
544
Index
S Is ............................................ 53 SEC.............................................53
S*dia SECDIR
0657 Flag.......... 273
distance ................................... 53
SECLPT0750
S*dia .......................................... 53
Secondary ............................... 273
S1 ............................................ 413
Secondary.................................. 169
S2 .............................................. 53
Secondary Clearance Value ............53
SADDLE
Secondary Clearance Value sc The...53
distance ................................. 169
Secondary Turret ..........................53
SADDLE ............................... 53, 169
Seconds..................................... 405
SADDLE .................................... 169
Seconds..................................... 405
Same ........................................ 273
See
Same Slide .................................... 9
Factory Interface Language .........23
SAMPLE FANUC NURB ................. 429
FAQ ........................................ 429
Save ........................................... 23
UNCMRG ...................................53
Save As....................................... 23
See ................................ 23, 53, 429
Sby ............................................ 53
See Chapter ...............................5, 9
Sc .............................................. 53
See ICYCSW ........................169, 273
Scalar ....................................... 429
See Note.................................... 169
Scalar f ....................................... 53
See PLABEL/Option ........ 53, 169, 273
Scalar Lower ................................ 53
See RELCOM SEQINC................... 169
Scheduled Post UNCASC .............. 429
SELCPT ...................................... 169
Scheduled Post UNCX01 .............. 429
SELCTL/t......................................53
Scheduled Section ...................... 429
SELECT
Scheduled Section 1-1................. 429
Configuration Manager ................23
Scheduled Section 1-2................. 429
CUTCOM/LEFT-RIGHT ............... 273
S-code
Finish button .............................23
Causes ..................................... 53
ISELGDEF
S-code ..........................53, 169, 273 3428 Default G-
code .............................169, 273
Screen
Option file................................. 23
545
ISELGMAX SELHMAX 0924
3430 Maximum G- SELECT H-code ........................ 273
code............................. 169, 273
SELHMAX 1608
ISELGMIN SELECT ................................... 169
3429 Minimum G-
code............................. 169, 273 SELHMIN
0923 SELECT H-code
Machine Tool Type ....................... 9 ............................................. 273
SELH SEQNO/ON...................................53
0922 Used ........ 273
SEQNO/SQN,INCR ....................... 417
SELH
SEQNUM
1606 Used ........ 169 0442 Current..... 169
SELHDEF SEQNUM
0925 SELECT H-code
0479 Current..... 273
............................................. 273
Set..............................................23
SELHDEF
1609 SELECT .... 169 SET ........................................... 417
546
Index
547
SPDREQ SPINDL/200,RPM ........................ 417
0448 SPINDL/S,RPM
SPINDL/200,SFM......................... 413
............................................. 169
SPINDL/300 ......................... 53, 429
Specifies
SPINDL/300,RPM,CLW ...................53
REPEAT .................................... 53
SPINDL/350,SFM......................... 413
Y 459
SPINDL/500,RPM ........................ 413
Z 459
SPINDL/CCLW
Specifies .............................. 53, 459
MSPCCW
Spin Button ................................. 23
1981 M-code . 169,
Spin Buttons ................................ 23 273
SPINCR SPINDL/CLW
0449 SPINDL/INCR
............................................. 169 MSPCLW
1982 M-code . 169,
SPINDL 273
548
Index
SPINDL/ORIENT Stage
549
String table....................................... 273
550
Index
551
THEN ................................. 417, 429 THRU..................................169, 273
552
Index
TLSPEC/OFFSET,RIGHT-LEFT- ITLPRE
ON,DIAMTR,IN-OUT-ON .............. 53 4315 Create ... 169
553
Toolpath...................................... 23 Travel
TOTLNG TULNML
0494 Total ........ 273 0496 Last tool
number ................................... 273
TOTLNG
1356 Total ........ 169 TULNML
1358 Last tool ... 169
TOTLTM
0495 Total ........ 273 TULNUM 0497
Current tool number ................. 273
TOTLTM
1357 Total ........ 169 TULNUM 1359
Current tool ............................. 169
Trademarks ............................... 1, 3
TULTIM
Trailing
0498 Cycle ........ 273
Trailing ..................................... 169
TULTIM
TRANS 1534 Cycle ........ 169
TRANS/x,y................................... 53 TURN,vActivates
554
Index
TURRET/1,1,-2.5,4.5..................... 53 U
555
1-999,M-Code ......................... 273 ASCII ............................... 53, 457
Unclamping Y FEDRAT.....................................53
556
Index
557
VTL Z Windows NT4.0 Shortcut ................23
W1 X
558
Index
559
XYZB ........................................ 405 YAXIS........................................ 273
Y Yj 53
Y Yk ...............................................53
560
Index
Z Z-axes.........................................53
Z Z-axis
Z1 ZDEPTH
1467 Feed......... 169
Z-axis ...................................... 53
Ze............................................. 429
Z1 .............................................. 53
Zero
Z1,z2 .......................................... 53
set ......................................... 459
Z10 .......................................... 417
Zero .......................................... 459
Z100.0 ........................................ 53
Zh Specifies .................................53
Z1less c ...................................... 53
Zi 53
Z2 .............................................. 53
Zj ...............................................53
Z20 ............................................ 53
Zk...............................................53
561
Zlength ..................................... 273 ZWCLRP..................................... 273
562