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

<html>

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

<head>

<title>TURRET</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=4650>
<meta name=layout-width content=694>
<meta name=date content="10 27, 2005 12:00:52 PM">


<!--(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>TURRET</h1>

<p CLASS=Paragraph>This command allows you to specify how the GPM outputs 
 code to control the lathe head, turret index, tool adjust, tool offsets, 
 and coordinate parameters.</p>

<h5>&nbsp;</h5>

<h5>APT Command</h5>

<p CLASS=Paragraph><img src="../graphics/app1fi56.gif"
						style="width: 510px;
								height: 172px;
								border-style: none;
								margin-top: 0px;
								margin-bottom: 0px;
								margin-left: 0px;
								margin-right: 0px;"
						width=510
						height=172
						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 select the turret and the 
 assignable offsets used.</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;FACE,n&quot; defines the turret position number 
 for the turret.</p>
<p CLASS=CellDescrip
	style="text-align: left;"
	align=left>2. &quot;ADJUST,a&quot; defines one of the offset switch 
 pairs that is output with the tool code. Zero (0) will output zeros to 
 cancel selectable tool offsets.</p>
<p CLASS=CellDescrip
	style="text-align: left;"
	align=left>3. &quot;ADJUST,ON&quot; will re-instate the last selected 
 offset register. If no offset register has been selected, the default 
 value will be output. If offset registers are not programmable, the &quot;ON&quot; 
 G code will be output.</p>
<p CLASS=CellDescrip
	style="text-align: left;"
	align=left>4. &quot;ADJUST,OFF&quot; will output code to cancel the 
 offsets.</p>
<p CLASS=CellDescrip
	style="text-align: left;"
	align=left>5. &quot;PLUS&quot; or &quot;MINUS&quot; will output appropriate 
 G code.</p>
<p CLASS=CellDescrip
	style="text-align: left;"
	align=left>6. &quot;XOFF,+c&quot; defines the signed distance from 
 the turret reference point to the tool tip along the machine Z axis (centerline).</p>
<p CLASS=CellDescrip
	style="text-align: left;"
	align=left>7. &quot;YOFF,+d&quot; defines the signed distance from 
 the turret reference point to the tool tip along the machine X-axis (diameter).</p>
<p CLASS=CellDescrip
	style="text-align: left;"
	align=left>8. &quot;ZOFF,+z&quot; defines the length in inches or millimeters 
 of the replacement tool. This command is only meaningful if production 
 center mode has been enabled in the MDF and mill mode is in effect.</p>
<p CLASS=CellDescrip
	style="text-align: left;"
	align=left>9. &quot;CLW&quot; and &quot;CCLW&quot; specify clockwise 
 and counterclockwise turret indexing, respectively. If this parameter 
 is not specified, the postprocessor will determine the direction of shortest 
 rotation.</p>
<p CLASS=CellDescrip
	style="text-align: left;"
	align=left>10. &quot;FRONT&quot;, &quot;REAR&quot;, &quot;SIDE&quot;, 
 and &quot;SADDLE&quot; define the turret to be used.</p>
<p CLASS=CellDescrip
	style="text-align: left;"
	align=left>11. &quot;TLANGL, a RADIUS,r is used to specify the location 
 of the &quot;imaginary tool tip&quot; relative to the center of the current 
 tool. TLANGL, a, RADIUS,r offsets the tool by &quot;r&quot; amount on 
 the 0,90,180,270 degree directions, and by r times the square root of 
 2 in the 45,135,225,315 degree directions. See Figure 1-10.</p>
<p CLASS=CellDescrip
	style="text-align: left;"
	align=left><img src="../graphics/app1fi55.gif"
					style="width: 450px;
							height: 375px;
							border-style: none;
							margin-top: 0px;
							margin-bottom: 0px;
							margin-left: 0px;
							margin-right: 0px;"
					width=450
					height=375
					border=0></p>
<p CLASS=CellDescrip
	style="text-align: left;"
	align=left><span style="font-weight: bold;">Figure 1-10</span> Examples 
 Parameter Definition 11</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. This command is applicable only to lathes.</p>
<p CLASS=CellDescrip
	style="text-align: left;"
	align=left>2. Unless explicitly stated otherwise in the parameter definitions, 
 any parameter not present in the input statement will be assumed to have 
 not changed from the previous input and will be used as a modal value. 
 At the startup, all numerical parameters are assumed to be zero except 
 for turret position number 1.</p>
<p CLASS=CellDescrip
	style="text-align: left;"
	align=left>3. A FROM is not output but should be given prior to the 
 first selected TURRET so the tool tip position can be determined. The 
 postprocessor will offset for subsequent turret changes when XOFF and 
 YOFF are programmed.</p>
<p CLASS=CellDescrip
	style="text-align: left;"
	align=left>4. &quot;XOFF&quot; and &quot;YOFF&quot; values are programmed 
 relative to the part coordinate system.</p>
<p CLASS=CellDescrip
	style="text-align: left;"
	align=left>5. The last TURRET indexed will be used with subsequent 
 motion.</p>
<p CLASS=CellDescrip
	style="text-align: left;"
	align=left>6. TLANGL 0 is in +X part coordinate direction. The angles 
 get bigger in the CCLW direction.</p>
<p CLASS=CellDescrip
	style="text-align: left;"
	align=left>7. The MDFG allows you to designate any valid vocabulary 
 word for the turret names.</p>
<p CLASS=CellDescrip
	style="text-align: left;"
	align=left><img src="../graphics/app1fi38.gif"
					style="width: 502px;
							height: 300px;
							border-style: none;
							margin-top: 0px;
							margin-bottom: 0px;
							margin-left: 0px;
							margin-right: 0px;"
					width=502
					height=300
					border=0></p>
<p CLASS=CellDescrip
	style="text-align: left; margin-bottom: 0;"
	align=left><span style="font-weight: bold;">Figure 1-11</span> Examples 
 of Tool Tip Reference Points</td></tr>
</table>

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

<h5>ISO Command</h5>

<p CLASS=Paragraph><img src="../graphics/app1fi54.gif"
						style="width: 510px;
								height: 97px;
								border-style: none;
								margin-top: 0px;
								margin-bottom: 0px;
								margin-left: 0px;
								margin-right: 0px;"
						width=510
						height=97
						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>Several of the TOOLNO and TURRET 
 parameters are identical. The values given for TURRET override the TOOLNO 
 stored values.</p></li>
	
	<li class=kadov-P-CNote><p CLASS=Note><span style="font-weight: bold;">NOTE:</span><span 
 style="font-weight: normal;"> </span>This command works in conjunction 
 with the TOOLNO command. The TOOLNO command stores the tool parameter 
 information (FACE, XOFF, YOFF, and ADJUST) that is activated by using 
 the corresponding TURRET number. For Example: TOOLNO/3 is activated by 
 TURRET/FACE,3.</p></li>
</ul>

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

<p CLASS=Paragraph><span style="font-weight: bold;"><span style="font-weight: bold;">Parameter 
 Definitions:</span></span></p>

<p CLASS=Paragraph>1. &quot;a&quot; is FACE,n. &quot;b&quot; is ADJUST,a. 
 &quot;c&quot; is XOFF,c. &quot;d&quot; is YOFF,d.</p>

<h1>&nbsp;</h1>

<h1><a NAME=turret_opts></a>TURRET - MDFG Options</h1>

<p CLASS=Paragraph>After you select TURRET you have the following choices:</p>

<ul>
	
	<li class=kadov-p-CListBullet><p CLASS=ListBullet><span style="font-weight: bold;">Heads</span></p></li>
	
	<li class=kadov-p-CListBullet><p CLASS=ListBullet><span style="font-weight: bold;">Adjust</span></p></li>
	
	<li class=kadov-p-CListBullet><p CLASS=ListBullet><span style="font-weight: bold;">Turret 
 Miscellaneous</span></p></li>
</ul>

<h5>&nbsp;</h5>

<h5>Heads</h5>

<p CLASS=Paragraph>You can specify either one or two heads. In either case, 
 you must specify the Word Address format for the tool code.</p>

<p CLASS=Paragraph>When you specify one head, you select one head you have 
 the following choices:</p>

<p CLASS=ListBulletTxt><span style="font-weight: bold;">Maximum </span>and 
 <span style="font-weight: bold;">Minimum Face Number</span> - Enter the 
 maximum and minimum turret face positions.</p>

<p CLASS=Paragraph>When you specify two heads, you have the following choices:</p>

<p CLASS=ListBulletTxt><span style="font-weight: bold;">Max Face Number 
 Independent Head</span> - Enter the maximum turret face positions for 
 independent head.</p>

<p CLASS=ListBulletTxt><span style="font-weight: bold;">Min Face Number 
 Independent Head</span> -Enter the minimum turret face positions for independent 
 head.</p>

<p CLASS=ListBulletTxt><span style="font-weight: bold;">Max Face Number 
 Dependent Head</span> - Enter the maximum turret face positions for dependent 
 head.</p>

<p CLASS=ListBulletTxt><span style="font-weight: bold;">Min Face Number 
 Dependent Head</span> - Enter the minimum turret face positions for dependent 
 head.</p>

<p CLASS=ListBulletTxt><span style="font-weight: bold;">Name Of Dependent</span> 
 Or <span style="font-weight: bold;">Independent Head</span> - Enter the 
 name as either FRONT, REAR, SIDE, SADDLE, RIGHT, Left, or OTHER (and define 
 your own.) When you select OTHER, you must enter a Vocabulary Word and 
 enter the value which represents the integer word code.</p>

<p CLASS=ListBulletTxt><span style="font-weight: bold;">Two Turret Lathe 
 Head Control</span> - You can specify whether the two heads are a fixed 
 distance apart and have one tracking point, or whether they are controlled 
 independent and are merging.</p>

<p CLASS=ListBulletTxt><span style="font-weight: bold;">X</span> and <span 
 style="font-weight: bold;">Y Distance To Dependent Head </span>- Enter 
 the distance from the independent to dependent head. These are only selectable 
 if you select non-merging heads. The GPM adds this distance to every dependent 
 head Goto point.</p>

<p CLASS=ListBulletTxt><span style="font-weight: bold;">Reverse Circular 
 G Codes For Dependent Head</span> - You can specify whether GPM should 
 switch G02 to G03 and G03 to G02.</p>

<p CLASS=ListBulletTxt><span style="font-weight: bold;">Mirror Cl Data 
 About Z Axis For Dependent Head </span>- You can specify whether GPM should 
 mirror (X coordinates) about Z.</p>

<h5>&nbsp;</h5>

<h5>Adjust</h5>

<p CLASS=Paragraph>Refer to the ADJUST section of the command LOAD for 
 a description of this option.</p>

<h5>&nbsp;</h5>

<h5>Turret Miscellaneous</h5>

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

<p CLASS=Paragraph><span style="font-weight: bold;">Indexing Direction</span> 
 - You can specify the following Turret Index Direction parameters:</p>

<p CLASS=ListBulletTxt><span style="font-weight: bold;">Is Index Direction 
 Tape Controlled</span> - This option allows you to specify whether or 
 not the indexing direction is controlled by the tape input or by the operator/machine 
 tool. If you specify No, then you cannot specify any other indexing parameters.</p>

<p CLASS=ListBulletTxt><span style="font-weight: bold;">Does Sign </span>(or 
 <span style="font-weight: bold;">M Code</span>) <span style="font-weight: bold;">Control 
 Index Direction </span>- This option allows you to specify whether the 
 index direction is controlled by a plus or minus sign or by M codes. You 
 cannot specify both.</p>

<p CLASS=ListBulletTxt>When you select <span style="font-weight: bold;">Sign</span> 
 then you must indicate whether a + or a - determines clockwise rotation. 
 This determines the codes for indexing and you cannot specify M codes.</p>

<p CLASS=ListBulletTxt>When you select <span style="font-weight: bold;">M 
 code</span> then you can specify an M codes for clockwise or counter-clockwise 
 index for the independent or dependent head.</p>

<p CLASS=ListBulletTxt><span style="font-weight: bold;">Output Index Direction 
 M Code Before The Face Code</span> - You can specify whether GPM should 
 output the direction M code before the Face (T) code.</p>

<p CLASS=Paragraph><span style="font-weight: bold;">Indexing Time Factors</span> 
 - You can specify the time (in minutes) that the GPM adds to the current 
 machine time for changing heads, indexing to the first face, and indexing 
 to each additional face.</p>

<p CLASS=Paragraph><span style="font-weight: bold;">Coordinate Output Considerations</span> 
 - You have the following options for specifying lathe output coordinates:</p>

<p CLASS=ListBulletTxt><span style="font-weight: bold;">The Output Coordinates 
 Track - </span>There are two methods for determining lathe output coordinates. 
 They toggle between TURRET REFERENCE and TOOL TIP. The tool length offsets 
 are the distances from the turret reference point to the tool tip. They 
 are specified as XOFF and YOFF in the TURRET command.</p>

<p CLASS=ListBulletTxt>Tracking <span style="font-weight: bold;">Turret 
 Reference Point</span> -<span style="font-weight: bold;"> </span>This 
 method adds the tool length offsets to each Goto.</p>

<p CLASS=ListBulletTxt>Tracking <span style="font-weight: bold;">Tool Tip</span> 
 (center of Tool Nose) - This method outputs a Reset (G92) block to establish 
 new tool offsets. The tool offsets are applied only at the reset block. 
 When the TURRET command is used, the tool is assumed to be at its home 
 position.</p>

<p CLASS=ListBulletTxt
	style="margin-left: 80px;">The G92 block =</p>

<p CLASS=ListBulletTxt
	style="margin-left: 80px;">the present coordinates:</p>

<p CLASS=ListBulletTxt
	style="margin-left: 80px;">- the previous tool offsets</p>

<p CLASS=ListBulletTxt
	style="margin-left: 80px;">+ the new tool offsets</p>

<p CLASS=ListBulletTxt><span style="font-weight: bold;">The Initial From 
 Point Represents - </span>This defines the FROM position. This is used 
 for the first tool change. This position is used as the present coordinates 
 (in the previous equation) when tracking Tool Tip. This toggles between 
 TOOL TIP and TURRET REFERENCE.</p>

<p CLASS=ListBulletTxt><span style="font-weight: bold;">Apply Tlangl,a,Radius,r 
 To The Output Coordinates - </span>This allows you to specify whether 
 the offset determined by<span style="font-weight: bold;"> TLANGL,a,RADIUS,r</span> 
 should be added to the output coordinates.</p>

<p CLASS=ListBulletTxt><span style="font-weight: bold;">Output Reset Coordinates 
 With The Turret Data - </span>This allows you to specify whether a Reset 
 block is output. This prevents the G92 block from being output when you 
 use the Tool Tip method.</p>

<p CLASS=ListBulletTxt><span style="font-weight: bold;">Apply Atangl,a,Radius,r, 
 To The Reset Coordinate - </span>This option allows you to specify whether 
 the offset determined by<span style="font-weight: bold;"> TLANGL,a,RADIUS,r 
 </span>should be added to the coordinates in the Reset block. If you do 
 not use a Reset block, you cannot use this option.</p>

<h5>&nbsp;</h5>

<h5>Considerations</h5>

<p CLASS=Paragraph>Two Minor Words are used to define the imaginary tool 
 tip in the turret command. RADIUS is used to define the tool nose radius. 
 TLANGL is used to specify the direction that the tool points, which determines 
 whether the RADIUS is to be added to or subtracted from the incoming CLSF 
 point. Starting with zero degrees in the positive X direction in the part 
 coordinate system and going counter-clockwise in forty-five degree increments, 
 the possible values for TLANGL are 0, 45, 90, 135, 180, 225, 270, and 
 315.</p>

<p CLASS=Paragraph>All incoming CLSF coordinates are transformed in X and 
 Y by the length of the tool nose radius. The signs for the X and Y components 
 of the radius are determined by the programmed tool angle. The points 
 that are output are the actual points on the part (the same as would appear 
 in the CLSF if the cutter diameter were zero.)</p>

<p CLASS=Paragraph>When tracking is based on the imaginary tool tip, you 
 can program tool length offsets specifying the distance from the turret 
 reference point to the tool tip (center of the tool nose, not the imaginary 
 tool tip) as XOFF and YOFF in addition to the tool angle and tool nose 
 radius. In this case, the XOFF and YOFF are applied in a reset (G92) block 
 as described above, and the tool nose radius is used to transform the 
 CLSF coordinates.</p>

<p CLASS=Paragraph><span style="font-weight: bold;">Does T Code Require 
 A Dwell? </span>This option allows you to specify whether the GPM outputs 
 a DWELL with the T code output for the turret requires a machine tool 
 dwell.</p>

<p CLASS=Paragraph><span style="font-weight: bold;">Does Turret Indexing 
 Require An M Code? - </span>This option allows you to specify an M code 
 for turret indexing.</p>

<p CLASS=Paragraph><span style="font-weight: bold;">Does Turret Indexing 
 Require A G Code? - </span>This option allows you to specify a G code 
 for turret indexing.</p>

<p CLASS=Paragraph><span style="font-weight: bold;">Should Turret Force 
 Alignment Block?</span> - If you choose this option you have the following 
 choices:</p>

<p CLASS=ListBulletTxt><span style="font-weight: bold;">Current Position 
 In Tool Change Block - </span>toggles between YES and NO. YES causes the 
 GPM to output the current Goto point position in the alignment block which 
 follows the TURRET command.</p>

<p CLASS=ListBulletTxt><span style="font-weight: bold;">Turret Direction 
 M Code</span> - toggles between YES and NO. YES causes the GPM to output 
 the Turret direction M code in the alignment block which follows the TURRET 
 command.</p>

<p CLASS=ListBulletTxt><span style="font-weight: bold;">Absol/Incr Mode 
 G Code - </span>Toggles between YES and NO. YES causes the GPM to output 
 the G Code for the current coordinate mode (absolute or incremental) in 
 the alignment block. NO suppresses output.</p>

<p CLASS=ListBulletTxt><span style="font-weight: bold;">Spindl Speed &amp; 
 Direction Codes If On - </span>Toggles in between YES and NO. YES causes 
 the GPM to output the SPINDL speed and direction if the SPINDL is on. 
 NO suppresses output.</p>

<p CLASS=ListBulletTxt><span style="font-weight: bold;">Cutter Compensation 
 Code - </span>Toggles in between YES and NO. YES causes the GPM to output 
 the code for cutter compensation G code. NO suppresses output.</p>

<p CLASS=ListBulletTxt><span style="font-weight: bold;">Feed Rate Mode 
 G Code - </span>Toggles between YES and NO. YES causes the GPM to output 
 the G Code for the current feed rate mode in the alignment block. NO suppresses 
 output.</p>

<p CLASS=ListBulletTxt><span style="font-weight: bold;">Motion G Code - 
 </span>Toggles between YES and NO. YES causes the GPM to output the current 
 motion G code in the alignment block. NO suppress output.</p>

<p CLASS=ListBulletTxt><span style="font-weight: bold;">Coordinates Of 
 - </span>Toggles between NEXT GOTO POINT or CURRENT POSITION. Next Goto 
 Point causes the GPM to output the values in the next Goto point in the 
 current alignment block. Current Position causes the GPM to output the 
 coordinates of the current position in the alignment block.</p>

<p CLASS=ListBulletTxt><span style="font-weight: bold;">Current Feed Rate 
 - </span>Toggles between YES and NO. YES causes the GPM to output the 
 current feed rate in the alignment block. NO suppresses the feed rate 
 output.</p>

<p CLASS=ListBulletTxt><span style="font-weight: bold;">Coolnt Code If 
 Coolnt On - </span>Toggles between YES and NO. Yes causes the GPM to output 
 the current COOLNT command if the COOLNT is on. NO suppresses output.</p>

<p CLASS=ListBulletTxt
	style="margin-bottom: 0;"><span style="font-weight: bold;">Usercm</span> 
 - Toggles between YES and NO. Yes allows you to specify which of the usercm 
 output buffers are output by the GPM during the TURRET alignment block. 
 </p>

</body>

</html>
