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

<root>
  <func>

    <title>cnc_rd5axovrlap</title>



    <declare>
      <vc>
        <include>#include "fwlib32.h"</include>
        <prottype>FWLIBAPI short WINAPI cnc_rd5axovrlap(unsigned short FlibHndl, short axis, short length, ODBAXIS *buf);</prottype>
      </vc>
    </declare>



    <doc>
        <cmn>
          <p>Reads the machine axis movement for the manual feed of 5-axis machining.</p>
          <p>The axis number(axis) should be specified as 1..max controlled axes (for reading each axis), or -1 (for reading all axes once).</p>
          <p>The unit of machine axis is the same as absolute coordinate value.</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>axis</name>
                    <type>in</type>
                    <content>
                        <p>Specify axis number to read.</p>
                        <table class="dd">
                            <colgroup align="left" valign="top">
                                <tr>
                                    <td>ALL_AXES</td>
                                    <td>:</td>
                                    <td>for all axes(ALL_AXES : -1)</td>
                                </tr>
                                <tr>
                                    <td>1,..,m</td>
                                    <td>:</td>
                                    <td>for each axis(m : number of controlled axis)</td>
                                </tr>
                            </colgroup>
                        </table>
                    </content>
                </item>
                <item>
                    <name>length</name>
                    <type>in</type>
                    <content>
                        <p>Specify the length of the data block(size of ODBAXIS structure)</p>
                        <p><b>ODBAXIS</b></p>
                        <table>
                            <colgroup align="left" valign="top">
                            <colgroup align="left" valign="top">
                            <colgroup align="left" valign="top">
                            <tr>
                                <th>for each axis</th>
                                <th>for all axes</th>
                            </tr>
                            <tr>
                                <td valign="top"><img src="position/rpos.gif"/></td>
                                <td valign="top"><img src="position/rposa.gif"/></td>
                            </tr>
                            </colgroup>
                            </colgroup>
                            </colgroup>
                        </table>
                        <ul>
                        </ul>
                        <ul>
                            <li>Series 160i/180i/210i</li><p/>
                            <p>
                                n = Maximum controlled axes
                            </p>
                        </ul>
                    </content>
                </item>
                <item>
                    <name>buf</name>
                    <type>out</type>
                    <content>
                        <p>Specify the pointer to the ODBAXIS structure to store the machine axis movement of the manual feed for 5-axis machining.<br/>
                           The ODBAXIS structure is as follows.</p>
<pre>
typedef struct odbaxis {
        short   dummy ;                 /* Not used. */
        short   type ;                  /* Axis number. */
        long    data[MAX_AXIS] ;        /* amount of machine axes movement */
} ODBAXIS ;                          /* MAX_AXIS is the maximum controlled axes. */
</pre>
                    </content>
                </item>
            </vc>
        </common>
    </argument>



    <errcode>
        <item>
            <name>EW_LENGTH</name>
            <content>
                data block length error<br/>
                Size of ODBAXIS structure(length) is illegal.
            </content>
        </item>
        <item>
            <name>EW_ATTRIB</name>
            <content>
                Data attribute error<br/>
                The specification of axis number (axis) is improper.
            </content>
        </item>
        <item>
            <name>EW_NOOPT</name>
            <content>No option<br/>
                     The extended driver/library function and the manual feed for 5-axis machining are necessary.</content>
        </item>
    </errcode>



    <option>
        <hssb>The extended driver/library function and the manual feed for 5-axis machining are necessary.</hssb>
    </option>



    <parameter>
    </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>O</fs16ib>
            <fs18ib>O</fs18ib>
            <fs21ib>O</fs21ib>
            <fs30i>H</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>O</fs16ib>
            <fs18ib>O</fs18ib>
            <fs21ib>O</fs21ib>
            <fs30i>H</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>
        <item>
            <name>cnc_rd5axmandt</name>
            <file>position/cnc_rd5axmandt.htm</file>
        </item>
        <item>
            <name>cnc_clr5axpls</name>
            <file>position/cnc_clr5axpls.htm</file>
        </item>
    </reference>



    <example>
    </example>



  </func>
</root>
