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

<html>

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

<head>

<title>XLATOR</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=2718>
<meta name=layout-width content=655>
<meta name=date content="03 25, 2004 2:06:43 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>XLATOR</h1>

<p CLASS=Paragraph><span style="font-weight: bold;">XLATOR</span> is designed 
 to function in conjunction with a specially configured Remex paper tape 
 reader/punch.</p>

<p CLASS=Paragraph>The <span style="font-weight: bold;">XLATOR</span> program 
 performs two basic functions:</p>

<ul>
	
	<li class=kadov-p-CListBullet><p CLASS=ListBullet>It punches Numerical 
 Control tape files generated by and stored in the GPM.</p></li>
	
	<li class=kadov-p-CListBullet><p CLASS=ListBullet>It reads NC tapes 
 from a paper tape reader and stores the information in a punch file.</p></li>
</ul>

<p CLASS=Paragraph>This allows you to edit the stored file. You can then 
 punch the paper tape.</p>

<p>&nbsp;</p>

<h5>Editing the Punch File</h5>

<p CLASS=Paragraph>The GPM punch file is stored as an ASCII text file until 
 sent to the paper tape punch. This file accepts the full set of ASCII 
 characters. The unprintable characters can be used by enclosing the octal 
 value of the unprintable character within angle brackets.</p>

<p CLASS=Paragraph>The punch file can be edited in the same manner as any 
 text file.</p>

<p>&nbsp;</p>

<h5>XLATOR File Formats</h5>

<p CLASS=Paragraph><span style="font-weight: bold;">Intermediate ASCII 
 format file</span> - An intermediate ASCII formatted file is created which 
 represents an EIA, ISO, or 7 BIT MCD tape format. This intermediate file 
 is used as a storage medium for paper tape representations and can be 
 edited as an ASCII file.</p>

<p CLASS=Paragraph>There are several ways this file can be created:</p>

<ul>
	
	<li class=kadov-p-CListBullet><p CLASS=ListBullet>Generated by the 
 GPM</p></li>
	
	<li class=kadov-p-CListBullet><p CLASS=ListBullet>Read in from the 
 paper tape reader through XLATOR</p></li>
</ul>

<p CLASS=Paragraph><span style="font-weight: bold;">EIA Machine Control 
 Data (MCD) format</span> - Through the XLATOR the ASCII file can be translated 
 to EIA format. This data then exists as an NC tape EIA MCD image. EIA 
 MCD image has an odd number of bits. The image can be stored as a binary 
 file or it can be output directly to the paper tape punch. The binary 
 file cannot be edited.</p>

<p CLASS=Paragraph><span style="font-weight: bold;">ISO MCD format</span> 
 - Through the XLATOR the ASCII file can be translated to an NC tape ISO 
 MCD image. ISO MCD image has an even number of bits. The image can be 
 stored as a binary file or output to the paper and tape punch. The binary 
 file cannot be edited.</p>

<p CLASS=Paragraph><span style="font-weight: bold;">7-BIT MCD format </span>- 
 Through the XLATOR the ASCII file can be translated to a 7-Bit ASCII MCD 
 image and stored in a binary file or it can be sent directly to the punch 
 or some DNC file.</p>

<p>&nbsp;</p>

<h5>XLATOR Punch and Reader Structure for VS</h5>

<p CLASS=Paragraph>Since every system can have their punch and reader connected 
 in different ways the translator uses specific queues to the devices. 
 The punch queue is 'PTP' and the user must have created this as a link 
 to the actual punch. For the reader the queue is 'TAPEIN' and this must 
 be linked to the reader. These links are created during installation. 
 To punch, the queue must be started with the following commands.</p>

<p CLASS=Paragraph>CONTROL @EXEC START PTP @CONXX</p>

<p CLASS=Paragraph>CONTROL @EXEC PRI/PRE @CONXX 1</p>

<p CLASS=Paragraph>CONTROL @EXEC CONTINUE @CONXX</p>

<p CLASS=Paragraph>The TERM and PUNCH buttons on the REMEX paper tape controller 
 should be depressed for punching. The user can now punch but cannot read. 
 To read, the punch queue must be stopped.</p>

