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

<html>

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

<head>

<title>RETRCT</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=3573>
<meta name=layout-width content=694>
<meta name=date content="10 27, 2005 11:55:07 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>RETRCT</h1>

<p CLASS=Paragraph>This command allows you to specify whether an M code 
 causes tool retraction. Then you must specify the following:</p>

<p CLASS=ListBulletTxt>The M code for the full spindle retract. The tool 
 retracts at rapid traverse to specific clearance plane.</p>

<p CLASS=ListBulletTxt>The coordinates that the spindle retracts to. The 
 retract is usually a Z plane parallel and above the X and Y plane.</p>

<p CLASS=ListBulletTxt>The G code (if required) with the associated M code, 
 in order to retract.</p>

<h5>&nbsp;</h5>

<h5>APT Command</h5>

<p CLASS=Paragraph><img src="../graphics/app1fi116.gif"
						style="width: 510px;
								height: 75px;
								border-style: none;
								margin-top: 0px;
								margin-bottom: 0px;
								margin-left: 0px;
								margin-right: 0px;"
						width=510
						height=75
						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=CellDescrip
	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 generates code to retract the tool tip at rapid 
 traverse to a specified clearance plane.</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=CellDescrip
	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;+z&quot; defines a clearance plane parallel to 
 the XY plane, at a &quot;z&quot; distance from the part coordinate system 
 zero.</p>
<p CLASS=CellDescrip
	style="text-align: left;"
	align=left>2. &quot;+a,+b,+c,+d&quot; defines a clearance plane in 
 the canonical form. &quot;+a,+b,+c&quot; are the x,y and z components 
 of the unit vector perpendicular to the desired plane and in the direction 
 the plane is to be positioned from the part coordinate system zero. &quot;+d&quot; 
 is the distance from the part coordinate system zero to the plane. A canted 
 plane can be defined, but the plane cannot be parallel to the YZ or ZX 
 planes.</p>
<p CLASS=CellDescrip
	style="text-align: left;"
	align=left>3. &quot;ZAXIS,+z&quot; defines the machine Z machine coordinate 
 to which the tool is to be retracted.</p>
<p CLASS=CellDescrip
	style="text-align: left;"
	align=left>4. No parameters specified - the tool will position as specified 
 by the last RETRCT definition.</p>
<p CLASS=CellDescrip
	style="text-align: left;"
	align=left>5. &quot;QUILL&quot; or &quot;FULL&quot; generates an M 
 code or M and G code to automatically retract the spindle to its upper 
 limit.</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=CellDescrip
	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. RETRCT motions will always occur along the Z axis. In 
 the case of a canted plane definition, the tool will retract to the intersection 
 of the specified plane and the Z axis.</p>
<p CLASS=CellDescrip
	style="text-align: left;"
	align=left>2. RETRCT motion is calculated by the postprocessor. It 
 will not be reflected in the CL file.</p>
<p CLASS=CellDescrip
	style="text-align: left;"
	align=left>3. &quot;ZAXIS,+z&quot; is output without translation.</p>
<p CLASS=CellDescrip
	style="text-align: left;"
	align=left>4. The first RETRCT command or the CLRSRF command should 
 define a clearance plane. This plane will remain modal for subsequent 
 RETRCT commands until it is redefined. If no clearance plane has been 
 defined, RETRCT commands will use the FROM z coordinate.</p>
<p CLASS=CellDescrip
	style="text-align: left;"
	align=left>5. Defined clearance planes are not affected by rotation 
 of the part coordinate system as a result of tool axis vectors. They remain 
 aligned with the non-rotated part coordinate system.</p>
<p CLASS=CellDescrip
	style="text-align: left;"
	align=left>6. This command is not applicable to lathes.</p>
<p CLASS=CellDescrip
	style="text-align: left; margin-bottom: 0;"
	align=left>7. If you want to use the CLRSRF command, you must modify 
 the MDF to change status of CLRSRF from &quot;3 IGNORE&quot; to &quot;1 
 VALID&quot;. From the GENERATE MDF menu select &quot;11 MAJOR WORD VALIDATION&quot;. 
 An alphabetical list of the major words will appear. Select &quot;11 CLRSRF&quot;. 
 Then select &quot;1 VALID&quot;.</td></tr>
