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

<root>
  <func>

    <title>cnc_rdtofsinfo2</title>


    <declare>
      <vc>
        <include>#include "fwlib32.h"</include>
        <prottype>FWLIBAPI short WINAPI cnc_rdtofsinfo2(unsigned short FlibHndl, ODBTLINF2 *tlinf2);</prottype>
      </vc>
    </declare>



    <doc>
        <cmn>
            <p>Reads the memory type of tool offset, the available number of it and available type of tool offset.<br/>
            Those are stored in "ofs_type", "use_no" and "ofs_enable" of "ODBTLINF2" with signed binary format.</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>tlinf2</name>
                    <type>out</type>
                    <content>

                        <p>Pointer to the ODBTLINF2 structure for the tool offset information. The ODBTLINF2 structure is as follows.</p>

<pre>
typedef struct  odbtlinf2 {
    short   ofs_type;       /* memory type */
    short   use_no;         /* available number */
    short   ofs_enable ;    /* available type of tool offset */
} ODBTLINF2 ;
</pre>
                        <dl>
                            <dt>ofs_type</dt>
                            <dd>Memory type of tool offset <br/>
                                <br/>
                                <ul>M series
                                    <table>
                                        <tr>
                                            <td>0</td>
                                            <td>:</td>
                                            <td>memory type A</td>
                                        </tr>
                                        <tr>
                                            <td>1</td>
                                            <td>:</td>
                                            <td>memory type B</td>
                                        </tr>
                                        <tr>
                                            <td>2</td>
                                            <td>:</td>
                                            <td>memory type C</td>
                                        </tr>
                                    </table>
                                </ul>
                                <br/>
                                <ul>T series
                                    <table>
                                        <tr>
                                            <td>0</td>
                                            <td>:</td>
                                            <td>without tool geometry/wear compensation</td>
                                        </tr>
                                        <tr>
                                            <td>1</td>
                                            <td>:</td>
                                            <td>with tool geometry/wear compensation</td>
                                        </tr>
                                    </table>
                                </ul>
                            </dd>
                            <br/>
                            <dt>use_no</dt>
                            <dd>Available number of tool offset 
                                <p class="dd">16/32/64/99/200/400/499/999/2000 sets</p>
                            </dd>
                            <br/>
                            <dt>ofs_enable</dt>
                            <dd>Available type of tool offset <br/>
                                <br/>
                                <ul>
                                    <table>
                                        <tr>
                                            <td>Bit 0</td>
                                            <td>:</td>
                                            <td>X-axis offset</td>
                                            <td>availableness=1/invalidation=0</td>
                                        </tr>
                                        <tr>
                                            <td>Bit 1</td>
                                            <td>:</td>
                                            <td>Y-axis offset</td>
                                            <td>availableness=1/invalidation=0</td>
                                        </tr>
                                        <tr>
                                            <td>Bit 2</td>
                                            <td>:</td>
                                            <td>Z-axis offset</td>
                                            <td>availableness=1/invalidation=0</td>
                                        </tr>
                                        <tr>
                                            <td>Bit 3</td>
                                            <td>:</td>
                                            <td>Nose radius offset</td>
                                            <td>availableness=1/invalidation=0</td>
                                        </tr>
                                        <tr>
                                            <td>Bit 4</td>
                                            <td>:</td>
                                            <td>imaginary tool nose </td>
                                            <td>availableness=1/invalidation=0</td>
                                        </tr>
                                        <tr>
                                            <td>Bit 5</td>
                                            <td>:</td>
                                            <td>Second geometry offset</td>
                                            <td>availableness=1/invalidation=0</td>
                                        </tr>
                                        <tr>
                                            <td>Bit 6,..,15</td>
                                            <td>:</td>
                                            <td>(not used)</td>
                                            <td></td>
                                        </tr>
                                    </table>
                                </ul>
                            </dd>
                            <br/>
                        </dl>
                    </content>
                </item>
            </vc>
        </common>
    </argument>



    <errcode>
        <item>
            <name>EW_NOOPT</name>
            <content>No option</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 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>
        <type>
            <li>Series 300i</li>
            <table>
                <tr>
                    <td>M series</td>
                    <td>Tool offset extension </td>
                    <td>(16)/32/64/99/200/400/499/999/2000 sets</td>
                </tr>
                <tr>
                    <td></td>
                    <td>Tool offset memory </td>
                    <td>(A)/B/C</td>
                </tr>
                <tr>
                    <td></td>
                    <td>Cutter radius / tool nose radius compensation</td>
                    <td></td>
                </tr>
                <tr>
                    <td>T series</td>
                    <td>Tool offset extension </td>
                    <td>(16)/32/64/99/200/400/499/999/2000 sets</td>
                </tr>
                <tr>
                    <td></td>
                    <td>Geometry/wear offset </td>
                    <td></td>
                </tr>
                <tr>
                    <td></td>
                    <td>Cutter radius / tool nose radius compensation</td>
                    <td></td>
                </tr>
                <tr>
                    <td></td>
                    <td>Y-axis offset</td>
                    <td></td>
                </tr>
                <tr>
                    <td></td>
                    <td>Second geometry offset</td>
                    <td></td>
                </tr>
            </table>
        </type>
    </option>



    <parameter>
        <type>
            <ul>
                <li>Series 300i</li>
                5009#5(only M series)<br/>
                5024
            </ul>
        </type>
    </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>X</fs16ia>
            <fs18ia>X</fs18ia>
            <fs21ia>X</fs21ia>
            <fs16ib>X</fs16ib>
            <fs18ib>X</fs18ib>
            <fs21ib>X</fs21ib>
            <fs30i>O</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>X</fs16ia>
            <fs18ia>X</fs18ia>
            <fs21ia>X</fs21ia>
            <fs16ib>X</fs16ib>
            <fs18ib>X</fs18ib>
            <fs21ib>X</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>
        <add><b></b></add>
    </support>



    <reference>
    </reference>



    <example>
    </example>



  </func>
</root>
