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

<html>

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

<head>

<title>SET/SWITCH</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=0>
<meta name=layout-height content=0>
<meta name=layout-width content=0>
<meta name=date content="08 14, 2001 12:11:27 PM">


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

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



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

<style type="text/css">
<!--

body {
	background-image: url("../paper.gif");
	background-repeat: repeat;
	background-attachment: scroll;
}

-->
</style>


</head>

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


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


<h1>SET/SWITCH</h1>

<p CLASS=Paragraph>This command allows you to output code to initiate and 
 cancel fixture offsets.</p>

<h5>&nbsp;</h5>

<h5>APT Command</h5>

<p CLASS=Paragraph><img src="../graphics/app1fi84.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=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 outputs code to initiate and cancel offsets 
 to compensate for a fixture or a part.</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;n&quot; identifies a preset fixture offset switch.</p>
<p CLASS=CellDescrip
	style="text-align: left;"
	align=left>2. &quot;ON&quot; reinstates the last previously specified 
 offset switch. If no switch was previously specified, the postprocessor 
 will assume the default value.</p>
<p CLASS=CellDescrip
	style="text-align: left;"
	align=left>3. &quot;OFF&quot; cancels the offset switch currently in 
 effect.</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>Consider<span style="font-weight: bold;">ations:</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>Output for SET/SWITCH will be immediate unless MDF specifies 
 &quot;with Z motion&quot;.</td></tr>
</table>

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

<h5>ISO Command</h5>

<p CLASS=ListBulletTxt>None</p>

<h1>&nbsp;</h1>

<h1><a NAME=switch_opts></a>SET/SWITCH - MDFG Options</h1>

<p CLASS=Paragraph>First, you must specify the Word Address format for 
 the SWITCH codes. Then you have the following options:</p>

<p CLASS=ListBulletTxt><span style="font-weight: bold;">Maximum </span>and<span 
 style="font-weight: bold;"> Minimum Switch Number</span> - You can enter 
 maximum and minimum register numbers.</p>

<p CLASS=ListBulletTxt><span style="font-weight: bold;">Switch On Code</span> 
 - Enter the default value for SET/SWITCH,ON. Any subsequent output by 
 the GPM of SET/SWITCH,n becomes the SET/SWITCH,ON code.</p>

<p CLASS=ListBulletTxt><span style="font-weight: bold;">Switch Off Code</span> 
 - Enter the value for SET/SWITCH,OFF.</p>

<p CLASS=ListBulletTxt><span style="font-weight: bold;">Switch Code Held 
 For Motion</span> - This option toggles between YES and NO. YES causes 
 the GPM to output the switch code in the next block of motion. NO causes 
 the GPM to output the switch code immediately in a block by itself.</p>

<h1>&nbsp;</h1>

<h1><a NAME=tlaxis></a>SET/TLAXIS</h1>

<h5>&nbsp;</h5>

<h5>APT Command</h5>

<p CLASS=Paragraph><img src="../graphics/app1fi83.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=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 enables the processing of the tool axis vector 
 and output of defined auxiliary coordinate words.</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; enables the tool axis mode.</p>
<p CLASS=CellDescrip
	style="text-align: left;"
	align=left>2. &quot;OFF&quot; disables the tool axis 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>&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;SET/HEIGHT,h&quot; must be programmed before tool 
 axis vectors can be used to calculate auxiliary coordinates. The distance 
 between work plane and secondary plane is &quot;h&quot;.</p>
<p CLASS=CellDescrip
	style="text-align: left;"
	align=left>2. &quot;SET/TLAXIS,ON&quot; is the default.</p>
<p CLASS=CellDescrip
	style="text-align: left; margin-bottom: 0;"
	align=left>3. This command applies to 4 axis EDM only.</td></tr>
</table>

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

<h5>ISO Command</h5>

<p CLASS=ListBulletTxt>None</p>

<h1>&nbsp;</h1>

<h1><a NAME=set_tool></a>SET/TOOL</h1>

<h5>&nbsp;</h5>

<h5>APT Command</h5>

<p CLASS=Paragraph><img src="../graphics/app1fi82.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=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 specifies the mode for co-ordinate mapping 
 in a production center with polar co-ordinates.</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;NORMAL&quot; defines co-ordinate translation which 
 rotates the part so that the tool never crosses the centerline.</p>
<p CLASS=CellDescrip
	style="text-align: left;"
	align=left>2. &quot;THRU&quot; defines production center cross drilling. 
 When a 180 degree rotation would normally be output, the postprocessor 
 extends the linear co-ordinate through the center-line to position to 
 a point.</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. The command is not valid if the MDF machine type is not 
 a production center with the co-ordinate system mapped to radius and rotary 
 angle. The MDF must also allow the tool to cross the center line.</p>
<p CLASS=CellDescrip
	style="text-align: left; margin-bottom: 0;"
	align=left>2. SET/TOOL,NORMAL is the default option.</td></tr>
</table>

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

<h5>ISO Command</h5>

<p CLASS=ListBulletTxt>None</p>

<h1>&nbsp;</h1>

<h1><a NAME=set_tool2></a>SET/TOOL</h1>

<h5>&nbsp;</h5>

<h5>APT Command</h5>

<p CLASS=Paragraph><img src="../graphics/app1fi81.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=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 specifies the spindle axis for all following 
 motion CL points. It will affect work plane changes for rapid traverse 
 and all canned or simulated cycle operations.</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;XAXIS&quot; defines the tool or spindle axis to 
 be parallel to the machine X axis.</p>
<p CLASS=CellDescrip
	style="text-align: left;"
	align=left>2. &quot;YAXIS&quot; defines the tool or spindle axis to 
 be parallel to the machine Y axis.</p>
<p CLASS=CellDescrip
	style="text-align: left;"
	align=left>3. &quot;ZAXIS&quot; defines the tool or spindle axis to 
 be parallel to the machine Z axis.</p>
<p CLASS=CellDescrip
	style="text-align: left;"
	align=left>4. &quot;PLUS&quot; defines that the tool or spindle is 
 oriented along the positive X, Y, or Z axis. This mode will cause all 
 RAPTO, FEDTO, and RTRCTO values in canned or simulated cycles to be applied 
 in the positive direction. &quot;PLUS is the default orientation.</p>
<p CLASS=CellDescrip
	style="text-align: left;"
	align=left>5. &quot;MINUS&quot; defines that the tool or spindle is 
 oriented along the negative X, Y, or Z, axis. This mode will cause all 
 RAPTO, FEDTO, and RTRCTO values in canned or simulated cycles to be applied 
 in the negative direction.</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; margin-bottom: 0;"
	align=left>The axis selected must have been made valid by using the 
 MDFG program.</td></tr>
</table>

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

<h5>ISOCommand</h5>

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

</body>

</html>