<p CLASS=Paragraph>CONTROL @EXEC STOP @CONXX</p>

<p CLASS=Paragraph>On the REMEX the TERM, REMOTE and READ buttons must 
 be depressed. If the tape does not start to read when the XLATOR read 
 command is given then momentarily take the remote button off and then 
 depress again. The tape should start to read. To punch after reading start 
 the punch queue again.</p>

<p>&nbsp;</p>

<h5>XLATOR Execution</h5>

<p CLASS=Paragraph><span style="font-weight: bold;">UNIX</span> - There 
 are three ways in which XLATOR can be called in the UNIX operating system. 
 The file name can be typed to call XLATOR with interactive logon. The 
 second method is to create a macro with these switches which can include 
 input from a file. Finally, the file name can be substituted in place 
 of the GPM name in the NX postprocessor menu.</p>

<p CLASS=Paragraph>Macros - Create input file name: punch.txt</p>

<!--(Table)=========================================================-->
<table x-use-null-cells
		wrapperparagraphselector=P.Paragraph
		style="x-border-left: 1px table-solid;
				x-border-top: 1px table-solid;
				x-border-right: 1px table-solid;
				x-border-bottom: 1px table-solid;
				border-collapse: separate;
				border-spacing: 0px;"
		cellspacing=0
		border=1>

<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>1</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>:comment Option 1 - Punch a tape</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>name.ptp</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>;comment filename<br>
;comment In case file doesn't exist</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>8</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>;comment Option 8 - Exit XLATOR</td></tr>
</table>

<p CLASS=Paragraph>Create file to run xlator using punch.txt for input 
 tape: xlator - &lt;punch.txt</p>

<h5>&nbsp;</h5>

<h5>XLATOR Menus</h5>

<p CLASS=Paragraph>The user is presented with a series of questions outlining 
 each function of the translator. At this point you can also exit. Below 
 is an example of the XLATOR menu questions:</p>

<p CLASS=Paragraph><span style="font-weight: bold;">PUNCH a EIA or ISO 
 MCD* text file</span><span style="font-weight: bold;"><br>
CONVERT a EIA or ISO MCD* text file to a mcd* binary file</span><span style="font-weight: bold;"><br>
PUNCH A 7-BIT MCD* text file</span><span style="font-weight: bold;"><br>
CONVERT A 7-BIT MCD* text file to a binary file</span><span style="font-weight: bold;"><br>
READ IN A EIA, ISO, or 7-BIT MCD* tape to a text file</span><span style="font-weight: bold;"><br>
CONVERT A EIA, ISO, or 7-BIT MCD* binary file to a text file</span><span 
 style="font-weight: bold;"><br>
VERIFY A EIA, ISO, or 7-BIT MCD* tape against a text file</span><span style="font-weight: bold;"><br>
EXIT from XLATOR</span></p>

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

<p CLASS=Paragraph>MCD* = Machine Control Data (EIA, ISO, or 7-BIT FORMAT)<br>
&quot;binary refers to the punched tape image&quot;</p>

<p CLASS=ListBulletTxt>MCD* = Machine Control Data<br>
&quot;binary&quot; refers to the punched tape image</p>

<p CLASS=Paragraph>For selections <span style="font-weight: bold;">Punch 
 A EIA Or ISO MCD* Text File</span> or <span style="font-weight: bold;">Punch 
 A 7-bit MCD* Text File, </span>you are asked for the name of the input 
 text file.</p>

<p CLASS=Paragraph>For selections <span style="font-weight: bold;">Convert 
 A EIA Or ISO MCD* Text File To A MCD* Binary File</span> or <span style="font-weight: bold;">Convert 
 A 7-bit MCD* Text File To A Binary File,</span> you are asked for the 
 names of the input text and the MCD output file.</p>

<p CLASS=Paragraph>For selection <span style="font-weight: bold;">Read 
 In A EIA, ISO, Or 7-bit MCD* Tape To A Text File,</span> you are asked 
 for the type of MCD input format and the name of the output text file.</p>

<p CLASS=Paragraph>For selection <span style="font-weight: bold;">Convert 
 A EIA, ISO, Or 7-bit MCD* Binary File To A Text File,</span> you are asked 
 the MCD input file name, the type of MCD input format, and output text 
 file name.</p>

