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

<root>
  <func>
    <title>cnc_dwnstart</title>


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



    <doc>
        <cmn>
            <p>
            Requests CNC to start downloading NC program.<br/>
            (This function must be executed before <a href="Program/cnc_download.htm" target="_parent">cnc_download</a> /
            <a href="Program/cnc_cdownload.htm" target="_parent">cnc_cdownload</a>.)<br/>
            In the case of Series 150/150i, when the CNC side is in background editprocessing,
            this function waits the termination of background edit.
            </p>
        </cmn>
    </doc>



    <argument>
        <hssb>
            <cmn>
                <item>
                    <name>FlibHndl</name>
                    <type>in</type>
                    <content>
                        <p>
                            Specify the library handle.<br/>
                            See "<a href="handle.htm" target="_parent">Library handle</a>" for details.
                        </p>
                    </content>
                </item>
            </cmn>
        </hssb>
    </argument>



    <errcode>
        <item>
            <name>EW_BUSY</name>
            <content>
                Busy<br/><br/>
                Series150,150i
                <ul style="margin-top:0">
                    <li>cnc_dwnstart(<a href="Program/cnc_vrfstart.htm" target="_parent">cnc_vrfstart</a>) function has been executed.<br/>
                        Terminate a downloading(verifying) by using <a href="Program/cnc_dwnend.htm" target="_parent">cnc_dwnend</a>(<a href="Program/cnc_vrfend.htm" target="_parent">cnc_vrfend</a>) function.
                    </li>
                </ul>
                Series160/180/210, 160i/180i/210i, 0i, 300i, Power Mate i
                <ul style="margin-top:0">
                    <li>cnc_dwnstart(<a href="Program/cnc_vrfstart.htm" target="_parent">cnc_vrfstart</a>) function has been executed.<br/>
                        Terminate a downloading(verifying) by using <a href="Program/cnc_dwnend.htm" target="_parent">cnc_dwnend</a>(<a href="Program/cnc_vrfend.htm" target="_parent">cnc_vrfend</a>) function.
                    </li>
                    <li>background edit processing in CNC side<br/>
                        Terminate background edit processing in CNC side.</li>
                    <li>alarm (PS000, PS101) on CNC side<br/>
                        Reset the alarm on CNC.</li>
                    <li>MDI mode<br/>
                        Change CNC mode to any mode except MDI.</li>
                </ul>
            </content>
        </item>
        <item>
            <name>EW_FUNC</name>
            <content>Parameter(No.20,22:Input device) is wrong.(Series 150,150i)</content>
        </item>
        <item>
            <name>EW_PROT</name>
            <content>Write protected on CNC side<br/>
                <ul style="margin-top:0">
                    <li>Protection KEY(DI) turns off.</li>
                </ul>
            </content>
        </item>
    </errcode>



    <option>
        <hssb>The extended driver/library function is necessary.</hssb>
    </option>



    <parameter>
        <type>
            <li>Series 150,150i</li>
            <ul>
                0020=16(EDIT mode) (must be set)<br/>
                0022=16(except EDIT mode) (must be set)<br/>
                0000#0 (influenced by setting)<br/>
                2200#1,#3,#4 (influenced by setting)<br/>
                0011#0,2201#0 (influenced by setting)<br/>
                2210,2211,2212,2213 (influenced by setting)<br/>
            </ul>
            <li>Series 160i/180i/210i, 0i, 300i</li>
            <ul>
                0000#0 (influenced by setting)<br/>
                3201#2,#5,#6 (influenced by setting)<br/>
                3202#0,#4 (influenced by setting)<br/>
                3210,3211 (influenced by setting)<br/>
                3290#7 (influenced by setting)<br/>
            </ul>
            <li>Series 160i/180i-W, Power Mate i</li>
            <ul>
                0000#0 (influenced by setting)<br/>
                3201#2,#5,#6 (influenced by setting)<br/>
                3202#0,#4 (influenced by setting)<br/>
                3290#7 (influenced by setting)<br/>
            </ul>
        </type>
    </parameter>



    <mode>
        <cmn>
            <li>Series 150/150i It is possible to use in any CNC mode.</li>
                <span class="dd">(It is necessary to set the parameter according to the mode)</span><br/>
            <br/>
            <li>Series 160/180/210, 160i/180i/210i, 0i, 300i, Power Mate i</li>
                <span class="dd">It is possible to use in other than MDI mode.</span>
        </cmn>
    </mode>



    <support>
        <m>
            <fs0ia>H</fs0ia>
            <fs0ib>H</fs0ib>
            <fs15>H</fs15>
            <fs15i>H</fs15i>
            <fs16>H</fs16>
            <fs18>H</fs18>
            <fs21>H</fs21>
            <fs16ia>H</fs16ia>
            <fs18ia>H</fs18ia>
            <fs21ia>H</fs21ia>
            <fs16ib>H</fs16ib>
            <fs18ib>H</fs18ib>
            <fs21ib>H</fs21ib>
            <fs30i>H</fs30i>
        </m>
        <t>
            <fs0ia>H</fs0ia>
            <fs0ib>H</fs0ib>
            <fs15>H</fs15>
            <fs15i>X</fs15i>
            <fs16>H</fs16>
            <fs18>H</fs18>
            <fs21>H</fs21>
            <fs16ia>H</fs16ia>
            <fs18ia>H</fs18ia>
            <fs21ia>H</fs21ia>
            <fs16ib>H</fs16ib>
            <fs18ib>H</fs18ib>
            <fs21ib>H</fs21ib>
            <fs30i>H</fs30i>
        </t>
        <lc>
            <fs0ia>X</fs0ia>
            <fs0ib>X</fs0ib>
            <fs15>X</fs15>
            <fs15i>X</fs15i>
            <fs16>H</fs16>
            <fs18>H</fs18>
            <fs21>H</fs21>
            <fs16ia>H</fs16ia>
            <fs18ia>H</fs18ia>
            <fs21ia>H</fs21ia>
            <fs16ib>H</fs16ib>
            <fs18ib>H</fs18ib>
            <fs21ib>H</fs21ib>
            <fs30i>X</fs30i>
        </lc>
        <p>
            <fs16i>H</fs16i>
            <fs18i>H</fs18i>
        </p>
        <l>
            <fs16i>H</fs16i>
            <fs18i>X</fs18i>
        </l>
        <w>
            <fs16i>H</fs16i>
            <fs18i>H</fs18i>
        </w>
        <pw>
            <d>H</d>
            <h>H</h>
        </pw>
    </support>



    <reference>
        <item>
            <name>cnc_download</name>
            <file>Program/cnc_download.htm</file>
        </item>
        <item>
            <name>cnc_cdownload</name>
            <file>Program/cnc_cdownload.htm</file>
        </item>
        <item>
            <name>cnc_dwnend</name>
            <file>Program/cnc_dwnend.htm</file>
        </item>
    </reference>



    <example></example>



  </func>
</root>
