Professional Documents
Culture Documents
Mcosmos
Mcosmos
MCOSMOS™ Post-processor
Usage notes for Release 4
Steve Scigliano
4/21/2017
This post-processor has been tested with MCOSMOS™ v3.4 and MCOSMOS™ v4.0, and is based on the
ASCII-GEOPAK v3.5 specification.
This document assumes that the reader is familiar with both MCOSMOS™ and NX CMM Inspection
Programming and is a supplement to existing software documentation.
Tolerance names are currently not passed to the output file and therefore have no specific length limit.
In the future, they may be passed as remarks or SPC identifiers and if so will also be subject to the 20
character length limit.
Probe Management
Successful execution of a part program requires that the sensor and tool definitions align between NX
CMM and MCOSMOS™. It is recommended that a template containing the machine model with correct
tool and sensor names be built in NX CMM (see the NX on-line documentation for instructions) so that
this information does not have to manually entered for every part program. In addition, the sensor
strategy in each feature inspection method should be set to “Use existing only” as shown in this
Inspection Method dialog for Plane Features:
Note that NX only allows for upper case sensor names, therefore by default, only archives with
uppercase names will be loaded. If the archive has lower case letters, then the User Defined Event “Set
Archive Alternative Name” should be added to the SENSORS folder. The Base Name is the archive name
in all upper case letters and alternative name is the name used in MCOSMOS™ for the archive. The
following shows an example of this dialog.
In this example, a SNSLOAD/ARCHIVE,”B1_alluppercase” will be output in the post processed file not
SNSLOAD/ARCHIVE,”B1_ALLUPPERCASE”. Note that there needs to one UDE for each unique archive.
For example if there are three unique archives referenced in the SENSOR definitions, then there should
be three UDE assigned to the SENSOR folder.
Sensor Definition
Currently sensor definition is not output by the post-processor, though the information is available if
needed.
Calibration
Calibration must be done in MCOSMOS™ as NX CMM currently does not support the definition or
output of sensor calibration statements
Feature Inspection
Cone and cylinder features must be inspected in cross-sections for MCOSMOS™. It is recommended that
the INSP-CONE and the INSP-CYLINDER inspection methods be set as follows to obtain the correct
inspection paths. Ideally this would be set in the template with the machine definition so that it does
not have to be manually edited for every part program.
Curve scanning is achieved via the use of MCOSMOS™ CONTOUR features. The nominal definition of the
features is via a GWS file for each CONTOUR. The post processor creates these GWS files as needed in
the same folder as the AGW file and these files must be copied to the correct folder for MCOSMOS™ to
find them after the AGW file has been imported. By default, the post processor configures MCOSMOS™
to look for the GWS files in the location defined by the predefined MCOSMOS™ string variables
@PartPath@PartSubDirectory. The files themselves are named as follows:
All of these files must be copied to the specified location or you will receive an error that the file cannot
be opened when the MCOSMOS™ program is run. MCOSMOS™ has a limit on the length of the file name
of approximately 72 characters, so you should use short names for the AGW file name.
If a different folder structure is desired, change the following line in the post processor to the desired
folder
Alignment
All NX CMM alignment methods are supported in the post-processor. In some situations extra features
or math is inserted to satisfy the intent of the alignment operation. See the Alignment Types section for
a complete description of compatibility.
This version of the post-processor requires that features be defined, measured and toleranced in the
same part coordinate system.
If you are going to explicitly save a PCS, then you must name it with a label that is an integer number
(e.g. 400). The post processor currently does not check that the name supplied for the save is an integer
and not following this convention will prevent the post processed file from importing into MCOSMOS™.
When you save a PCS you can specify one of two predefined locations ARCHIVE or TABLE to store the
PCS in the archive or as a table coordinate system. The keyword ARCHIVE or TABLE is entered in the
Device Identifier field of the SAVE PCS dialog as shown below
When recalling a previously manually saved PCS then specify the PCS type as external and you must
specify a label that is an integer number (e.g. 400). The post processor currently does not check that the
name supplied for the save is an integer and not following this convention will prevent the post
processed file from importing into MCOSMOS™. In addition you must select an NX coordinate system
that represents the coordinate system on the machine.
Geometric Tolerancing
In general, MCOSMOS™ requires that features align with one of the principle axes of the current part
coordinate system. This version of the post processor has the same requirements. Features are checked
when geometric tolerances are applied and messages are written to the post processed file if these
conditions are not satisfied. These messages will prevent the post-processed file from translating into
MCOSMOS™ so you must correct them before executing the program. This issue can be overcome by
creating a temporary alignment that satisfies this requirement (typically by aligning to the nominal
features) prior to the application of the tolerance and recalling the part coordinate system after the
tolerance.
Circular runout on a plane requires the specification of a reference diameter. A user defined event
Runout Reference Diameter is used to specify this diameter. It is added as a start event to a circular
runout tolerance applied to a planar feature.
Cells highlighted in yellow will produce warnings in NX CMM regarding unsupported feature/tolerance
combination but the correct MCOSMOS code is created so they can be ignored.
Note 1: Currently NX CMM does not bound open slot/tab; however, the user can manually insert
bounding planes which will then enable this feature type to be toleranced with symmetry and position
tolerances. Create 4 plane features at the 4 corner points that bound the PARPLN. If these features are
named <parpln name>_BND<n> where n runs from 1 to 4 the post processor will correctly bound the
feature and use this information for these tolerance types. These planes should be unbounded and
unmeasured as they are only used to determine the bounding rectangle of the PARPLN.
The program name used by MCOSMOS™ is defined in the Program Header statement dialog
The Call Subroutine event requires a subroutine name and a type indicating whether it is an internal,
external or library routine.
Capability of Post-processor
Capability that is not supported by the post processor will result in error messages being output in the
AGW file. This will prevent the file from importing into MCOSMOS™ and must be removed from your NX
CMM program
Point Y Y Y
Line Y Y Y
Plane Y Y Y
Circle Y Y Y
Ellipse N Y N
Cylinder Y Y Y
Sphere Y Y Y
Cone Y Y Y
Torus Y N N
Square hole Y Y Y
Hexagon hole N Y N
Rectangular hole Y Y Y
Triangular hole N Y N
Trapezoid hole N Y N
Construction Types
Construction Construction Type NX CMM GEOPAK Release 4 Post-processor
Transform Y Y Y
Pierce N Y N
Project Y Y Y
Vertex N indirectly N
Middle Y Y Y
Intersect Y Y Y
Offset Y N N
transform Y Y Y
Parallel Y Y Y
Middle Y Y Y
Transform Y Y Y
Middle Y Y Y
Offset Y N N
Tangent N N N
From Contour Y Y N
Transform Y Y Y
From Contour Y Y N
Intersection Y Y Y
Cone diameter Y Y N
Tangent N Y N
Projection N N N
Sphere diameter N Y N
Sphere distance N Y N
Ellipse Any N Y N
Transform Y Y Y
Fit in cone N Y N
From contour Y Y N
Transform Y Y Y
From contour Y Y N
Transform Y Y Y
From contour Y Y N
Translate Y Y Y
Rotate Y Y Y
To datums Y Y Y
Save Y Y Y
Recall Y Y Y
Set to MCS Y Y Y
Measurement Types
Measurement NX CMM GEOPAK Release 4 Post-processor
Touch trigger Y Y Y
Manual Mode Y Y Y
Program Mode Y Y Y
Automatic Mode N Y N
Relative Y N N
Measurements
Tolerance Types
Tolerance Type NX CMM GEOPAK Release 4 Post-processor
Angle between Y Y Y
Cone angle Y Y Y
Angularity Y Y Y
Circularity Y Y Y
Composite position Y N N
Concentricity Y Y Y
Cortol Y Y Y
Cylindricity Y Y Y
Diameter Y Y Y
Distance between Y Y Y
Flatness Y Y Y
Parallelism Y Y Y
Perpendicularity Y Y Y
Position Y Y Y
Profile of a point Y N Y
Radius Y Y Y
Rotate table Y N N
translate PCS
Rotate table Y Y Y
translate and rotate
PCS
Incremental rotation Y Y Y
Absolute rotation Y Y Y
Calibrate N Y N
Probe Commands
Sensor NX CMM GEOPAK Release 4 Post-processor
Tool changer Y Y Y
Define Y Y N
Select Y Y Y