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

<html>

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

<head>

<title>NDLOOP</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 11:53:58 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>NDLOOP</h1>

<h5>&nbsp;</h5>

<h5>APT Command</h5>

<p CLASS=ListBulletTxt><span style="font-weight: bold; font-size: 10.0pt;">NDLOOP/n[,REPEAT,r]</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 outputs the sequence number of the first block 
 of coding to be repeated.</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; is an arbitrary number to associate the 
 NDLOOP with the corresponding STLOOP as an aid to the programmer. GPM 
 does not match the numbers, but will give a format error if a number is 
 not programmed.</p>
<p CLASS=CellDescrip
	style="text-align: left;"
	align=left>2. &quot;REPEAT,r&quot; tells the control how many times 
 to repeat. If not programmed the loop will be processed once.</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. This command is useful only with controls that have this 
 type of repetitive programming capability.</p>
<p CLASS=CellDescrip
	style="text-align: left;"
	align=left>2. GPM outputs the NDLOOP codes in the format specified 
 under MACALL and REPEAT.</p>
<p CLASS=CellDescrip
	style="text-align: left;"
	align=left>3. The control will process the program from the sequence 
 number output to the current NDLOOP.</p>
<p CLASS=CellDescrip
	style="text-align: left;"
	align=left>4. GPM will always output the sequence number saved by the 
 last STLOOP command.</p>
<p CLASS=CellDescrip
	style="text-align: left; margin-left: 40px;"
	align=left>EXAMPLE:</p>
<p CLASS=CellDescrip
	style="text-align: left; margin-left: 80px;"
	align=left>STLOOP/1<br>
STLOOP/2<br>
STLOOP/3<br>
--<br>
--<br>
--<br>
NDLOOP/3<br>
--<br>
--<br>
NDLOOP/2<br>
--<br>
--<br>
NDLOOP/1</p>
<p CLASS=CellDescrip
	style="text-align: left;"
	align=left>Regardless of the value of &quot;n&quot; in STLOOP and NDLOOP, 
 they will be processed as shown by the example.</p>
<p CLASS=CellDescrip
	style="text-align: left; margin-bottom: 0;"
	align=left>5. Loop sequences that start inside another loop must end 
 inside that loop.</td></tr>
</table>

<h5>&nbsp;</h5>

<h5>ISO Command</h5>

<p CLASS=ListBulletTxt>None</p>

<h5>&nbsp;</h5>

<h5>APT Command</h5>

<p CLASS=Paragraph><img src="../graphics/app1fi140.gif"
						style="width: 510px;
								height: 168px;
								border-style: none;
								margin-top: 0px;
								margin-bottom: 0px;
								margin-left: 0px;
								margin-right: 0px;"
						width=510
						height=168
						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 designates the start and end of machining operations 
 for merging lathe MDFs. The OP/ command must appear after the SELECT/HEAD 
 command.</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; has two different meanings depending upon 
 the type of merging lathe defined in the MDF. If the control does the 
 merging &quot;n&quot; defines the synchronization code to be output. If 
 word address characters determine the head in use then &quot;n&quot; is 
 the hierarchy level number. The OP's are output in ascending order of 
 the &quot;n&quot; value. If merged output is wanted, two operations are 
 assigned the same &quot;n&quot; value. At the start of each operation 
 a message **** OP NUMBER &quot;n&quot; **** will be printed. Also, you 
 must use an OP/nnn larger than any previously used at the end of the .CLS 
 file to indicate the end of the file.</p>
<p CLASS=CellDescrip
	style="text-align: left;"
	align=left>2. &quot;MAIN&quot; designates that when this OP is merged, 
 this head or operation will be the primary head and will control all spindle 
 functions. This parameter is required for merging.</p>
<p CLASS=CellDescrip
	style="text-align: left;"
	align=left>3. &quot;RPM,t1,t2&quot; defines the maximum and minimum 
 RPM that will be allowed during CSS (constant surface speed) mode for 
 the secondary head. This check will only be done if control does not do 
 the merging.</p>
<p CLASS=CellDescrip
	style="text-align: left;"
	align=left>4. &quot;SFM,t1,t2&quot; or &quot;SMM,t1,t2&quot; defines 
 the maximum and minimum SFM or SMM that will be allowed during RPM mode 
 for the secondary head. This check will only be done if the control does 
 not do the merging.</p>
<p CLASS=CellDescrip
	style="text-align: left;"
	align=left>5. &quot;INCR,i&quot; defines the increment to be added 
 to successive synchronization codes.</p>
<p CLASS=CellDescrip
	style="text-align: left;"
	align=left>6. &quot;FRONT&quot;, &quot;REAR&quot;, &quot;RIGHT&quot;, 
 &quot;LEFT&quot;, &quot;SIDE&quot; or &quot;SADDLE&quot; if installed 
 or valid will cause a G or M code to be output to designate the following 
 sequence of output to be assigned to that head.</p>
<p CLASS=CellDescrip
	style="text-align: left;"
	align=left>7. &quot;NEXT[,n]&quot; will cause a synchronization code 
 to be output with the next block. If &quot;n&quot; is specified it will 
 be output, otherwise the value of &quot;INCR,i&quot; will be added to 
 the previous synchronization code.</p>
