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

<root>
  <func>


    <title>cnc_fromgetstart</title>



    <declare>
      <vc>
        <include>#include "fwlib32.h"</include>
        <prottype>
            FWLIBAPI short WINAPI cnc_fromgetstart(unsigned short FlibHndl, short slotno, char *name);
        </prottype>
      </vc>
    </declare>



    <doc>
        <cmn>
            <p>
            Indicates the start of reading the F-ROM data from CNC.<br/>
            However, the system control software cannot be read in the Ethernet version.
            </p>
        </cmn>
    </doc>



    <argument>
        <common>
            <vc>
                <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>slotno</name>
                    <type>in</type>
                    <content>
Physical slot number (0,1,2,...,15)<br/>
Specify the physical slot number of control P.C.B. where F-ROM from which you want to read data is mounted.
                    </content>
                </item>
                <item>
                    <name>name</name>
                    <type>in</type>
                    <content>
The name of the system data which you want to read.<br/>
Specify the System data name (sysname) acquired by <a href="Misc/cnc_getfrominfo.htm" target="_parent">cnc_getfrominfo</a> function.
                    </content>
                </item>
            </vc>
        </common>
    </argument>



    <errcode>
        <item>
            <name>EW_FUNC</name>
            <content>Unavailable</content>
        </item>
        <item>
            <name>EW_BUSY</name>
            <content>Busy<br/>
<a href="Misc/cnc_fromgetstart.htm" target="_parent">cnc_fromgetstart</a> function has been already executed.<br/>
Terminate a reading process by using <a href="Misc/cnc_fromgetend.htm" target="_parent">cnc_fromgetend</a> function. 
            </content>
        </item>
        <item>
            <name>EW_DATA</name>
            <content>Error when function was executed<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. 
The following details 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>-2</td>
                        <td>:</td>
                        <td>F-ROM(MODULE) is not mounted on the specified slot.</td>
                    </tr>
                    <tr>
                        <td>5</td>
                        <td>:</td>
                        <td>The F-ROM data of the specified name does not exist.</td>
                    </tr>
                    <tr>
                        <td>9</td>
                        <td>:</td>
                        <td>F-ROM(MODULE) cannot be recognized. (defective device)</td>
                    </tr>
                    <tr>
                        <td>10</td>
                        <td>:</td>
                        <td>The specified slot does not exist.</td>
                    </tr>
                </colgroup>
                </colgroup>
                </colgroup>
                </table>
         </content>
        </item>
        <item>
            <name>EW_REJECT</name>
            <content>Similar processing (information reading/data reading/data writing) is being executed on the CNC side. Please retry.</content>
        </item>
        <item>
            <name>EW_PASSWD</name>
            <content>  Specified F-ROM data cannot be read because the data is protected.</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_getfrominfo</name>
            <file>Misc/cnc_getfrominfo.htm</file>
        </item>
        <item>
            <name>cnc_fromget</name>
            <file>Misc/cnc_fromget.htm</file>
        </item>
        <item>
            <name>cnc_fromgetend</name>
            <file>Misc/cnc_fromgetend.htm</file>
        </item>
    </reference>



    <example></example>



  </func>
</root>
