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

<root>
  <func>


    <title>ds_dwnend</title>



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



    <doc>
        <cmn>
            Notifies the end of downloading data to CNC.<br/>
            (This function must be executed after <a href="Data/ds_download.htm" target="_parent">ds_download</a>)<br/>
            This function is only for "Fast Ethernet board". This function is not supported at "Embedded Ethernet" and "Ethernet board".<br/>
            <br/>
            There are cases where errors during execution of downloading data returned by this function.<br/>
            Further, this function does not return until the registration of the output data by <a href="Data/ds_download.htm" target="_parent">ds_download</a> is completed.
        </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>
                <a href="Data/ds_dwnstart.htm" target="_parent">ds_dwnstart</a> function has not been executed.
            </content>
        </item>
        <item>
            <name>EW_NOOPT</name>
            <content>
                No option
                <table>
                  <tr> <td valign="top">-</td> <td valign="top">The extended driver/library function is necessary.</td> </tr>
                  <tr> <td valign="top">-</td> <td valign="top">The DATA SERVER board(10BASE-T) is necessary.</td> </tr>
                  <tr> <td valign="top">-</td> <td valign="top">Hard disk is necessary on the DATA SERVER board.</td> </tr>
                </table>
            </content>
        </item>
        <item>
            <name>EW_REJECT</name>
            <content>CNC execution rejection<br/>
                     The DATA SERVER is doing another processing.
            </content>
        </item>
        <item>
            <name>EW_DTSRVR</name>
            <content>
                DATA SERVER error<br/>
                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.<br/>
                The following details status will be set onto the member, err_no of ODBERR structure.As for the details, see "Ethernet Board/DATA SERVER Board OPERATOR'S MANUAL".
                <table class="dd">
                    <tr><td>0xf000, 0xfe00-</td><td>:</td><td>Error code from DATA SERVER</td></tr>
                    <tr><td>1</td>              <td>:</td><td>Time out in DATA SERVER's operation</td></tr>
                </table>
            </content>
        </item>
    </errcode>



    <option>
        <ethr>
              <p>The ethernet function and the DATA SERVER function are necessary.</p>
        </ethr>
    </option>



    <parameter>
    </parameter>



    <mode>
    </mode>



    <support>
        <m>
            <fs0ia>X</fs0ia>
            <fs0ib>X</fs0ib>
            <fs15>X</fs15>
            <fs15i>X</fs15i>
            <fs16>X</fs16>
            <fs18>X</fs18>
            <fs21>X</fs21>
            <fs16ia>E</fs16ia>
            <fs18ia>E</fs18ia>
            <fs21ia>E</fs21ia>
            <fs16ib>E</fs16ib>
            <fs18ib>E</fs18ib>
            <fs21ib>E</fs21ib>
            <fs30i>X</fs30i>
        </m>
        <t>
            <fs0ia>X</fs0ia>
            <fs0ib>X</fs0ib>
            <fs15>X</fs15>
            <fs15i>X</fs15i>
            <fs16>X</fs16>
            <fs18>X</fs18>
            <fs21>X</fs21>
            <fs16ia>E</fs16ia>
            <fs18ia>E</fs18ia>
            <fs21ia>E</fs21ia>
            <fs16ib>E</fs16ib>
            <fs18ib>E</fs18ib>
            <fs21ib>E</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>X</fs16i>
            <fs18i>X</fs18i>
        </p>
        <l>
            <fs16i>X</fs16i>
            <fs18i>X</fs18i>
        </l>
        <w>
            <fs16i>X</fs16i>
            <fs18i>X</fs18i>
        </w>
        <pw>
            <d>X</d>
            <h>X</h>
        </pw>
    </support>



    <reference>
        <item>
            <name>ds_dwnstart</name>
            <file>Data/ds_dwnstart.htm</file>
        </item>
        <item>
            <name>ds_download</name>
            <file>Data/ds_download.htm</file>
        </item>
    </reference>




  </func>
</root>