<p CLASS=CellDescrip
	style="text-align: left;"
	align=left>8. &quot;ON&quot; will cause a G or M code to be output 
 to turn on the merging mode.</p>
<p CLASS=CellDescrip
	style="text-align: left;"
	align=left>9. &quot;OFF&quot; will cause a G or M code to be output 
 to turn off the merging mode.</p>
<p CLASS=CellDescrip
	style="text-align: left;"
	align=left>10. &quot;ENABLE&quot; will activate synchronization codes, 
 if valid.</p>
<p CLASS=CellDescrip
	style="text-align: left;"
	align=left>11. &quot;CANCEL&quot; will deactivate synchronization codes.</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>GPM cannot postprocess correctly with more than 50 operations 
 per head or a total of more than 100 operations.</td></tr>
</table>

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

<h5>ISO Command</h5>

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

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

<h1>&nbsp;</h1>

<h1><a NAME=opskip></a>OPSKIP</h1>

<h5>&nbsp;</h5>

<h5>APT Command</h5>

<p CLASS=Paragraph><img src="../graphics/app1fi138.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="width: 100%; border-spacing: 0px;"
		cellspacing=0
		width=100%>

<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 controls the output of a slash (/) for the 
 BLOCK DELETE function of the controller. If the DELETE selector switch 
 is in the DELETE position, all blocks preceded by a slash will be ignored.</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; causes a slash (/) to be output in subsequent 
 blocks on the object (control) tape.</p>
<p CLASS=CellDescrip
	style="text-align: left;"
	align=left>2. &quot;OFF&quot; terminates the output of a slash (/) 
 in subsequent blocks on the object (control) tape.</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 postprocessor will assume OPSKIP/OFF as an initial condition 
 and following any illegal input for this command.</td></tr>
</table>

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

<h5>ISO Command</h5>

<p><img src="../graphics/app1fi137.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>

<p>&nbsp;</p>

<h1><a NAME=opstop></a>OPSTOP</h1>

<h5>&nbsp;</h5>

<h5>APT Command</h5>

<p CLASS=ListBulletTxt><span style="font-weight: bold; font-size: 10.0pt;">OPSTOP</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 statement generates an optional stop code. It causes 
 the machine tool to stop only when the optional stop selector on the console 
 is turned on.</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>It is the programmer's responsibility to restore the spindle 
 and coolant conditions after an OPSTOP.</td></tr>
</table>

<p>&nbsp;</p>

<h5>ISO Command</h5>

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

<h1>&nbsp;</h1>

<h1><a NAME=origin></a>ORIGIN</h1>

<h5>&nbsp;</h5>

<h5>APT Command</h5>

<p CLASS=ListBulletTxt><span style="font-weight: bold; font-size: 10.0pt;">ORIGIN/x,y,z</span></p>

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

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

<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 establishes the location of the machine reference 
 system zero point in relationship to the NX machine coordinate system 
 zero point.</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>&quot;x,y,z&quot; are the distance and direction from the 
 machine coordinate system zero point to the machine reference system zero 
 point in the machine coordinate system. The values are algebraically subtracted 
 from their correlating X,Y,Z dimensions of each input CL 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. For machines with a rotary axis, the machine reference 
 system zero point is the center of rotation. The SET/XAXIS... command 
 defines the relationship between the center of rotation and the machine 
 coordinate system zero point. For machines without a rotary axis, the 
 machine reference system zero point is coincident with the machine coordinate 
 system zero point, and the SET/AXIS... command does not apply.</p>
<p CLASS=CellDescrip
	style="text-align: left;"
	align=left>2. For lathes the command format is:</p>
<p CLASS=CellDescrip
	style="text-align: left;
			margin-left: 40px;
			margin-bottom: 0;"
	align=left>ORIGIN/c,d</td></tr>
</table>

<p CLASS=Image><img src="../graphics/app1fi40.gif"
					style="width: 502px;
							height: 667px;
							border-style: none;
							margin-top: 0px;
							margin-bottom: 0px;
							margin-left: 0px;
							margin-right: 0px;"
					width=502
					height=667
					border=0></p>

<p CLASS=Figure><span style="font-weight: bold;">Figure 1-7</span> Machine 
 Absolute and Floating Zeros</p>

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

<p CLASS=Image><img src="../graphics/app1fi39.gif"
					style="width: 502px;
							height: 375px;
							border-style: none;
							margin-top: 0px;
							margin-bottom: 0px;
							margin-left: 0px;
							margin-right: 0px;"
					width=502
					height=375
					border=0></p>

<p CLASS=Figure><span style="font-weight: bold;">Figure 1-8</span> Definition 
 of Origin Coordinates - Lathe</p>

<h5>&nbsp;</h5>

<h5>ISO Command</h5>

<p CLASS=ListBulletTxt
	style="margin-bottom: 0;"><span style="font-weight: bold; font-size: 10.0pt;">ORIGIN/x,y,z</span> 
 </p>

</body>

</html>
