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

<root>
  <func>


    <title>cnc_fromputend</title>



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



    <doc>
        <cmn>
Indicates the termination of writing the F-ROM data to CNC.<p/>
This function waits until the termination of writing process of the F-ROM data on CNC. <p/>

When the return value(EW_DATA(detail status : 146)) is acquired in this function, the writing F-ROM data is processed as follows. <p/>

<p class="dd">The lacked area for F-ROM data on CNC is buried by code, 0xFF. </p>

A necessary writing data size is automatically decided by the content of the FROM data. <p/>
        </cmn>
    </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>
            </cmn>
        </common>
    </argument>



    <errcode>
        <item>
            <name>EW_FUNC</name>
            <content>Unavailable or <a href="Misc/cnc_fromputstart.htm" target="_parent">cnc_fromputstart</a> function has not been executed 
    </content>
        </item>
        <item>
            <name>EW_DATA</name>
            <content>F-ROM data writing error.<br/>
When the EW_DATA error occurred by <a href="Misc/cnc_fromput.htm" target="_parent">cnc_fromput</a> function, the same return value is returned. 
In order to get more information for this err_no return value, execute <a href="Misc/cnc_getdtailerr.htm" target="_parent">cnc_getdtailerr</a> function. 
The following detail status will be set onto the member, err_no of ODBERR structure. 
                <table>
                    <colgroup align="center" valign="top">
                    <colgroup align="center" valign="top">
                    <colgroup valign="top">
                    <tr>
                        <td>1</td>
                        <td>:</td>
                        <td>F-ROM writing failed (defective device)</td>
                    </tr>
                    <tr>
                        <td>3</td>
                        <td>:</td>
                        <td>F-ROM erasing failed (defective device)</td>
                    </tr>
                    <tr>
                        <td>6</td>
                        <td>:</td>
                        <td>No writing space in F-ROM</td>
                    </tr>
                    <tr>
                        <td>7</td>
                        <td>:</td>
                        <td>The F-ROM data not permitted at the CNC system was specified.</td>
                    </tr>
                    <tr>
                        <td>8</td>
                        <td>:</td>
                        <td>The size of the system data actually written on the F-ROM and the system data being specified is different.</td>
                    </tr>
                    <tr>
                        <td>9</td>
                        <td>:</td>
                        <td>F-ROM(MODULE) cannot be recognized. (defective device) </td>
                    </tr>
                    <tr>
                        <td>145</td>
                        <td>:</td>
                        <td>The total data size is excessed.<br/>
                        The excessed F-ROM data is ignored.</td>
                    </tr>
                    <tr>
                        <td>146</td>
                        <td>:</td>
                        <td>There was lack in the writing F-ROM data.</td>
                    </tr>
                    </colgroup>
                    </colgroup>
                    </colgroup>
                </table>
            </content>
        </item>
        <add></add>
    </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 Series 160i/180i/210i/0i MODEL B, the required CNC option is as follows.</p>
              <p>When Embedded Ethernet is used,</p>
              <p><ul>above two optional functions are not required.</ul></p>
              <p>When Ethernet board is used,</p>
              <p><ul>only Ethernet function is required.</ul></p>
        </ethr>
        <add></add>
    </option>



    <parameter></parameter>



    <mode></mode>



    <support>
        <m>
            <fs0ia>X</fs0ia>
            <fs0ib>O</fs0ib>
             <fs15>X</fs15>
            <fs15i>X</fs15i>
             <fs16>X</fs16>
             <fs18>X</fs18>
             <fs21>X</fs21>
           <fs16ia>O</fs16ia>
           <fs18ia>O</fs18ia>
           <fs21ia>O</fs21ia>
           <fs16ib>O</fs16ib>
           <fs18ib>O</fs18ib>
           <fs21ib>O</fs21ib>
            <fs30i>X</fs30i>
        </m>
        <t>
            <fs0ia>X</fs0ia>
            <fs0ib>O</fs0ib>
             <fs15>X</fs15>
            <fs15i>X</fs15i>
             <fs16>X</fs16>
             <fs18>X</fs18>
             <fs21>X</fs21>
           <fs16ia>O</fs16ia>
           <fs18ia>O</fs18ia>
           <fs21ia>O</fs21ia>
           <fs16ib>O</fs16ib>
           <fs18ib>O</fs18ib>
           <fs21ib>O</fs21ib>
            <fs30i>X</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>
    </support>



    <reference>
        <item>
            <name>cnc_fromputstart</name>
            <file>Misc/cnc_fromputstart.htm</file>
        </item>
        <item>
            <name>cnc_fromput</name>
            <file>Misc/cnc_fromput.htm</file>
        </item>
    </reference>



    <example></example>



  </func>
</root>