<p CLASS=Paragraph>The XLATOR identifies the type of MCD code when it reads 
 the TEXT file. When reading from the paper or tape reader or converting 
 a MCD file you have to specify the type of MCD code.</p>

<p CLASS=Paragraph>For selection <span style="font-weight: bold;">Verify 
 A EIA, ISO, Or 7-bit MCD* Tape Against A Text File,</span> you are asked 
 for the type of MCD input format and the name of the input text file to 
 compare against.</p>

<p CLASS=Paragraph>The MCD input format for the tape parity and END OF 
 BLOCK code is chosen by the use of the following three menus. The first 
 menu appears for selections 5, 6, and 7 of the XLATOR main menu. It also 
 appears for punching if XLATOR cannot find the standard END OF BLOCK codes 
 to determine parity.</p>

<p CLASS=ListBulletTxt><span style="font-weight: bold;"><font style="font-family: 'Swiss 721 SWA';"><span 
 style="font-size: 10.0pt;">PUNCH OUTPUT CODE PARITY FORMAT</span></font></span><span 
 style="font-weight: bold;"><font style="font-family: 'Swiss 721 SWA';"><span 
 style="font-size: 10.0pt;"><br>
EIA (ODD PARITY PUNCHES)</span></font></span><span style="font-weight: bold;"><font 
 style="font-family: 'Swiss 721 SWA';"><span style="font-size: 10.0pt;"><br>
ISO (EVEN PARITY PUNCHES)</span></font></span><span style="font-weight: bold;"><font 
 style="font-family: 'Swiss 721 SWA';"><span style="font-size: 10.0pt;"><br>
7-BIT ASCII MCD</span></font></span></p>

<p CLASS=Paragraph>The second menu appears <span style="font-weight: bold;">ISO</span> 
 is selected above.</p>

<p CLASS=ListBulletTxt><span style="font-weight: bold;"><font style="font-family: 'Swiss 721 SWA';"><span 
 style="font-size: 10.0pt;">PUNCH END-OF-BLOCK CODE FORMAT</span></font></span><span 
 style="font-weight: bold;"><font style="font-family: 'Swiss 721 SWA';"><span 
 style="font-size: 10.0pt;"><br>
ISO, CR ONLY</span></font></span><span style="font-weight: bold;"><font 
 style="font-family: 'Swiss 721 SWA';"><span style="font-size: 10.0pt;"><br>
ISO, LF ONLY</span></font></span><span style="font-weight: bold;"><font 
 style="font-family: 'Swiss 721 SWA';"><span style="font-size: 10.0pt;"><br>
ISO, CR,LF</span></font></span><span style="font-weight: bold;"><font style="font-family: 'Swiss 721 SWA';"><span 
 style="font-size: 10.0pt;"><br>
ISO, LF,CR,CR</span></font></span><span style="font-weight: bold;"><font 
 style="font-family: 'Swiss 721 SWA';"><span style="font-size: 10.0pt;"><br>
ISO, $</span></font></span><span style="font-weight: bold;"><font style="font-family: 'Swiss 721 SWA';"><span 
 style="font-size: 10.0pt;"><br>
ISO, *</span></font></span><span style="font-weight: bold;"><font style="font-family: 'Swiss 721 SWA';"><span 
 style="font-size: 10.0pt;"><br>
ISO, USER DEFINED</span></font></span></p>

<p CLASS=Paragraph>The third menu appears if <span style="font-weight: bold;">EIA</span> 
 of the first menu is selected.</p>

<p CLASS=ListBulletTxt><span style="font-weight: bold;"><font style="font-family: 'Swiss 721 SWA';"><span 
 style="font-size: 10.0pt;">PUNCH END-OF-BLOCK CODE FORMAT</span></font></span><span 
 style="font-weight: bold;"><font style="font-family: 'Swiss 721 SWA';"><span 
 style="font-size: 10.0pt;"><br>
EIA, &lt;EOB&gt;</span></font></span><span style="font-weight: bold;"><font 
 style="font-family: 'Swiss 721 SWA';"><span style="font-size: 10.0pt;"><br>
