<!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>Separate M Code</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_topic5" id="xps10_pagetitle">Separate M Code</div>
      <hr noshade="true">
      <p align="center"><img align="bottom" src="graphics/pb_imagesdo.gif"></p>
      <p class="para_topic">This option allows you to specify a specific M code that the system uses for each range.&nbsp;The M code changes depending on the range that you programmed.&nbsp;For example, for range 1, the system has defined 41, now the system uses that value and outputs an M41.&nbsp; Note that you must place the correct word into the output sequence, either Operation Start or in the Spindle RPM event if you are using postprocessor commands.</p>
      <div class="title_division">Range Code with M code</div>
      <p align="center"><img align="bottom" src="graphics/pb_imageknp.gif"></p>
      <p class="para_division">This option allows you to output the range code with the spindle direction code.&nbsp;With a range code of one and a spindle direction of clw, the M code is range code * 10 + the spindle direction code of 3 for a value of 13.&nbsp;This results in an M13.&nbsp;There is no separate M code for range in this case.</p>
      <p align="center"><img align="bottom" src="graphics/pb_image44d.gif"></p>
      <p class="para_division">This option allows you to output the range code with the spindle speed code.&nbsp;The system only allows two ranges.&nbsp;With a range 1 and a spindle speed of 100, the S code is S100. With a range 2 and spindle speed of 500, the S code is S-500.&nbsp;There is no separate M code for range in this case.</p>
      <p class="para_division">Note that the system calculates all of these special codes by formulas in the words themselves.&nbsp;If you have some specific requirement for combining range, direction or speed parameters, you can use a formula to calculate what you need.</p>
   </body>
</html>