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

<root>
  <func>


    <title>cnc_rdvolccomp</title>



    <declare>
      <vc>
        <include>#include "fwlib32.h"</include>
        <prottype>FWLIBAPI short WINAPI cnc_rdvolccomp(unsigned short FlibHndl, ODBVOLCOMP *pvcmp);</prottype>
      </vc>
    </declare>



    <doc>
        <cmn>
            <p>The compensation amount at the current position of 3-dimensional error compensation axis is acquired.</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>pvcmp</name>
                    <type>out</type>
                    <content>
                        <p>Pointer to the ODBVOLCOMP structure to store the compensation amount data of each axis. The ODBVOLCOMP structure is as follows.</p>
<pre>
typedef struct pvcmp {
    long       comp[3] ;      /* Compensation amount of each axis  */
} ODBVOLCOMP ;
</pre>
                        <dl>
                            <dt>comp</dt>
                                <dd>The compensation amount of each axis is acquired.</dd>
                            <dd>
                                <table class="dd">
                                    <tr> <td>comp[0]</td><td>:</td><td>The compensation amount of 1st axis.</td> </tr>
                                    <tr> <td>comp[1]</td><td>:</td><td>The compensation amount of 2nd axis.</td> </tr>
                                    <tr> <td>comp[2]</td><td>:</td><td>The compensation amount of 3rd axis.</td> </tr>
                                </table>
                            </dd>
                        </dl>

                    </content>
                </item>
            </vc>
        </common>
    </argument>



    <errcode>
        <item>
            <name>EW_NOOPT</name>
            <content>No option<br/>
                     This function needs the 3-dimensional error compensation and the extended driver/library function option.
            </content>
        </item>
    </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/310i/320i, 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>
            3-dimensional error compensation<br/>
        </need>
    </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>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>

        <is>
            <m>
                <fs30is>X</fs30is>
            </m>
            <t>
                <fs30is>X</fs30is>
            </t>
        </is>
    </support>



    <reference>
        <item>
            <name>cnc_rdvolc</name>
            <file>ncdata/cnc_rdvolc.htm</file>
        </item>
        <item>
            <name>cnc_wrvolc</name>
            <file>ncdata/cnc_wrvolc.htm</file>
        </item>
    </reference>



  </func>
</root>
