<!DOCTYPE html
  PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">

<!--
Copyright (c) 2006 UGS Corp.

All Rights Reserved.

This software and related documentation are proprietary to UGS Corp.
-->
<html>
   <head>
      <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
      <title>CLSF Replay Errors</title>
      <script language="javaScript">
        abridged="false";
        displayConditions=new Array();
      </script>
      <link type="text/css" href="../css/main_styles.css" rel="stylesheet">
   </head>
   <body class="bodydocs" onload="top.pageLoader()" bgcolor="#FFFFFF">
      <div class="title_topic1" id="xps10_pagetitle">CLSF Replay Errors</div>
      <hr noshade="true">
      <p class="para_topic">When you Replay a CLSF, if there are errors in the CLSF, NX gives you the option to display a listing of those errors on the CRT screen. The system notifies you that there are errors by the following display:</p><pre class="indent">LIST ERRORS
 YES 
No</pre><p class="para_topic">If you want to see the list of errors, select option 1. The system lists the errors. If not, select option 2, and the system displays the Manufacturing Operations main menu.</p>
      <p class="para_topic">There are two types of errors, fatal and non-fatal. Fatal errors stop the processing and are numbered from 100 up. Non-fatal errors are numbered from 1 to 99.</p>
      <p class="para_topic">The format for this listing is:</p><pre class="indent">ERROR LIST (current date) 
CL SOURCE FILE
LINE ERROR
error message</pre><p class="para_topic">The Line column lists the number of the CLSF line containing the error. When the error occurs in a macro, the line number identifies the Call statement for the macro. The Error column contains the error number and a brief description of the error. When a fatal error occurs, the message FATAL ERROR displays on the message monitor, and you should respond by pressing OK.</p>
      <p class="para_topic">In the example below, lines 110 and 151 contain non-fatal errors, and line 300 contains a fatal error. If more than 20 non-fatal errors are generated, a fatal error occurs, stopping processing.</p><pre class="indent">Example:
ERROR LIST 10-23-9X 
CL SOURCE FILE 
LINE ERROR 110 11 Undefined Macro 
151 11 Undefined Macro 
300 103 ILlegal Macro Def</pre><div class="title_division">Non-Fatal CLSF Errors</div>
      <table border="1" cellspacing="2" frame="void" width="100%" align="center">
         <tr bgcolor="#D0D0D0">
            <th align="left" colspan="1" rowspan="1" valign="top">
               <p class="para_th">ERROR No.</p>
            </th>
            <th align="left" colspan="1" rowspan="1" valign="top">
               <p class="para_th">CRT MESSAGE</p>
            </th>
            <th align="left" colspan="1" rowspan="1" valign="top">
               <p class="para_th">DESCRIPTION</p>
            </th>
         </tr>
         <tr bgcolor="#F7F7F7">
            <td colspan="1" rowspan="1" valign="top">
               <p class="para_td">1</p>
            </td>
            <td colspan="1" rowspan="1" valign="top">
               <p class="para_td">Invalid Symbol</p>
            </td>
            <td colspan="1" rowspan="1" valign="top">
               <p class="para_td">A major or minor word contains more than six characters.</p>
            </td>
         </tr>
         <tr bgcolor="#F7F7F7">
            <td colspan="1" rowspan="1" valign="top">
               <p class="para_td">2</p>
            </td>
            <td colspan="1" rowspan="1" valign="top">
               <p class="para_td">Invalid Number</p>
            </td>
            <td colspan="1" rowspan="1" valign="top">
               <p class="para_td">A number contains more than eight characters.</p>
            </td>
         </tr>
         <tr bgcolor="#F7F7F7">
            <td colspan="1" rowspan="1" valign="top">
               <p class="para_td">3</p>
            </td>
            <td colspan="1" rowspan="1" valign="top">
               <p class="para_td">Invalid Punctuation</p>
            </td>
            <td colspan="1" rowspan="1" valign="top">
               <p class="para_td">There is an invalid or mis-placed character.</p>
            </td>
         </tr>
         <tr bgcolor="#F7F7F7">
            <td colspan="1" rowspan="1" valign="top">
               <p class="para_td">4</p>
            </td>
            <td colspan="1" rowspan="1" valign="top">
               <p class="para_td">Invalid Major Word</p>
            </td>
            <td colspan="1" rowspan="1" valign="top">
               <p class="para_td">There is an illegal macroname or argument.</p>
            </td>
         </tr>
         <tr bgcolor="#F7F7F7">
            <td colspan="1" rowspan="1" valign="top">
               <p class="para_td">5</p>
            </td>
            <td colspan="1" rowspan="1" valign="top">
               <p class="para_td">Invalid Field</p>
            </td>
            <td colspan="1" rowspan="1" valign="top">
               <p class="para_td">There is an invalid or undefined element following a slash, or there is a spelling error.</p>
            </td>
         </tr>
         <tr bgcolor="#F7F7F7">
            <td colspan="1" rowspan="1" valign="top">
               <p class="para_td">6</p>
            </td>
            <td colspan="1" rowspan="1" valign="top">
               <p class="para_td">Index Defined</p>
            </td>
            <td colspan="1" rowspan="1" valign="top">
               <p class="para_td">The Index number is used in more than one Index command.</p>
            </td>
         </tr>
         <tr bgcolor="#F7F7F7">
            <td colspan="1" rowspan="1" valign="top">
               <p class="para_td">7</p>
            </td>
            <td colspan="1" rowspan="1" valign="top">
               <p class="para_td">Invalid Copy</p>
            </td>
            <td colspan="1" rowspan="1" valign="top">
               <p class="para_td">The repetition count in a Copy command is negative.</p>
            </td>
         </tr>
         <tr bgcolor="#F7F7F7">
            <td colspan="1" rowspan="1" valign="top">
               <p class="para_td">8</p>
            </td>
            <td colspan="1" rowspan="1" valign="top">
               <p class="para_td">Undefined Index</p>
            </td>
            <td colspan="1" rowspan="1" valign="top">
               <p class="para_td">There is no Index command corresponding to the Copy command.</p>
            </td>
         </tr>
         <tr bgcolor="#F7F7F7">
            <td colspan="1" rowspan="1" valign="top">
               <p class="para_td">9</p>
            </td>
            <td colspan="1" rowspan="1" valign="top">
               <p class="para_td">Symbol Defined</p>
            </td>
            <td colspan="1" rowspan="1" valign="top">
               <p class="para_td">An existing symbol is redefined in a SYM or Macro command.</p>
            </td>
         </tr>
         <tr bgcolor="#F7F7F7">
            <td colspan="1" rowspan="1" valign="top">
               <p class="para_td">10</p>
            </td>
            <td colspan="1" rowspan="1" valign="top">
               <p class="para_td">Undefined Symbol</p>
            </td>
            <td colspan="1" rowspan="1" valign="top">
               <p class="para_td">An attempt is made to define a synonym for an undefined symbol.</p>
            </td>
         </tr>
         <tr bgcolor="#F7F7F7">
            <td colspan="1" rowspan="1" valign="top">
               <p class="para_td">11</p>
            </td>
            <td colspan="1" rowspan="1" valign="top">
               <p class="para_td">Undefined Macro</p>
            </td>
            <td colspan="1" rowspan="1" valign="top">
               <p class="para_td">A Call command is illegal; it calls a non-existent or invalid Macro.</p>
            </td>
         </tr>
         <tr bgcolor="#F7F7F7">
            <td colspan="1" rowspan="1" valign="top">
               <p class="para_td">12</p>
            </td>
            <td colspan="1" rowspan="1" valign="top">
               <p class="para_td">Undefined Argument</p>
            </td>
            <td colspan="1" rowspan="1" valign="top">
               <p class="para_td">The value of a Macro argument is undefined in a Call or Macro command.</p>
            </td>
         </tr>
         <tr bgcolor="#F7F7F7">
            <td colspan="1" rowspan="1" valign="top">
               <p class="para_td">13</p>
            </td>
            <td colspan="1" rowspan="1" valign="top">
               <p class="para_td">Invalid Statement</p>
            </td>
            <td colspan="1" rowspan="1" valign="top">
               <p class="para_td">A TERMAC statement is in an illegal position.</p>
            </td>
         </tr>
         <tr bgcolor="#F7F7F7">
            <td colspan="1" rowspan="1" valign="top">
               <p class="para_td">14</p>
            </td>
            <td colspan="1" rowspan="1" valign="top">
               <p class="para_td">Incorrect Number Of Fields</p>
            </td>
            <td colspan="1" rowspan="1" valign="top">
               <p class="para_td">The number of fields following the slash is incorrect or too large.</p>
            </td>
         </tr>
         <tr bgcolor="#F7F7F7">
            <td colspan="1" rowspan="1" valign="top">
               <p class="para_td">15</p>
            </td>
            <td colspan="1" rowspan="1" valign="top">
               <p class="para_td">Too Many Characters</p>
            </td>
            <td colspan="1" rowspan="1" valign="top">
               <p class="para_td">There are more than 40 characters in a Paint/Printcommand.</p>
            </td>
         </tr>
         <tr bgcolor="#F7F7F7">
            <td colspan="1" rowspan="1" valign="top">
               <p class="para_td">16</p>
            </td>
            <td colspan="1" rowspan="1" valign="top">
               <p class="para_td">Speed Out Of Range</p>
            </td>
            <td colspan="1" rowspan="1" valign="top">
               <p class="para_td">The display speed number in a Paint/Speed command is negative or greater than ten.</p>
            </td>
         </tr>
         <tr bgcolor="#F7F7F7">
            <td colspan="1" rowspan="1" valign="top">
               <p class="para_td">17</p>
            </td>
            <td colspan="1" rowspan="1" valign="top">
               <p class="para_td">Illegal Syn</p>
            </td>
            <td colspan="1" rowspan="1" valign="top">
               <p class="para_td">A synonym is used for the major word Call.</p>
            </td>
         </tr>
         <tr bgcolor="#F7F7F7">
            <td colspan="1" rowspan="1" valign="top">
               <p class="para_td">18</p>
            </td>
            <td colspan="1" rowspan="1" valign="top">
               <p class="para_td">Goto Missing</p>
            </td>
            <td colspan="1" rowspan="1" valign="top">
               <p class="para_td">A GODLTA or CIRCLE record is not preceded by a GOTO statement. Or, CIRCLE record is not followed by a GOTO statement.</p>
            </td>
         </tr>
         <tr bgcolor="#F7F7F7">
            <td colspan="1" rowspan="1" valign="top">
               <p class="para_td">19</p>
            </td>
            <td colspan="1" rowspan="1" valign="top">
               <p class="para_td">Illegal Field</p>
            </td>
            <td colspan="1" rowspan="1" valign="top">
               <p class="para_td">After Equal SignAn algebraic expression is used within a Macro.</p>
            </td>
         </tr>
         <tr bgcolor="#F7F7F7">
            <td colspan="1" rowspan="1" valign="top">
               <p class="para_td">20</p>
            </td>
            <td colspan="1" rowspan="1" valign="top">
               <p class="para_td">Invalid Tool Angle</p>
            </td>
            <td colspan="1" rowspan="1" valign="top">
               <p class="para_td">Invalid tool angle for Paint/Drill command.</p>
            </td>
         </tr>
      </table><br><div class="title_division">CL-FILE GENERATION FROM THE OPERATING SYSTEM</div>
      <p class="para_division">There is a stand alone utility called cls2clf which enables you to generate a Standard, ISO, ACL, or BCL CL File outside Unigraphics NX. The following is a description of the useage of clc2clf.</p><pre class="indent">****************************************************