</table>

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

<h5>ISO Command</h5>

<p CLASS=ListBulletTxt><span style="font-weight: bold; font-size: 10.0pt;">RETRCT</span></p>

<h1>&nbsp;</h1>

<h1><a NAME=rewind></a>REWIND</h1>

<p CLASS=Paragraph>The REWIND option allows you to define the output for 
 the postprocessor command REWIND. When the GPM finds a REWIND command, 
 it outputs a summary containing the tape length, machine time, etc. in 
 addition to also outputting the END code (usually M02) or REWIND code 
 (usually M30) and any user specified output.</p>

<h5>&nbsp;</h5>

<h5>APT Command</h5>

<p CLASS=ListBulletTxt><span style="font-weight: bold; font-size: 10.0pt;">REWIND</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 performs the same functions as the END command 
 and also rewinds the tape to the first encountered rewind stop character. 
 Code will be output to cancel machine functions, inhibit the reader, and 
 initialize the postprocessor for another section of the part program if 
 the part program continues. On the listing device an end message will 
 be output which defines the machine time, tape length, and number of errors 
 and warnings for the previous section of the part program, and a tool 
 list which lists all tools in order used along with the machining time 
 for each tool. End-of-tape characters and a length of trailer will be 
 output as specified by MDF (Machine Data File).</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>None</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>When REWIND is the last command in a program (excluding 
 FINI), the postprocessor will output a tool list to the listing device 
 and the appropriate end-of-tape characters to the output device, if specified 
 by MDF. Otherwise, the postprocessor will assume that the part program 
 continues and will not output the tool list or end-of-tape characters, 
 but will reinitialize itself to all conditions assumed at program start.</td></tr>
</table>

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

<h5>ISO Command</h5>

<p CLASS=ListBulletTxt><span style="font-weight: bold; font-size: 10.0pt;">REWIND</span></p>

<h1>&nbsp;</h1>

<h1><a NAME=rewind_opts></a>REWIND - MDFG Options</h1>

<p CLASS=Paragraph>When you select REWIND, you have the following options:</p>

<p CLASS=ListBulletTxt>M-Code For REWIND</p>

<p CLASS=ListBulletTxt>M-Code For END</p>

<p CLASS=ListBulletTxt>End Of Tape or End Of File Characters</p>

<p CLASS=ListBulletTxt>End Message M Code Output</p>

<p>&nbsp;</p>

<h5>M - Code for Rewind</h5>

<p CLASS=Paragraph>You use this option to specify the M code output with 
 the REWIND command.</p>

<h5>&nbsp;</h5>

<h5>M - Code for End</h5>

<p CLASS=Paragraph>You use this option to specify the M code output with 
 the END command.</p>

<h5>&nbsp;</h5>

<h5>Are End - Of - Tape Characters Needed</h5>

<p CLASS=Paragraph>You use this option to specify the characters output 
 with the END or REWIND command. Your options are None, Rewind Stop code 
 with (or without) the End Of Block code and, you can also specify a user 
 defined sequence of codes.</p>

<p CLASS=Paragraph>When you specify Other you can:</p>

<p CLASS=ListBulletTxt>Define the character string and length for the ISO 
 and EIA</p>

<p CLASS=ListBulletTxt>Specify whether to output a sequence number and/or 
 End Of Block code with the End Of Tape characters.</p>

<h5>&nbsp;</h5>

<h5>End Message with Or Without M-Code</h5>

<p CLASS=Paragraph>You use this option to specify whether to output the 
 M Code with the END command. This allows you to have the End Of Tape summary 
 without also outputting an M code.</p>

<h1>&nbsp;</h1>

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

<p CLASS=Paragraph>This option allows you to specify the manner in which 
 the GPM translates the GOTO I, J, K vector into its rotary angles.</p>

<h5>&nbsp;</h5>

<h5>APT Command</h5>

