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

<root>
  <func>
    <title>cnc_rd3dtooltip</title>


    <declare>
      <vc>
        <include>#include "fwlib32.h"</include>
        <prottype>FWLIBAPI short WINAPI cnc_rd3dtooltip(unsigned short FlibHndl, ODB3DHDL *tooltip);</prottype>
      </vc>
    </declare>



    <doc>
        <cmn>
            <p>Reads the absolute position of the tool tip coordinates about
            3-dimensional handle feed.</p>

                The number of each axis and the tool tip coordinates are stored
          respectively in "axes" and "data" of "ODB3DHDL".

            <p>The places of decimal points can be got by <a href="misc/cnc_getfigure.htm" target="_parent">cnc_getfigure</a> function.</p>

            <p>The relation to the read tool tip coordinates, amount of
            Tool Length Compensation and Cutter Radius Compensation, and amount of
            servo delay and acceleration/deceleration delay follows setting the
            CNC parameter of the following description.</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>tooltip</name>
                    <type>out</type>
                    <content>
                        <p>Pointer to the ODB3DHDL structure including the tool tip
                    coordinates of the controlled axes.
                    The ODB3DHDL structure is as follows.</p>
<pre>
typedef struct odb3dhdl {
        short   axes[5] ;       /* Axis number(0 -) */
        long    data[5] ;       /* Tool tip coordinates */
} ODB3DHDL ;

ODB3DHDL tooltip[2] ;
           /* tooltip[0] : for general and first parallel axis */
           /* tooltip[1] : for second parallel axis */
</pre>
                        <dl>
                            <dt>axes</dt>
                            <dd>Axis number(0 -) is set.</dd>
                            <dt>data</dt>
                            <dd>Tool tip coordinates is set.</dd>
                        </dl>
                    </content>
                </item>
            </vc>
        </common>
    </argument>



    <errcode>
        <item>
            <name>EW_NOOPT</name>
            <content>No option<br/>The 3-dimensional handle feed function and
                                    the extended driver/library function are
                                    necessary.  Besides, either the manual handle
                                    feed function or the manual handle interrupt
                                    function is necessary.</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>
        </ethr>
        <need>
                This function needs the 3-dimensional handle feed function.<br/>
                This function needs either the manual handle feed function or the manual
                handle interrupt function.
        </need>
    </option>



    <parameter>
        <type>
            <ul>
                <li>Series 150</li>
                2204#1=1, 7613#0=1 (must be set)<br/>
                1022, 2202#2,#3,#4,#5 (influenced by setting)<br/>
                Parameters concerning the 3-dimensional handle feed function. (influenced by setting)<br/>
            </ul>
            <ul>
                <li>Series 150i</li>
                1022, 2202#2,#3,#4,#5 (influenced by setting)<br/>
                Parameters concerning the 3-dimensional handle feed function. (influenced by setting)<br/>
            </ul>
        </type>
    </parameter>



    <mode>
    </mode>



    <support>
        <m>
            <fs0ia>X</fs0ia>
            <fs0ib>X</fs0ib>
            <fs15>H</fs15>
            <fs15i>O</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>
        </m>
        <t>
            <fs0ia>X</fs0ia>
            <fs0ib>X</fs0ib>
            <fs15>H</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>
        </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>
        <item>
            <name>cnc_rd3dpulse</name>
            <file>position/cnc_rd3dpulse.htm</file>
        </item>
        <item>
            <name>cnc_rd3dmovrlap</name>
            <file>position/cnc_rd3dmovrlap.htm</file>
        </item>
        <item>
            <name>cnc_rd3dofschg</name>
            <file>position/cnc_rd3dofschg.htm</file>
        </item>
        <item>
            <name>cnc_clr3dplsmov</name>
            <file>position/cnc_clr3dplsmov.htm</file>
        </item>
    </reference>



    <example>
    </example>



  </func>
</root>
