<?xml version="1.0" encoding="Shift_JIS"?>
<?xml-stylesheet type="text/xsl" href="../Fmethod_xsl/fmethod_he_c.xsl"?>

<root>
  <func>


    <title>cnc_clearophis</title>



    <declare>
      <vc>
        <include>#include "fwlib32.h"</include>
        <prottype>FWLIBAPI short WINAPI cnc_clearophis(unsigned short FlibHndl, short slct); </prottype>
      </vc>
    </declare>



    <doc>
        <cmn>
            <p>
                Clears the opeation history data and the alarm history data.
            </p>
            <p>
                At Series 150/150i, both the operation history and the alarm history are cleared once.
            </p>
            <p>
                It is possible to select the clearing of the operation history or the alarm history by setting "slct" 
                at Series 160/180/210, 160i/180i/210i, 0i, Power Mate i.
            </p>
            <p>
                At Series 300i, the opeation history data, the alarm history data and the external operator's message history data are cleared.
                Please use <a href="History/cnc_clearomhis.htm" target="_parent">cnc_clearomhis</a> function 
                instead of this for other series.
            </p>
        </cmn>
        <is>
        <cmn>
            <p>
                The opeation history data, the alarm history data and the external operator's message history data are cleared.
            </p>
        </cmn>
        </is>
    </doc>



    <argument>
        <common>
            <cmn>
                <item>
                    <name>FlibHndl</name>
                    <type>in</type>
                    <content>
                        <p>
                            Specify the library handle. See "<a href="handle.htm" target="_parent">Library handle</a>" for details. 
                        </p>
                    </content>
                </item>
                <item>
                    <name>slct</name>
                    <type>in</type>
                    <content>
                        <p class="xis">
                            Specify the kind of the cleared history data. (only Series 160/180/210, 160i/180i/210i, 0i, Power Mate i)
                            <table class="dd">
                            <tr>
                            <td>0</td>
                            <td>:</td>
                            <td>operation history data</td>
                            </tr>
                            <tr>
                            <td>1</td>
                            <td>:</td>
                            <td>alarm history data</td>
                            </tr>
                            </table>
                        <p class="ois">
                            Unused.
                        </p>
                        </p>
                    </content>
                </item>
            </cmn>
        </common>
    </argument>



    <errcode>
        <item>
            <name>EW_ATTRIB</name>
            <content>Data attribute error<br/>
                     (only Series 160/180/210, 160i/180i/210i, 0i, Power Mate i)<br/>
                     The specification of "kind of the cleared history data" (slct) is wrong. <br/>
            </content>
        </item>
        <item>
            <name>EW_PARAM</name>
            <content>CNC parameter error<br/>
                     CNC parameter should be as follows. <br/>
                     0015#4=1 (Series 150, 150i)<br/>
                     3112#5=0 (Series 160/180/210, 160i/180i/210i, 0i,Power Mate i),<br/>
                     3195#7=1 (Series 300i), <br/>
                     3110#4=1, 3112#5=1 (Series 160i/180i-W)<br/>
            </content>
        </item>
        <item>
            <name>EW_NOOPT</name>
            <content>No option<br/>
                     The extended driver/library function is necessary.<br/>
            </content>
        </item>
        <is>
        <item>
            <name>EW_PARAM</name>
            <content>CNC parameter error<br/>
                     CNC parameter should be as follows. <br/>
                     3195#7=1 <br/>
            </content>
        </item>
        <item>
            <name>EW_NOOPT</name>
            <content>No option<br/>
                     The extended driver/library function is necessary.<br/>
            </content>
        </item>
        </is>
    </errcode>



    <option>
        <hssb>The extended driver/library function is necessary.</hssb>
        <ethr><p>The Ethernet function and the extended driver/library function are necessary.</p>
                 <p>However, in case of FS160i/180i/210i/0i MODEL B and FS300i, the required CNC option is as follows.</p>
                 <p>When Embedded Ethernet is used,</p>
                    <p class="dd">above two optional functions are not required.</p>
                 <p>When Ethernet board is used,</p>
                     <p class="dd">only Ethernet function is required.</p>
        </ethr>
    </option>



    <parameter>
        <type>
            <ul type="disc">
                <li>Series 150, 150i<br/>
                    0015#4=1(must be set)</li>
                <li>Series 160/180/210, 160i/180i/210i, 0i, Power Mate i<br/>
                    3112#5=0(must be set)<br/></li>
                <li>Series 300i<br/>
                    3195#7=1(must be set)<br/></li>
                <li>Series 160i/180i-W<br/>
                    3110#4=1(must be set)<br/>
                    3112#5=1(must be set)<br/></li>
            </ul>
        </type>
    </parameter>
    <!-- 300is -->
    <is_parameter>
        <type>
            <ul type="disc">
                    3195#7=1(must be set)<br/>
            </ul>
        </type>
    </is_parameter>



    <mode></mode>
    <!-- 300is -->
    <is_mode></is_mode>



    <support>
        <m>
            <fs0ia>H</fs0ia>
            <fs0ib>O</fs0ib>
            <fs15>O</fs15>
            <fs15i>O</fs15i>
            <fs16>H</fs16>
            <fs18>H</fs18>
            <fs21>H</fs21>
            <fs16ia>O</fs16ia>
            <fs18ia>O</fs18ia>
            <fs21ia>O</fs21ia>
            <fs16ib>O</fs16ib>
            <fs18ib>O</fs18ib>
            <fs21ib>O</fs21ib>
            <fs30i>O</fs30i>
        </m>
        <t>
            <fs0ia>H</fs0ia>
            <fs0ib>O</fs0ib>
            <fs15>H</fs15>
            <fs15i>X</fs15i>
            <fs16>H</fs16>
            <fs18>H</fs18>
            <fs21>H</fs21>
            <fs16ia>O</fs16ia>
            <fs18ia>O</fs18ia>
            <fs21ia>O</fs21ia>
            <fs16ib>O</fs16ib>
            <fs18ib>O</fs18ib>
            <fs21ib>O</fs21ib>
            <fs30i>O</fs30i>
        </t>
        <lc>
            <fs0ia>X</fs0ia>
            <fs0ib>X</fs0ib>
            <fs15>X</fs15>
            <fs15i>X</fs15i>
            <fs16>X</fs16>
            <fs18>X</fs18>
            <fs21>X</fs21>
            <fs16ia>X</fs16ia>
            <fs18ia>X</fs18ia>
            <fs21ia>X</fs21ia>
            <fs16ib>X</fs16ib>
            <fs18ib>X</fs18ib>
            <fs21ib>X</fs21ib>
            <fs30i>X</fs30i>
        </lc>
        <p>
            <fs16i>O</fs16i>
            <fs18i>O</fs18i>
        </p>
        <l>
            <fs16i>O</fs16i>
            <fs18i>X</fs18i>
        </l>
        <w>
            <fs16i>O</fs16i>
            <fs18i>O</fs18i>
        </w>
        <pw>
            <d>O</d>
            <h>O</h>
        </pw>
        <add><b></b></add>
        <!-- 300is -->
        <is>
            <m>
                <fs30is>O</fs30is>
            </m>
            <t>
                <fs30is>O</fs30is>
            </t>
        </is>
    </support>



    <reference>
        <item>
            <name>cnc_stopophis</name>
            <file>History/cnc_stopophis.htm</file>
        </item>
        <item>
            <name>cnc_startophis</name>
            <file>History/cnc_startophis.htm</file>
        </item>
        <item>
            <name>cnc_rdophisno</name>
            <file>History/cnc_rdophisno.htm</file>
        </item>
        <item class="xis">
            <name>cnc_rdophistry</name>
            <file>History/cnc_rdophistry.htm</file>
        </item>
        <item class="xis">
            <name>cnc_rdophistry2</name>
            <file>History/cnc_rdophistry2.htm</file>
        </item>
        <item class="xis">
            <name>cnc_rdophistry4</name>
            <file>History/cnc_rdophistry4.htm</file>
        </item>
        <item>
            <name>cnc_rdalmhisno</name>
            <file>History/cnc_rdalmhisno.htm</file>
        </item>
        <item class="xis">
            <name>cnc_rdalmhistry</name>
            <file>History/cnc_rdalmhistry.htm</file>
        </item>
        <item class="xis">
            <name>cnc_rdalmhistry2</name>
            <file>History/cnc_rdalmhistry2.htm</file>
        </item>
        <item class="xis">
            <name>cnc_rdalmhistry3</name>
            <file>History/cnc_rdalmhistry3.htm</file>
        </item>
        <item class="xis">
            <name>cnc_rdalmhistry5</name>
            <file>History/cnc_rdalmhistry5.htm</file>
        </item>
    </reference>



    <example>
    </example>



  </func>
</root>
