<!DOCTYPE html
  PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">

<!--
Copyright (c) 2006 UGS Corp.

All Rights Reserved.

This software and related documentation are proprietary to UGS Corp.
-->
<html>
   <head>
      <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
      <title>Spindle orientation</title>
      <script language="javaScript">
        abridged="false";
        displayConditions=new Array();
      </script>
      <link type="text/css" href="../css/main_styles.css" rel="stylesheet">
   </head>
   <body class="bodydocs" onload="top.pageLoader()" bgcolor="#FFFFFF">
      <div class="title_topic2" id="xps10_pagetitle">Spindle orientation</div>
      <hr noshade="true">
      <p class="para_topic">For more information on the MCS see <cite class="titleReference">Manufacturing General Help</cite>.
      </p>
      <p class="para_topic">NX Manufacturing provides two important and effective coordinate systems to assist you during your part programming sessions, the Work Coordinate System (WCS) and the Machine Coordinate System (MCS). Each coordinate system has a specific purpose that must be understood, and when used properly together, they provide flexibility and convenience in any lathe programming situation.</p>
      <div class="title_division"> The Work Coordinate System (WCS) in Turning</div>
      <p class="para_division">Throughout the NX system, the WCS is provided as a user-convenience coordinate system. It is designed to be oriented or moved to wherever is most convenient for specifying input to the system or for viewing output from the system such as analysis results and information about the model. In Manufacturing, the WCS is also used for inputting machining parameters such as angles, vectors, coordinate points, etc.</p>
      <p class="para_division">When doing lathe work, the programming is done in a 2D plane referred to as the lathe work plane. Because lathe work is planar, it becomes very convenient to orient the WCS XY-plane to be parallel to the lathe work plane. This improves ease-of-use and allows you to specify input data, especially angles, in a natural orientation that is intuitive and yet independent of the machine orientation. Accordingly, for all lathe programming cases, the desired practice will naturally be to set the WCS so that the XC axis is toward your right side (3 o'clock) and the YC axis is straight up (12 o'clock). This is assuming that the lathe work plane is parallel to the screen. This convention becomes very useful for programming all machine orientations, whether horizontal lathes, VTLs, inverted VTLs, or any other machine or spindle orientation.</p>
      <table cellspacing="0" align="center">
         <tr>
            <td colspan="1" rowspan="1" valign="top">
               <p align="center"><img align="bottom" src="graphics/ug_user.gif"></p>
            </td>
            <td colspan="1" rowspan="1" valign="top">
               <p align="center"><img align="bottom" src="graphics/wcs.gif"></p>
            </td>
         </tr>
      </table><br><p class="para_division">To begin your programming session, </p>
      <ol type="1" start="1">
         <li>
            <p class="para_item">orient your Unigraphics NX view so that the lathe work plane is parallel to your screen and the part is in the rotational orientation in which you want to program </p>
         </li>
         <li>
            <p class="para_item">orient the WCS so that the XC-YC plane is parallel to the lathe work plane (and the screen) with the XC-axis to your right (3 o'clock) and the YC-axis is straight up (12 o'clock)</p>
         </li>
         <li>
            <p class="para_item">define the MCS(s), which govern the machine output coordinates for tool path generation and postprocessing.</p>
         </li>
      </ol>
      <p class="para_division">Clearly, the WCS should not determine the spindle centerline nor control the output coordinates for the cutter positions. The WCS must be free to be relocated at your convenience for other machining or modeling activities.</p>
      <div class="title_division"> The Machine Coordinate System (MCS) in Turning</div>
      <p class="para_division">Currently, the spindle centerline and the program zero are determined by the MCS orientation. The MCS also dictates the output coordinates of the cutter locations in the tool path. The determination of the spindle centerline, the program zero, and the lathe work plane for that spindle will be done at the time the MCS is defined during the programming session. Two possible orientations of the MCS are provided, as follows:</p>
      <ol type="1" start="1">
         <li>
            <p class="para_item">MCS ZX Plane - If the MCS ZX plane is parallel to the WCS XY plane at the time that the MCS is defined, then &nbsp;</p>
            <ul>
               <li>
                  <p class="para_item">the ZM axis will be interpreted as the spindle centerline,</p>
               </li>
               <li>
                  <p class="para_item">the MCS origin will be interpreted as the program zero position</p>
               </li>
               <li>
                  <p class="para_item">the MCS ZX plane will be the lathe work plane</p>
               </li>
            </ul>
            <p class="para_item">This will become the most popular scenario for general lathe programming and will be very useful for programming production centers (mill/turns), because this orientation matches the coordinates of the machine tool.</p>
         </li>
         <li>
            <p class="para_item">MCS XY Plane - If the MCS XY plane is parallel to the WCS XY plane at the time that the MCS is defined, then </p>
         </li>
         <li>
            <p class="para_item">the XM axis will be interpreted as the spindle centerline</p>
         </li>
         <li>
            <p class="para_item">the MCS origin will be interpreted as the program zero position</p>
         </li>
         <li>
            <p class="para_item">and the MCS XY plane will be the lathe work plane </p>
            <p class="para_item">This orientation is provided for all those who traditionally programmed their lathes in the XY plane.</p>
         </li>
         <li>
            <p class="para_item">&nbsp;For multiple spindle machines, an MCS should be defined for each spindle. For turn-around part situations (where the part is turned end-to-end in the same spindle), an MCS may be defined for each part orientation.</p>
         </li>
      </ol>
      <div class="title_division">Horizontal Lathe Programming</div>
      <p class="para_division">The following illustrations show the allowable orientations of the MCS relative to the part for programming horizontal lathes. It is assumed that the view, in both cases, is the view of the WCS XY plane.</p>
      <table cellspacing="0" width="750" align="center">
         <tr>
            <td colspan="1" height="158" rowspan="1" valign="top">
               <p align="center"><img align="bottom" src="graphics/horizzx.gif"></p>
            </td>
            <td colspan="1" height="158" rowspan="1" valign="top">
               <p align="center"><img align="bottom" src="graphics/horizxy.gif"></p>
            </td>
         </tr>
         <tr>
            <td colspan="1" height="79" rowspan="1" valign="top">
               <p class="para_td">The MCS ZX Plane as the Programming Plane and the ZM Axis as the Spindle Centerline.</p>
            </td>
            <td colspan="1" height="79" rowspan="1" valign="top">
               <p class="para_td">The MCS XY Plane as the Programming Plane and the XM Axis as the Spindle Centerline.</p>
            </td>
         </tr>
      </table><br><p class="para_division">The MCS may be rotated by 180 degrees about centerline for machines where the positive (+) radial movement is toward the lower side or front side of the machine.</p>
      <div class="title_division">Vertical Lathe (VTL) Programming</div>
      <p class="para_division">The following illustrations show the allowable orientations of the MCS relative to the part for programming vertical lathes. It is assumed that the view, in both cases, is the view of the WCS XY plane.</p>
      <table cellspacing="0" width="660" align="center">
         <tr>
            <td colspan="1" height="158" rowspan="1" valign="top">
               <p align="center"><img align="bottom" src="graphics/vtlzx.gif"></p>
            </td>
            <td colspan="1" height="158" rowspan="1" valign="top">
               <p align="center"><img align="bottom" src="graphics/vtkxy.gif"></p>
            </td>
         </tr>
         <tr>
            <td colspan="1" height="84" rowspan="1" valign="top">
               <p class="para_td">The MCS ZX Plane as the Programming Plane and the ZM Axis as the Spindle Centerline</p>
            </td>
            <td colspan="1" height="84" rowspan="1" valign="top">
               <p class="para_td">The MCS XY Plane as the Programming Plane and the XM Axis as the Spindle Centerline.</p>
            </td>
         </tr>
      </table><br><p class="para_division">The MCS may be rotated by 180 degrees about centerline for machines where the positive (+) radial movement is toward the right side of the machine.</p>
      <table border="0">
         <tr>
            <td valign="top" align="left"><img align="left" src="../graphics/note.gif" alt="Note" title="Note"></td>
            <td valign="bottom" align="left" width="100%">
               <div class="para_note">
                  <p class="para_note_body">If you prefer to program VTL machines viewed in the horizontal orientation, you should follow the instructions as described for horizontal lathes. In fact, you may program any lathe orientation in any view that is convenient to you without affecting the output, as long as the MCS-to-part relationship remains the same.</p>
               </div>
            </td>
         </tr>
      </table>
      <div class="title_division">&nbsp;Other Lathe Orientations</div>
      <p class="para_division">The guidelines for orienting the NX view and coordinate systems are the same for all lathe programming orientations. The following is another view orientation that describes inverted VTL machines. But the concept and programming relationships are the same in all cases. It is assumed that the view, in both cases below, is the view of the WCS XY plane.</p>
      <table cellspacing="0" width="690" align="center">
         <tr>
            <td colspan="1" height="158" rowspan="1" valign="top">
               <p align="center"><img align="bottom" src="graphics/invertedzx.gif"></p>
            </td>
            <td colspan="1" height="158" rowspan="1" valign="top">
               <p align="center"><img align="bottom" src="graphics/invertedxy.gif"></p>
            </td>
         </tr>
         <tr>
            <td colspan="1" height="78" rowspan="1" valign="top">
               <p class="para_td">The MCS ZX Plane as the Programming Plane and the ZM Axis as the Spindle Centerline.</p>
            </td>
            <td colspan="1" height="78" rowspan="1" valign="top">
               <p class="para_td">The MCS XY Plane as the Programming Plane and the XM Axis as the Spindle Centerline.</p>
            </td>
         </tr>
      </table><br><table border="0">
         <tr>
            <td valign="top" align="left"><img align="left" src="../graphics/warning.gif" alt="Warning" title="Warning"></td>
            <td valign="bottom" align="left" width="100%">
               <div class="para_warning">
                  <p class="para_warning_body">  When choosing which MCS orientation (ZX or XY) you want to use for programming, be aware that the form of output will be different in each of the two cases. If you have current postprocessors, they will dictate the form of output that must be produced and, therefore, dictate your choice of MCS orientation.</p>
               </div>
            </td>
         </tr>
      </table>
      <div class="title_division">Output</div>
      <p class="para_division">The following table shows the output formats to support all spindle orientations for turning, such as horizontal, vertical, inverted vertical, etc. through the listing output, Post, and CLSF export.</p>
      <table bgcolor="#f4f4f4" cellspacing="0" width="549" align="center">
         <tr valign="middle">
            <th colspan="5" rowspan="1" valign="bottom">
               <p class="para_th">NX Turning Operations</p>
            </th>
         </tr>
         <tr valign="middle">
            <td colspan="1" rowspan="1" valign="top">
               <p class="para_td">MCS / Spindle environment</p>
            </td>
            <td colspan="1" rowspan="1" valign="top">
               <p class="para_td">Internal Tool Path</p>
            </td>
            <td colspan="1" rowspan="1" valign="top">
               <p class="para_td">Listing Output</p>
            </td>
            <td colspan="1" rowspan="1" valign="top">
               <p class="para_td">Post Output</p>
            </td>
            <td colspan="1" rowspan="1" valign="top">
               <p class="para_td">CLSF Output</p>
            </td>
         </tr>
         <tr valign="middle">
            <td colspan="1" rowspan="1" valign="top">
               <p class="para_td">XM-YM / X-axis spindle (z=zero)</p>
            </td>
            <td colspan="1" rowspan="1" valign="top">
               <p class="para_td">x, y, 0</p>
            </td>
            <td colspan="1" rowspan="1" valign="top">
               <p class="para_td">x, y, 0</p>
            </td>
            <td colspan="1" rowspan="1" valign="top">
               <p class="para_td">Z=x, X=y</p>
               <p class="para_td">c, d</p>
            </td>
            <td colspan="1" rowspan="1" valign="top">
               <p class="para_td">x, y, 0</p>
               <p class="para_td">(c, d, 0)</p>
            </td>
         </tr>
         <tr valign="middle">
            <td colspan="1" rowspan="1" valign="top">
               <p class="para_td">ZM-XM / Z-axis spindle (y=zero)</p>
            </td>
            <td colspan="1" rowspan="1" valign="top">
               <p class="para_td">x, 0, z</p>
            </td>
            <td colspan="1" rowspan="1" valign="top">
               <p class="para_td">x, 0, z</p>
            </td>
            <td colspan="1" rowspan="1" valign="top">
               <p class="para_td">Z=z, X=x</p>
               <p class="para_td">c, d</p>
            </td>
            <td colspan="1" rowspan="1" valign="top">
               <p class="para_td">z, x, 0</p>
               <p class="para_td">(c, d, 0)</p>
            </td>
         </tr>
      </table><br><div class="title_division">Legend:</div>
      <p class="para_division">x, y, z lower case indicates the cutter locations in the tool path relative to the MCS.</p>
      <p class="para_division">X, Z upper case indicates the word address output from the post processor (machine coordinates).</p>
      <p class="para_division">c, d indicates that the upper case character above the c/d in the chart (Post Output column) is interpreted as a departure along centerline (c), or a departure to a diameter (d). In other words, movement is axial (c) or radial (d).</p>
   </body>
</html>