* CL SOURCE TO CL FILE GENERATION PROGRAM *
****************************************************
HELP
(cls2clf -h)

DEFAULT GENERATION
(cls2clf ~or~ cls2clf clsf_name_list[.cls]):
NO CLSF HDR: OUTPUTS STD APT CLF(clsf_name.clf)
CLSF HDR($$ISO): OUTPUTS ISO-4343 CLF(clsf_name.iso)
CLSF HDR($$BCL): OUTPUTS EIA-RS494 BCL-0/A CLF(clsf_name.bcl)
CLSF HDR($$ACL): OUTPUTS EIA-RS494 ACL-B CLF(clsf_name.acl)

USING SWITCHES
(cls2clf -X=clf_name[.extn] clsf_name[.cls]):
X IS o: OUTPUTS clf_name.clf | iso | bcl | acl PER HDR
X IS oa: OUTPUTS STD APT CLF(clf_name.clf)
X IS oi: OUTPUTS ISO-4343 CLF(clf_name.iso)
X IS ob: OUTPUTS EIA-RS494 BCL-0/A CLF
(clf_name.bcl) w. FPM/FPR FEED
X IS ub: OUTPUTS EIA-RS494 BCL-0/A CLF
(clf_name.bcl) w. IN/MM FEED
X IS os: OUTPUTS EIA-RS494 ACL-B CLF
(clf_name.acl) w. FPM/FPR FEED
X IS us: OUTPUTS EIA-RS494 ACL-B CLF
(clf_name.acl) w. IN/MM FEED


&nbsp;
EXAMPLES
&gt;cls2clf
ENTER CLSF NAME:
&gt;cls2clf millop1
&gt;cls2clf millop*.cls
&gt;cls2clf -oa=millop1_new millop1
****************************************************</pre></body>
</html>