<p CLASS=Paragraph><img src="../graphics/app1fi112.gif"
						style="width: 510px;
								height: 150px;
								border-style: none;
								margin-top: 0px;
								margin-bottom: 0px;
								margin-left: 0px;
								margin-right: 0px;"
						width=510
						height=150
						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 generates code to rotate table or head as defined 
 by the parameters defined in the Machine Data File being used when the 
 GPM is executed.</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;TABLE&quot;, &quot;AAXIS&quot;, &quot;BAXIS&quot; 
 or &quot;CAXIS&quot; define the axis to be rotated. &quot;TABLE&quot; 
 will always define the 4th axis.</p>
<p CLASS=CellDescrip
	style="text-align: left;"
	align=left>2. &quot;a&quot; or &quot;ATANGL,a&quot; specifies the absolute 
 angular position in degrees (measured counterclockwise around the table) 
 to which the table will position. &quot;a&quot; can be any number from 
 0 to 360 in .001 degree increments.</p>
<p CLASS=CellDescrip
	style="text-align: left;"
	align=left>3. &quot;INCR,+i&quot; specifies the incremental angle that 
 the table is to be rotated from its present position. &quot;i&quot; will 
 be algebraically added to the previous absolute angle to determine the 
 new absolute angle to which the table will rotate. &quot;i&quot; must 
 be from 0 to 360 in .001 degree increments.</p>
<p CLASS=CellDescrip
	style="text-align: left;"
	align=left>4. &quot;ABSOL,a&quot; specifies the absolute angular position 
 in degrees. &quot;a&quot; can be any number as long as it does not exceed 
 the defined minimum or maximum angle.</p>
<p CLASS=CellDescrip
	style="text-align: left;"
	align=left>5. &quot;CLW&quot; or &quot;CCLW&quot; define the desired 
 direction of table rotation. &quot;CLW&quot; and &quot;CCLW&quot; define 
 clockwise and counterclockwise rotation respectively. If this parameter 
 is not specified, the shortest direction of rotation will be used by the 
 postprocessor.</p>
<p CLASS=CellDescrip
	style="text-align: left;"
	align=left>6. &quot;COMBIN&quot; causes the rotary motion to be combined 
 with the next programmed motion.</p>
<p CLASS=CellDescrip
	style="text-align: left;"
	align=left>7. &quot;LARGE&quot; specifies the rotary positions that 
 require the larger move of the two equivalent rotary positions. (For 5 
 axis machine only).</p>
<p CLASS=CellDescrip
	style="text-align: left;"
	align=left>8. &quot;ROTREF&quot; will cause the postprocessor to add 
 the angle rotated to, to the current tool axis vector and all subsequent 
 tool axis vectors until the next ROTATE command.</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>&nbsp;<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. &quot;a&quot;, &quot;ATANGL&quot; and &quot;INCR&quot; 
 parameters define the desired angle. &quot;CLW&quot; and &quot;CCLW&quot; 
 define the direction that the table will rotate. If the direction parameter 
 is not programmed, the postprocessor will use the direction that would 
 rotate the table the shortest distance. For 180 degree rotation, without 
 the direction parameter, the postprocessor will assume CLW.</p>
<p CLASS=CellDescrip
	style="text-align: left;"
	align=left>2. If tool axis vectors are not used for rotational positioning, 
 ROTREF is meaningless.</p>
<p CLASS=CellDescrip
	style="text-align: left;"
	align=left>3. &quot;ROTREF&quot; has the same effect on the tool axis 
 vector whether programmed with ROTATE or with SET/ROTREF. The difference 
 is ROTATE/---ROTREF causes a ROTATION block to be output whereas SET/ROTREF 
 does not cause a ROTATION block to be output.</p>
<p CLASS=CellDescrip
	style="text-align: left; margin-bottom: 0;"
	align=left>4. A ROTATE command without ROTREF will cancel the effect 
 of ROTREF on subsequent tool axis vectors.</td></tr>
</table>

<h5>&nbsp;</h5>

<h5>ISO Command</h5>

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

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

<ul>
	
	<li class=kadov-P-CNote><p CLASS=Note><span style="font-weight: bold;">NOTE:</span><span 
 style="font-weight: normal;"> </span>See ROTATE/TABLE. </p></li>
</ul>

</body>

</html>
