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

<root>
  <func>


    <title>cnc_rdtlinfo</title>



    <declare>
      <vc>
        <include>#include "fwlib32.h"</include>
        <prottype>FWLIBAPI short WINAPI cnc_rdtlinfo(unsigned short FlibHndl, ODBTLINFO *tlinfo); </prottype>
      </vc>
    </declare>



    <doc>
        <cmn>
            <p>
                Reads the maximum number of tool group, the maximum number of tool within group and the maximum number of life count.
            </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>tlinfo</name>
                    <type>out</type>
                    <content>
                        <p>
                            Pointer to the ODBTLINFO structure including the maximum number of tool group, the maximum number of tool within group and the maximum number of life count. 
                            The ODBTLINFO structure is as follows. 
<pre>
typedef struct odbtlinfo {
     long      max_group;  /* maximum number of tool group */
     long      max_tool;   /* maximum number of tool within group */
     long      max_minute; /* maximum number of life count (minutes) */
     long      max_cycle;  /* maximum number of life count (cycles) */
} ODBTLINFO;
</pre>
                            The following information are stored in "tlinfo" with binary format.
                        <dl>
                            <dt>max_group</dt>
                            <dd>maximum number of tool group.</dd>
                            <dt>max_tool</dt>
                            <dd>maximum number of tool within group.</dd>
                            <dt>max_minute</dt>
                            <dd>maximum number of life count. (minutes)</dd>
                            <dt>max_cycle</dt>
                            <dd>maximum number of life count. (cycles)</dd>
                        </dl>
                        </p>
                    </content>
                </item>
            </vc>
        </common>
    </argument>



    <errcode>
        <item>
            <name>EW_NOOPT</name>
            <content>
                no option<br/>
                The tool life management function and the extended driver/library function are necessary.<br/>
            </content>
        </item>
    </errcode>



    <option>
        <hssb>
            <p>The extended driver/library function are necessary.</p>
        </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 and 300i 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>
        <need>
            The tool life management function.<br/>
        </need>
        <type>
            <li>Series 150i<br/>
                <p>This function is influenced by 1024/512 pairs of the tool life management.</p>
            </li>
            <li>Series 160i/180i/210i, 0i<br/>
                <p>This function is influenced by 512(M Series)/128(T Series) pairs of the tool life management.</p>
            </li>
            <li>Series 300i<br/>
                <p>This function is influenced by additional pairs number of the tool life management.</p>
                <table>
                    <tr> <td>the tool life management</td>        <td>:</td><td>256 pairs of the tool life management on whole system, both of M and T Series</td></tr>
                    <tr> <td>additional pairs number of the tool life management</td><td>:</td><td>1024 pairs of the tool life management on whole system, both of M and T Series</td></tr>
                </table>
            </li>
        </type>

        <is>
        <hssb>
              <p>The tool life management function and the extended driver/library function are necessary.</p>
              <p>And this function is influenced by additional pairs number of the tool life management.</p>
              <table>
                  <tr> <td>the tool life management</td><td>:</td>
                       <td>256 pairs of the tool life management on whole system, both of M and T Series</td></tr>
                  <tr> <td>additional pairs number of the tool life management</td><td>:</td>
                       <td>1024 pairs of the tool life management on whole system, both of M and T Series</td></tr>
              </table>
        </hssb>
        </is>
    </option>



    <parameter>
        <type>
            <ul type="disc">
                <li>Series 150i</li>
                    7400#0,#1
                <li>Series 160i/180i/210i, 0i</li>
                    6800#0,#1
                <li>Series 300i<br/>
                    6800#0,#1<br/>
                    6805#4 (Tool life management B)<br/>
                </li>
            </ul>
        </type>
    </parameter>
    <!-- 300is -->
    <is_parameter>
        <type>
            <table>
                <tr><td> </td><td>6800#0,#1</td><td> </td><td></td></tr>
                <tr><td> </td><td>6805#4</td><td> </td><td>(Tool life management B)</td></tr>
            </table>
        </type>
    </is_parameter>



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



    <support>
        <m>
            <fs0ia>X</fs0ia>
            <fs0ib>E</fs0ib>
            <fs15>X</fs15>
            <fs15i>E</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>O</fs30i>
        </m>
        <t>
            <fs0ia>X</fs0ia>
            <fs0ib>E</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>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>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>
        <!-- 300is -->
        <is>
            <m>
                <fs30is>O</fs30is>
            </m>
            <t>
                <fs30is>O</fs30is>
            </t>
        </is>
    </support>



    <reference>
    </reference>



    <example>
    </example>



  </func>
</root>