EIA, $</span></font></span><span style="font-weight: bold;"><font style="font-family: 'Swiss 721 SWA';"><span 
 style="font-size: 10.0pt;"><br>
EIA, *</span></font></span><span style="font-weight: bold;"><font style="font-family: 'Swiss 721 SWA';"><span 
 style="font-size: 10.0pt;"><br>
EIA, USER DEFINED</span></font></span></p>

<p CLASS=Paragraph>If a <span style="font-weight: bold;">User Defined</span> 
 end of block code is selected, these menus come up. The desired code is 
 typed in for entry 1. Non-printable characters are represented by octal 
 numbers in angle brackets: &lt;000&gt; is a null code, &lt;128&gt; is 
 the &lt;EOB&gt;. The length of the character string that represents the 
 END OF BLOCK code is typed for <span style="font-weight: bold;">EIA, $</span>. 
 Any string of characters within brackets is translated to a single punch 
 code on a punched tape.</p>

<p CLASS=ListBulletTxt><span style="font-weight: bold;"><font style="font-family: 'Swiss 721 SWA';"><span 
 style="font-size: 10.0pt;">USER DEFINED END-OF-BLOCK</span></font></span><span 
 style="font-weight: bold;"><font style="font-family: 'Swiss 721 SWA';"><span 
 style="font-size: 10.0pt;"><br>
USER DEFINED END-OF-BLOCK CHARACTER STRING</span></font></span></p>

<p>&nbsp;</p>

<p CLASS=ListBulletTxt><span style="font-weight: bold;"><font style="font-family: 'Swiss 721 SWA';"><span 
 style="font-size: 10.0pt;">LENGTH OF USR END-OF-BLOCK CHARACTER-STRING</span></font></span><span 
 style="font-weight: bold;"><font style="font-family: 'Swiss 721 SWA';"><span 
 style="font-size: 10.0pt;"><br>
ENTRY COMPLETE</span></font></span></p>

<p CLASS=ListBulletTxt><span style="font-weight: bold;"><font style="font-family: 'Swiss 721 SWA';"><span 
 style="font-size: 10.0pt;">DEFINE THE CHARACTER STRING FOR USER DEFINED 
 END-OF-BLOCK CODE. SPECIFY UNPRINTABLE CHARACTERS BY ENCLOSING THEIR 3-DIGIT 
 OCTAL VALUE IN ANGLE BRACKETS (EXAMPLE: ESCAPE = &lt;033&gt;).</span></font></span></p>

<p CLASS=ListBulletTxt><span style="font-weight: bold;"><font style="font-family: 'Swiss 721 SWA';"><span 
 style="font-size: 10.0pt;">ENTER CHARACTER VALUE:</span></font></span></p>

<p CLASS=Paragraph>If selection 2 was made above, this menu appears:</p>

<p CLASS=ListBulletTxt><span style="font-weight: bold;"><font style="font-family: 'Swiss 721 SWA';"><span 
 style="font-size: 10.0pt;">SPECIFY THE LENGTH OF THE USR END-OF-BLOCK 
 CHARACTER STRING (LENGTH = NUMBER OF CHARACTERS. EXAMPLE: LENGTH OF &lt;033&gt; 
 = 5).</span></font></span><span style="font-weight: bold;"><font style="font-family: 'Swiss 721 SWA';"><span 
 style="font-size: 10.0pt;"><br>
ENTER NUMERIC VALUE:</span></font></span></p>

<p CLASS=Paragraph
	style="margin-bottom: 0;">When the verify function is executed, the 
 tape is read into a temporary file and compared with the designated TEXT 
 file. The program returns the message &quot;tape verifies&quot; if there 
 are no discrepancies in the MCD blocks that are compared. It also outputs 
 the number of blocks that are compared. LEADER and PARTNO characters before 
 the first MCD block are ignored. If XLATOR finds discrepancies in the 
 comparison, the program outputs the number of blocks that have been processed 
 before the difference is encountered and the contents of the blocks for 
 both files. After five error blocks are processed, the program returns 
 to the XLATOR menu. </p>

</body>

</html>
