<!doctype HTML public "-//W3C//DTD HTML 4.0 Frameset//EN">

<html>

<!--(==============================================================)-->
<!--(Document created with RoboEditor. )============================-->
<!--(==============================================================)-->

<head>

<title>SET/MODE,COMBIN</title>

<!--(Meta)==========================================================-->

<meta name=generator content="RoboHELP by eHelp Corporation - www.ehelp.com">
<meta name=generator-major-version content=0.1>
<meta name=generator-minor-version content=1>
<meta name=filetype content=kadov>
<meta name=filetype-version content=1>
<meta name=page-count content=1>
<meta name=layout-height content=3028>
<meta name=layout-width content=694>
<meta name=date content="10 27, 2005 11:59:03 AM">


<!--(Links)=========================================================-->

<link rel="StyleSheet" href="../../css/main_styles.css">



<!--(Style Sheet)===================================================-->

<style>
<!--
body {background-color: #ffffff;}
-->
</style>


</head>

<!--(Body)==========================================================-->


<body class="bodydocs" onLoad="top.pageLoader()" bgcolor="#FFFFFF">


<h1>SET/MODE,COMBIN</h1>

<h5>&nbsp;</h5>

<h5>APT Command</h5>

<p CLASS=Paragraph><img src="../graphics/app1fi89.gif"
						style="width: 510px;
								height: 67px;
								border-style: none;
								margin-top: 0px;
								margin-bottom: 0px;
								margin-left: 0px;
								margin-right: 0px;"
						width=510
						height=67
						border=0></p>

<p CLASS=Paragraph>&nbsp;</p>

<!--(Table)=========================================================-->
<table x-use-null-cells
		wrapperparagraphselector=P.Paragraph
		style="border-spacing: 0px;"
		cellspacing=0>

<tr>
<td style="x-cell-content-align: TOP;
			padding-left: 2px;
			padding-top: 2px;
			padding-right: 2px;
			padding-bottom: 2px;"
	valign=top>
<p CLASS=CellTopic
	style="text-align: left; margin-bottom: 0;"
	align=left><span style="font-weight: bold;">Description:</span></td>
<td style="x-cell-content-align: TOP;
			padding-left: 2px;
			padding-top: 2px;
			padding-right: 2px;
			padding-bottom: 2px;"
	valign=top>
<p CLASS=CellDescrip
	style="text-align: left;"
	align=left>This command allows you to combine consecutive rotary motion 
 into a single rotary motion.</p>
<p CLASS=CellDescrip
	style="text-align: left;"
	align=left>Motion is analyzed for two or more consecutive moves with 
 a delta move in one rotary axis and a very small ( smaller than a given 
 tolerance ) linear axis. This tolerance will be checked against each linear 
 axis individually. These motions are then combined into a single rotary 
 motion. The small linear move is discarded.</p>
<p CLASS=CellDescrip
	style="text-align: left; margin-bottom: 0;"
	align=left>&nbsp;</td></tr>

<tr>
<td NOWRAP
	style="x-cell-content-align: TOP;
			padding-left: 2px;
			padding-top: 2px;
			padding-right: 2px;
			padding-bottom: 2px;"
	valign=top>
<p CLASS=CellTopic
	style="text-align: left; margin-bottom: 0;"
	align=left><span style="font-weight: bold;">Parameter Definitions:</span></td>
<td style="x-cell-content-align: TOP;
			padding-left: 2px;
			padding-top: 2px;
			padding-right: 2px;
			padding-bottom: 2px;"
	valign=top>
<p CLASS=CellDescrip
	style="text-align: left;"
	align=left>1. &quot;ON&quot; activates the combining of consecutive 
 rotary moves.</p>
<p CLASS=CellDescrip
	style="text-align: left;"
	align=left>2. &quot;OFF&quot; inactivates the combining of consecutive 
 rotary moves.</p>
<p CLASS=CellDescrip
	style="text-align: left;"
	align=left>3. &quot; n &quot; allows you to set the tolerance value.</p>
<p CLASS=CellDescrip
	style="text-align: left; margin-bottom: 0;"
	align=left>&nbsp;</td></tr>

<tr>
<td style="x-cell-content-align: TOP;
			padding-left: 2px;
			padding-top: 2px;
			padding-right: 2px;
			padding-bottom: 2px;"
	valign=top>
<p CLASS=CellTopic
	style="text-align: left; margin-bottom: 0;"
	align=left><span style="font-weight: bold;">Considerations:</span></td>
<td style="x-cell-content-align: TOP;
			padding-left: 2px;
			padding-top: 2px;
			padding-right: 2px;
			padding-bottom: 2px;"
	valign=top>
<p CLASS=CellDescrip
	style="text-align: left; margin-bottom: 0;"
	align=left>The default mode will be set in the MDF.</td></tr>
</table>

<p CLASS=Paragraph>&nbsp;</p>

<h5>ISO Command</h5>

<p CLASS=ListBulletTxt>None</p>

<h1>&nbsp;</h1>

<h1><a NAME=mode_index></a>SET/MODE,INDEX</h1>

<h5>&nbsp;</h5>

<h5>APT Command</h5>

<p CLASS=Paragraph><img src="../graphics/app1fi88.gif"
						style="width: 510px;
								height: 67px;
								border-style: none;
								margin-top: 0px;
								margin-bottom: 0px;
								margin-left: 0px;
								margin-right: 0px;"
						width=510
						height=67
						border=0></p>

<p CLASS=Paragraph>&nbsp;</p>

<!--(Table)=========================================================-->
<table x-use-null-cells
		wrapperparagraphselector=P.Paragraph
		style="border-spacing: 0px;"
		cellspacing=0>

<tr>
<td style="x-cell-content-align: TOP;
			padding-left: 2px;
			padding-top: 2px;
			padding-right: 2px;
			padding-bottom: 2px;"
	valign=top>
<p CLASS=CellTopic
	style="text-align: left; margin-bottom: 0;"
	align=left><span style="font-weight: bold;">Description:</span></td>
<td style="x-cell-content-align: TOP;
			padding-left: 2px;
			padding-top: 2px;
			padding-right: 2px;
			padding-bottom: 2px;"
	valign=top>
<p CLASS=CellDescrip
	style="text-align: left;"
	align=left>This command allows you to switch between contouring mode 
 ( i.e, simultaneous rotary and linear positioning ) and indexing mode 
 ( i.e, rotary positioning first, then linear positioning ) when the rotary 
 multax output mode is set to contouring.</p>
<p CLASS=CellDescrip
	style="text-align: left; margin-bottom: 0;"
	align=left>&nbsp;</td></tr>

<tr>
<td NOWRAP
	style="x-cell-content-align: TOP;
			padding-left: 2px;
			padding-top: 2px;
			padding-right: 2px;
			padding-bottom: 2px;"
	valign=top>
<p CLASS=CellTopic
	style="text-align: left; margin-bottom: 0;"
	align=left>&nbsp;<span style="font-weight: bold;">Parameter Definitions:</span></td>
<td style="x-cell-content-align: TOP;
			padding-left: 2px;
			padding-top: 2px;
			padding-right: 2px;
			padding-bottom: 2px;"
	valign=top>
<p CLASS=CellDescrip
	style="text-align: left;"
	align=left>1. &quot;ON&quot; will set the mode to indexing.</p>
<p CLASS=CellDescrip
	style="text-align: left;"
	align=left>2. &quot;OFF&quot;returns the mode to contouring.</p>
<p CLASS=CellDescrip
	style="text-align: left; margin-bottom: 0;"
	align=left>&nbsp;</td></tr>

<tr>
<td style="x-cell-content-align: TOP;
			padding-left: 2px;
			padding-top: 2px;
			padding-right: 2px;
			padding-bottom: 2px;"
	valign=top>
<p CLASS=CellTopic
	style="text-align: left; margin-bottom: 0;"
	align=left><span style="font-weight: bold;">Considerations:</span></td>
<td style="x-cell-content-align: TOP;
			padding-left: 2px;
			padding-top: 2px;
			padding-right: 2px;
			padding-bottom: 2px;"
	valign=top>
<p CLASS=CellDescrip
	style="text-align: left; margin-bottom: 0;"
	align=left>The rotary multax output mode is set in the MDF.</td></tr>
</table>

<p CLASS=Paragraph>&nbsp;</p>

<h5>ISO Command</h5>

<p CLASS=ListBulletTxt>None</p>

<h1>&nbsp;</h1>

<h1><a NAME=mode_retrct></a>SET/MODE,RETRCT</h1>

<h5>&nbsp;</h5>

<h5>APT Command</h5>

<p CLASS=Paragraph><img src="../graphics/app1fi87.gif"
						style="width: 510px;
								height: 112px;
								border-style: none;
								margin-top: 0px;
								margin-bottom: 0px;
								margin-left: 0px;
								margin-right: 0px;"
						width=510
						height=112
						border=0></p>

<p CLASS=Paragraph>&nbsp;</p>

<!--(Table)=========================================================-->
<table x-use-null-cells
		wrapperparagraphselector=P.Paragraph
		style="border-spacing: 0px;"
		cellspacing=0>

<tr>
<td style="x-cell-content-align: TOP;
			padding-left: 2px;
			padding-top: 2px;
			padding-right: 2px;
			padding-bottom: 2px;"
	valign=top>
<p CLASS=CellTopic
	style="text-align: left; margin-bottom: 0;"
	align=left><span style="font-weight: bold;">Description:</span></td>
<td style="x-cell-content-align: TOP;
			padding-left: 2px;
			padding-top: 2px;
			padding-right: 2px;
			padding-bottom: 2px;"
	valign=top>
<p CLASS=CellDescrip
	style="text-align: left;"
	align=left>This command allows you to safely reposition the machine 
 in the event that linear or rotary travel limits are violated.</p>
<p CLASS=CellDescrip
	style="text-align: left;"
	align=left>When the machine's travel limits have been violated, the 
 GPM will:</p>
<ul>
	
	<li class=kadov-p-CListBullet><p CLASS=ListBullet
									style="text-align: left;"
									align=left>Output a text string to 
 turn off any required functions.</p></li>
	
	<li class=kadov-p-CListBullet><p CLASS=ListBullet
									style="text-align: left;"
									align=left>Retract along the tool axis 
 a predefined distance &quot;n&quot; from the center of rotation.</p></li>
	
	<li class=kadov-p-CListBullet><p CLASS=ListBullet
									style="text-align: left;"
									align=left>Rotate and position over 
 the part.</p></li>
	
	<li class=kadov-p-CListBullet><p CLASS=ListBullet
									style="text-align: left;"
									align=left>Position a safe distance 
 &quot;m&quot; above the part.</p></li>
	
	<li class=kadov-p-CListBullet><p CLASS=ListBullet
									style="text-align: left;"
									align=left>Output a text string to 
 turn on any required functions.</p></li>
	
	<li class=kadov-p-CListBullet><p CLASS=ListBullet
									style="text-align: left;"
									align=left>Reengage the part at the 
 specified feed rate, &quot;f&quot;.</p></li>
</ul>
<p CLASS=CellDescrip
	style="text-align: left; margin-bottom: 0;"
	align=left>&nbsp;</td></tr>

<tr>
<td NOWRAP
	style="x-cell-content-align: TOP;
			padding-left: 2px;
			padding-top: 2px;
			padding-right: 2px;
			padding-bottom: 2px;"
	valign=top>
<p CLASS=CellTopic
	style="text-align: left; margin-bottom: 0;"
	align=left><span style="font-weight: bold;">Parameter Definitions:</span></td>
<td style="x-cell-content-align: TOP;
			padding-left: 2px;
			padding-top: 2px;
			padding-right: 2px;
			padding-bottom: 2px;"
	valign=top>
<p CLASS=CellDescrip
	style="text-align: left;"
	align=left>1. &quot;n&quot; allows you to define a safe distance from 
 the center of rotation.</p>
<p CLASS=CellDescrip
	style="text-align: left;"
	align=left>2. &quot;m&quot; allows you to define a safe distance above 
 the part.</p>
<p CLASS=CellDescrip
	style="text-align: left;"
	align=left>3. &quot; IPM&quot;, &quot;IPR&quot;, &quot;MMPM&quot;, 
 &quot;MMPR&quot; allows you to specify the units for the reengage feed 
 rate.</p>
<p CLASS=CellDescrip
	style="text-align: left;"
	align=left>4. &quot;f&quot; allows you to specify the feed rate at 
 which to reengage the part at the end of the repositioning move.</p>
<p CLASS=CellDescrip
	style="text-align: left;"
	align=left>5. &quot;OFF&quot; allows you to deactivate this safe repositioning 
 mode.</p>
<p CLASS=CellDescrip
	style="text-align: left; margin-bottom: 0;"
	align=left>&nbsp;</td></tr>

<tr>
<td style="x-cell-content-align: TOP;
			padding-left: 2px;
			padding-top: 2px;
			padding-right: 2px;
			padding-bottom: 2px;"
	valign=top>
<p CLASS=CellTopic
	style="text-align: left; margin-bottom: 0;"
	align=left><span style="font-weight: bold;">Considerations:</span></td>
<td style="x-cell-content-align: TOP;
			padding-left: 2px;
			padding-top: 2px;
			padding-right: 2px;
			padding-bottom: 2px;"
	valign=top>
<p CLASS=CellDescrip
	style="text-align: left;"
	align=left>1. Default distances, feed rates and text strings will be 
 set in the MDF.</p>
<p CLASS=CellDescrip
	style="text-align: left; margin-bottom: 0;"
	align=left>2. This command will override the default settings in the 
 MDF.</td></tr>
</table>

<p CLASS=Paragraph>&nbsp;</p>

<h5>ISO Command</h5>

<p CLASS=ListBulletTxt>None</p>

<h1>&nbsp;</h1>

<h1><a NAME=paired_mdf></a>SET/PAIRED MDF</h1>

<p CLASS=Paragraph>This option allows you to designate that the current 
 MDF is to be paired with another MDF. For instance, you can use this option 
 to switch between Mill and Lathe (or Punch and Laser, etc.) MDFs. This 
 is commonly used for Production centers having both Milling and Turning 
 operation in the same tool path.</p>

<p CLASS=Paragraph>You must specify a post command that will indicate to 
 the GPM that it should change to another mode (Mill to Lathe, etc..) (This 
 command causes the GPM to read in the other MDF in that mode.)</p>

<p CLASS=Paragraph>To specify <span style="font-weight: bold;">t</span>he 
 current MDF mode, use one of the following post commands: SET/MODE, MILL<span 
 style="font-weight: bold;">,</span> SET/MODE, TURN<span style="font-weight: bold;">, 
 </span>SET/MODE, PUNCH<span style="font-weight: bold;">,</span> SET/MODE, 
 LASER<span style="font-weight: bold;">, </span>SET/MODE, TORCH (or FLAME.)</p>

<p CLASS=Paragraph>You must select a SET/MODE command because the GPM uses 
 it to determine if that is the <span style="font-style: italic;">current</span> 
 mode. If not, it calls the paired MDF and switches modes.</p>

<p CLASS=Paragraph>For example, when using a Mill/Lathe Production Center 
 in the mill mode you can switch to the lathe mode by inserting a SET/MODE,TURN 
 command in the CLSF and the GPM will call the paired lathe MDF.</p>

<p CLASS=Paragraph>You might want to pair two mill MDFs. In such cases, 
 the first MDF is called with SET/MODE,MILL. Then use another mode such 
 as SET/MODE PUNCH for the second mill MDF - because there is no second 
 SET/MODE,MILL option.</p>

<p CLASS=Paragraph>Indicate whether the MDF is a Mill half of a production 
 center pair. If so, you are presented the sequence of menus to define 
 the production center milling parameters described in the section <span 
 style="font-weight: bold;"><a HREF="../gpm/gpm_mdfg_opts.html#prod_ctr">Production 
 Center</a></span>.</p>

<p CLASS=Paragraph>You are prompted to specify the name (with or without 
 the extension) of the paired MDF, which, in the absence of the path, should 
 reside in the current directory, the directory defined by the environment 
 variable UGII_MDF_DIR, or the directory defined by the environment variable 
 UGII_UTIL.</p>

<ul>
	
	<li class=kadov-P-CCaution><p CLASS=Caution><span style="font-weight: bold;">CAUTION:</span><span 
 style="font-weight: normal;"> </span>The number of characters used to 
 specify the paired MDF[A] name should not exceed 24.</p></li>
</ul>

<p CLASS=Paragraph>Then you can specify the M and G codes for SET/MODE, 
 MILL; SET/MODE,TURN; SET/MODE,PUNCH; SET/MODE,LASER; and SET/MODE,ARC. 
 These commands cause the GPM to output the M and G codes so that the machine 
 control changes mode.</p>

<h1>&nbsp;</h1>

<h1><a NAME=rotate></a>SET/ROTATE</h1>

<h5>&nbsp;</h5>

<h5>APT Command</h5>

<p CLASS=ListBulletTxt><span style="font-weight: bold; font-size: 10.0pt;">SET/ROTREF[,AAXIS,+_n][,BAXIS,+_n][CAXIS,+_n]</span></p>

<p CLASS=Paragraph>&nbsp;</p>

<!--(Table)=========================================================-->
<table x-use-null-cells
		wrapperparagraphselector=P.Paragraph
		style="border-spacing: 0px;"
		cellspacing=0>

<tr>
<td style="x-cell-content-align: TOP;
			padding-left: 2px;
			padding-top: 2px;
			padding-right: 2px;
			padding-bottom: 2px;"
	valign=top>
<p CLASS=CellTopic
	style="text-align: left; margin-bottom: 0;"
	align=left><span style="font-weight: bold;">Description:</span></td>
<td style="x-cell-content-align: TOP;
			padding-left: 2px;
			padding-top: 2px;
			padding-right: 2px;
			padding-bottom: 2px;"
	valign=top>
<p CLASS=CellDescrip
	style="text-align: left;"
	align=left>This command assigns the number of degrees to be added to 
 each rotary axis.</p>
<p CLASS=CellDescrip
	style="text-align: left; margin-bottom: 0;"
	align=left>&nbsp;</td></tr>

<tr>
<td NOWRAP
	style="x-cell-content-align: TOP;
			padding-left: 2px;
			padding-top: 2px;
			padding-right: 2px;
			padding-bottom: 2px;"
	valign=top>
<p CLASS=CellTopic
	style="text-align: left; margin-bottom: 0;"
	align=left>Parameter Definitions:</td>
<td style="x-cell-content-align: TOP;
			padding-left: 2px;
			padding-top: 2px;
			padding-right: 2px;
			padding-bottom: 2px;"
	valign=top>
<p CLASS=CellDescrip
	style="text-align: left; margin-bottom: 0;"
	align=left><img src="../graphics/app1fi85.gif"
					style="width: 510px;
							height: 46px;
							border-style: none;
							margin-top: 0px;
							margin-bottom: 0px;
							margin-left: 0px;
							margin-right: 0px;"
					width=510
					height=46
					border=0></td></tr>

<tr>
<td style="x-cell-content-align: TOP;
			padding-left: 2px;
			padding-top: 2px;
			padding-right: 2px;
			padding-bottom: 2px;"
	valign=top>
<p CLASS=CellTopic
	style="text-align: left;"
	align=left>&nbsp;</p>
<p CLASS=CellTopic
	style="text-align: left; margin-bottom: 0;"
	align=left><span style="font-weight: bold;">Considerations:</span></td>
<td style="x-cell-content-align: TOP;
			padding-left: 2px;
			padding-top: 2px;
			padding-right: 2px;
			padding-bottom: 2px;"
	valign=top>
<p CLASS=CellDescrip
	style="text-align: left;"
	align=left>&nbsp;</p>
<p CLASS=CellDescrip
	style="text-align: left;"
	align=left>1. To turn off SET/ROTREF, program n = 0 for the appropriate 
 axes.</p>
<p CLASS=CellDescrip
	style="text-align: left;"
	align=left>2. There are two major differences between this command 
 and ROTATE/----ROTREF.</p>
<p CLASS=CellDescrip
	style="text-align: left;"
	align=left>a. This command is modal whereas ROTATE/----ROTREF is not.</p>
<p CLASS=CellDescrip
	style="text-align: left; margin-bottom: 0;"
	align=left>b. This command specifies the number of degrees without 
 causing any rotation. The ROTATE/----ROTREF command will cause a rotation 
 of the specified number of degrees.</td></tr>
</table>

<p CLASS=Paragraph>&nbsp;</p>

<h5>ISO Command</h5>

<p CLASS=ListBulletTxt
	style="margin-bottom: 0;">None </p>

</body>

</html>
