Professional Documents
Culture Documents
STUDENT GUIDE
March 2004
MT11060 - Unigraphics NX 2 / Post Builder V3.2
EDS Inc.
Copyright
Proprietary right of Unigraphics Solutions Inc., its subcontractors, or its suppliers are included in this
software, in the data, documentation, or firmware related thereto, and in information disclosed
therein. Neither this software, regardless of the form in which it exists, nor such data, information, or
firmware may be used or disclosed to others for any purpose except as specifically authorized in writing
by Unigraphics Solutions Inc. Recipient by accepting this document or utilizing this software agrees
that neither this document nor the information disclosed herein nor any part thereof shall be
reproduced or transferred to other documents or used or disclosed to others for manufacturing or any
other purpose except as specifically authorized in writing by Unigraphics Solutions Inc.
E2004 Electronic Data Systems Corporation. All rights reserved.
Restricted Rights Legend
The commercial computer software and related documentation are provided with restricted rights.
Use, duplication or disclosure by the U.S. Government is subject to the protections and restrictions as
set forth in the Unigraphics Solutions Inc. commercial license for the software and/or documentation
as prescribed in DOD FAR 227-7202-3(a), or for Civilian Agencies, in FAR 27.404(b)(2)(i), and any
successor or similar regulation, as applicable. Unigraphics Solutions Inc., 10824 Hope Street, Cypress,
CA 90630.
Warranties and Liabilities
All warranties and limitations thereof given by Unigraphics Solutions Inc. are set forth in the license
agreement under which the software and/or documentation were provided. Nothing contained within
or implied by the language of this document shall be considered to be a modification of such warranties.
The information and the software that are the subject of this document are subject to change without
notice and should not be considered commitments by Unigraphics Solutions Inc.. Unigraphics
Solutions Inc. assumes no responsibility for any errors that may be contained within this document.
The software discussed within this document is furnished under separate license agreement and is
subject to use only in accordance with the licensing terms and conditions contained therein.
Trademarks
EDS, the EDS logo, I-DEAS, UNIGRAPHICS SOLUTIONSR, UNIGRAPHICSR, GRIPR,
PARASOLIDR, UGR, UG/...R, UG SOLUTIONSR, iMANR are trademarks or registered
trademarks of Electronic Data Systems Corporation or its subsidiaries. All other logos or trademarks
used herein are the property of their respective owners.
February 2001
May 2002
February 2003
March 2004
Table of Contents
Table of Contents
Course Overview . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Course Description . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Intended Audience . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Prerequisites . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Objectives . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Class Standards for UG/Post Files . . . . . . . . . . . . . . . . . . . . .
Class File Naming . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
How to Use This Manual . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Postprocessor Development Project Overview . . . . . . . . . .
Classroom System Information . . . . . . . . . . . . . . . . . . . . . . .
-1
-1
-1
-1
-2
-3
-3
-4
-5
-5
1-1
1-2
1-2
1-4
1-4
2-1
2-3
2-4
2-7
2-11
2-13
2-14
2-22
2-22
2-24
2-26
2-28
2-37
2-46
2-54
2-57
2-68
2-69
2-72
EEDS
All Rights Reserved
Table of Contents
ii
2-77
2-80
3-1
4-1
4-2
4-8
5-1
5-2
5-5
6-1
6-2
6-2
6-3
6-4
6-4
6-5
6-5
6-6
6-6
6-6
6-7
6-8
6-10
6-11
6-12
6-13
6-16
6-20
6-24
6-24
6-24
7-1
7-2
7-3
7-3
EEDS
All Rights Reserved
3-2
3-5
Unigraphics NX 2
Post Builder V3.2
Table of Contents
7-4
7-15
7-16
7-17
8-1
8-3
8-5
8-8
9-1
9-2
9-3
9-6
9-16
Virtual NC Controller . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Integrated Simulation and Verification Overview . . . . . . . .
Machine Tool Driver . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Activity 10-1: Using Post Builder to create a VNC . . . . . . .
10-1
10-2
10-3
10-5
11-1
11-1
A-1
B-1
B-1
C-1
C-2
C-2
C-4
C-7
C-9
C-14
C-15
C-16
C-17
C-18
C-18
C-18
C-20
EEDS
All Rights Reserved
iii
Table of Contents
Pivot Point . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Dual Table Kinematics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Special Case 5Axis Dual Table . . . . . . . . . . . . . . . . . . . . . . .
UG/Post Postprocessing using Runugpost . . . . . . . . . . . . . .
C-22
C-24
C-26
C-28
Glossary . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . GL-1
Index . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
iv
EEDS
All Rights Reserved
IN-1
Unigraphics NX 2
Post Builder V3.2
Course Overview
Course Overview
Course Description
UG/Post Building Techniques is a course that will focus on creating, modifying,
and customizing UG/Post postprocessors. You will use the Post Builder to
accomplish this task.
Success in creating a UG/Post postprocessor is through the understanding of
the components of the Post Builder and their interaction. These components
will be discussed in detail, along with their relationships and examples of use.
Intended Audience
This course is intended for Manufacturing Engineers, NC/CNC Programmers
and or System administrators responsible for the creation and maintenance of
postprocessors. In addition, anyone wishing to gain an understanding of
creating UG/Post postprocessors or utilization of the Post Builder module
would also benefit.
Prerequisites
The required prerequisites for this course are:
D
EEDS
All Rights Reserved
-1
Course Overview
Objectives
After successfully completing this course, you will be able to perform the
following activities related to UG/Post:
-2
EEDS
All Rights Reserved
Unigraphics NX 2
Post Builder V3.2
Course Overview
file name
(1 - 120 characters)
def
lpt
pui
* * * _ x x x x x x x x x x x x x x x x x x x x tcl
dat
ptp
underscore delimiter
extension
(4 characters)
When you are requested to save a file for later use, the initials of your name, middle
name, and surname replace the course identifier ***" in the new filename with the
remainder of the filename matching the original. These files should reside in your
personal directory.
TIP Currently up to 128 total characters are valid for file names. A four
character extension (.tcl, for example) defines the file type. This means
the maximum number of user defined characters for the file name is
actually 124.
EEDS
All Rights Reserved
-3
Course Overview
lecture
activity
project
summary
One or more
included in most
lessons
It is recommended that students who prefer more detail from an Instructor Led
Course ask questions, confirm with restatement, and more importantly, attend
and pay attention to the instruction as it is given.
Obviously, it is always necessary for students to consider the classroom situation
and be considerate of other students who may have greater or lesser needs for
instruction. Instructors cannot possibly meet the exact needs of every student.
At the start of each class day you will be expected to log onto your workstation
and start Unigraphics, being ready to follow the instructor's curriculum. At the
end of the day's class you should always quit Unigraphics and log off the
workstation.
-4
EEDS
All Rights Reserved
Unigraphics NX 2
Post Builder V3.2
Course Overview
Username:
Password:
Work Directory:
Parts Directory:
Instructor:
Date:
EEDS
All Rights Reserved
-5
Course Overview
-6
EEDS
All Rights Reserved
Unigraphics NX 2
Post Builder V3.2
PURPOSE
OBJECTIVES
EEDS
All Rights Reserved
1-1
Postprocessing
You use the Manufacturing applications of Unigraphics to generate tool paths.
The tool path consists of GOTO points and other information that controls the
movement of the tool with respect to the part which is being machined. This
unmodified tool path usually cannot be used for machining since each machine
tool/controller combination has different requirements based on hardware
configuration, tool change requirements, and software characteristics, such as
the sequence of G codes which are permitted on a line of output.
The tool path must be formatted to match the unique characteristics of the
machine tool/controller combination. The procedure of modifying this generic
tool path to a form that can be understood and used by the machine tool
controller is called postprocessing.
Two elements are required for postprocessing. They are:
D
UG/Post Execute
Unigraphics provides a postprocessor, UG/Post, which utilizes Unigraphics tool
path data as input, and outputs machine controller readable NC/CNC code.
UG/Post is customizable through the use of user created Event Handler and
Definition files. These files, in conjunction with UG/Post, are used to generate
output for the simplest to the very complex of machine tool/controller
combinations.
The UG/Post processor is highly scalable and can be used to generate output
for simple milling machines and lathes to ultra complex multiaxis (4+ axis)
machining and production centers (a production center is considered to be a
milling/turning type machine). The extensibility of UG/Post is achieved through
the scripting language Tcl and the use of the Unigraphics concept of Definition
files.
1-2
EEDS
All Rights Reserved
Unigraphics NX 2
Post Builder V3.2
EEDS
All Rights Reserved
1-3
The Event Generator, Event Handler, and the Definition file are
interdependent and together convert the internal tool path into a set of
instructions that can be read and executed by the specific machine
tool/controller combination.
Post Builder
The UG/Post mechanism uses Tcl (Tool Command Language) scripts and files
for postprocessing. These files extract information from the part file, process
this information according to defined rules, formats the information for output
and then outputs the data to a file which is later used by the machine control
for machining a part. These files are highly customizable, and if manually
edited, require the working knowledge of the Tcl scripting language.
Post Builder provides a graphical User Interface for building posts. The design
intent of the Post Builder is to create all the necessary files needed for
postprocessing without detailed knowledge of the file structure or Tcl.
The Post Builder is very flexible and allows for the definition of various types of
output blocks and word addresses. Sequence of output in the NC output file is
very easy to control for blocks involving the start of program, start of operation,
end of operation, end of program, tool changes and canned cycles.
Post Builder currently configures postprocessors for the following:
1-4
EEDS
All Rights Reserved
Unigraphics NX 2
Post Builder V3.2
2axis lathes
Wire EDM
EEDS
All Rights Reserved
1-5
SUMMARY
In this lesson you were introduced to:
1-6
EEDS
All Rights Reserved
Unigraphics NX 2
Post Builder V3.2
PURPOSE
OBJECTIVES
Page
2-1
2-2
2-3
2-4
2-5
2-6
2-7
2-8
2-4
2-14
2-24
2-28
2-46
2-57
2-69
2-77
EEDS
All Rights Reserved
2-1
Wire EDM
2-2
EEDS
All Rights Reserved
Unigraphics NX 2
Post Builder V3.2
EEDS
All Rights Reserved
2-3
Start Unigraphics.
2-4
EEDS
All Rights Reserved
Unigraphics NX 2
Post Builder V3.2
Scroll down the file until you find the following line:
UGII_CAM_RESOURCE_DIR=${UGII_C AM_BASE_DIR}resource\
and
UGII_CAM_RESOURCE_DIR=${HOMEDRIVE}${HOMEP ATH}\resource\
UNIX:
Step 1 Copy the Mach/resource directory.
-
EEDS
All Rights Reserved
2-5
Edit the .ugii_env file from your home directory using the vi
or other UNIX editor (alternately, highlight the file, in the
File Manager window, right click and select open; the file
will be opened in DTPAD, a full screen editor).
UGII_CAM_BASE_RESOURCE=${UGII_CAM_BASE_DIR}resource/
UGII_CAM_BASE_RESOURCE=${HOME}/resource/
-
2-6
EEDS
All Rights Reserved
Unigraphics NX 2
Post Builder V3.2
When you initially enter the Post Builder you will see the Post Builder Menu
Bar. The Menu Bar contains a Cue Line and two Tool Bars.
Post Builder Menu Bar
The Cue line displays prompt messages on expected input by the current
option. These messages indicate the next action which you need to take.
Cue Line
EEDS
All Rights Reserved
2-7
The Post Filing Tool bar contains three command buttons associated with
creating new, opening and saving postprocessors.
Open Existing
Create New
Save
User's Manual
Balloon Tip
Context Help
Balloon Tip option, when turned on, displays a message balloon that contains
descriptions concerning the functionality of the widget, whenever the cursor
stops at a widget on the dialog.
Balloon
Tip
2-8
EEDS
All Rights Reserved
Unigraphics NX 2
Post Builder V3.2
Context Help option when turned on, changes the pointer into a question mark.
You can then click on an icon or item on the display that you are in question
about and will see an explanation of the function of the icon or item. Click on
the explanation window to close.
Context
Help
User's Manual is a complete online manual on the Post Builder. The User's
Manual also contains MOM events and variables.
User's Manual
Pull Down menus are also available for File, Options, Utilities and Help.
EEDS
All Rights Reserved
2-9
The File pull down menu allows for the creation, opening, saving and closing of
postprocessor files. It also allows you to access a list of the most recently
opened posts as well as exiting from the Post Builder program.
The Options pull down menu allows for the validation of the syntax, addresses,
blocks and formats used in Custom Commands as well as the number of backup
files created.
The Utilities pull down menu allows for modification of the Template_post.dat
data file and the addition of MOM variables.
The Help pull down menu allows for the activation of Balloon Tips, Context
Sensitive Help, access to the User's Manual, Release Notes and specific
information concerning the version of the Post Builder being utilized.
2-10
EEDS
All Rights Reserved
Unigraphics NX 2
Post Builder V3.2
EEDS
All Rights Reserved
2-11
The Post Name field is the name of the postprocessor being created. Spaces are
not allowed. Suggestions would be a name including the manufacturer of the
machine and controller, number of axis and type of machine, e.g.
maz_vmc_fanuc_m16_3ax_in, would represent a Mazak 3axis Vertical
Machining Center with Fanuc M16 controller with inch output (it is
recommended that the name be all upper or lowercase letters).
The Description field allows for text describing machine tool/controller
characteristics and any other miscellaneous information.
Post Output Units selection buttons allow for inch or metric output.
Machine Tool allows the selection of various milling (multiaxis) machine, lathe
configurations and Wire EDM type machines.
Controller allows the selection of generic, library or User's machine controllers.
D
2-12
EEDS
All Rights Reserved
Unigraphics NX 2
Post Builder V3.2
EEDS
All Rights Reserved
2-13
Select the New option in the File pull down menu and in the
Name field, name the postprocessor ***_my_post, where ***
stands for your initials.
***_my_post
2-14
EEDS
All Rights Reserved
Unigraphics NX 2
Post Builder V3.2
Select the 3axis button bar and notice the choices available.
You will accept the default for 3axis.
Select OK.
The Main Editor property page (tab) is displayed.
EEDS
All Rights Reserved
2-15
Select the File pull down menu from the main menu bar and
then select Save As.
Visually check the File name box, if the file name shown is
the same as the file name of your postprocessor, select OK,
otherwise type in the correct name and then select OK.
When you save your file, three files are actually saved. The
files have the extension .pui, .tcl, and .def.
The .pui file is used by the Post Builder to read and write
parameters for a specific postprocessor.
The .def file is the definition file that is used by UG/Post to
format the output and the .tcl file is the Event Handler
which contains a detailed set of instructions for processing
each Event type.
2-16
EEDS
All Rights Reserved
Unigraphics NX 2
Post Builder V3.2
Note: If you edit either the .tcl file or .def file outside of the
Post Builder, the association of those files with the Post
Builder can be broken. Editing of the .tcl file or .def file
should only be done if absolutely necessary and only after
doing everything that can be done using the Post Builder. Be
sure to make a copy of the .tcl and .def file before beginning
the editing process, then edit the copied files.
In order for your newly created postprocessor to be included
in the Unigraphics Postprocessing window, you must save
the post to your home postprocessing directory and modify
the template_post.dat file to include the new postprocessor.
This file is also located in the home postprocessor directory.
This file is added to the template_post.dat file by using the
Utilities function from the main menu bar.
Step 4 Add your newly created postprocessor to the
template_post.dat file.
-
EEDS
All Rights Reserved
2-17
***
2-18
EEDS
All Rights Reserved
Unigraphics NX 2
Post Builder V3.2
***
***_my_post.pui
The path and name of the file are inserted into the
Template_post.dat file.
***
***
***
***_my_post${UGII_CAM_POST_DIR}***_my_post.tcl,${UGII_CAM_POST_DIR}***_my_post.def
afile (.def)
-
EEDS
All Rights Reserved
2-19
Choose Cancel.
2-20
EEDS
All Rights Reserved
Unigraphics NX 2
Post Builder V3.2
***
Choose Cancel.
EEDS
All Rights Reserved
2-21
50
The Machine Tool property page allows the selection of output to include
Circular Records or to output linear motion only. You can also specify Linear
Axis Travel Limits, Home Position, Linear Motion Step Size and Traversal Feed
Rate. The Display Machine Tool button gives a simple, generic, representation
of the motions of the machine tool being configured.
2-22
EEDS
All Rights Reserved
Unigraphics NX 2
Post Builder V3.2
50
The Default button returns you to the state when the post was last saved for the
current screen".
The Restore button returns you to the state when you entered the current
screen".
EEDS
All Rights Reserved
2-23
Close Window
button
2-24
EEDS
All Rights Reserved
Unigraphics NX 2
Post Builder V3.2
Set the linear travel limits to the following: X=60, Y=50 and
Z=40.
EEDS
All Rights Reserved
2-25
The Program and Tool Path property page allows for creation, modification and
customization of the Event Handlers for all Events which occur by the use of
multiple function property pages. These functions, presented in the tab format,
are:
Program allows the addition, modification and customization of
Program Start Sequences, Operation Start Sequences, Tool Path
Events including Machine Control Events, Motion Events, Canned
Cycles Events, Operation End Sequences and Program End
Sequences.
G Codes property page will allow you to specify default Gcodes used
throughout the postprocessor. Changing any of the Gcodes in this list
will update the Gcodes globally.
M Codes property page will allow you to specify default Mcodes used
throughout the postprocessor. Changing any of the M codes in this list,
will update the Mcodes globally.
2-26
EEDS
All Rights Reserved
Unigraphics NX 2
Post Builder V3.2
Word is the same that you will find in the word section of the
NC Data Definitions section.
Data Type can be either numeric or text. Specify text when the
code needed cannot be formatted from a number directly into a
word address and a value. If, for example, you need a G84.1 for
tapping and G81 (without a decimal) for drilling, you would
make the Gmotion word text and change all of the G codes to
G81 instead of 81 with a leader of G. You may also go to the
format property page in NC Data Definitions to change only the
Gmotion word to text.
Plus (+) allows a plus sign for all positive numbers. If set to no
the (+) sign is not generated. A minus sign (-) is generated for
all numeric data if the value is negative.
To change how the postprocessor will output a value of zero for coordinate
data, select either the zero_int or zero_real option for formats in the NC Data
Definitions section under the Format property page. This will output a zero in
front of the decimal point.
EEDS
All Rights Reserved
2-27
2-28
Select the Program and Tool Path property page from the
Post Builder selection menu.
EEDS
All Rights Reserved
Unigraphics NX 2
Post Builder V3.2
Scroll down the Word column until you reach the X address.
EEDS
All Rights Reserved
2-29
Notice that changing the X address word format also changes all
other axis word formats.
Step 3 Change the F address format to 3.1.
-
2-30
Scroll down the Word column until you reach the F address.
EEDS
All Rights Reserved
Unigraphics NX 2
Post Builder V3.2
Scroll down the Word column until you reach the D address.
Notice that the range for the offset is from 0 to 99. The
maximum number allowable since the format for the word is
Digit_2. By changing the format to Digit_4, you can then
allow for the maximum desired tool offset of 999.
-
EEDS
All Rights Reserved
2-31
2-32
EEDS
All Rights Reserved
Unigraphics NX 2
Post Builder V3.2
Choose OK.
EEDS
All Rights Reserved
2-33
Choose OK.
Step 7 Save the post and run it against the test part,
pbt_mill_test.prt.
-
2-34
EEDS
All Rights Reserved
Unigraphics NX 2
Post Builder V3.2
***
EEDS
All Rights Reserved
2-35
2-36
EEDS
All Rights Reserved
Unigraphics NX 2
Post Builder V3.2
EEDS
All Rights Reserved
2-37
"Parameter Window"
2
4
Sequence Window
Sequence components 6
Block components 7
Component Window
2-38
EEDS
All Rights Reserved
Unigraphics NX 2
Post Builder V3.2
lightblue
background
Marker
Cube
(yellow background)
white background
Hand
Page
EEDS
All Rights Reserved
2-39
Operation Start Sequence contains Events and actions that will occur
from the start of an operation to the first cut motion. Every operation
will have a first tool change, automatic tool change, manual tool
change or no tool change.
2-40
EEDS
All Rights Reserved
Unigraphics NX 2
Post Builder V3.2
By activating the Add Block button, you can drag and drop a block component
into the location desired. The block component can be placed above, below or
next to an existing block component. Block components which are available are
listed in the Add Block component available option menu.
Add Block Component
Activating the Display Combined N/C Code Blocks toggle button will display all
block components in the form of NC codes. By default, block components are
displayed in terms of their descriptions.
EEDS
All Rights Reserved
2-41
2-42
EEDS
All Rights Reserved
Unigraphics NX 2
Post Builder V3.2
The Add Block component option menu describes the blocks which are
available. You can create a new block component and apply it to a sequence.
You may also select one of the predefined block components.
Add Block Component option menu
The Trash bin is used to delete any unwanted block component by dragging the
block component to the trash bin icon.
Trash Bin Button
You can also delete the component by right clicking on the component and
selecting delete from the drop down menu.
EEDS
All Rights Reserved
2-43
The Operation Start sequence is one of the sequences which can occur with
each operation (one of the five sequences, Program Start, Operation Start, Tool
Path, Operation End and Program End). Yellow colored blocks always
represent the sequence blocks (also referred to as markers).
2-44
EEDS
All Rights Reserved
Unigraphics NX 2
Post Builder V3.2
Block Components
If you right click on the block component, a popup menu appears which allows
you to Cut, Copy As or Delete a custom command block. If a block contains NC
data, your options are Edit, Force Output, Cut, Copy As or Delete.
EEDS
All Rights Reserved
2-45
Select the Program and Tool Path property page from the
Post Builder selection menu.
2-46
EEDS
All Rights Reserved
Unigraphics NX 2
Post Builder V3.2
EEDS
All Rights Reserved
2-47
2-48
EEDS
All Rights Reserved
Unigraphics NX 2
Post Builder V3.2
Select the G" block with MB1 and drag" it to the beginning
of the line.
Select the G90" block with MB1 and drag" it between the
G" and G40" block.
EEDS
All Rights Reserved
2-49
Position the mouse over the G97" block and click once to
suppress the G97" output (turns from pink to blue).
2-50
Position the mouse over the T" block and with MB3 select
Edit.
EEDS
All Rights Reserved
Unigraphics NX 2
Post Builder V3.2
Choose, OK twice.
Step 7 Save the post and run it against the test part,
pbt_mill_test.prt.
-
EEDS
All Rights Reserved
2-51
***
2-52
Accept the default for Output File and then select OK.
EEDS
All Rights Reserved
Unigraphics NX 2
Post Builder V3.2
EEDS
All Rights Reserved
2-53
Data definitions are broken down into four sub classifications, also represented
in tabular format. These sub classes are:
D
Block defines the format sequence of the instruction data that appears
as output. Blocks are made up of word elements, each being defined
by an address and variable.
There are two methods used to create a block. From the sequence or
event property page you may drag a blank block and drop it into a
sequence or event. You can also edit any existing block with the
sequence, event or NC Data Definitions block property page. You may
then edit or build your block of data.
2-54
EEDS
All Rights Reserved
Unigraphics NX 2
Post Builder V3.2
Word defines the address, output format and the structure of the
words that comprise the instructions. Parameters associated with
address are format, maximum and minimum values, modality and
leading and trailing characters.
A word is composed of an address leader, a number or text and a
trailer. An address leader may be any character. The address leader is
usually a single character such as G, M, X, Y, Z, etc. The trailer is
usually a blank character. You can specify the format for current word
from an existing list of formats or edit one of the existing formats. You
can also create a new format from the Format section of this property
page.
Real numbers are generally used for coordinate values; integers are
used for registers and character strings are used for commentary
messages and special output.
You have probably noticed that block word address icons have symbols
associated with them. These various icon symbols are switched on when you
pass the mouse over the word address icon and select the pull down menu with
MB3. Choosing Optional, No Word Separator, Force Output or any combination
of the three from the pull down menu will turn the various symbols on.
No options selected
"Optional"
"No Word Separator" selected
"Force Output" selected
All options selected
A checkmark before the option is an indicator of the option being turned on.
EEDS
All Rights Reserved
2-55
2-56
Force Output forces the selected code for output within the current
block only. This is useful, for example, to force out a T or some other
code for each tool change. By default all words are modal and will
output only if the value changes from one block to the next. Force
Output can only be specified within the context of an Event or
sequence.
EEDS
All Rights Reserved
Unigraphics NX 2
Post Builder V3.2
EEDS
All Rights Reserved
2-57
Pass the cursor over the new changed block address, select
MB3 and then select Force Output.
2-58
EEDS
All Rights Reserved
Unigraphics NX 2
Post Builder V3.2
EEDS
All Rights Reserved
2-59
digit_2_1
2-60
EEDS
All Rights Reserved
Unigraphics NX 2
Post Builder V3.2
Choose OK.
You have just completed setting the format for the G84.1
code. You must now set the parameters to allow
customization of the tapping code.
EEDS
All Rights Reserved
2-61
2-62
EEDS
All Rights Reserved
Unigraphics NX 2
Post Builder V3.2
Choose OK.
You must now discard the previous tapping word block and
create a tapping word block that allows for the G84.1 word.
-
Highlight cycle_tap.
EEDS
All Rights Reserved
2-63
2-64
Choose G_1 from the Add Word pull down menu, then
choose GUser Defined Expression.
EEDS
All Rights Reserved
Unigraphics NX 2
Post Builder V3.2
Choose the Add Word button and drag the block to the
beginning of the line.
Choose OK.
Step 4 Save the post and run it against the test part,
pbt_mill_test.prt.
-
EEDS
All Rights Reserved
2-65
***
2-66
Accept the default for Output File and then select OK.
EEDS
All Rights Reserved
Unigraphics NX 2
Post Builder V3.2
EEDS
All Rights Reserved
2-67
As a general rule, Post Builder supports all common M and G code groups. In
some instances however, certain machine tool/controller combinations support
functions that are unique and require custom M or G codes. Post Builder
allows you to create these new M or G code groups as will be shown in the
following activity.
2-68
EEDS
All Rights Reserved
Unigraphics NX 2
Post Builder V3.2
You will now create the new Mcode word group by copying
an existing group. It is recommended, as a best practice, to
copy a group that is as similar as possible to the desired
group. This will utilize the existing settings of the formats
and word characteristics.
EEDS
All Rights Reserved
2-69
2-70
EEDS
All Rights Reserved
Unigraphics NX 2
Post Builder V3.2
EEDS
All Rights Reserved
2-71
2-72
EEDS
All Rights Reserved
Unigraphics NX 2
Post Builder V3.2
Under Other Options, the Output Control Elements section, Generate Group
Output allows the definition of how the postprocessor will process Groups.
Operations may be organized into groups in order to create more than one NC
program in a part file. Each group is considered to be a separate program. The
default setting for this option is OFF. This option should only be used when you
want to postprocess more than one NC program at a time. Selecting more than
one Group with this option turned ON will result in one file containing all the
Groups which have been selected. The file naming convention will be the name
of your file with the name of the group appended. For example, if the base file
name is 1234" and the group is called finish_mill", then the name of the file
will be 1234_finish_mill.ptp. When Group output is set to ON, you should not
mix operations in groups with operations outside of groups. This will result in
unpredictable output. When the group output setting is OFF, you will only get a
single NC output file called 1234.ptp. All operations in any selected group will
be output in a single file. Any group organization will be ignored.
EEDS
All Rights Reserved
2-73
The name of the group or program in Unigraphics can be used as the program
name in the Start of Program Event. This will be passed as the variable name
mom_group_name. By changing the name of the PROGRAM in the Operation
Navigator, and by creating a custom command, you can create the equivalence
of a PARTNO statement.
Output Warning Messages will result in warnings generated to a log file.
Display Verbose Error Messages will result in detailed error messages being
displayed as your job is being postprocessed.
Activate Review Tool initiates the Review Tool which aides in the debugging of a
postprocessor.
The Review Tool consists of three list boxes, each having horizontal and vertical
scroll bars to assist in viewing the information.
The left most list box displays all the MOM events in sequential order that have
been created during the postprocessing cycle. Each MOM event is displayed
with the appropriate MOM event number. Selection of an event in this box will
highlight the corresponding generated output code in the right list box.
2-74
EEDS
All Rights Reserved
Unigraphics NX 2
Post Builder V3.2
The middle list box displays the MOM generated variables and addresses
associated with a particular Event in alphabetical order.
The right list box displays the output generated by the postprocessor.
Note: Extensions defined inside of Post Builder will be superceded by the
output file name displayed in the postprocessor dialog. Default extensions for
listing output are .lpt, for machine output, the default is .ptp.
Under User Tcl Source, the Source User's Tcl file option allows the use of an
existing Tcl source program.
EEDS
All Rights Reserved
2-75
2-76
EEDS
All Rights Reserved
Unigraphics NX 2
Post Builder V3.2
Select the Listing File & Output Control section from the Post
Builder selection menu.
EEDS
All Rights Reserved
2-77
Step 2 Save the post and run it against the test part,
pbt_mill_test.prt.
-
***
2-78
Accept the default for Output File and then select OK.
Verify the listing file. The listing file will be located in your
home directory and will have a .lpt extension. Open the file
with the Notepad editor (vi editor if Unix) and examine the
contents.
EEDS
All Rights Reserved
Unigraphics NX 2
Post Builder V3.2
EEDS
All Rights Reserved
2-79
The Post Files Preview property page allows you to examine the Definition file
(.def) and the Event Handlers (.tcl) before output generation. Newly defined
code appears in the top window while the original code is displayed in the
bottom window.
2-80
EEDS
All Rights Reserved
Unigraphics NX 2
Post Builder V3.2
SUMMARY
EEDS
All Rights Reserved
2-81
2-82
EEDS
All Rights Reserved
Unigraphics NX 2
Post Builder V3.2
PURPOSE
OBJECTIVES
Page
EEDS
All Rights Reserved
3-1
Using Post Builder to create 2axis and 4axis Wire EDM Post
Processors
There are two different selections, available in the Post Builder for creating
Wire EDM postprocessors. They are:
D
2axis
4axis
3-2
EEDS
All Rights Reserved
Unigraphics NX 2
Post Builder V3.2
Once you make the selection of a 2axis or 4axis Wire EDM, you will then need
to select the type of controller. Your choices available are:
D
Generic
Library
User's
EEDS
All Rights Reserved
3-3
When you choose the option for the controller that you will be using as a
template, choosing OK will display the Machine Tool property page. This allows
you to choose various parameters from the component window that are
necessary for your postprocessor.
Selection of the Display Machine Tool button, displays a generic view of the
machine tool that corresponds to the type of machine selected.
The majority of the options/parameters available are selfexplanatory.
The following activity will familiarize you with the functions and parameters
that are available when creating a Wire EDM postprocessor.
3-4
EEDS
All Rights Reserved
Unigraphics NX 2
Post Builder V3.2
Select the New option in the File pull down menu and in the
Name field, name the postprocessor ***_wire_edm_post,
where *** stands for your initials.
EEDS
All Rights Reserved
3-5
***_wire_edm_post
3-6
EEDS
All Rights Reserved
Unigraphics NX 2
Post Builder V3.2
Select the down arrow and then select Charmilles from the
pull down menu.
Select OK.
EEDS
All Rights Reserved
3-7
From the main menu bar choose the Utilities option and
then choose Edit Template Posts Data File from the pull
down menu.
3-8
EEDS
All Rights Reserved
Unigraphics NX 2
Post Builder V3.2
***
***
***_wire_edm_post.pui
***
***_wire_edm_post.pui
EEDS
All Rights Reserved
3-9
The path and name of the file are inserted into the
Template_post.dat file.
3-10
EEDS
All Rights Reserved
Unigraphics NX 2
Post Builder V3.2
Choose Cancel.
EEDS
All Rights Reserved
3-11
***
***
Choose Cancel.
3-12
EEDS
All Rights Reserved
Unigraphics NX 2
Post Builder V3.2
Choose OK.
***
***
EEDS
All Rights Reserved
3-13
SUMMARY
3-14
EEDS
All Rights Reserved
Unigraphics NX 2
Post Builder V3.2
PURPOSE
OBJECTIVES
Page
EEDS
All Rights Reserved
4-1
4-2
EEDS
All Rights Reserved
Unigraphics NX 2
Post Builder V3.2
Once you make the selection of the type of multiaxis machine, the Machine
Tool property page is displayed, allowing you to choose General, Fourth Axis
and Fifth Axis parameters from the component window of the property page.
EEDS
All Rights Reserved
4-3
Selection of the Display Machine Tool button, displays a generic view of the
machine tool that corresponds to the type of machine selected.
4-4
EEDS
All Rights Reserved
Unigraphics NX 2
Post Builder V3.2
Selecting the 4th or 5th axis from the component window of the Machine Tool
property page results in a rotary axis configuration property page being
displayed. This property page allows you to configure the various parameters
for each axis of rotary motion.
EEDS
All Rights Reserved
4-5
4-6
EEDS
All Rights Reserved
Unigraphics NX 2
Post Builder V3.2
EEDS
All Rights Reserved
4-7
Step 2 Create a new 5axis mill post with dual rotary tables.
4-8
EEDS
All Rights Reserved
Unigraphics NX 2
Post Builder V3.2
Select the New option in the File pull down menu and in the
Name field, name the postprocessor ***_5_axis, where ***
stands for your initials.
Note: Use lower case characters only and no spaces.
***_5_axis
EEDS
All Rights Reserved
4-9
Under Machine Tool , select the blue button and then select
5axis with dual rotary tables.
Choose OK.
The Property Pages dialog is displayed.
4-10
EEDS
All Rights Reserved
Unigraphics NX 2
Post Builder V3.2
Step 3 Save the post and run it against the test part,
pbt_5_axis_test.prt
In order for your newly created postprocessor to be included in the
Unigraphics Postprocessing window, you must save the post to your home
postprocessing directory and modify the template_post.dat file to include the
new postprocessor. This file is also located in the home postprocessor directory.
The template_post.dat is modified by use of the Utilities function of the Post
Builder.
Step 4 Add your newly created postprocessor to the
template_post.dat file.
EEDS
All Rights Reserved
4-11
***
***
4-12
***
***
***
EEDS
All Rights Reserved
***
Unigraphics NX 2
Post Builder V3.2
***
***
***
***
***
***
EEDS
All Rights Reserved
4-13
The path and name of the file are inserted into the
Template_post.dat file.
afile (.def)
-
4-14
EEDS
All Rights Reserved
Unigraphics NX 2
Post Builder V3.2
Choose Cancel.
EEDS
All Rights Reserved
4-15
***
***
***
4-16
Choose OK.
EEDS
All Rights Reserved
Unigraphics NX 2
Post Builder V3.2
EEDS
All Rights Reserved
4-17
SUMMARY
4-18
EEDS
All Rights Reserved
Unigraphics NX 2
Post Builder V3.2
PURPOSE
OBJECTIVES
Page
EEDS
All Rights Reserved
5-1
There is currently, one selection, available in the Post Builder for creating lathe
postprocessors. That selection is:
D
2Axis
5-2
EEDS
All Rights Reserved
Unigraphics NX 2
Post Builder V3.2
The Machine Tool and Controller selections determine base files used to create
the postprocessor which contains various Events, commands and procedures.
The OK button enables acceptance of specifications for the machine tool and
controller and advances you to the main editor portion of the user interface.
The Cancel button will dismiss the current menu, terminates the process of
creating a new postprocessor and returns you to the Post Builder menu bar.
When you create a new postprocessor, you must add the name of the post to
the template_post.dat file. This file contains a list of postprocessors for
UG/Post to use. It defines a list of postprocessors that are available in the Post
Process dialog. The name of the postprocessor can be added by using the
Utilities pull down menu from the main tool bar.
Once you make the selection of 2axis lathe, general parameters for a lathe are
available for selection from the Machine Tool property page.
EEDS
All Rights Reserved
5-3
Output Method defines the basic tool tracking method. There are
two options available with this method:
Tool Tip X and Z values in the output file represent the
tool tip location. With this option, the following is required:
D
5-4
EEDS
All Rights Reserved
Unigraphics NX 2
Post Builder V3.2
Select the New option in the File pull down menu and in the
Name field, name the postprocessor ***2_axis_lathe, where
*** represents your initials.
EEDS
All Rights Reserved
5-5
***2_axis_lathe
Choose OK.
The Machine Tool property page is displayed.
5-6
EEDS
All Rights Reserved
Unigraphics NX 2
Post Builder V3.2
EEDS
All Rights Reserved
5-7
***
***
***
***
***
***
***
***
***2_axis_lathe.pui
5-8
EEDS
All Rights Reserved
Unigraphics NX 2
Post Builder V3.2
The path and name of the file are inserted into the
Template_post.dat file.
***2
***
***
afile (.def)
EEDS
All Rights Reserved
5-9
Choose Cancel.
5-10
EEDS
All Rights Reserved
Unigraphics NX 2
Post Builder V3.2
***
***
***
***
Choose OK.
EEDS
All Rights Reserved
5-11
5-12
EEDS
All Rights Reserved
Unigraphics NX 2
Post Builder V3.2
SUMMARY
EEDS
All Rights Reserved
5-13
5-14
EEDS
All Rights Reserved
Unigraphics NX 2
Post Builder V3.2
PURPOSE
OBJECTIVES
Activity
Page
EEDS
All Rights Reserved
6-1
Tcl
Tcl (pronounced teeceeel), which stands for Tool Command Language, is an
interpretive scripting language that is the official Unigraphics language for user
supplied rules and is used in Post, Process Assistants, Shop Documentation, clsf
file creation and the Post Builder.
Tcl has an additional component, Tk. Tk, which stands for Tool kit, is
considered to be an extension of Tcl and provides basic user graphic interface
elements such as buttons, check boxes, and scroll bars.
Tcl was originally developed by John K. Ousterhout while at the University of
California, Berkeley. Tcl is public domain software and is currently supported
by the Scriptix Corporation.
The following information will aid you in obtaining and installing Tcl on
Window or Unix platforms:
Tcl can be activated by executing ugwish from the \mach\auxilary directory or
optionally can be installed by the following procedure:
6-2
EEDS
All Rights Reserved
Unigraphics NX 2
Post Builder V3.2
options give the interpreter detailed instructions of the task that the
command must perform
Command Name
Argument
clock format
Argument
[clock seconds]
Option
Command Name
expr
( 9 * 5 ) / 2
Argument
Argument
Argument
Argument
Argument
Argument
Argument
EEDS
All Rights Reserved
6-3
Tcl Scripts
A Tcl script consists of a sequence of commands separated by either anew
line" or a semicolon.
Comments are preceded by the #". The following example illustrates the use
of a comment and the concept of a script:
#If the value of X is less than 3, then print
#the following message: X is too small"
Comment
if { $X < 3} {
Script
double quotes prevent breaks and must be used in strings that have
spaces:
set X this is a word which has spaces"
6-4
EEDS
All Rights Reserved
Unigraphics NX 2
Post Builder V3.2
Tcl Variables
A Tcl variable can be thought of as a named place holder of information. A
variable can store either numbers or strings. A number can be thought of as an
item that can be equated or has value. A string can be considered to be a
sequence of characters consisting of alphabetic letters, numbers or symbols, or
any combination of the three.
A Tcl variable name must start with an alphabetic letter and can consist of
alphanumeric characters. Spaces are not allowed in the variable name. The
variable name is case sensitive as well.
All variable values are stored as strings. Special functions exist to perform
calculations on numerical represented strings.
Tcl allows for local and global variables. Local variables are used inside of a
proc (also called a procedure which is like a subroutine and will be discussed
later). When the proc is called, the variable is created. When the proc is
completed, the variable is removed. A global variable is just the opposite of the
local variable. It allows the storage of information between calls to a proc. The
global variable has the same name regardless of location in the program,
whether in the main part of the program or within various procs.
addition
subtraction
division
multiplication
EEDS
All Rights Reserved
6-5
Variable Examples
Variable name
X
x
this_is_a_Variable
pre_drill
PRE_DRILL
Tcl Variable Definitions
In most computer languages such as FORTRAN or C", variables are set by the
use of the =" sign, i.e. XYZ=49 or XX=5*5. With Tcl, variables are defined
by using the set command.
Tcl Variable definition example:
set XYZ 49
set XX [ expr 5*5 ]
Variable Substitution
Variable substitution will cause a command to use the value of the variable
instead of the variable name in the command. For example, if A=2 and you
want to multiply A by 10 you would write the expression as expr A*10. This
would be interpreted by Tcl as multiply the string A by 10 rather than multiple
the contents of A by 10. In order for Tcl to use the value of the variable instead
of the name, the $" character must precede the variable's name. The correct
way to write the expression would be expr $A*10.
6-6
EEDS
All Rights Reserved
Unigraphics NX 2
Post Builder V3.2
Result
set a Uni
a=Uni
set b graphics
b=graphics
set c $a$b
c=$a$b=Unigraphics
set b 32
b=32
set a b
a=b
set a $b
a=32
set a $b+$a+$b
a=$b+$a+$b=32+32+32
set a $b.3
a=$b.3=32.3
set a $b9
defined variable
EEDS
All Rights Reserved
6-7
The Tcl Shell may be used for executing simple one line commands or
multiple line programs, stored as a text file. Notice the %" as the
prompt.
6-8
EEDS
All Rights Reserved
Unigraphics NX 2
Post Builder V3.2
PI = 3.1415926536
-
DEGRAD = PI/180
-
EEDS
All Rights Reserved
6-9
arguments body
As previously stated, Tcl allows for local and global variable usage. Local
variables are used inside of a procedure. When the procedure is called, the
variable is created. When the procedure is complete, the variable is removed. A
global variable is the opposite of the local variable. It allows the storage of
information between calls to a procedure. The global variable has the same
name regardless of location in the program, whether in the main part of the
program or whether contained within various procedures.
Hint: When naming procedures, it is suggested that you name the procedure
with capital letters. This will make the procedure easier to locate when writing
scripts.
6-10
EEDS
All Rights Reserved
Unigraphics NX 2
Post Builder V3.2
Example of a procedure:
#==================================
proc PB_CMD_ptp_size { } {
#==================================
# Output the current size of the ptp output file.
# Add this to the end of the End of Program event.
global ptp_file_name
global mom_sys_control_out
global mom_sys_control_in
set ci $mom_sys_control_in
set co $mom_sys_control_out
# Check the file size
MOM_close_output_file $ptp_file_name
set ptp_size [file size $ptp_file_name]
MOM_open_output_file $ptp_file_name
# Put a message for the file size in the ptp file
set ptp_feet [expr $ptp_size/120.]
MOM_output_literal "$co PTP file size = $ptp_size bytes\
[format "%5.1f" $ptp_feet] feet $ci"
}
Functions have the same functionality as a procedure, but they create a result
and return a value. A return command must be used prior to the last command
in the program.
Tcl I/O
Output of a string to the runtime window of Tcl is achieved by using the puts
command. For example, puts stdout Post Processor" outputs the following on
your screen: Post Processor". To output the value of a variable, use the $"
character prior to the variable name. An example would be the following: puts
stdout $name.
To input a string value from the runtime window of Tcl, use the gets command.
For example, gets stdin var will read the string value from the variable var".
EEDS
All Rights Reserved
6-11
6-12
tab
LF
EEDS
All Rights Reserved
Unigraphics NX 2
Post Builder V3.2
Create the start of the procedure. You will call the procedure
CIRCUMFERENCE. Type the following at the beginning of
text file:
#================
proc CIRCUMFERENCE { } {
#================
#
#Output the circumference based on the input diameter
#
EEDS
All Rights Reserved
6-13
Note that the $" precedes the variable PI and diameter since
you want to use the value of those two variables.
-
Step 3 Save the file and execute the procedure from the Tcl Shell
window.
Your procedure should be similar to the following:
#===================================
proc CIRCUMFERENCE { } {
#===================================
# Output the circumference based on input diameter.
global diameter
set PI 3.1415926536
set circ [expr $PI * $diameter]
puts "Circumference is $circ"
#End the procedure
}
puts stdout " Enter Diameter Value"
gets stdin diameter
CIRCUMFERENCE
-
6-14
From the Notepad tool bar, File Save the file in your
home directory with the name circum.tcl.
EEDS
All Rights Reserved
Unigraphics NX 2
Post Builder V3.2
EEDS
All Rights Reserved
6-15
= = equal
!=
not equal to
>
greater than
>=
<
less than
<=
6-16
EEDS
All Rights Reserved
Unigraphics NX 2
Post Builder V3.2
command name
command name
test statement
EEDS
All Rights Reserved
6-17
6-18
EEDS
All Rights Reserved
Unigraphics NX 2
Post Builder V3.2
command name
command options
a string to be matched
EEDS
All Rights Reserved
6-19
6-20
EEDS
All Rights Reserved
Unigraphics NX 2
Post Builder V3.2
Step 3 Create the procedure for calculating the area of the circle.
-
proc CIRCLE { } {
#================
#
#Calculate the area of a circle
#
global area
#
#set the variable for PI
#
set PI [expr 2.0 * asin(1.0)]
#
#input the radius value
#
set radius 0
puts stdout Enter the radius value"
gets stdin radius
set area [expr $PI * $radius * $radius]
RESULTS
}
EEDS
All Rights Reserved
6-21
#
#set variables for length and width; input values for
#the variables
#
set length 0
set width 0
puts stdout Enter length
gets stdin length
puts stdout Enter width
gets stdin width
set area [expr $length * $width]
RESULTS
}
Step 6 Save the file and execute the procedure from the Tcl Shell
window.
-
6-22
From the Notepad tool bar, File Save the file in your
home directory with the name results.tcl.
EEDS
All Rights Reserved
Unigraphics NX 2
Post Builder V3.2
EEDS
All Rights Reserved
6-23
Tcl Formats
Tcl provides numerous commands for processing lists. A list is a way of
categorizing items or objects and then giving them a single name. Commands
are available to add objects to a list, access elements in the list, access
information concerning lists, to search for items in an list, and finally to sort
lists.
To create a list, use the list command. To add elements to a list use the lappend
command. To access elements in a list, use the lindex command. To replace
elements in a list use the lreplace command. To insert elements in a list use the
linsert command.
Tcl and Unigraphics
Extensions of Tcl were developed for specific applications such as POST, Shop
Documentation, Process Assistants, Libraries and User Defined Features.
Tcl can call UFUNC routines and UFUNC routines can call GRIP routines. Tcl
is easy to use and is extensible using the C" language. Tcl currently can be
accessed through the CAM modules such as POST or Shop Documentation.
The Custom Command feature of the Post Builder allows the insertion of your
own custom Tcl procedures into the postprocessor or procedures that are
provided in the Custom Command library. The Post Builder provides the
procedure name and correct syntax prior to and after the body of the
procedure.
Common procedures are provided, and new procedures are added to each
release of the Post Builder, however, you may be required to construct your
own procedure to output specific formats required for special applications.
Tcl Reference Manuals
Practical Programming in Tcl and Tk by Brent B. Welch ISBN
0-13-616830-3
SAMS Teach Yourself Tcl/Tk by Venkat V.S.S. Sastry & Lakshmi Sastry IBSN
0-672-31749-4
Tcl/Tk Programmer's Reference by Chistopher Nelson ISBN 0-07-212004-5
6-24
EEDS
All Rights Reserved
Unigraphics NX 2
Post Builder V3.2
SUMMARY
Variables
Mathematical expressions
Procedures
Input/Output statements
EEDS
All Rights Reserved
6-25
6-26
EEDS
All Rights Reserved
Unigraphics NX 2
Post Builder V3.2
PURPOSE
OBJECTIVES
Page
EEDS
All Rights Reserved
7-1
MillTurn Centers
The basic millturn center, along with turning tools, uses a rotary cutting tool
that is mounted in one or more pockets on the millturn center's turret. Various
attachments, including right angle heads, allow cutting along the Xaxis while
standard heads cut along the Zaxis of travel. On these types of machines, any
milling or drilling from the machine's center line is not feasible because of the
twoaxis limitation of the turning center. The rotary Caxis is normally an
orientation axis; rotation is normally inhibited when milling, drilling or tapping.
More complex millturn centers have contouring and positioning control of the
rotary Caxis, which allows for complex spiral and contour milling cuts. Many of
these types of machines also have an additional spindle, mounted on its own set
of slides, which gives the ability to machine the opposite side of the part in one
setup.
7-2
EEDS
All Rights Reserved
Unigraphics NX 2
Post Builder V3.2
Create a new 2axis lathe post, save the post and then close the file
Verify that you have used the MCS_SPINDLE group object for all
lathe tool paths
Verify that you have used the MCS_MILL group object for all milling
tool paths
EEDS
All Rights Reserved
7-3
7-4
EEDS
All Rights Reserved
Unigraphics NX 2
Post Builder V3.2
Select the New option in the File pull down menu and in the
Name field, name the postprocessor ***_mill_turn, where
*** represents your initials.
***_mill_turn
***_mill_turn_5ax_zhead
EEDS
All Rights Reserved
7-5
Select OK.
By default, the mill post of the millturn is the current post that
you are creating. The lathe post defaults to the lathe_tool_tip
post in the postprocessor directory. If you have a special lathe
post that you would like to use, you would browse and then
select that post. You will accept the current defaults.
7-6
EEDS
All Rights Reserved
Unigraphics NX 2
Post Builder V3.2
EEDS
All Rights Reserved
7-7
7-8
EEDS
All Rights Reserved
Unigraphics NX 2
Post Builder V3.2
Select the File pull down menu from the main menu bar and
then select Save As.
***_mill_turn
Visually check the File name box, if the file name shown is
the same as the file name of your postprocessor, select OK,
otherwise type in the correct name and then select OK.
***_mill_turn
You have just created the mill postprocessor required for the
millturn center. You will now test your postprocessor to
verify the output.
In order for your newly created postprocessor to be included
in the Unigraphics Postprocessing window, you must modify
the template_post.dat file to include the new postprocessor.
This file is located in the home postprocessor directory.
EEDS
All Rights Reserved
7-9
7-10
EEDS
All Rights Reserved
Unigraphics NX 2
Post Builder V3.2
***
***
***
***
***_mill_turn.pui
The path and name of the file are inserted into the
Template_post.dat file.
-
EEDS
All Rights Reserved
7-11
7-12
EEDS
All Rights Reserved
Unigraphics NX 2
Post Builder V3.2
***_mill_turn
Choose OK.
EEDS
All Rights Reserved
7-13
Turning Output
%
N0010 G40 G17 G94 G90 G70
N20 G92 X0.0 Z0.0
N30 T01 H01 M06
N40 G97 S0 M03
N50 G94 G00 G90 X5.6 Z13.
N60 X5.6938 Z12.7024
N70 G92 S0
N80 G96 S356 M03
N90 G95 G01 X5.6469 F.03
N100 X0.0
N110 X-.0469 F.05
N120 G94 G00 Z12.8024
N130 X5.6938
N140 Z12.4579
N150 G95 G01 X5.6469 F.03
N160 X0.0
N170 X-.0469 F.05
N180 G94 G00 Z12.5579
N190 X5.6938
Milling Output
7-14
EEDS
All Rights Reserved
Unigraphics NX 2
Post Builder V3.2
EEDS
All Rights Reserved
7-15
Create a new 2axis lathe post, save the post and then close the file
Create a new 5axis mill post, with rotary head and rotary table
Create a new mill XZC post which calls all other posts; use the 3axis
mill turn option.
Move all lathe, mill and drill operations to their suitable method
parent
Create and assign Head UDE's to each of the newly created method
parents
The following activity will take you through the process of creating and using a
5axis multilinked mill turning postprocessor.
7-16
EEDS
All Rights Reserved
Unigraphics NX 2
Post Builder V3.2
a turning post, used for all turning utilizing the front spindle
a post for the XHEAD, used for all milling and drilling in the
Xaxis
a post for the ZHEAD, used for all milling and drilling in the
Zaxis
You must also assign the proper UDE to each Method parent.
You will first create the necessary postprocessors and then modify existing
operations to coincide with the functionality of the postprocessors.
Step 1 If necessary, start the Post Builder.
-
EEDS
All Rights Reserved
7-17
Select the New option in the File pull down menu, select the
Lathe radio button, and in the Name field, name the
postprocessor ***_mill_turn_5ax_turn, where *** represents
your initials.
***_mill_turn_5ax_turn
Select OK.
Save and Close the lathe post.
Choose Close.
You will now create the necessary mill post.
7-18
EEDS
All Rights Reserved
Unigraphics NX 2
Post Builder V3.2
Step 3 Use Post Builder to create a new mill 5axis head table
postprocessor for the XAxis head.
-
Select the New option in the File pull down menu, select the
Mill radio button, select the 5Axis with Rotary Head and
Table from the pull down menu and in the Name field, name
the postprocessor ***_mill_turn_5ax_xhead, where ***
represents your initials.
***_mill_turn_5ax_xhead
EEDS
All Rights Reserved
7-19
Select OK.
The Machine Tool property page is displayed.
7-20
EEDS
All Rights Reserved
Unigraphics NX 2
Post Builder V3.2
Select the Program and Tool Path property page, then select
the Program tab, the Canned Cycle component and then add
the fourth and fifth axis angles to the Common parameters
block.
EEDS
All Rights Reserved
7-21
Select OK.
You will now create the postprocessor for the ZAxis head.
7-22
EEDS
All Rights Reserved
Unigraphics NX 2
Post Builder V3.2
Step 4 Use Post Builder to create a new mill 5axis head table
postprocessor for the ZAxis head.
-
Select the New option in the File pull down menu, select the
Mill radio button, then select 3Axis MillTurn (XZC) from
the pull down menu and in the Name field, name the
postprocessor ***_mill_turn_5ax_zhead, where ***
represents your initials. This is the main post that will call all
others.
***_mill_turn_5ax_zhead
Select OK.
EEDS
All Rights Reserved
7-23
7-24
EEDS
All Rights Reserved
Unigraphics NX 2
Post Builder V3.2
Choose the Program and Tool Path property page and then
select the Linked Posts tab.
Turn on the Link Other Posts to This Post check box and
enter ZHEAD in the Head text field.
Choose OK.
You will now specify the additional linked post for turning.
Choose NEW.
EEDS
All Rights Reserved
7-25
Key in TURN for the Head name and then choose the Select
Name button and browse for the turning post which you
created in STEP 2 (***mill_turn_5ax_turn.pui).
***mill_turn_5ax_turn
Choose OK.
You will now specify the additional linked post for the
XHEAD.
Choose NEW.
Key in XHEAD for the Head name and then choose the
Select Name button and browse for the XHEAD post which
you created in STEP 3 (***mill_turn_5ax_xhead.pui).
XHEAD
***mill_turn_5ax_xhead
7-26
EEDS
All Rights Reserved
Unigraphics NX 2
Post Builder V3.2
Choose OK.
You will now add the parameters for the 4th axis.
Select the Program and Tool Path property page, then select
the Program tab, the Canned Cycle component and then add
the fourth axis angle to the Common parameters block.
EEDS
All Rights Reserved
7-27
Drag and Drop the fourth axis address into the block.
7-28
EEDS
All Rights Reserved
Unigraphics NX 2
Post Builder V3.2
Choose OK.
EEDS
All Rights Reserved
7-29
TURNING_POST
MILL_ZHEAD_POST
MILL_XHEAD_POST
DRILL_ZHEAD_POST
DRILL_XHEAD_POST
7-30
EEDS
All Rights Reserved
Unigraphics NX 2
Post Builder V3.2
EEDS
All Rights Reserved
7-31
7-32
EEDS
All Rights Reserved
Unigraphics NX 2
Post Builder V3.2
EEDS
All Rights Reserved
7-33
7-34
EEDS
All Rights Reserved
Unigraphics NX 2
Post Builder V3.2
Choose OK.
EEDS
All Rights Reserved
7-35
7-36
EEDS
All Rights Reserved
Unigraphics NX 2
Post Builder V3.2
***
***_mill_turn_5ax_zhead
***
***
***
***_mill_turn_5ax_zhead
EEDS
All Rights Reserved
7-37
7-38
EEDS
All Rights Reserved
Unigraphics NX 2
Post Builder V3.2
SUMMARY
EEDS
All Rights Reserved
7-39
7-40
EEDS
All Rights Reserved
Unigraphics NX 2
Post Builder V3.2
PURPOSE
OBJECTIVES
Page
EEDS
All Rights Reserved
8-1
Post
Builder
(.tcl, .def, .pui files)
Test
Output
ERROR
Machine Type
multiaxis milling
3axis milling
Lathe
Mill Turn
Wire EDM
8-2
Create / Modify
Definition File
Special
Test
Output
ERROR
OK
OK
Functional
Postprocessor
EEDS
All Rights Reserved
Unigraphics NX 2
Post Builder V3.2
EEDS
All Rights Reserved
8-3
The Custom Command feature allows the insertion of your own custom Tcl
procedures into the postprocessor or procedures that are provided in the
Custom Command library. The Post Builder provides the procedure name and
correct syntax prior to and after the body of the procedure. Post Builder checks
the syntax of the user created custom command and displays syntax errors as
found.
Note that the Post Builder checks the correctness of the syntax of the proc's
body automatically. You can, as an option check for unknown commands,
unknown blocks, unknown addresses and unknown formats for validation
through selecting, Options Validate Custom Commands.
8-4
EEDS
All Rights Reserved
Unigraphics NX 2
Post Builder V3.2
Procedure name
and
starting syntax
Body" of procedure is
inserted here
Closing
syntax
The Import button allows the importing of useful existing procedures that may
be added to the various Event markers. These existing procedures normally
have instructions including how the procedure functions.
When you select the Import button, the Select a File dialog is displayed. The
default directory is custom_command, which contains numerous existing
procedures. You may also browse to any directory to import any of your own
files containing Custom Commands. Any file that is imported is checked for Tcl
errors based on the options that have been previously set for syntax checking.
EEDS
All Rights Reserved
8-5
Files located in the custom command directory begin with pb_cmd and have a
.tcl extension.
The Export button allows you to export custom commands that have been
created or modified to a specific file. This is a convenient method of saving
frequently used procedures that you create as you are building your
postprocessor.
8-6
EEDS
All Rights Reserved
Unigraphics NX 2
Post Builder V3.2
You can also develop your Custom Command as a text file and then cut and
paste the procedure in the Custom Command window. Note that to paste text,
use MB3 Paste.
EEDS
All Rights Reserved
8-7
Cut and paste text from a text file, that creates a Custom
Command to create blocks of header information at the
beginning of your posted output file
You will be using the post processor, ***_my_post that you created in a
previous activity.
Step 1 Enter the Program and Tool Path and then Custom
Command section of Post Builder.
-
Select the Program and Tool Path property page from the
Post Builder dialog.
8-8
EEDS
All Rights Reserved
Unigraphics NX 2
Post Builder V3.2
Choose Open.
pb_cmd_tape_utils.tcl
EEDS
All Rights Reserved
8-9
8-10
Choose OK.
EEDS
All Rights Reserved
Unigraphics NX 2
Post Builder V3.2
EEDS
All Rights Reserved
8-11
8-12
EEDS
All Rights Reserved
Unigraphics NX 2
Post Builder V3.2
Drag and then drop the Custom Command block prior to the
MOM_set_seq_off block.
EEDS
All Rights Reserved
8-13
(1)
(2)
Step 4 Select the data for the Custom Command from the file
pbt_custom_command_1.txt from the Student Parts
directory.
In Windows, double click on the file
pbt_custom_command_1.txt, select the entire contents of the
file and then select CtrlC to copy.
In Unix, using the file manager, highlight the
pbt_custom_command_1.txt, MB3 and select Open. Select the
contents of the file; under the Edit pull down menu; then select
copy.
8-14
EEDS
All Rights Reserved
Unigraphics NX 2
Post Builder V3.2
Using MB3 Paste the contents of the text file into the
Parameter Window.
Choose OK.
EEDS
All Rights Reserved
8-15
8-16
EEDS
All Rights Reserved
Unigraphics NX 2
Post Builder V3.2
EEDS
All Rights Reserved
8-17
***
***
***
***
Accept the default for Output File and then select OK.
8-18
EEDS
All Rights Reserved
Unigraphics NX 2
Post Builder V3.2
EEDS
All Rights Reserved
8-19
8-20
EEDS
All Rights Reserved
Unigraphics NX 2
Post Builder V3.2
Choose OK.
EEDS
All Rights Reserved
8-21
8-22
EEDS
All Rights Reserved
Unigraphics NX 2
Post Builder V3.2
SUMMARY
EEDS
All Rights Reserved
8-23
8-24
EEDS
All Rights Reserved
Unigraphics NX 2
Post Builder V3.2
PURPOSE
OBJECTIVES
Page
EEDS
All Rights Reserved
9-1
9-2
EEDS
All Rights Reserved
Unigraphics NX 2
Post Builder V3.2
EEDS
All Rights Reserved
9-3
TYPE is an attribute of the PARAM and specifies the parameter type. The
possible values for TYPE are:
b - binary
i - an integer
d - a real number
s - a string
o - one of a possible set of options
p - a point
v - vector
DEFVAL <default value as a string> specifies the default value of the
parameter. This is an optional attribute (TYPE o) and if not specified the
following will be the defaults according to the TYPE of the parameter:
b - the value can be 0 or 1
i - default value is 0
d - default value is 0.0
s - default value is an empty string
o - default value is the first one of the list of options
provided
p - default value does not apply
v - vector of 0, 0, 1
TOGGLE is an attribute of the parameter which specifies a default value, the
default value is either On or Off. The TOGGLE attribute is optional and if not
specified the parameter is mandatory.
OPTIONS is a required attribute of the parameter when the TYPE is `o'. This
provides all the possible values that the parameter can have. The values are
specified as comma separated strings.
UI_LABEL <ui_name> specifies that ui_name" will be the text displayed in
the dialog presented. This is an optional attribute and if not specified the
param_name1" will be used as the ui_name".
9-4
EEDS
All Rights Reserved
Unigraphics NX 2
Post Builder V3.2
The following illustrates the Tool Change UDE with corresponding dialog.
EVENT mill_tool_change
{
POST_EVENT "load_tool"
UI_LABEL "Tool Change"
CATEGORY Mill Drill
PARAM command_status
{
TYPE o
DEFVAL "Active"
OPTIONS "Active","Inactive","User Defined"
UI_LABEL "Status"
}
PARAM load_tool_number
{
TYPE i
DEFVAL "0"
TOGGLE On
UI_LABEL "Tool Number"
}
# Toggle button applies to only one parameter
# You need Z offset only for Mill Post
# commands.
#
PARAM tool_z_offset
{
TYPE d
DEFVAL "0.0000"
TOGGLE Off
UI_LABEL "Tool Z Offset"
}
#You do not need Tool Angle/Radius for Mill
# You do not need head_type for Mill
# Post Commands
PARAM tool_adjust_register
{
TYPE i
DEFVAL "0"
TOGGLE Off
UI_LABEL "Adjust Register"
}
PARAM manual_tool_change
{
TYPE b
DEFVAL "FALSE"
UI_LABEL "Manual Tool Change"
}
PARAM tool_holder
{
TYPE i
DEFVAL "0"
TOGGLE Off
UI_LABEL "Holder"
}
PARAM tool_text
{
TYPE s
TOGGLE Off
UI_LABEL "Text"
}
}
EEDS
All Rights Reserved
9-5
Using the Save as option under File of the Post Builder, save
the file with the name ***_test_post, where *** represents
your initials.
Step 3 Change the User Defined Event for coolant from the
default of Flood to Mist.
-
9-6
EEDS
All Rights Reserved
Unigraphics NX 2
Post Builder V3.2
EEDS
All Rights Reserved
9-7
}
{
}
}
UI_LABEL Offset"
PARAM csys_register
TYPE o
DEFVAL 54"
OPTIONS 54","55","56","57","58","59"
UI_LABEL Coordinate System"
#
#End of coordinate system event
#
-
9-8
EEDS
All Rights Reserved
Unigraphics NX 2
Post Builder V3.2
Choose the Program and Tool property page, then select the
Program property page.
EEDS
All Rights Reserved
9-9
9-10
EEDS
All Rights Reserved
Unigraphics NX 2
Post Builder V3.2
}
}
#
# custom command to output a G54 thru G59 coordinate
# offset
#
uplevel #0 {
proc MOM_csys_load { } {
global mom_csys_register
MOM_output_literal G$mom_csys_register"
#
# custom command to output a G54 thru G59 coordinate
# offset
#
uplevel #0 {
proc MOM_csys_load { } {
global mom_csys_register
MOM_output_literal "G$mom_csys_register"
}
}
EEDS
All Rights Reserved
9-11
PB_CMD_coordinate_offset
PB_CMD_coordinate_offset
PB_CMD_coordinate_offset
PB_CMD_coordinate_offset
PB_CMD_coordinate_offset
PB_CMD_coordinate_offset
PB_CMD_coordinate_offset
PB_CMD_coordinate_offset
PB_CMD_coordinate_offset
9-12
EEDS
All Rights Reserved
Unigraphics NX 2
Post Builder V3.2
EEDS
All Rights Reserved
9-13
Notice the default has changed to Mist from Flood (this was
changed in Step 3).
9-14
EEDS
All Rights Reserved
Unigraphics NX 2
Post Builder V3.2
.........
..........
...........
EEDS
All Rights Reserved
9-15
EVENT coolant
{
POST_EVENT "coolant_on"
UI_LABEL "Coolant On"
CATEGORY MILL DRILL LATHE
PARAM command_status
{
TYPE o
DEFVAL "Active"
OPTIONS "Active","Inactive","User Defined"
UI_LABEL "Status"
}
PARAM coolant_mode
{
TYPE o
DEFVAL "Flood"
OPTIONS "On","Flood","Mist","Tap"
UI_LABEL "Type"
}
PARAM coolant_text
{
TYPE s
TOGGLE Off
UI_LABEL "Text"
}
}
9-16
EEDS
All Rights Reserved
Unigraphics NX 2
Post Builder V3.2
PARAM coolant_mode
{
TYPE o
DEFVAL "Flood"
OPTIONS "On","Flood","Mist","Tap","Thru"
UI_LABEL "Type"
}
-
EEDS
All Rights Reserved
9-17
Next to the Add Word button, from the pull down menu
choose More M_coolant M08 Coolant Code
(FLOOD/MIST/ON...) as the item to add.
Drag the Add Word button down and release it just below
the last motion block.
Choose OK.
9-18
EEDS
All Rights Reserved
Unigraphics NX 2
Post Builder V3.2
EEDS
All Rights Reserved
9-19
You have just created the custom command for coolant thru
the spindle.
Step 4 Add the newly created custom command,
PB_CMD_coolant_thru_checker to the Program event.
9-20
EEDS
All Rights Reserved
Unigraphics NX 2
Post Builder V3.2
EEDS
All Rights Reserved
9-21
In summary:
9-22
EEDS
All Rights Reserved
Unigraphics NX 2
Post Builder V3.2
EEDS
All Rights Reserved
9-23
SUMMARY
9-24
EEDS
All Rights Reserved
Unigraphics NX 2
Post Builder V3.2
Virtual NC Controller
Virtual NC Controller
Lesson 10
PURPOSE
OBJECTIVES
Page
10
EEDS
All Rights Reserved
10-1
Virtual NC Controller
Visualize
Simulation
Advanced Simulation
Setup Configurator
10
10-2
EEDS
All Rights Reserved
Unigraphics NX 2
Post Builder V3.2
Virtual NC Controller
10
EEDS
All Rights Reserved
10-3
Virtual NC Controller
The Machine Tool Driver (MTD), also referred to as the Virtual NC controller,
creates the CNC program that emulates the CNC controller. This is a
programmable interface that instructs the machine tool model on actual
movements and how those movements are displayed. Any motion and feedback
displayed during machine tool simulation is controlled by the dedicated MTD.
For comparison purposes, the MTD is analogous to the machine tool simulator
as the CNC controller is analogous to the machine tool that it controls. For
each machine tool in the machine tool library, there is a MTD driver available
(eleven generic MTD's come standard with NX 2). For creating an MTD for a
new machine tool, you can modify a generic driver to work with that machine or
use the Post Builder to generate the Virtual NC controller (MTD and Virtual
NC controller refer to the same object). MTD's are written in the Tcl scripting
language but may also be developed in higher level languages such as C++.
MTD's can emulate special cycles, User Defined Events (UDE's), macros and
other CNC controller dependent functions that the Manufacturing application
does not support.
10
10-4
EEDS
All Rights Reserved
Unigraphics NX 2
Post Builder V3.2
Virtual NC Controller
Select the New option in the File pull down menu and in the
Name field, name the postprocessor ***_vnc_post, where
*** stands for your initials.
***_vnc_post
EEDS
All Rights Reserved
10-5
10
Virtual NC Controller
Select OK.
10
10-6
EEDS
All Rights Reserved
Unigraphics NX 2
Post Builder V3.2
Virtual NC Controller
SUMMARY
10
EEDS
All Rights Reserved
10-7
Virtual NC Controller
10
10-8
EEDS
All Rights Reserved
Unigraphics NX 2
Post Builder V3.2
Overview
As you gain experience with the various Post components, you will find yourself
experimenting with numerous methods and techniques as you go through the
post development cycle. Eventually, you will settle on methods that you have
become familiar and comfortable with.
The following suggestions and procedures will aid you in the creation of
postprocessors.
D
Wire EDM
EEDS
All Rights Reserved
11-1
11
11
11-2
When adding multiple custom commands, add and test each custom
command individually. This will make the process of debugging easier
and less confusing when you encounter Tcl syntax or Post errors.
Always make a copy of the main CAM mach directory for testing and
debugging purposes. The idea behind this concept is that you can
experiment with various ideas and techniques without the worry of
corrupting any system files that would normally be used by UG/Post or
the Post Builder.
If using the Post Builder to create a post and you find that you may
need to edit the Event Handler or Definition file, make sure that you
perform all edits and modifications that you can do within the Post
Builder. Once you manually" edit the files, which Post Builder
creates, the link between those files and Post Builder are lost. This
prevents you from using the Post Builder on that particular post again.
Additional Tcl or Tk programs can be sourced and run from within the
machine tool Tcl file.
EEDS
All Rights Reserved
Unigraphics NX 2
Post Builder V3.2
Appendix A
MOM Events always have the prefix MOM capitalized. Variables and
commands have the prefix mom in lower case.
Mom Variable
Class
Description
mom_auxfun
Post Commands
Integer
mom_auxfun_text
Post Commands
String
mom_auxfun_text_defined
Post Commands
Integer
mom_axis_position
Post Commands
String
mom_axis_position_value
Post Commands
Numeric Value
Integer
mom_clamp_axis
Post Commands
String
mom_clamp_status
Post Commands
String
mom_clamp_text
Post Commands
String
mom_clamp_text_defined
Post Commands
Integer
mom_coolant_mode
Post Commands
String
mom_coolant_text
Post Commands
String
mom_coolant_text_defined
Post Commands
Integer
mom_coordinate_output_mode
Post Commands
String
mom_cut_wire_text
Post Commands
String
mom_cut_wire_text_defined
Post Commands
Integer
mom_cutcom_adjust_register
Post Commands
Integer
EEDS
All Rights Reserved
Possible Values
ZAXIS or WAXIS
Data
Type
Default
ZAXIS
ON
A-1
Post Commands
Integer
mom_cutcom_angle
Post Commands
Numeric
Value
10
mom_cutcom_distance
Post Commands
Numeric
Value
0.1
mom_cutcom_mode
Post Commands
String
ON
mom_cutcom_plane
Post Commands
String
NONE
mom_cutcom_plane_output_flag
Post Commands
Integer
mom_cutcom_register
Post Commands
Integer
mom_cutcom_register_out
put_flag
Post Commands
Integer
mom_cutcom_text
Post Commands
String
mom_cutcom_text_defined
Post Commands
Integer
mom_cutcom_type
Post Commands
Integer
mom_def_sequence_frequency
Post Commands
Integer
mom_def_sequence_increment
Post Commands
Integer
10
mom_def_sequence_maximum
Post Commands
Integer
mom_def_sequence_start
Post Commands
Integer
10
mom_delay_mode
Post Commands
REV
Integer
mom_delay_revs
Post Commands
Integer
mom_delay_text
Post Commands
String
mom_delay_text_defined
Post Commands
Integer
A-2
EEDS
All Rights Reserved
Unigraphics NX 2
Post Builder V3.2
Post Commands
Numeric Value
mom_flush_guides
Post Commands
String
mom_flush_pressure
Post Commands
For Wire EDM only, setting of the NONE, LOW, MEDIUM, String
FLUSH pressure parameter.
HIGH, REGISTER
mom_flush_register
Post Commands
Integer
mom_flush_tank
Post Commands
String
mom_flush_tank_text
Post Commands
String
mom_flush_tank_text_defined
Post Commands
Integer
mom_head_name
Post Commands
String
mom_head_name_defined
Post Commands
Integer
mom_head_text
Post Commands
String
mom_head_text_defined
Post Commands
Integer
mom_head_type
Post Commands
String
mom_load_tool_number_defined
Post Commands
Integer
mom_lock_axis
Post Commands
String
mom_lock_axis_plane
Post Commands
String
mom_lock_axis_value
Post Commands
Numeric
Value
mom_lock_axis_value_defined
Post Commands
Integer
mom_modes_text
Post Commands
String
mom_modes_text_defined
Post Commands
Integer
mom_number_of_ranges
Post Commands
Integer
EEDS
All Rights Reserved
0.0.
A-3
Post Commands
String
mom_operator_message_defined
Post Commands
Integer
mom_opskip_text
Post Commands
String
mom_opskip_text_defined
Post Commands
Integer
mom_opstop_text
Post Commands
String
mom_opstop_text_defined
Post Commands
Integer
mom_origin
Post Commands
For four and five axis posts, defines the distance from the
origin of the MCS to center of the rotary table. For other
posts, an offset from the MCS origin to the machine tool
coordinate center.
Numeric
Array(3)
mom_origin_text
Post Commands
String
mom_origin_text_defined
Post Commands
Integer
mom_parallel_to_axis
Post Commands
String
mom_power_text
Post Commands
String
mom_power_text_defined
Post Commands
Integer
mom_power_value
Post Commands
Numeric Value
mom_pprint
Post Commands
String
mom_pprint_defined
Post Commands
Integer
mom_prefun
Post Commands
Integer
mom_prefun_text
Post Commands
String
mom_prefun_text_defined
Post Commands
Integer
mom_rotate_axis_type
Post Commands
String
mom_rotation_angle
Post Commands
Defines the angle to rotate to for the ROTATE UDE. The val Numeric Value
ue may be incremental, absolute or to a modulo 360 angle.
mom_rotation_angle_defined
Post Commands
A-4
EEDS
All Rights Reserved
(0,0,0).
Integer
Unigraphics NX 2
Post Builder V3.2
mom_rotation_direction
Post Commands
String
mom_rotation_mode
Post Commands
String
mom_rotation_reference_mode
Post Commands
String
mom_rotation_text
Post Commands
String
mom_rotation_text_defined
Post Commands
Integer
mom_seqnum
Post Commands
Integer
mom_sequence_frequency
Post Commands
Integer
mom_sequence_increment
Post Commands
Integer
10
mom_sequence_mode
Post Commands
String
OFF
mom_sequence_number
Post Commands
Integer
10
mom_sequence_text
Post Commands
String
mom_sequence_text_defined
Post Commands
Integer
mom_spindle_direction
Post Commands
String
mom_spindle_maximum_rpm
Post Commands
Numeric Value
mom_spindle_maximum_rpm_de
fined
Post Commands
Integer
mom_spindle_mode
Post Commands
String
mom_spindle_range
Post Commands
String
EEDS
All Rights Reserved
A-5
Post Commands
Integer
mom_spindle_rpm
Post Commands
Numeric Value
mom_spindle_speed
Post Commands
Numeric Value
mom_spindle_speed_defined
Post Commands
Integer
mom_spindle_text
Post Commands
String
mom_spindle_text_defined
Post Commands
Integer
mom_stop_text
Post Commands
String
mom_stop_text_defined
Post Commands
Integer
mom_tool_adj_reg_defined
Post Commands
Integer
mom_tool_adjust_register
Post Commands
Integer
mom_tool_change_type
Post Commands
String
mom_tool_number
Post Commands
Numeric Value
mom_tool_use
Post Commands
mom_work_coordinate_number
Post Commands
Integer
mom_cycle_cam
Cycle
Integer
mom_cycle_clearance_plane
Cycle
Same as mom_cycle_rapid_to
Numeric Value
mom_cycle_clearance_pos
Cycle
Same as mom_cycle_rapid_to_pos
Numeric Array(3)
mom_cycle_counter_sink_dia
Cycle
A-6
EEDS
All Rights Reserved
Unigraphics NX 2
Post Builder V3.2
Cycle
Numeric
Value
mom_cycle_delay_mode
Cycle
String
mom_cycle_delay_revs
Cycle
Numeric
Value
mom_cycle_feed_rate
Cycle
Numeric Value
mom_cycle_feed_rate_mode
Cycle
String
mom_cycle_feed_rate_per_rev
Cycle
mom_cycle_feed_to
Cycle
The feed to depth value of the canned cycle. This value is Numeric Value
measured from the top of hole along the cycle spindle axis
to the bottom of the hole.
mom_cycle_feed_to_pos
Cycle
This is the bottom of the hole position. It is a 3D point. When Numeric Array(3)
the
cycle
spindle
axis
is
(0,0,1),
mom_cycle_feed_to_pos(2) represents the bottom of hole.
mom_cycle_hole_dia
Cycle
Numeric Value
mom_cycle_option
Cycle
String
mom_cycle_orient
Cycle
Numeric Value
mom_cycle_rapid_to
Cycle
Numeric Value
mom_cycle_rapid_to_pos
Cycle
This is the rapid clearance position of the canned cycle. It is Numeric Array(3)
a 3D point. When the cycle spindle axis is (0,0,1),
mom_cycle_rapid_to_pos(2) represents the rapid clear
ance position.
mom_cycle_retract_mode
Cycle
mom_cycle_retract_to
Cycle
The retract point of the canned cycle. This value is mea Numeric Value
sured from the top of hole along the cycle spindle axis to the
retract point above the hole.
mom_cycle_retract_to_pos
Cycle
mom_cycle_spindle_axis
Cycle
Integer
mom_cycle_step1
Cycle
Value that can be used for deep and break chip canned
cycles. This is first of three possible step values. It is up to
users discretion on how to use this parameter.
Numeric
Value
EEDS
All Rights Reserved
MMPM,
0.0.
0.0.
Numeric Value
String
MANUAL.
A-7
Cycle
Value that can be used for deep and break chip canned Numeric
cycles. This is second of three possible step values. It is up Value
to users discretion on how to use this parameter.
mom_cycle_step3
Cycle
Value that can be used for deep and break chip canned Numeric
cycles. This is third of three possible step values. It is up to Value
users discretion on how to use this parameter.
mom_cycle_text
Cycle
String
mom_cycle_text_defined
Cycle
Integer
mom_cycle_tool_angle
Cycle
Numeric Value
mom_sys_cycle_bore_back_code
Cycle
Numeric
Value
87
mom_sys_cycle_bore_code
Cycle
Numeric
Value
85
mom_sys_cycle_bore_drag_code
Cycle
Numeric
Value
86
mom_sys_cycle_bore_dwell_code Cycle
Numeric
Value
89
mom_sys_cycle_bore_manu
al_code
Cycle
Numeric
Value
88
mom_sys_cycle_bore_manu
al_dwell_code
Cycle
Numeric
Value
89
mom_sys_cycle_bore_no_drag_c
ode
Cycle
Numeric
Value
76
mom_sys_cycle_drill_break
chip_code
Cycle
Numeric
Value
73
mom_sys_cycle_drill_code
Cycle
Numeric
Value
81
mom_sys_cycle_drill_deep_code
Cycle
Numeric
Value
83
mom_sys_cycle_drill_dwell_code
Cycle
Numeric
Value
82
mom_sys_cycle_feed_mode
Cycle
String
IPM/
MMPM
mom_sys_cycle_off
Cycle
Numeric
Value
80
mom_sys_sim_cycle_bore
Cycle
Numeric
Value
mom_sys_sim_cycle_bore_back
Cycle
Numeric
Value
mom_sys_sim_cycle_bore_drag
Cycle
Numeric
Value
mom_sys_sim_cycle_bore_dwell
Cycle
Numeric
Value
A-8
EEDS
All Rights Reserved
Unigraphics NX 2
Post Builder V3.2
Cycle
Numeric
Value
mom_sys_sim_cycle_bore_manu
al_dwell
Cycle
Numeric
Value
mom_sys_sim_cycle_bore_no
drag
Cycle
Numeric
Value
mom_sys_sim_cycle_drill
Cycle
Numeric
Value
mom_sys_sim_cycle_drill_break_c Cycle
hip
Numeric
Value
mom_sys_sim_cycle_drill_deep
Cycle
Numeric
Value
mom_sys_sim_cycle_drill_dwell
Cycle
Numeric
Value
mom_sys_sim_cycle_tap
Cycle
Numeric
Value
mom_feed_approach_unit
Feed Rate
Defines the mode for the mom ipm, mmpm, ipr, mmpr
variable
mom_feed_ap
proach_value.
String
mom_feed_approach_value
Feed Rate
Numeric Value
mom_feed_cut_unit
Feed Rate
String
mom_feed_cut_value
Feed Rate
Numeric Value
mom_feed_departure_unit
Feed Rate
String
mom_feed_departure_value
Feed Rate
Numeric Value
mom_feed_engage_unit
Feed Rate
String
mom_feed_engage_value
Feed Rate
Numeric Value
mom_feed_first_cut_unit
Feed Rate
String
EEDS
All Rights Reserved
A-9
Feed Rate
Numeric Value
mom_feed_per_tooth
Feed Rate
Numeric Value
mom_feed_rapid_unit
Feed Rate
String
mom_feed_rapid_value
Feed Rate
Numeric Value
mom_feed_rate
Feed Rate
Numeric Value
mom_feed_rate_dpm
Feed Rate
For four and five axis mills, the Any number greater
rate at which the rotary axis are than or equal to zero.
moving for a rotary axis feed rate
move or a combined linear and
rotary feed rate move.
Numeric Value
mom_feed_rate_mode
Feed Rate
String
mom_feed_rate_number
Feed Rate
Numeric Value
mom_feed_rate_output_mode
Feed Rate
String
mom_feed_rate_per_rev
Feed Rate
Numeric Value
mom_feed_retract_unit
Feed Rate
String
mom_feed_retract_value
Feed Rate
Numeric Value
mom_feed_return_unit
Feed Rate
String
A-10
EEDS
All Rights Reserved
IPR,
Feed Rate
mode
from the
GOTO
feed rate.
Unigraphics NX 2
Post Builder V3.2
Feed Rate
Numeric Value
mom_feed_set_mode
Feed Rate
String
mom_feed_stepover_unit
Feed Rate
String
mom_feed_stepover_value
Feed Rate
Numeric Value
mom_feed_traversal_unit
Feed Rate
String
mom_feed_traversal_value
Feed Rate
Numeric Value
mom_kin_max_dpm
Feed Rate
For four and five axis posts only. Any number greater
Defines the maximum degrees than zero.
per minute that the rotary table
can move. The feedrate will be
reduced to insure that the maxi
mum DPM will not be exceeded.
Numeric
Value
10
mom_kin_max_frn
Feed Rate
Numeric
Value
99999.99
9.
mom_kin_max_ipm
Feed Rate
Numeric
Value
.1 for inch
posts and
1.0
for
metric
posts.
mom_kin_max_ipr
Feed Rate
Numeric
Value
.0001 for
inch post
and .01 for
metric
posts.
mom_kin_min_arc_radius
Feed Rate
Numeric
Value
.0001 for
inch posts
and .001
for metric
posts.
EEDS
All Rights Reserved
IPR,
OFF
A-11
Feed Rate
For four and five axis posts only. Any number greater
Defines the minimum degrees than or equal to zero.
per minute that the rotary table
can move.
Numeric
Value
mom_kin_min_frn
Feed Rate
Numeric
Value
.001.
mom_kin_min_ipm
Feed Rate
Numeric
Value
.1 for inch
posts and
1.0
for
metric
posts.
mom_kin_min_ipr
Feed Rate
Numeric
Value
.0001 for
inch post
and .01 for
metric
posts.
mom_programmed_feed_rate
Feed Rate
Numeric Value
mom_sys_con
tour_feed_mode(LINEAR)
Feed Rate
String
Array
IPM/
MMPM
mom_sys_con
tour_feed_mode(LIN
EAR_ROTARY)
Feed Rate
String
Array
IPM/
MMPM
mom_sys_con
tour_feed_mode(ROTARY)
Feed Rate
String
Array
IPM/
MMPM
mom_sys_feed_param(FRN,for
mat)
Feed Rate
Numeric
Value
Feed_FR
N
mom_sys_feed_param(IPM,for
mat)
Feed Rate
Numeric
Value
Feed_IPM
A-12
EEDS
All Rights Reserved
Unigraphics NX 2
Post Builder V3.2
Feed Rate
Numeric
Value
Feed_IPR
mom_sys_feed_param(MMPM,for
mat)
Feed Rate
Numeric
Value
Feed_MM
PM
mom_sys_feed_param(MMPM,for
mat)
Feed Rate
Numeric
Value
Feed_MM
PM
mom_sys_feed_rate_mode_code(
FRN)
Feed Rate
Defines the feed rate mode G code that will be used when in Numeric
FRN feed rate mode. This code may be edited on the G Value
code dialog in Postbuilder.
93
Defines the feed rate mode G code that will be used when in Numeric
IPM feed rate mode. This code may be edited on the G Value
code dialog in Postbuilder.
94
Defines the feed rate mode G code that will be used when in Numeric
IPR feed rate mode. This code may be edited on the G Value
code dialog in Postbuilder.
95
mom_sys_feed_rate_mode_code(
MMPM)
Feed Rate
Defines the feed rate mode G code that will be used when in Numeric
MMPM feed rate mode. This code may be edited on the G Value
code dialog in Postbuilder.
94
mom_sys_feed_rate_mode_code(
MMPR)
Feed Rate
Defines the feed rate mode G code that will be used when in Numeric
MMPR feed rate mode. This code may be edited on the G Value
code dialog in Postbuilder.
95
mom_sys_frn_factor
Feed Rate
Numeric
Value
mom_sys_rapid_feed_mode(LIN
EAR)
Feed Rate
String
Array
IPM/
MMPM
mom_sys_rapid_feed_mode(LIN
EAR_ROTARY)
Feed Rate
String
Array
IPM/
MMPM
mom_sys_rap
id_feed_mode(ROTARY)
Feed Rate
String
Array
IPM/
MMPM
mom_sys_delay_param(REVOLU
TIONS,format)
Feedrate
Defines the format that will be used when the dwell is output String
in revolutions format.
Dwell_RE
VOLU
TIONS
mom_sys_delay_param(SEC
ONDS,format)
Feedrate
Defines the format that will be used when the dwell is output String
in seconds format.
Dwell_SE
CONDS
EEDS
All Rights Reserved
A-13
General
Numeric Value
mom_date
General
String
mom_definition_file_name
General
String
mom_event_handler_file_name
General
Full path name of the event handler file being used to post
process.
String
mom_event_number
General
Integer
mom_event_time
General
Numeric Value
mom_field_count
General
Integer
mom_group_name
General
String
mom_load_event_handler
General
Used to define the name a new event handler file. This file
will overwrite the current event handler file. Any duplicate
variable or procedure names will be overwritten. The
change will take affect after control is return to UG Post.
String
mom_logname
General
String
mom_machine_mode
General
String
mom_machine_name
General
String
mom_machine_time
General
Numeric Value
mom_msys_matrix
General
Numeric Array(9)
mom_msys_origin
General
Numeric Array(3)
mom_o_buffer
General
The block of text that will be the next block output in the
event MOM_before_output. This text string may be edited
before output.
String
mom_operation_name
General
String
mom_operation_type
General
String
mom_output_file_basename
General
String
mom_output_file_directory
General
String
A-14
EEDS
All Rights Reserved
Unigraphics NX 2
Post Builder V3.2
General
For example:
String
mom_output_file_suffix
General
The name of the extension used for the NC output file. For
example: ptp.
String
.ptp
mom_output_mode
General
String
ABSO
LUTE. .
mom_output_unit
General
String
mom_parent_group_name
General
String
mom_part_name
General
mom_part_unit
General
mom_record_fields
General
A string array containing the text fields of the User Defined String Array
text UDE. The first field the major word. The following fields
are the minor words and scalars.
mom_record_text
General
mom_sys_commentary_output
General
Not Used
mom_sys_current_cutting_time
General
Numeric Value.
mom_sys_ptp_output
General
String
ON
mom_system_tolerance
General
Numeri
cal Value
mom_tool_head
Post Commands
String
mom_translate
Post Commands
Numeric
Array(3)
mom_ug_version
General
String
mom_up
date_post_cmds_from_tool
General
Integer
mom_user_defined_text
General
String
mom_warning_info
General
String
mom_kin_4th_axis_ang_offset
Kinematics
Numeric
Value
EEDS
All Rights Reserved
String
String
(0,0,0)
0.0.
A-15
Kinematics
For four and five axis milling machines. Defines the dis
tance from the center of the rotary table to machine tool
zero position.
Numeric
Array(3)
mom_kin_4th_axis_direction
Kinematics
String
mom_kin_4th_axis_incr_switch
Kinematics
String
mom_kin_4th_axis_leader
Kinematics
String
mom_kin_4th_axis_limit_action
Kinematics
String
Warning
mom_kin_4th_axis_max_limit
Kinematics
Numeric
Value
999.999
mom_kin_4th_axis_min_incr
Kinematics
Numeric
Value
0.001
mom_kin_4th_axis_min_limit
Kinematics
Numeric
Value
-999.999
mom_kin_4th_axis_plane
Kinematics
String
mom_kin_4th_axis_rotation
Kinematics
String
mom_kin_4th_axis_type
Kinematics
String
mom_kin_4th_axis_zero
Kinematics
Defines an offset that will be added the rotary position. This Numeric
offset is used when a (0,0,1) tool axis results in angle other Value
than zero.
mom_kin_5th_axis_ang_offset
Kinematics
0.0.
mom_kin_5th_axis_center_offset
Kinematics
Defines the distance from the center or rotation of the fourth Numeric
axis to the center of rotation of the fifth axis. If the axis vector Array(3)
of the fourth axis passes through the center of the fifth axis,
then this distance is zero.
A-16
EEDS
All Rights Reserved
MAGNITUDE_DETER
MINES_DIRECTION,
SIGN_DETER
MINES_DIRECTION
Numeric
Value
(0,0,0)
OFF
(0,0,0)
Unigraphics NX 2
Post Builder V3.2
mom_kin_5th_axis_incr_switch
Kinematics
String
mom_kin_5th_axis_leader
Kinematics
String
mom_kin_5th_axis_limit_action
Kinematics
String
Warning
mom_kin_5th_axis_max_limit
Kinematics
Numeric
Value
-999.999
mom_kin_5th_axis_min_incr
Kinematics
Numeric
Value
0.001
mom_kin_5th_axis_min_limit
Kinematics
Numeric
Value
999.999
mom_kin_5th_axis_plane
Kinematics
String
mom_kin_5th_axis_rotation
Kinematics
String
mom_kin_5th_axis_type
Kinematics
String
mom_kin_5th_axis_zero
Kinematics
Defines an offset that will be added the rotary position. This Numeric
offset is used when a (0,0,1) tool axis results in angle other Value
than zero.
mom_kin_arc_output_mode
Kinematics
FULL_CIR
CLE
EEDS
All Rights Reserved
MAGNITUDE_DETER
MINES_DIRECTION,
SIGN_DETER
MINES_DIRECTION
mom_kin_5th_axis_direction
String
String
OFF
A-17
Kinematics
Defines the planes that arcs will XYZ, XY, YZ, ZX, ANY
be output. XYZ means XY, YZ or
ZX. Lathe posts can only output
in the XZ plane. ANY is not cur
rently available from UG.
String
mom_kin_caxis_rotary_pos
Kinematics
Numeric
Value
mom_kin_clamp_time
Kinematics
Numeric
Value
2
sec
onds.
mom_kin_dependent_head
Kinematics
String
NONE
mom_kin_holder1_offset_x
Kinematics
Defines the X value of the offset for the right angle head de
fined by HOLDER,1
Numeric
Value
mom_kin_holder1_offset_y
Kinematics
Defines the Y value of the offset for the right angle head de
fined by HOLDER,1
Numeric
Value
mom_kin_holder1_offset_z
Kinematics
Defines the Z value of the offset for the right angle head de
fined by HOLDER,1
Numeric
Value
mom_kin_holder1_orientation
Kinematics
String
mom_kin_holder2_offset_x
Kinematics
Defines the X value of the offset for the right angle head de
fined by HOLDER,2
Numeric
Value
mom_kin_holder2_offset_y
Kinematics
Defines the Y value of the offset for the right angle head de
fined by HOLDER,2
Numeric
Value
mom_kin_holder2_offset_z
Kinematics
Defines the Z value of the offset for the right angle head de
fined by HOLDER,2
Numeric
Value
mom_kin_holder2_orientation
Kinematics
String
mom_kin_holder3_offset_x
Kinematics
Defines the X value of the offset for the right angle head de
fined by HOLDER,3
Numeric
Value
mom_kin_holder3_offset_y
Kinematics
Defines the Y value of the offset for the right angle head de
fined by HOLDER,3
Numeric
Value
mom_kin_holder3_offset_z
Kinematics
Defines the Z value of the offset for the right angle head de
fined by HOLDER,3
Numeric
Value
A-18
EEDS
All Rights Reserved
Unigraphics NX 2
Post Builder V3.2
mom_kin_holder3_orientation
Kinematics
String
mom_kin_holder4_offset_x
Kinematics
Defines the X value of the offset for the right angle head de
fined by HOLDER,4
Numeric
Value
mom_kin_holder4_offset_y
Kinematics
Defines the Y value of the offset for the right angle head de
fined by HOLDER,4
Numeric
Value
mom_kin_holder4_offset_z
Kinematics
Defines the Z value of the offset for the right angle head de
fined by HOLDER,4
Numeric
Value
mom_kin_holder4_orientation
Kinematics
String
mom_kin_holder5_offset_x
Kinematics
Defines the X value of the offset for the right angle head de
fined by HOLDER,5
Numeric
Value
mom_kin_holder5_offset_y
Kinematics
Defines the Y value of the offset for the right angle head de
fined by HOLDER,5
Numeric
Value
mom_kin_holder5_offset_z
Kinematics
Defines the Z value of the offset for the right angle head de
fined by HOLDER,5
Numeric
Value
mom_kin_holder5_orientation
Kinematics
String
mom_kin_holder6_offset_x
Kinematics
Defines the X value of the offset for the right angle head de
fined by HOLDER,6
Numeric
Value
mom_kin_holder6_offset_y
Kinematics
Defines the Y value of the offset for the right angle head de
fined by HOLDER,6
Numeric
Value
mom_kin_holder6_offset_z
Kinematics
Defines the Z value of the offset for the right angle head de
fined by HOLDER,6
Numeric
Value
mom_kin_holder6_orientation
Kinematics
String
mom_kin_ind_to_depen
dent_head_x
Kinematics
Numeric
Value
mom_kin_ind_to_depen
dent_head_z
Kinematics
Numeric
Value
EEDS
All Rights Reserved
A-19
Kinematics
mom_kin_linearization_flag
Kinematics
mom_kin_linearization_tol
Kinematics
Numeric
Value
.001.
mom_kin_machine_resolution
Kinematics
Numeric
Value
.0001 or
inch posts
and .001
for metric
posts.
mom_kin_machine_type
Kinematics
String
3_axis_mil
l
mom_kin_max_arc_radius
Kinematics
Numeric
Value
999.9999
mom_kin_max_fpm
Kinematics
Numeric
Value
600 IPM
and
15000
MMPM for
mills and
400 IPM
and
10000
MMPM for
lathes.
mom_kin_max_fpr
Kinematics
Numeric
Value
100 IPR
and 100
MMPR.
mom_kin_min_arc_length
Kinematics
Numeric
Value
.0001 for
inch and
.001 for
metric.
mom_kin_min_fpm
Kinematics
Numeric
Value
.1 IPM and
.01
MMPM for
mills and
.1 IPM and
1.0
MMPM for
lathes.
A-20
EEDS
All Rights Reserved
3_axis_mill,
3_axis_mill_turn,
4_axis_head,
4_axis_table,
5_axis_dual_table,
5_axis_dual_head,
5_axis_head_table,
2_axis_wedm,
4_axis_wedm,
2_axis_lathe.
String
NONE
Unigraphics NX 2
Post Builder V3.2
Kinematics
Numeric
Value
mom_kin_nurbs_output_type
Nurbs
String
mom_kin_output_unit
Kinematics
String
mom_kin_pivot_gauge_offset
Kinematics
For four and five axis tilting head machine tools only. De Numeric
fines the distance from the pivot point of the tilting rotary Value
axis to gage point. This value can be negative. This value is
added to the tool length to determine the effective length of
the tool
mom_kin_pivot_guage_offset
Kinematics
Same as mom_kin_pivot_gauge_offset.
mom_kin_pivot_to_gauge_dist
Kinematics
Same as mom_kin_pivot_gauge_offset.
mom_kin_rapid_feed_rate
Kinematics
Numeric
Value
400 posts
for inch
and
10000 for
metric
posts.
mom_kin_read_ahead_next_mo
tion
Kinematics
Defines whether the post will read ahead for the next mo
tion. If this variable is defined to any value, the read ahead
will take place. The read ahead will also keep track of all
post commands encountered while reading ahead. See
the variables in the c
String
Unset
mom_kin_reengage_distance
Kinematics
Numeric
Value
.1.
mom_kin_retract_plane
Kinematics
Numeric
Value
10.0.
mom_kin_rotary_reengage_fee
drate
Kinematics
Numeric
Value
10 IPM.
EEDS
All Rights Reserved
.01
IPR
and .001
MMPR.
A-21
Kinematics
Numeric
Array(3)
(0,0,1).
mom_kin_tool_change_time
Kinematics
Numeric
Value
12
sec
onds.
mom_kin_tool_tracking_height
Kinematics
Numeric Value
mom_kin_track_center_of_ball
Kinematics
String
mom_kin_wire_tilt_output_type
Kinematics
String
mom_kin_x_axis_limit
Kinematics
Numeric
Value
40 (inch)
and 1000
(metric).
mom_kin_y_axis_limit
Kinematics
Numeric
Value
40 (inch)
and 1000
(metric).
mom_kin_z_axis_limit
Kinematics
Numeric
Value
35 (inch)
and 1000
(metric).
mom_alt_pos
Motion
mom_arc_angle
Motion
Numeric Value
mom_arc_axis
Motion
Numeric Array(3)
mom_arc_center
Motion
mom_arc_direction
Motion
mom_arc_intol_fraction
Motion
A-22
EEDS
All Rights Reserved
Unit vector.
FALSE.
Numeric Array(3)
CLW or CCLW
String
Numeric Value
Unigraphics NX 2
Post Builder V3.2
Motion
String
mom_arc_radius
Motion
Numeric Value
mom_arc_tolerance
Motion
Numeric Value
mom_arc_tool_diameter
Motion
Numeric Value
mom_arc_tool_radius
Motion
Numeric Value
mom_current_motion
Motion
Same as mom_motion_event.
mom_from_alt_pos
Motion
Numeric Array(5)
mom_from_pos
Motion
Numeric Array(5)
mom_from_ref_pos
Motion
Numeric Array(5)
mom_gohome_alt_pos
Motion
Numeric Array(5)
mom_gohome_pos
Motion
mom_gohome_ref_pos
Motion
Numerical Array(3)
mom_helix_pitch
Motion
Numeric Value
mom_last_pos
Motion
The previous tool position. Not the same mom_prev_pos. Numeric Array(3)
The retractor position will be used following canned cycles.
mom_last_z_pos
Motion
Numeric Value
mom_lathe_spindle_axis
Motion
String
mom_mcs_goto
Motion
Numeric Array(3)
mom_motion_distance
Motion
Numeric Value
mom_motion_event
Motion
String
EEDS
All Rights Reserved
initial_move,
rap
id_move, linear_move,
circular_move,
drill_move,
drill_dwell_move,
drill_deep_move,
drill_break_chip_move
,
tap_move
,
bore_move,
bore_dwell_move,
bore_drag_move,
bore_no_drag_move,
bore_manual,
bore_manu
al_dwell_move,
thread_move
MCSZ
A-23
Motion
mom_out_angle_pos
Motion
For four and five axis machine tools only. Formatted angles
for the fourth and fifth axes. These values may contain a
negative value or a value greater than 360 or less than 0.
mom_out_angle_pos(0) is the fourth axis and
mom_out_angle_pos(1) is the fifth.
Numeric Array(2)
mom_pos
Motion
Numeric Array(5)
mom_pos_arc_axis
Motion
Numeric Array(3)
mom_pos_arc_center
Motion
Numeric Array(3)
mom_pos_arc_plane
Motion
String
mom_prev_alt_pos
Motion
Numeric Array(3)
mom_prev_mcs_goto
Motion
Numeric Array(3)
mom_prev_out_angle_pos
Motion
The
previous
values
of
mom_out_angle_pos.
mom_prev_out_angle_pos(0) is the fourth axis and
mom_prev_out_angle_pos(1) is the fifth axis.
Numeric Array(2)
mom_prev_pos
Motion
Numeric Array(5)
mom_prev_ref_pos
Motion
Numeric Array(3)
mom_prev_rot_ang_4th
Motion
Same as mom_prev_out_angle_pos(0)
Numeric Value
mom_prev_rot_ang_5th
Motion
Same as mom_prev_out_angle_pos(1)
Numeric Value
mom_prev_tool_axis
Motion
The
previous
mom_tool_axis.
Numeric Array(3)
mom_ref_pos
Motion
Numeric Array(3)
mom_ref_pos_arc_center
Motion
Numeric Array(3)
mom_rotary_delta_4th
Motion
Numeric Value
mom_rotary_delta_5th
Motion
Numeric Value
A-24
version
EEDS
All Rights Reserved
of Unit vector.
Unigraphics NX 2
Post Builder V3.2
Motion
Numeri
cal Value
mom_sys_lathe_x_factor
Motion
Numeri
cal Value
mom_sys_lathe_z_factor
Motion
Numeri
cal Value
mom_tool_axis
Motion
Numeric
Array(3)
(0,0,1).
mom_tool_offset
Motion
The tool offsets defined in the MCS. For Lathes, the XOFF is Numeric
mom_tool_offset(0), the YOFF is mom_tool_offset(1) and Array(3)
mom_tool_offset(2) is always 0.0._ For Milling machines,
the ZOFF is mom_tool_offset(2) and mom_tool_offset(0)
and mom_tool_offset(1) are
(0,0,0)
mom_tool_offset_defined
Motion
Integer
mom_tool_x_offset
Motion
For Lathe, the YOFF value from the tool or TURRET UDE.
This may also contain any offset for the distance between
the independent spindle and the dependent. For Milling
machines, this is set to zero. This offset is in the machine
tool coordinate system.
Numeric Value
mom_tool_x_offset_defined
Motion
Indicates
whether
the undefined is 0, defined
mom_tool_x_offset has been is 1
specified in the operation.
Integer
mom_tool_y_offset
Motion
Numeric Value
mom_tool_y_offset_defined
Motion
Integer
mom_tool_z_offset
Motion
For Lathe, the XOFF value from the tool or TURRET UDE.
This may also contain any offset for the distance between
the independent spindle and the dependent. For Milling
machines, this is the ZOFF value from the tool or LOAD
UDE. This offset is in the ma
Numeric Value
mom_tool_z_offset_defined
Motion
Indicates
whether
the undefined is 0, defined
mom_tool_z_offset has been is 1
specified in the operation.
Integer
mom_nurbs_co_efficient_0
Nurbs
Numerical Value
mom_nurbs_co_efficient_1
Nurbs
Numerical Value
mom_nurbs_co_efficient_2
Nurbs
Numerical Value
mom_nurbs_co_efficient_3
Nurbs
Numerical Value
mom_nurbs_co_efficient_4
Nurbs
Numerical Value
mom_nurbs_co_efficient_5
Nurbs
Numerical Value
EEDS
All Rights Reserved
undefined is 0, defined
is 1
A-25
Nurbs
Numerical Value
mom_nurbs_co_efficient_7
Nurbs
Numerical Value
mom_nurbs_co_efficient_8
Nurbs
Numerical Value
mom_nurbs_coefficients
Nurbs
Numerical Value
mom_nurbs_knot_count
Nurbs
For Fanuc nurbs only. Defines the number of knot points to Numerical Value
output.
mom_nurbs_knots
Nurbs
Numerical Array(num
ber of knots)
mom_nurbs_order
Nurbs
For Fanuc nurbs only. Defines the order of the nurbs. Out
put as Pn.
Numerical Value
mom_nurbs_point_count
Nurbs
Integer
mom_nurbs_point_x
Nurbs
Numerical Value
mom_nurbs_point_y
Nurbs
Numerical Value
mom_nurbs_point_z
Nurbs
Numerical Value
mom_nurbs_points
Nurbs
Numerical Value
mom_nurbs_points_x
Nurbs
Numerical Value
mom_nurbs_points_y
Nurbs
Numerical Value
mom_nurbs_points_z
Nurbs
Numerical Value
mom_face_stock
Operation
For lathe operations only. Defines the stock applied to face Numeri
or z axis.
cal Value
mom_finish_stock
Operation
Numeri
cal Value
mom_fixture_offset_value
Operation
Integer
mom_from_point
Operation
Numeri
cal
Array(3)
(0,0,0)
mom_from_status
Operation
Integer
mom_from_tool_axis
Operation
Numeri
cal
Array(3)
mom_from_tool_axis_status
Operation
Integer
mom_gohome_axis
Operation
Numeri
cal
Array(3)
A-26
EEDS
All Rights Reserved
(0,0,1)
(0,0,1)
Unigraphics NX 2
Post Builder V3.2
Operation
Integer
mom_gohome_point
Operation
Numeri
cal
Array(3)
mom_gohome_status
Operation
Integer
mom_minimum_clearance
Operation
Numeric
Value
mom_path_name
Operation
String
mom_radial_stock
Operation
Numeri
cal Value
mom_return_point
Operation
Numeri
cal
Array(3)
(0,0,0)
mom_return_status
Operation
Integer
mom_spindle_direction_automatic Operation
Integer
mom_start_point
Operation
Numeri
cal
Array(3)
(0,0,0)
mom_start_status
Operation
Integer
mom_surface_speed
Operation
Numeric Value
mom_template_subtype
Operation
String
mom_template_type
Operation
mom_part_material_code
Part
String
mom_part_material_description
Part
String
mom_part_material_hardness
Part
String
mom_nxt_arc_angle
Read Ahead
Numeric Value
mom_nxt_arc_axis
Read Ahead
Numeric Array(3)
mom_nxt_arc_center
Read Ahead
Numeric Array(3)
mom_nxt_arc_direction
Read Ahead
String
mom_nxt_arc_tolerance
Read Ahead
Numeric Value
mom_nxt_arc_tool_diameter
Read Ahead
The diameter of the tool used to drive the arc if the next mo
tion is an arc..
Numeric Value
mom_nxt_arc_tool_radius
Read Ahead
The radius of the tool used to drive the arc if the next motion Numeric Value
is an arc.
EEDS
All Rights Reserved
(0,0,0)
0.1
A-27
Read Ahead
String Array
mom_nxt_event_count
Read Ahead
Integer
mom_nxt_feed_rate_mode
Read Ahead
IPR,
Numeric Value
IPR,
Numeric Value
mom_nxt_feed_rate_per_rev
Read Ahead
Numeric Value
mom_nxt_intol_arc_fraction
Read Ahead
Numeric Value
mom_nxt_invert_arc_center
Read Ahead
Same as mom_nxt_arc_center.
mom_nxt_mcs_coord_mode
Read Ahead
String
mom_nxt_mcs_go_delta
Read Ahead
Numeric Array(3)
mom_nxt_mcs_goto
Read Ahead
Numeric Array(3)
mom_nxt_motion_event
Read Ahead
String
mom_nxt_motion_type
Read Ahead
mom_nxt_pos_arc_axis
Read Ahead
If the next motion is an arc, the arc center axis for the next
circle.
Numeric Array(3)
mom_nxt_pos_arc_center
Read Ahead
Numeric Array(3)
mom_nxt_ref_pos_arc_center
Read Ahead
For lathe only. If the next motion is an arc, the circle center
in reference point coordinates.
Numeric Array(3)
mom_nxt_tool_axis
Read Ahead
Numeric Array(3)
mom_spindle_orient_code
Spindle
19
mom_sys_spindle_axis
Spindle
(0,0,1)
A-28
EEDS
All Rights Reserved
initial_move,
rap
id_move, linear_move,
circular_move,
drill_move,
drill_dwell_move,
drill_deep_move,
drill_break_chip_move
,
tap_move
,
bore_move,
bore_dwell_move,
bore_drag_move,
bore_no_drag_move,
bore_manual,
bore_manu
al_dwell_move,
thread_move
Unit vector.
Numeric
Array(3)
GOTO
Unigraphics NX 2
Post Builder V3.2
Spindle
For lathes only. Defines a code that can be used to override Numeric
SFM for a single block.
Value
93
mom_sys_spindle_direc
tion_code(CCLW)
Spindle
mom_sys_spindle_direc
tion_code(CLW)
Spindle
Numeric
Value
mom_sys_spindle_direc
tion_code(OFF)
Spindle
Numeric
Value
mom_sys_spindle_max_rpm_cod
e
Spindle
Numeric
Value
92
mom_sys_spindle_mode_code(R
PM)
Spindle
Numeric
Value
97
mom_sys_spindle_mode_code(S
FM)
Spindle
Numeric
Value
96
mom_sys_spindle_param(1,max)
Spindle
Numeric
Value
mom_sys_spindle_param(1,min)
Spindle
Numeric
Value
mom_sys_spindle_param(2,max)
Spindle
Numeric
Value
mom_sys_spindle_param(2,min)
Spindle
Numeric
Value
mom_sys_spindle_param(3,max)
Spindle
Numeric
Value
mom_sys_spindle_param(3,min)
Spindle
Numeric
Value
EEDS
All Rights Reserved
A-29
Spindle
Numeric
Value
mom_sys_spindle_param(4,min)
Spindle
Numeric
Value
mom_sys_spindle_param(5,max)
Spindle
Numeric
Value
mom_sys_spindle_param(5,min)
Spindle
Numeric
Value
mom_sys_spindle_param(6,max)
Spindle
Numeric
Value
mom_sys_spindle_param(6,min)
Spindle
Numeric
Value
mom_sys_spindle_param(7,max)
Spindle
Numeric
Value
mom_sys_spindle_param(7,min)
Spindle
Numeric
Value
mom_sys_spindle_param(8,max)
Spindle
Numeric
Value
A-30
EEDS
All Rights Reserved
Unigraphics NX 2
Post Builder V3.2
Spindle
Numeric
Value
mom_sys_spindle_param(9,max)
Spindle
Numeric
Value
mom_sys_spindle_param(9,min)
Spindle
Numeric
Value
mom_sys_spindle_range_code(1)
Spindle
Numeric
Value
41 for the
M code
option
and -1 for
the Hig/
Low op
tion
mom_sys_spindle_range_code(2)
Spindle
Numeric
Value
42 for the
M code
option
and +1 for
the Hig/
Low op
tion
mom_sys_spindle_range_code(3)
Spindle
Numeric
Value
43
mom_sys_spindle_range_code(4)
Spindle
Numeric
Value
44
mom_sys_spindle_range_code(5)
Spindle
Numeric
Value
45
mom_sys_spindle_range_code(6)
Spindle
Numeric
Value
46
mom_sys_spindle_range_code(7)
Spindle
Numeric
Value
47
mom_sys_spindle_range_code(8)
Spindle
Numeric
Value
48
EEDS
All Rights Reserved
A-31
Spindle
Numeric
Value
49
mom_sys_spindle_ranges
Spindle
Numeric
Value
2 for High/
Low op
tion, 9 for
range
codes.
mom_sys_adjust_cancel_code
System
Integer
49
mom_sys_adjust_code
System
Integer
43
mom_sys_adjust_code_minus
System
Integer
44
mom_sys_auto_clamp
System
String
OFF
mom_sys_automatic_reen
gage_distance
System
Defines the re-engage distance after the tool has been re Numeric
tracted due to tape length or cutting time. This parameter is Value
used by the custom commands pb_cmd_tape_break.tcl
and pb_cmd_auto_retract_time.tcl.
0.1
mom_sys_automatic_reen
gage_feedrate
System
Defines the re-engage feed rate after the tool has been re Numeric
tracted due to tape length or cutting time. This parameter is Value
used by the custom commands pb_cmd_tape_break.tcl
and pb_cmd_auto_retract_time.tcl.
10.0.
mom_sys_automatic_retract_dis
tance
System
Defines the retract distance when the tool is retracted due Numeric
to tape length or cutting time. This parameter is used by the Value
custom
commands
pb_cmd_tape_break.tcl
and
pb_cmd_auto_retract_time.tcl.
10.0.
mom_sys_cartesian_arc_out
put_mode
System
String
CIRCU
LAR
mom_sys_change_mach_opera
tion_name
System
String
mom_sys_cir_vector
System
mom_sys_circle_code(CCLW)
System
Integer
mom_sys_circle_code(CLW)
System
Integer
mom_sys_clamp_code(AXISOFF)
System
Integer
11
mom_sys_clamp_code(AXISON)
System
Integer
10
A-32
EEDS
All Rights Reserved
Unigraphics NX 2
Post Builder V3.2
System
Integer
11
mom_sys_clamp_code(ON)
System
Integer
10
mom_sys_commentary_list
System
{x y z
4axis
5axis feed
speed}
mom_sys_control_in
System
Defines the character string the post will use for operator
message end. The variable can be defined in Postbuilder.
String
mom_sys_control_out
System
Defines the character string the post will use for operator
message start. The variable can be defined in Postbuilder.
String
mom_sys_coolant_code(FLOOD)
System
Integer
mom_sys_coolant_code(MIST)
System
Integer
mom_sys_coolant_code(OFF)
System
Integer
mom_sys_coolant_code(ON)
System
Integer
mom_sys_coolant_code(TAP)
System
Integer
mom_sys_coordinate_out
put_mode
System
String
POLAR
mom_sys_current_head
System
String
mom_sys_cut_motion_types
System
This list contains the cut types that will be used to increment String
the cutting time for the custom command List
pb_cmd_auto_retract_time.tcl .
{CUT
FIRST
CUT
STEP
OVER
CYCLE}
mom_sys_cutcom_code(LEFT)
System
Integer
41
mom_sys_cutcom_code(ON)
System
Integer
40
mom_sys_cutcom_code(RIGHT)
System
Integer
42
EEDS
All Rights Reserved
A-33
System
NORMAL
mom_sys_cutcom_on_type
System
NORMAL
mom_sys_cut
com_plane_code(XY)
System
String
17
mom_sys_cut
com_plane_code(YZ)
System
String
19
mom_sys_cut
com_plane_code(ZX)
System
String
18
mom_sys_cutcom_status
System
String
OFF
mom_sys_cutcom_type
System
String
mom_sys_cycle_ret_code(AUTO)
System
Defines
the
G
code
CYCLE/..,RTRCTO,AUTO
to
be
output
for
Numeric
Value
98
mom_sys_cycle_ret_code(MANU
AL)
System
Defines
the
G
code
CYCLE/..,RTRCTO,MANUAL
to
be
output
for
Numeric
Value
99
mom_sys_cycle_start_code
System
Numeric
Value
79
mom_sys_cycle_tap_code
System
Numeric
Value
84
mom_sys_cycle_z_pos
System
Numeric
Value
mom_sys_delay_code(REVOLU
TIONS)
System
For lathe only. Defines the G code for use to output a dwell
in seconds mode.
Numeric
Value
mom_sys_delay_code(SEC
ONDS)
System
For lathe only. Defines the G code for use to output a dwell
in revolutions mode.
Numeric
Value
mom_sys_delay_output_mode
System
REV
String
SEC
ONDS
mom_sys_delay_param(REVOLU
TIONS,format)
System
Defines the format in the definition file that will be used for
revolutions mode output. This format can be modified in
the Delay section in Postbuilder.
String
Dwell_RE
VOLU
TIONS
A-34
EEDS
All Rights Reserved
Unigraphics NX 2
Post Builder V3.2
System
Defines the format in the definition file that will be used for
seconds mode output. This format can be modified in the
Dealy section in Postbuilder.
String
Dwell_SE
CONDS
mom_sys_end_of_program_code
System
Defines the M code that can be output with the end of pro
gram marker in Postbuilder.
Numeric
Value
mom_sys_feed_param(DPM,for
mat)
System
For machine with rotary axis only. Defines the format in the Numeric
definition file that will be used when in DPM feed rate mode. Value
Te format can be edited in the Feed Rate dialog of Post
builder.
Feed_DP
M
mom_sys_group_output
System
String
OFF
mom_sys_head_code(DE
PENDENT)
System
Integer
22
mom_sys_head_code(INDEPEN
DENT)
System
Integer
21
mom_sys_header_output
System
String
ON
mom_sys_helix_pitch_type
System
String
rise_ra
dian
mom_sys_home_pos
System
Numeri
cal
Array(3)
(0,0,0)
mom_sys_inch_code
System
Numeri
cal Value
70
mom_sys_lathe_postname
System
For simple mill turns only. Defines the name of the lathe
postprocessor that is paired with a mill turn mill.
String
mom_sys_leader
System
String Array
mom_sys_linear_code
System
Numeri
cal Value
mom_sys_list_file_columns
System
Integer
100
mom_sys_list_file_suffix
System
String
.lpt
mom_sys_list_output
System
String
OFF
EEDS
All Rights Reserved
A-35
System
String
mom_sys_lock_plane
System
String
mom_sys_lock_status
System
String
OFF
mom_sys_lock_value
System
Numeri
cal Value
mom_sys_max_cut_time_per_tool
System
Defines the maximum cutting time for each tool in the cus
tom command pb_cmd_auto_retract_time.tcl.
Numeri
cal Value
60
mom_sys_max_tape_bytes
System
Numeri
cal Value
100000
mom_sys_max_travel
System
Numerical Array(3)
mom_sys_metric_code
System
Numeri
cal Value
mom_sys_mill_postname
System
String
mom_sys_mill_turn_type
System
String
SIM
PLE_MILL
_TURN
mom_sys_millturn_yaxis
System
String
FALSE.
mom_sys_min_cut_time_per_tool
System
Defines the minimum cutting time for each tool in the cus
tom command pb_cmd_auto_retract_time.tcl.
Numeri
cal Value
30
mom_sys_min_tape_bytes
System
Numeri
cal Value
90000
mom_sys_min_travel
System
Numerical Array(3)
mom_sys_opskip_block_leader
System
String
mom_sys_optional_stop_code
System
String
mom_sys_output_code(ABSO
LUTE)
System
Numeri
cal Value
90
mom_sys_output_code(INCRE
MENTAL)
System
Numeri
cal Value
91
mom_sys_output_file_suffix
System
String
.ptp
A-36
EEDS
All Rights Reserved
71
Unigraphics NX 2
Post Builder V3.2
mom_sys_output_mode
System
mom_sys_postname
System
For linked posts only. Defines the posts and the UDE that String
will load and execute it. This variable is of the form
mom_sys_postname(UDE name). The variable is as
signed the name of a post. UDE_name is the head name in
the HEAD UDE. This UDE must be atta
mom_sys_program_stop_code
System
String
mom_sys_quill_leader
System
Defines the leader for the quill (z-axis) for the custom com
mand pb_cmd_zw_axis.tcl.
String
mom_sys_quill_pos
System
Defines the current position of the quill (z-axis) for the cus
tom command pb_cmd_zw_axis.tcl.
Numeric
Value
mom_sys_radius_output_mode
System
String
SHORT
EST_DIS
TANCE
mom_sys_rapid_code
System
Numeric
Value
mom_sys_reset_code
System
Defines the G code for reset. Used for resetting the tool tip
in lathe tool tip programming.
Numeric
Value
92
mom_sys_return_code
System
Numeric
Value
28
mom_sys_rewind_code
System
Numeric
Value
30
mom_sys_rewind_stop_code
System
String
mom_sys_rotary_error
System
mom_sys_table_leader
System
Defines the leader for the quill (z-axis) for the custom com
mand pb_cmd_zw_axis.tcl.
String
mom_sys_table_pos
System
Numeric
Value
mom_sys_tool_change_code
System
Defines the M code used to change tools or index the turret. Numeric
Value
mom_sys_tool_change_mo
tion_types
System
This list contains the cut types that will NOT be used for au
tomatic retract and tool change for the custom command
pb_cmd_auto_retract_time.tcl. If you know that your step
overs will be off the part, you may want to remove STEP
OVER from this list.
{CUT
FIRST
CUT
STEP
OVER
CYCLE}
mom_sys_tool_number
System
This list controls the tool numbers that will be used for the String
replacement tools for the custom command List
pb_cmd_auto_retract_time.tcl. This list may be as short or
long as you need it. If you only want to load tool 1 every time
then you could use {1}.
mom_sys_tool_time
System
mom_sys_turret_index(DE
PENDENT)
System
Defines a value that can be placed in front of the face num Numeric
ber to designate which turret is to be indexed. This value is Value
used only when the turret index is used in the T code con
figuration dialog in Postbuilder.
EEDS
All Rights Reserved
String
String
List
{1 2 3 4 5
6}
String Array
A-37
System
Defines a value that can be placed in front of the face num Numeric
ber to designate which turret is to be indexed. This value is Value
used only when the turret index is used in the T code con
figuration dialog in Postbuilder.
mom_sys_uni_dir
System
Numeric
Array(2)
(.2,.2)
mom_sys_uni_feed
System
Numeric
Value
mom_sys_unit_code(IN)
System
Numeric
Value
70
mom_sys_unit_code(MM)
System
Numeric
Value
71
mom_sys_warning_output
System
String
OFF
mom_sys_waxis_home
System
Defines the home position of the table (waxis) for the cus
tom command pb_cmd_zw_axis.tcl.
Numeric
Value
mom_sys_waxis_max_limit
System
Defines the maximum travel of the table (waxis) for the cus
tom command pb_cmd_zw_axis.tcl.
Numeric
Value
9999.999
9
mom_sys_waxis_min_limit
System
Defines the minimum travel of the table (waxis) for the cus
tom command pb_cmd_zw_axis.tcl.
Numeric
Value
-9999.99
99
mom_sys_zaxis_home
System
Defines the home position of the quill (z-axis) for the cus
tom command pb_cmd_zw_axis.tcl.
Numeric
Value
mom_sys_zaxis_max_limit
System
Defines the maximum travel of the quill (z-axis) for the cus
tom command pb_cmd_zw_axis.tcl.
Numeric
Value
9999.999
9
mom_sys_zaxis_min_limit
System
Defines the minimum travel of the quill (z-axis) for the cus
tom command pb_cmd_zw_axis.tcl.
Numeric
Value
-9999.99
99
mom_sys_zaxis_pos
System
Numeric Value
mom_sys_zero
System
Integer
mom_sys_zw_mode
System
String
mom_lathe_thread_advance_type
Threading
Integer
mom_lathe_thread_increment
Threading
Numerical Value
mom_lathe_thread_lead
Threading
Numerical Value
mom_lathe_thread_lead_i
Threading
Numerical Value
mom_lathe_thread_lead_k
Threading
Numerical Value
mom_lathe_thread_pitch
Threading
Numerical Value
mom_lathe_thread_tpi
Threading
Numerical Value
mom_lathe_thread_type
Threading
Defines
the
units
that 2,3,4
mom_lathe_thread_value will be
expressed in. 2 - pitch, 3 - lead,
4 - TPI.
Integer
mom_lathe_thread_value
Threading
Numerical Value
A-38
EEDS
All Rights Reserved
Unigraphics NX 2
Post Builder V3.2
Threading
Numeri
cal Value
33
mom_sys_lathe_thread_ad
vance_type(2)
Threading
Numeri
cal Value
34
mom_sys_lathe_thread_ad
vance_type(3)
Threading
Numeri
cal Value
35
mom_lead_angle
Tool
Numeric Value
mom_next_tool_name
Tool
String
mom_next_tool_number
Tool
Integer
mom_next_tool_status
Tool
String
mom_pocket_id
Tool
mom_thread_forming_method_t
Tool
Integer
mom_tool_barrel_center_y
Tool
Numeric Value
mom_tool_barrel_radius
Tool
Numeric Value
mom_tool_button_diameter
Tool
Numeric Value
mom_tool_catalog_number
Tool
Numeric Value
mom_tool_corner1_center_x
Tool
This index is a part of the definition of the center of the arc Numeric Value
representing the lower radius of the tool profile. It is the hori
zontal distance between the center of the lower corner arc
and the tool axis; it can be positive (lower arc and its center
on
mom_tool_corner1_center_y
Tool
Numeric Value
mom_tool_corner1_radius
Tool
Numeric Value
mom_tool_corner2_center_x
Tool
This index is a part of the definition of the center of the arc Numeric Value
representing the upper radius of the tool profile. It is the hor
izontal distance between the center of the upper corner arc
and the tool axis. It can be positive (upper arc and its center
on
mom_tool_corner2_center_y
Tool
Numeric Value
mom_tool_cut_edge_length
Tool
Numeric Value
EEDS
All Rights Reserved
A-39
Tool
mom_tool_diameter
Tool
Specifies the diameter of the tool. Mill, Drill, Barrel, T Cutter Numeric Value
tools only.
mom_tool_direction
Tool
mom_tool_edge_length_a
Tool
This parameter describes the shape of a turning form tool in Numeric Array
parametric form. It represents an array holding the tool
edge length information (see manufacturing turning help
for more information). Turning tools only.
mom_tool_flute_length
Tool
Numeric Value
mom_tool_flutes_number
Tool
Numeric Value
mom_tool_heel_angle
Tool
Numeric Value
mom_tool_height
Tool
Numeric Value
mom_tool_holder_angle
Tool
Numeric Value
mom_tool_holder_width
Tool
Numeric Value
mom_tool_insert_angle
Tool
This parameter specifies the polar angle of the first edge of Numeric Value
a Form turning tool (radians). Turning tools only.
mom_tool_insert_length
Tool
Numeric Value
mom_tool_insert_position
Tool
Numeric Value
mom_tool_insert_type
Tool
Numeric Value
mom_tool_left_adjust_reg
Tool
mom_tool_left_adjust_reg_t
Tool
mom_tool_left_angle
Tool
This index defines the left clearance angle of grooving and Numeric Value
threading asymmetrical tools (radians). Groove or Thread
tools only.
mom_tool_left_corner_radius
Tool
Numeric Value
mom_tool_left_cutcom_reg
Tool
Integer
A-40
EEDS
All Rights Reserved
Integer
Numeric Value
Integer
Unigraphics NX 2
Post Builder V3.2
Tool
Integer
mom_tool_left_tracking_point
Tool
Integer
mom_tool_left_x_offset
Tool
Numeric Value
mom_tool_left_y_offset
Tool
Numeric Value
mom_tool_length_adjust_register
Tool
Integer
mom_tool_lower_corner_radius
Tool
Numeric Value
mom_tool_max_depth
Tool
Numeric Value
mom_tool_max_facing_diameter
Tool
Numeric Value
mom_tool_max_facing_diameter_t Tool
Integer
mom_tool_max_toolreach
Tool
Numeric Value
mom_tool_min_boring_diameter
Tool
mom_tool_min_facing_diameter
Tool
Numeric Value
mom_tool_min_facing_diameter_t
Tool
Integer
mom_tool_name
Tool
String
mom_tool_nose_angle
Tool
Numeric Value
mom_tool_nose_angle_a
Tool
This parameter describes the shape of a turning form tool in Numeric Array
parametric form. It represents an array holding the tool
edge length information (see manufacturing turning help
for more information). Turning tools only.
EEDS
All Rights Reserved
A-41
Tool
This parameter describes the shape of a turning form tool in Numeric Array
parametric form. It represents an array holding the tool
nose angle (radians) information (see manufacturing turn
ing help for more information). Turning tools only.
mom_tool_nose_radius
Tool
This parameter specifies the radius of the inscribed circle at Numeric Value
the cutter tip of the turning tool insert. Turning tools only.
mom_tool_nose_radius_a
Tool
This parameter describes the shape of a turning form tool in Numeric Array
parametric form. It represents an array holding the tool
nose radii information (see manufacturing turning help for
more information).
mom_tool_nose_width
Tool
This parameter describes the nose width of a turning tool. It Numeric Value
represents the width of the tool cutting surface of either a
Ring Type Joint grooving tool or a Trapezoidal threading
tool.
mom_tool_number_of_noses
Tool
Integer
mom_tool_orientation
Tool
Numeric Value
mom_tool_pitch
Tool
Numeric Value
mom_tool_point_angle
Tool
Numeric Value
mom_tool_preset_cutter
Tool
Integer
mom_tool_radius
Tool
This parameter specifies the radius of the inscribed circle at Numeric Value
the cutter tip. The Standard tool Radius assumes the tool's
left and right nose radii are equal. You may define a left and
right Radius in User Defined tool types.
mom_tool_relief_angle
Tool
Numeric Value
mom_tool_relief_angle_o
Tool
Integer
mom_tool_right_adjust_reg
Tool
mom_tool_right_adjust_reg_t
Tool
Integer
mom_tool_right_angle
Tool
Numeric Value
mom_tool_right_corner_radius
Tool
Numeric Value
mom_tool_right_cutcom_reg
Tool
Integer
A-42
EEDS
All Rights Reserved
Unigraphics NX 2
Post Builder V3.2
Tool
Integer
mom_tool_right_tracking_point
Tool
Integer
mom_tool_right_x_offset
Tool
Numeric Value
mom_tool_right_y_offset
Tool
Numeric Value
mom_tool_shank_diameter
Tool
Numeric Value
mom_tool_side_angle
Tool
Numeric Value
mom_tool_size_o
Tool
Integer
mom_tool_taper_angle
Tool
This parameter specifies the angle of the sides of a tapered Numeric Value
tool. The angle is measured from the tool axis. If the Taper
Angle is positive, the tool is wider at the top than it is at the
bottom. If the Taper Angle is negative, the tool is wider at the
b
mom_tool_thickness
Tool
Numeric Value
mom_tool_thickness_o
Tool
Integer
mom_tool_tip_angle
Tool
This parameter specifies the angle of the tip of the tool. This Numeric Value
is a non-negative angle measured from a line through the
tool end point and perpendicular to the tool axis. If the Tip
Angle is positive, the tool * has a sharp point at the very bot
tom (lik
mom_tool_tip_offset
Tool
This parameter describes the tip offset of a threading tool. Numeric Value
For standard insert type it is the offset of the tool nose's bot
tom point to the tool's left flank. For trapezoidal insert type it
is the offset of the right end of the tool's bottom edge to the
mom_tool_tracking_a
Tool
This parameter describes the shape of a turning form tool in Numeric Array
parametric form. It represents an array holding the tracking
point location information (see manufacturing turning help
for more information). Turning tools only.
mom_tool_tracking_point
Tool
EEDS
All Rights Reserved
Integer
A-43
Tool
mom_kin_flush_time
Wire EDM
Numeric Value
mom_lead_in_cutcom_angle
Wire EDM
Numeric
Value
mom_lead_in_cutcom_distance
Wire EDM
Numeric
Value
mom_lead_in_method
Wire EDM
Integer
mom_sys_agie_cutcom_code
Wire EDM
Integer
mom_sys_cut_wire
Wire EDM
Defines the M code used to cut the wire. This M code is to Integer
output with the MOM_cut_wire event.
20
mom_sys_flushing_off
Wire EDM
Integer
80
mom_sys_flushing_on
Wire EDM
Integer
81
mom_sys_power_off
Wire EDM
Integer
84
mom_sys_power_on
Wire EDM
Integer
85
mom_sys_thread_wire
Wire EDM
Defines the M code used to thread the wire. This M code is Integer
used to output with the MOM_thread_wire event.
21
mom_sys_wire_off
Wire EDM
Integer
83
mom_sys_wire_on
Wire EDM
Integer
84
mom_wire_angle
Wire EDM
Numeric Value
mom_wire_angle
Wire EDM
Numeric Value
mom_wire_angle_text
Wire EDM
String
mom_wire_cutcom_adjust_regis
ter
Wire EDM
Integer
mom_wire_cutcom_mode
Wire EDM
String
mom_wire_cutcom_status
Wire EDM
String
mom_wire_cutcom_text
Wire EDM
String
mom_wire_feed_rate
Wire EDM
Numeric Value
mom_wire_feed_rate_text
Wire EDM
String
mom_wire_guides_lower_plane
Wire EDM
Numeric
Value
mom_wire_guides_text
Wire EDM
String
mom_wire_guides_upper_plane
Wire EDM
Numeric
Value
A-44
EEDS
All Rights Reserved
String
Unigraphics NX 2
Post Builder V3.2
Wire EDM
The distance as measured from the lower wire guide to the Numeric
upper wire guide.
Value
mom_wire_slope
Wire EDM
MOM_abort
MOM_add_to_address_buffer
MOM_add_to_block_buffer
MOM_add_to_line_buffer
MOM_ask_address_value
MOM_ask_env_var
MOM_ask_event_type
Mom Commands Returns the name of the current event. This is the last event that the event generator
executed.
MOM_ask_ess_exp_value
MOM_close_output_file
EEDS
All Rights Reserved
Numeric Value
<address
name>
A-45
Mom Commands This will activate, deactivate, and MOM_set_debug_mode <ON | OFF>
resume the debugger. Like any
TCL extension, this command
may be called from any place in
the TCL script. If ON, the debug
ger will activate by initializing with
data entered in the debugger
dialog or stdout. If OFF, t
MOM_do_template
Mom Commands Generate output based upon the MOM_do_template <template_name> {BUFF
Block Template template_name. ER | CREATE}
BUFFER has the same meaning
as before. BUFFER will generate
the output value for Block Tem
plate template_name but does
not add it to the output buffer,
and hence, does not output it to
the outp
MOM_force
Mom Commands The next time that a block tem MOM_force <Always | Once | Off > <Ad
plate that contains a reference to dress_1 ... Address_n>
any of the input address names
is evaluated, the word that con
tains that address will be output
regardless of its modality attrib
ute. Example: MOM_force_ad
dress Once X Y Z, If both
MOM_forc
MOM_force_block
MOM_incremental
Mom Commands The next time that a block tem MOM_incremental <ON | OFF> <Address_1
plate contains a reference to any ... Address_n>
of the input address names is
evaluated, the deference (incre
ment) from the previous value is
output. If ON, then for each Ad
dress_i, always output incre
ment. If OFF, then for each Ad
dress_
MOM_load_definition_file
Mom Commands This will load the definition file MOM_load_definition_file <filename>
given by filename. If data in file
name (or any of its INCLUDEd
files) matches data already
loaded by previous definition
files, that duplicate data will be
overridden by the new version.
Like any TCL extension, this
comm
MOM_log_message
MOM_on_event_error
A-46
EEDS
All Rights Reserved
Unigraphics NX 2
Post Builder V3.2
MOM_on_parse_error
MOM_open_output_file
MOM_output_literal
Mom Commands Output a list of literals and vari MOM_output_literal ''string'' {BUFFER}
able as a single line. If BUFFER is
present then only place string in
the output buffer. Do not send it
to the output yet. Example:
MOM_output_literal ''Start of
path $mom_path_name''
MOM_output_text
Mom Commands This extension will output a list of MOM_output_text <literal> {BUFFER}
literals and variable as a single
line, just like MOM_output_literal
except that no sequence number
will be output. If BUFFER is pres
ent then only place string in the
output buffer. Do not send it to
the output yet.
MOM_output_to_listing_device
MOM_reload_kinematics
Mom Commands Refresh the event generator with the current values of all the kinematics variables.
MOM_reload_variable
Mom Commands Update the event generator with MOM_reload_variable [-a] variable_name
the current value of vari
able_name in the event handler.
Example: The following com
mand will load the current values
of mom_pos [0] to [4] into the
event
generator.
MOM_re
load_variable -a mom_pos
MOM_reset_sequence
MOM_run_user_function
EEDS
All Rights Reserved
<shared_li
A-47
Mom Commands This function redefines the for MOM_set_address_format <Address Name>
mat to be used for the <Address <Format Name>
Name> as <Format Name> for
outputting in a block. The <For
mat Name> must be defined in
the Definition File. Example:
MOM_set_address_format
F
F_ipm
MOM_set_line_leader
Mom Commands This function causes MOM to set MOM_set_line_leader <Always | Once | Off >
the line leader to string with the <''string''>
indicated status. If a line leader is
to be output is output as the first
characters of the output line (i.e.,
before the SEQUENCE). Exam
ple: MOM_set_line_leader Al
ways ''/''
MOM_set_seq_on
Mom Commands Allows output of the sequence number if a SEQUENCE specifier was given in the
definition file. Return the sequence setting at the time the command is executed.
Example: set current_status [MOM_set_seq_on] ... if ($current_status = = ''off'') {
MOM_set_
MOM_set_seq_off
Mom Commands Does not output a sequence number. Returns the sequence setting at the time the
command is executed. Example: set current_status [MOM_set_seq_off] ... if ($cur
rent_status = = ''on'') { MOM_set_seq_on }
MOM_suppress
Mom Commands The next time that a block tem MOM_suppress <Always | Once | Off > <Ad
plate that contains a reference to dress_1 ... Address_n>
any of the input address names
is evaluated, the word that con
tains the address will not be out
put regardless of its modality at
tribute. Example: MOM_sup
press_address Always N X Y, If
both
MOM_before_output
Setup Events
MOM_end_of_path
Setup Events
MOM_end_of_program
Setup Events
MOM_first_tool
Setup Events
MOM_machine_mode
Setup Events
MOM_msys
Setup Events
MOM_spindle_off
Setup Events
A-48
EEDS
All Rights Reserved
mom_prev_ma
Unigraphics NX 2
Post Builder V3.2
Setup Events
MOM_spindle_rpm
Setup Events
mom_spindle_status,
mom_spindle_range,
mom_spindle_mode,
mom_spindle_speed,
mom_spindle_direction, mom_spindle_rpm,
mom_spindle_maximum_rpm,
mom_spindle_text
MOM_spindle_css
Setup Events
mom_spindle_status,
mom_spindle_range,
mom_spindle_mode,
mom_spindle_speed,
mom_spindle_direction, mom_spindle_rpm,
mom_spindle_maximum_rpm,
mom_spindle_text
MOM_start_of_group
Setup Events
MOM_start_of_path
Setup Events
MOM_start_of_program
Setup Events
MOM_tool_change
Setup Events
MOM_auxfun
MOM_clamp
MOM_coolant_on
MOM_coolant_off
MOM_cut_wire
EEDS
All Rights Reserved
mom_par
mom_lathe_spindle_axis, mom_next_tool_sta
tus,
mom_operation_type,
mom_tool_in
sert_width,
mom_tool_tip_offset,
mom_tool_x_imaginery_offset,
mom_tool_z_imaginery_offset,
mom_path_name,
mom_tool_name,
mom_tool_number, mom_tool_adjust_register,
mom_tool_type,
mom_clamp_axis,
A-49
MOM_cutcom_off
MOM_delay
mom_delay_mode,
mom_delay_value,
mom_delay_revs, mom_delay_text
MOM_flush
mom_flush_status,
mom_flush_pressure,
mom_flush_text
MOM_flush_tank
MOM_length_compensation
MOM_lintol
MOM_load_tool
MOM_operator_message
MOM_opskip
MOM_opstop
MOM_origin
MOM_power
mom_power_value, mom_power_text
MOM_pprint
MOM_prefun
MOM_rotate
MOM_select_head
MOM_sequence_number
A-50
Control
EEDS
All Rights Reserved
mom_flush_guides,
mom_flush_register,
mom_tool_number, mom_tool_change_type,
mom_tool_adjust_register, mom_tool_x_offset,
mom_tool_y_offset,
mom_tool_z_offset,
tool_head, mom_tool_angle, mom_tool_radius,
mom_tool_text
Event mom_pprint
mom_rotate_axis_type, mom_rotation_mode,
mom_rotation_angle, mom_rotation_direction,
mom_rotation_reference_mode,
mom_rota
tion_text
Unigraphics NX 2
Post Builder V3.2
MOM_stop
MOM_text
MOM_thread_wire
MOM_tlset
MOM_tool_preselect
MOM_translate
MOM_wire_angles
MOM_wire _cutcom
MOM_wire_guides
MOM_circular_move
Move Events
MOM_from_move
Move Events
MOM_gohome_move
Move Events
MOM_initial_move
Move Events
This event occurs at the first mo All mom variables generated by the MOM_lin
tion after a tool change event. If ear_move event.
the first motion is a cycle move, a
MOM_initial_move event is gen
erated for the mom_cycle_rap
id_to_pos.
MOM_lathe_thread
Move Events
EEDS
All Rights Reserved
mom_stop_text
mom_wire_angle,
mom_from_pos,
mom_gohome_pos,
mom_lathe_thread_type,
mom_lathe_thread_value,
mom_lathe_thread_advance_type,
mom_lathe_thread_increment,
mom_lathe_thread_lead,
mom_lathe_thread_lead_I,
mom_lathe_thread_lead_k,
mom_lathe_thread_tpi,
mom_lathe_thread_feed_rate,
mom_last_z_pos
A-51
Move Events
MOM_nurbs_move
Move Events
MOM_rapid_move
Move Events
This event occurs at each motion All mom variables generated with the MOM_lin
at Rapid feedrate.
ear_move event.
MOM_bore
Cycle Definition This event occurs when the bore All the mom variables generated with the
Events
cycle is activated and estab MOM_drill event.
lishes the parameters for the
event MOM_bore_move.
MOM_bore_back
Cycle Definition This event occurs when the bore mom_cycle_orient, plus all the mom variables
Events
back cycle is activated and es generated in the MOM_drill event.
tablishes the parameters for the
event MOM_bore_back_move.
MOM_bore_drag
Cycle Definition This event occurs when the bore All the mom variables generated with the
Events
drag cycle is activated and es MOM_drill event.
tablishes the parameters for the
event MOM_bore_drag_move.
MOM_bore_dwell
Cycle Definition This event occurs when the bore All the mom variables generated with the
Events
dwell cycle is activated and es MOM_drill event.
tablishes the parameters for the
event MOM_bore_dwell_move.
MOM_bore_manual
Cycle Definition This event occurs when the bore All the mom variables generated with the
Events
manual cycle is activated and es MOM_drill event.
tablishes the parameters for the
event
MOM_bore_manu
al_move.
MOM_bore_manual_dwell
Cycle Definition This event occurs when the bore All the mom variables generated with the
Events
manual cycle is activated and es MOM_drill event.
tablishes the parameters for the
event
MOM_bore_manu
al_move.
MOM_bore_no_drag
Cycle Definition This event occurs when the bore mom_cycle_orient, plus all the mom variables
Events
no drag cycle is activated and es generated in the MOM_drill event.
tablishes the parameters for the
event
MOM_bore_no_drag_move.
MOM_drill
MOM_drill_break_chip
A-52
EEDS
All Rights Reserved
mom_last_z_pos,
mom_nurbs_order,
mom_nurbs_point_count,
mom_nurbs_knot_count, mom_nurbs_points,
mom_nurbs_knots, mom_nurbs_coefficients
mom_cycle_status,
mom_cycle_feed-rate,
mom_cycle_feed_rate_per_rev,
mom_cycle_delay_mode,
mom_cycle_feed_rate_mode, mom_cycle_re
tract_mode,
mom_cycle_retract_to,
mom_cycle_feed_to,
mom_cycle_rapid_to,
mom_cycle_clearance_plane, mom_cycle_op
tion
Unigraphics NX 2
Post Builder V3.2
mom_cycle_counter_sink_dia,
mom_cycle_hole_dia, mom_cycle_tool_angle,
plus all the mom variables generated in the
MOM_drill event.
MOM_drill_csink_dwell
mom_cycle_counter_sink_dia,
mom_cycle_hole_dia, mom_cycle_tool_angle,
plus all the mom variables generated in the
MOM_drill event.
MOM_drill_deep
MOM_drill_dwell
Cycle Definition This event occurs when the drill All the mom variables generated with the
Events
dwell cycle is activated and es MOM_drill event.
tablishes the parameters for the
event MOM_drill_dwell_move.
MOM_drill_text
Cycle Definition This event occurs when the drill mom_cycle_text, plus all the mom variables
Events
text cycle is activated and estab generated in the MOM_drill event.
lishes the parameters for the
event MOM_drill_text_move.
MOM_tap
Cycle Definition This event occurs when the tap All the mom variables generated with the
Events
cycle is activated and estab MOM_drill event.
lishes the parameters for the
event MOM_tap_move.
MOM_bore_move
Cycle
Events
Move This event occurs at the motion All the mom variables generated with MOM_lin
when the bore cycle is active and ear_move
event
and
the
uses the parameters established MOM_drill_move_event.
by the bore cycle for the output.
MOM_bore_back_move
Cycle
Events
Move This event occurs at the motion All the mom variables generated with MOM_lin
when the bore back cycle is ac ear_move
event
and
the
tive and uses the parameters es MOM_drill_move_event.
tablished by the bore back cycle
for the output.
MOM_bore_drag_move
Cycle
Events
Move This event occurs at the motion All the mom variables generated with MOM_lin
when the bore drag cycle is ac ear_move
event
and
the
tive and uses the parameters es MOM_drill_move_event.
tablished by the bore drag cycle
for the output.
MOM_bore_dwell_move
Cycle
Events
Move This event occurs at the motion All the mom variables generated with MOM_lin
when the bore dwell cycle is ac ear_move
event
and
the
tive and uses the parameters es MOM_drill_move_event.
tablished by the bore dwell cycle
for the output.
MOM_bore_manual_move
Cycle
Events
Move This event occurs at the motion All the mom variables generated with MOM_lin
when the bore manual cycle is ear_move
event
and
the
active and uses the parameters MOM_drill_move_event.
established by the bore manual
cycle for the output.
MOM_bore_manual_dwell_move
Cycle
Events
Move This event occurs at the motion All the mom variables generated with MOM_lin
when the bore manual dwell ear_move
event
and
the
cycle is active and uses the pa MOM_drill_move_event.
rameters established by the bore
manual dwell cycle for the out
put.
MOM_bore_no_drag_move
Cycle
Events
Move This event occurs at the motion All the mom variables generated with MOM_lin
when the bore no drag cycle is ear_move
event
and
the
active and uses the parameters MOM_drill_move_event.
established by the bore no drag
cycle for the output.
EEDS
All Rights Reserved
A-53
Cycle
Events
MOM_drill_break_chip_move
Cycle
Events
Move This event occurs at the motion All the mom variables generated with MOM_lin
when the drill break chip cycle is ear_move
event
and
the
active and uses the parameters MOM_drill_move_event.
established by the drill break
chip cycle for the output.
MOM_drill_counter_sink_move
Cycle
Events
Move This event occurs at the motion All the mom variables generated with MOM_lin
when the drill countersink cycle ear_move
event
and
the
is active and uses the parame MOM_drill_move_event.
ters established by the drill coun
tersink cycle for the output.
MOM_drill_csink_dwell_move
Cycle
Events
Move This event occurs at the motion All the mom variables generated with MOM_lin
when the drill countersink dwell ear_move
event
and
the
cycle is active and uses the pa MOM_drill_move_event.
rameters established by the drill
countersink dwell cycle for the
output.
MOM_drill_deep_move
Cycle
Events
Move This event occurs at the motion All the mom variables generated with MOM_lin
when the drill deep cycle is active ear_move
event
and
the
and uses the parameters estab MOM_drill_move_event.
lished by the drill deep cycle for
the output.
MOM_drill_dwell_move
Cycle
Events
Move This event occurs at the motion All the mom variables generated with MOM_lin
when the drill dwell cycle is active ear_move
event
and
the
and uses the parameters estab MOM_drill_move_event.
lished by the drill dwell cycle for
the output.
MOM_drill_text_move
Cycle
Events
Move This event occurs at the motion All the mom variables generated with MOM_lin
when the drill text cycle is active ear_move
event
and
the
and uses the parameters estab MOM_drill_move_event.
lished by the drill text cycle for the
output.
MOM_tap_move
Cycle
Events
Move This event occurs at the motion All the mom variables generated with MOM_lin
when the tap cycle is active and ear_move
event
and
the
uses the parameters established MOM_drill_move_event.
by the tap cycle for the output.
MOM_cycle_off
Other
Events
MOM_cycle_plane_change
Other
Events
MOM_first_move
Move Events
A-54
mom_cycle_clearance_plane,
mom_cycle_delay_revs,
mom_cycle_rap
id_to_pos,
mom_cycle_retract_to_pos,
mom_cycle_feed_to_pos, plus all the mom vari
ables generated with MOM_linear_move event.
This event occurs at the start of All mom variables generated by the MOM_lin
an operation that does not have a ear_move event.
tool change.
EEDS
All Rights Reserved
Unigraphics NX 2
Post Builder V3.2
EEDS
All Rights Reserved
B-1
=========================================
# This custom command will grab the group program name and strip off the
# first Alpha character and dump the rest at the start of the output file. To use
# this custom command, change or create a program name
# with what you want i.e. P123456789, the custom command will then drop the
# "P" and output the rest
global mom_group_name
=========================================
B-2
EEDS
All Rights Reserved
Unigraphics NX 2
Post Builder V3.2
========================================
#
# Add to start of path procedure
#
global mom_path_name mom_part_material_description
global mom_tool_name mom_oper_method mom_tool_catalog_number
global mom_sys_control_in mom_sys_control_out mom_tool_name
global mom_tool_number
#
# call in the control in & out codes
#
set ci " "
set co " "
if {[info exists mom_sys_control_in] == 1 } { set ci $mom_sys_control_in }
if {[info exists mom_sys_control_out] == 1 } { set co $mom_sys_control_out }
set cat_info "NONE ENTERED"
if {[info exists mom_tool_catalog_number] == 1} {set cat_info\
$mom_tool_catalog_number}
MOM_set_seq_off
MOM_output_literal "$co PATH NAME : [string toupper $mom_path_name]\
WITH TOOL NO: [string toupper $mom_tool_number] $ci"
MOM_output_literal "$co TOOL NAME : [string toupper $mom_tool_name]\
TOOL CATALOG NO. [string toupper $cat_info] $ci"
MOM_output_literal "$co METHOD : [string toupper $mom_oper_method]\
$ci"
MOM_set_seq_on
=========================================
EEDS
All Rights Reserved
B-3
=========================================
# custom command to reset the sequence number to match the tool number
global mom_sys_seqnum_start
global mom_sys_seqnum_incr
global mom_sys_seqnum_freq
global mom_tool_number
MOM_reset_sequence $mom_tool_number $mom_sys_seqnum_incr\
$mom_sys_seqnum_freq
=========================================
#
# add this custom command to the spindle rpm event under machine control
#event
global mom_spindle_rpm
if {[info exists mom_spindle_rpm] == 1} {
if {$mom_spindle_rpm <= 450 } {
MOM_output_literal "M41"
} elseif { $mom_spindle_rpm > 450 && $mom_spindle_rpm <=900 } {
MOM_output_literal "M42"
} else { MOM_output_literal "M43"}
}
=========================================
#
# Reformat the time stamp to make it organized
#
set tmp [string range $mom_date 4 10][string range $mom_date 20 23]
MOM_output_literal "(DATE: $tmp)"
set tmp [string range $mom_date 11 15]
MOM_output_literal "(TIME: $tmp)"
=========================================
B-4
EEDS
All Rights Reserved
Unigraphics NX 2
Post Builder V3.2
=========================================
global mom_tool_catalog_number mom_tool_number
global mom_sys_control_in mom_sys_control_out mom_tool_name
# call in the control in & out codes
set ci " "
set co " "
if {[info exists mom_sys_control_in] == 1 } { set ci $mom_sys_control_in }
if {[info exists mom_sys_control_out] == 1 } { set co $mom_sys_control_out }
set cat_info "NONE ENTERED"
if {[info exists mom_tool_catalog_number] == 1} {set cat_info
$mom_tool_catalog_number}
MOM_set_seq_off
MOM_output_literal "$co------------------------- $ci"
MOM_output_literal "$co TOOL NAME : [string toupper $mom_tool_name]\
TOOL CATALOG NO. [string toupper $cat_info] $ci"
MOM_output_literal "$co------------------------- $ci"
MOM_set_seq_on
=========================================
EEDS
All Rights Reserved
B-5
B-6
EEDS
All Rights Reserved
Unigraphics NX 2
Post Builder V3.2
PURPOSE
OBJECTIVES
Page
EEDS
All Rights Reserved
C-1
Event Handler
Part File
1
Event Generator
2
Event Handler
Definition File
4
UG/POST
Output File
6
Part File
EVENT GENERATOR extracts information from the part and sends information to the postprocessor
EVENTS processed by the EVENT HANDLER are formated according to the Definition File
C-2
EEDS
All Rights Reserved
Unigraphics NX 2
Post Builder V3.2
The Event Handler is a set of instructions that are developed for particular
machine tool/controller combinations. Each Event Handler must contain a set
of instructions for each type of Event that UG/Post will process. These
instructions will define how the tool path data is processed and how each Event
is executed at the machine tool.
These instructions are defined by the Tcl scripting language. The Tcl scripting
language acts as the translator" for UG/Post.
For each Event that the Event Handler will process, an existing Tcl procedure
must exist. The Manufacturing Output Manager (MOM) will invoke this
procedure when an Event is executed by the Event Generator. For each
sequential event generated from the MOM, the Event Handler file will process
the Event in sequential order. If you do not want an Event Handler to process a
particular Event type, do not include the Tcl procedure for that Event in the
Event Handler.
The Tcl procedure name for each Event created must be identical to the Event
name invoked by the Event Generator. For example, the procedure name for a
start of program Event would be MOM_start_of_program, for a tool change
Event would be MOM_tool_change.
The parameters associated with each Event are passed to the Event Handler as
global variables. Appendix B, contains a description of typical Event types and
their associated variables.
EEDS
All Rights Reserved
C-3
MOM_output_literal %4711"
MOM_output_literal Created by
C-4
EEDS
All Rights Reserved
Unigraphics NX 2
Post Builder V3.2
mom_operation_type
mom_path_name
mom_tool_name
mom_tool_type
mom_tool_number
MOM_output_literal Tool No
MOM_set_seq_on
EEDS
All Rights Reserved
C-5
C-6
EEDS
All Rights Reserved
Unigraphics NX 2
Post Builder V3.2
Definition File
Part File
1
Event Generator
2
Event Handler
Definition File
4
UG/POST
Output File
6
Part File
EVENT GENERATOR extracts information from the part and sends information to the postprocessor
EVENTS processed by the EVENT HANDLER are formated according to the Definition File
EEDS
All Rights Reserved
C-7
The Definition file contains information about the specific machine tool that
you are creating the postprocessor for.
Most NC/CNC machines use addresses to instruct a machine how to perform a
function. As an example, the addresses X, Y, and Z are used to store the value
of the X, Y, and Z coordinate of the end position of a linear move. Each
command in an NC/CNC program changes the state of the machine by changing
the state of the machine's addresses. The information in the Definition file is
used by UG/Post to format commands to a form that is understood by the
machine tool controller.
Information in the Definition file pertains to machine attributes, such as tool
changer, spindle speeds, and travel limits; addresses supported by the machine,
such as X,Y, and Z for linear motion, S for spindle and F for feed rate; the
attributes for each machine address, such as format, minimum and maximum
travel; and a set of block templates that describes how the addresses are
combined to perform an action by the machine tool. For example, a linear move
can be designated by G01 X [Xval],Y [Yval], and Z [Zval].
C-8
EEDS
All Rights Reserved
Unigraphics NX 2
Post Builder V3.2
EEDS
All Rights Reserved
C-9
C-10
EEDS
All Rights Reserved
Unigraphics NX 2
Post Builder V3.2
Modify the file to use the Y value for X and the X value for
Y for linear moves.
EEDS
All Rights Reserved
C-11
Modify the file to output the circle center coordinates for all
arc motion blocks.
C-12
EEDS
All Rights Reserved
Unigraphics NX 2
Post Builder V3.2
EEDS
All Rights Reserved
C-13
Machine Kinematics
Machine Kinematics apply to machine tool motions. UG/Post uses kinematic
variables which define machine tool specific information used by the Event
Generator. Kinematic variables defined by the Event Handler determine how
the Event Generator converts the x,y,z,i,j,k tool path coordinates into machine
tool coordinates. Kinematic variables are also used to define the basic type of
machine such as lathe, mill or wire EDM.
Basic types of machines are defined by the kinematic variable
mom_kin_machine_type. Current values for this variable are:
3_axis_mill
4_axis_head
4_axis_table
5_axis_dual_table
5_axis_dual_head
5_axis_head_table
2_axis_wedm
4_axis_wedm
When the machine type is set to lathe, all coordinates in the tool path are
mapped to lathe coordinates. X, Y, Z tool path data is mapped to X, Z machine
tool data.
When the machine type is set to mill, the x,y,z,i,j,k tool path coordinates are
mapped to x, y, z, 4thaxis rotary and 5thaxis rotary coordinates. X, Y, Z, I, J,
K tool path data is mapped to X,Y,Z, A, B machine tool data.
The machine tool type defines the number of axes of motion. Each rotary axis
has the following characteristics:
C-14
a plane of rotation
travel limits
direction of rotation
zero position
EEDS
All Rights Reserved
Unigraphics NX 2
Post Builder V3.2
Circles
The kinematic variable, mom_kin_arc_output_mode determines the data and
number of blocks that will be generated for arcs from the tool path. Associated
with this variable is a parameter which will control arc output type. The
parameter used can be one of the following:
D
linear arcs will cause the Event Generator to break the arcs into
linear GOTO events.
EEDS
All Rights Reserved
C-15
Advanced Kinematics
For a 5axis machine, one of the following values is assigned to the kinematics
variable mom_kin_machine_type to designate the machine type:
D
D
D
5_axis_dual_table
5_axis_head_table
5_axis_dual_head
Center of Rotation
of 5th Axis
MCS
5th Axis
Center Offset
Center of Rotation
of 4th Axis
Machine Tool
Coordinate System
4th Axis
Center Offset
Coordinate System
Representing 4 and 5Axis
C-16
EEDS
All Rights Reserved
Unigraphics NX 2
Post Builder V3.2
VARIABLE
mom_kin_5th_axis_center_offset(0)
mom_kin_5th_axis_center_offset(1)
mom_kin_5th_axis_center_offset(2)
0
0
0
EEDS
All Rights Reserved
C-17
mom_kin_4th_axis_center_offset(0)
X distance
mom_kin_4th_axis_center_offset(1)
Y distance
mom_kin_4th_axis_center_offset(2)
Z distance
mom_kin_5th_axis_center_offset(0)
X distance
mom_kin_5th_axis_center_offset(1)
Y distance
mom_kin_5th_axis_center_offset(2)
Z distance
C-18
mom_kin_4th_axis_rotation
Standard
mom_kin_4th_axis_rotation
Reverse
mom_kin_5th_axis_rotation
Standard
mom_kin_5th_axis_rotation
Reverse
EEDS
All Rights Reserved
Unigraphics NX 2
Post Builder V3.2
AAxis
MCS
EEDS
All Rights Reserved
C-19
The following defines the tool kinematics for 5Axis Dual Head type machine
tools.
set mom_kin_machine_type
set mom_kin_4th_axis_plane
set mom_kin_4th_axis_center_offset(0)
set mom_kin_4th_axis_center_offset(1)
set mom_kin_4th_axis_center_offset(2)
set mom_kin_4th_axis_rotation
set mom_kin_4th_axis_zero_position
set mom_kin_pivot_gauge_offset
set mom_kin_5th_axis_plane
set mom_kin_5th_axis_center_offset(0)
set mom_kin_5th_axis_center_offset(1)
set mom_kin_5th_axis_center_offset(2)
set mom_kin_5th_axis_rotation
set mom_kin_5th_axis_zero_position
5_axis_dual_head
ZX
0.0
0.0
0.0
standard
0.0
100.00
YZ
XX (5th axis x-offset)
YY (5th axis y-offset)
ZZ (5th axis z-offset)
standard
0.0
The distance from the machine tool zero to the center of the 4thaxis is not
needed in this type of machine and must be set to zero.
C-20
EEDS
All Rights Reserved
Unigraphics NX 2
Post Builder V3.2
set mom_kin_4th_axis_zero_position
90.0
set mom_kin_5th_axis_zero_position
0.0
If the tool axis vector were (0,0,1) the output for the Aaxis rotary position
would be 90.0 since the zero position is at 90 degrees.
A Axis Head
MCS
BAxis Table
1
2
EEDS
All Rights Reserved
C-21
Pivot Point
The pivot point is defined as the point about which the rotary head tilts. On a
dual head machine this point is defined as the 4th and 5thaxis head.
For standard 5axis head table and dual head machines this point may defined
by the following kinematic variable:
D
mom_kin_pivot_gauge_offset
value
This offset is measured from the spindle gauge point to the point of rotation of the
head.
For the machine type shown in the following diagram, the pivot point is defined
by the following kinematic array variable:
D
mom_kin_gauge_to_pivot(0)
XX (XHead Offset)
mom_kin_gauge_to_pivot(1)
XX (YHead Offset)
mom_kin_gauge_to_pivot(2)
XX (ZHead Offset)
On these machines, the pivot point lies on the 4th axis rotation vector.
B-Axis Head
MCS
C-Axis Table
Rotary Head 4th Axis
Rotary Table 5th Axis
Tool Length Offset
XHead Offset
YHead Offset
ZHead Offset
Rotary Axis Vector
mom_kin_5th_axis_center_offset(0)
mom_kin_5th_axis_center_offset(1)
mom_kin_5th_axis_center_offset(2)
EEDS
All Rights Reserved
Unigraphics NX 2
Post Builder V3.2
For machine tools with axes which are not in principal planes you must install
the advanced kinematics library in the auxiliary directory and use Tcl
procedures to call this library. This library is an optional item.
Use the NONE value for the axis plane and direction cosines or angles to
specify the axis of rotation of the table.
set mom_kin_machine_type
5_axis_head_table
set mom_kin_4th_axis_plane
NONE
set mom_kin_4th_axis_center_offset(0)
0.0
set mom_kin_4th_axis_center_offset(1)
0.0
set mom_kin_4th_axis_center_offset(2)
0.0
set mom_kin_4th_axis_rotation
standard
set mom_kin_4th_axis_zero_position
0.0
Using direction cosines
set mom_kin_4th_axis_vector(0)
set mom_kin_4th_axis_vector(1)
set mom_kin_4th_axis_vector(2)
0.0000
1.0000
1.0000
90.0
45.0
The distance from the spindle gauge point to the pivot point (the point about
which the head rotates) is defined using the kinematics array variable
mom_kin_gauge_to_pivot.
set mom_kin_gauge_to_pivot(0) XX (Head Offset X direction)
set mom_kin_gauge_to_pivot(1) YY (Head Offset Y direction)
set mom_kin_gauge_to_pivot(2) ZZ (Head Offset Z direction)
set mom_kin_5th_axis_plane
NONE
set mom_kin_5th_axis_center_offset(0)
0
set mom_kin_5th_axis_center_offset(1)
0.0
set mom_kin_5th_axis_center_offset(2)
0.0
set mom_kin_5th_axis_rotation
standard
set mom_kin_5th_axis_zero_position
0.0
Using direction cosines :
set mom_kin_5th_axis_vector(0)
set mom_kin_5th_axis_vector(1)
set mom_kin_5th_axis_vector(2)
EEDS
All Rights Reserved
0.0000
0.0000
1.0000
Post Building Techniques
Student Guide
C-23
0.0
0.0
MCS
B-Axis
A-Axis
1 Set the MCS at the center of the 5th axis (B-axis)
2 Set the 4th-axis (A-axis) center offsets to 0.0
3 Set the 5th-axis center offsets
X OFFSET
Y OFFSET
Z OFFSET
Note: One of the above offsets is always set to 0.0 in this type of machine
Variable
Value
mom_kin_5th_axis_center_offset(0)
mom_kin_5th_axis_center_offset(1)
mom_kin_5th_axis_center_offset(2)
C-24
EEDS
All Rights Reserved
Unigraphics NX 2
Post Builder V3.2
The following defines the tool kinematics for 5Axis Dual Table type machine
tools:
set mom_kin_machine_type
set mom_kin_4th_axis_plane
set mom_kin_4th_axis_center_offset(0)
set mom_kin_4th_axis_center_offset(1)
set mom_kin_4th_axis_center_offset(2)
set mom_kin_4th_axis_rotation
set mom_kin_4th_axis_zero_position
set mom_kin_5th_axis_plane
set mom_kin_5th_axis_center_offset(0)
set mom_kin_5th_axis_center_offset(1)
set mom_kin_5th_axis_center_offset(2)
set mom_kin_5th_axis_rotation
set mom_kin_5th_axis_zero_position
5_axis_dual_table
YZ
0.0
0.0
0.0
standard
0.0
ZX
XX
YY
ZZ
standard
0.0
EEDS
All Rights Reserved
C-25
MCS
B 0.0
B 90.0
B-Axis (4th Axis)
C-Axis
(5th Axis)
4th Axis B-Axis
5th Axis C-Axis
Tool Length Offset
5th-Axis X Offset
5th-Axis Y Offset
5th-Axis Z Offset
4th Axis Rotary Vector
B 180.0
B 270.0
C-26
EEDS
All Rights Reserved
5_axis_dual_table
NONE
0.0
0.0
0.0
standard
0.0
Unigraphics NX 2
Post Builder V3.2
0.0000
1.0000
1.0000
270.0
45.0
The distance from the center of the Caxis table to the point about which the
4thaxis or independent axis rotates, is defined using the kinematics array
variable mom_kin_5th_axis_center_offset. The 4th and 5thaxis rotation vector
are usually coplanar.
The following defines variables for the 5thaxis for the previously shown
machine tool:
set mom_kin_5th_axis_plane
set mom_kin_5th_axis_center_offset(0)
set mom_kin_5th_axis_center_offset(1)
set mom_kin_5th_axis_center_offset(2)
set mom_kin_5th_axis_rotation
set mom_kin_5th_axis_zero_position
NONE
1.0
-100.0
-75.0
standard
0.0
0.0000
0.0000
1.0000
EEDS
All Rights Reserved
0.0
0.0
C-27
Filename
Execute Command
Windows
ugpost
ugpost
Unix
ugpost
ugpost
You can also activate Runugpost from the Windows desktop by selecting
START Programs UNIGRAPHICS UNIGRAPHICS TOOLS POST
UGPOST
C-28
EEDS
All Rights Reserved
Unigraphics NX 2
Post Builder V3.2
SUMMARY
EEDS
All Rights Reserved
C-29
C-30
EEDS
All Rights Reserved
Unigraphics NX 2
Post Builder V3.2
Glossary
Glossary
Address -- In NC output, this tells the NC controller where to store the contents
of a value and what that value represents. Examples: X1.234, G01, M05, S1445.
The terminology of Address, Word Address, and Word all refer to the same
element. They are used interchangeably in Post Builder.
Block -- A line of output sent to the NC controller. Each block consists of words
that may be separated by a separator and terminated by an endofline. Example:
N0100 G01 X.1.234 Y1.234 Z1.234 F100. S1500 M03.
Custom Command -- In Post Builder, this allows you to create a custom
procedure referred to as a PROC, consisting of custom Tcl code. These can then be
added to existing events and sequences by the Post Builder. These custom
commands add functions which cannot be added by the Post Builder.
Definition file -- This file, with the file extension .def", describes the static
characteristics of the blocks and their available list of addresses and formats for a
specific machine/tool controller. Also referred to as the def file and has a
corresponding Tcl and pui file for each postprocessor.
Event -- This is sent to the postprocessor by the Event Generator. When you
postprocess, a series of Events is sent, and with each Event, numerous variables are
defined. An Event is a collection of data which is processed by UG/Post, creating
data which causes a specific action(s) by the machine tool/controller.
Event Generator -- The mechanism that extracts the tool path information from
passes it to UG/Post as Events and variables. The Event Generator is started when
you select OK or Apply from a selection of a program and a postprocessor in the
interactive CAM session.
Event Handler -- A file containing Tcl code that contains procedures that
determine what is to be done with each Event. Each procedure will determine if
output is to be generated and if so, what blocks will be output. Unigraphics extends
the Tcl scripting language to allow you to easily construct output blocks based on
the Definition file. These extensions are available from within an Event Handler.
The Event Handler can also process the variables which are loaded by the Event
Generator before outputting a block. Example: my_post.tcl
Extensions -- Unigraphics extends the Tcl scripting language by adding several
commands for postprocessing. This makes the task of outputting easier and
reduces the amount of Tcl code required. These all begin with the prefix MOM_.
Example: MOM_do_template.
EEDS
All Rights Reserved
GL-1
GL
GL
Glossary
Global variable -- These are variables that are available to all procedures in the
Event Handler. They are also available to block templates in the Definition file. If
you need to add a variable that different procedures will access, you must declare
the variable as global.
Leader -- In the Definition file, this is the character(s) used to represent the
address. In UG/Post, the default leader is the address. Examples: X,G. In NC
output, the leader can be blanks or other characters output before the start of
program. In this context, leader was originally used for threading paper tape
readers.
Marker -- Within a Post Builder sequence, markers indicate the possible Events
that may occur. Each marker/event may include several blocks of information.
Example: Start_of_Path. Within the Events in machine control, there are several
markers that allow the CAM user to control the order in which some of the output
will be generated. For example, output an operator message with the
Start_of_Program marker.
mom_variable -- The variables which are set by the Event Generator as each
Event is generated. They are always global variables. Example: mom_feed_rate.
MOM -- An acronym for the Manufacturing Output Manager. This is the basic
functionality in CAM that also is used to generate shop documentation, output the
CLS, UG library access and UG/Post. Lower case mom is used for variables, for
example mom_feed_rate. Upper case MOM refers to either Event Handler names,
i.e. MOM_linear_move or Extensions, i.e. MOM_do_template.
Operation End Sequence -- In an NC program Operation_End_Sequence
contains the Events and actions that will occur from the final retract motion to the
end of the operation.
Operation Start Sequence -- In an NC program Operation_Start_Sequence
contains the Events and actions that will occur from the start of an operation to the
first cut motion.
Operator Message -- This is a message contained within NC code that sends
instructions to the console of a machine tool. This usually requires special codes in
the NC code such as "(" or "(msg" to differentiate between the message and
machine/control information. Example: N0010 (*** Tool number 12 ***).
Postprocessor -- This is the mechanism that converts the tool path information
from the tool path format to a format for a specific machine/tool controller. In
UG/Post, this includes an Event Handler file (.tcl), a Definition file (.def) and a
Post Builder User Interface file (.pui). The use of these files with each
postprocessor is determined by the postprocessor template file.
GL-2
EEDS
All Rights Reserved
Unigraphics NX 2
Post Builder V3.2
Glossary
EEDS
All Rights Reserved
GL-3
GL
Glossary
Post Builder -- Provides an easy to use interface for creating and modifying
postprocessors. Drag and drop functions allows for the creation of formats, words,
blocks, and sequences. The Post Builder allows the definition of output blocks,
formats for addresses and controls the sequence of output for the start and end of
operations, the start and end of program, tool changes and canned cycles.
User Defined Event -- Also referred to as UDE, this is an Event that you can
change. UDE's are used in machine control and as the start post and end post
commands. UDE's can be attached to any CAM object such as a Tool or Program.
Several of the basic UDE's are included and you may modify or add your own.
Wish -- Wish is an acronym for windows shell that includes both Tcl and Tk.
Wish is an interpreter and executes Tcl and Tk commands. It is required in order to
use the UG/Post Review Tool. It is installed as ugwish.exe and is located in the
mach/auxiliary directory.
Word -- See Address
GL
GL-4
EEDS
All Rights Reserved
Unigraphics NX 2
Post Builder V3.2
Index
Index
B
overview, 10-2
L
Listing File & Output Control tab, 2-72
block, 2-54
block component, 2-41
editing of, 2-45
C
Component Window, 2-38
Course Overview
Class standards for UG/Post files, -3
Classroom system information, -5
Course description, -1
Intended Audience, -1
Objectives, -2
Postprocessor development project overview, -5
Prerequisites, -1
Use of manual, -4
Mill-turn
creating using Post Builder, 7-3, 7-16
types of, 7-2, 7-15
N
N/C Data Definitions tab, 2-54
D
Definition file, 1-3, 2-3, C-8
E
Event Generator, 1-3
Event Handler, 1-3, 2-3, C-3
F
Files Preveiw tab, 2-80
format, 2-55
I
Integration, Simulation and Verification
machine tool driver, 10-3
O
Other data elements, 2-55
Output File, 1-3
P
Parameter Window, 2-38
Postprocessing
definition of, 1-2
using Runugpost, C-28
Postprocessor, UG/Post Execute, 1-2
Program and Tool Path tab, 2-26
Custom Commands, 2-37
G Codes, 2-26
M Codes, 2-26
Program, 2-26
Word Sequencing, 2-37
Word summary, 2-27
Data type, 2-27
Decimals, 2-27
Fractions, 2-27
EEDS
All Rights Reserved
IN
IN-1
Index
Integers, 2-27
Leader/Code, 2-27
Leading zeroes, 2-27
Plus (+), 2-27
Trailing Zeroes, 2-27
Word, 2-27
R
Runugpost, C-28
S
Sequence, 2-39
Operation End, 2-41
Operation Start, 2-40
Program End, 2-41
Program Start, 2-40
Tool Path Events, 2-40
Canned Cycle Events, 2-41
Machine Control Events, 2-40
Motion Events, 2-41
U
UG/Post, User Defined Events, 9-2
UG/Post Builder, 1-4, 2-17
5-axis, 4-2
5-axis parameters, 4-6
Balloon Tip, 2-8
Context Help, 2-9
Creating a new post, 2-11
Cue Line, 2-7
Help Tool Bar, 2-8
lathe, 5-2
parameters, 5-4
Menu Bar, 2-7
Overview, 2-3
Parameter file, 2-3
Parameters, 2-22
Tool Bar, 2-8
User's Manual, 2-9
UG/Post Builder releases, 11-2
Wire EDM
2-axis, 3-2
4-axis, 3-2
controller type, 3-3
generic, 3-3
library, 3-3
user's, 3-3
word, 2-55
T
Tcl, C-3
Tcl Procedures, 6-24, 8-4
IN
IN-2
EEDS
All Rights Reserved
Unigraphics NX 2
Post Builder V3.2