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

<root>
  <func>

    <title>cnc_rdzofs</title>


    <declare>
      <vc>
        <include>#include "fwlib32.h"</include>
        <prottype>FWLIBAPI short WINAPI cnc_rdzofs(unsigned short FlibHndl, short number, short axis, short length, IODBZOFS *zofs); </prottype>
      </vc>
    </declare>



    <doc>
        <cmn>
            <p>Reads the work zero offset value specified by "number", "axis".<br/>
               The offset value is stored in "data[0]" of "IODBZOFS" with signed binary format.<br/>Reads the offset value for all axes once by specifying 'ALL_AXES' in 'axis'.  The offset value for each axis is stored in "data" array of "IODBZOFS".
            </p>

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

            <p>The unit of offset value is as follows.</p>

            <ul>
                <li>Series 150</li>
                <p>
                    <table border="1">
                        <tr>
                            <th/>
                            <th>1009#1<br/>(ISE)</th>
                            <th>1004#5<br/>(ISD)</th>
                            <th>1004#1<br/>(ISF)</th>
                            <th>1004#0<br/>(ISR)</th>
                            <th>Linear axis<br/>mm input<br/>[mm]</th>
                            <th>Linear axis<br/>inch input<br/>[inch]</th>
                            <th>Rotation axis<br/><br/>[deg]</th>
                        </tr>

                        <tr>
                            <td>IS-A</td>
                            <td>0</td>
                            <td>0</td>
                            <td>0</td>
                            <td>1</td>
                            <td>0.01</td>
                            <td>0.001</td>
                            <td>0.01</td>
                        </tr>

                        <tr>
                            <td>IS-B</td>
                            <td>0</td>
                            <td>0</td>
                            <td>0</td>
                            <td>0</td>
                            <td>0.001</td>
                            <td>0.0001</td>
                            <td>0.001</td>
                        </tr>

                        <tr>
                            <td>IS-C</td>
                            <td>0</td>
                            <td>0</td>
                            <td>1</td>
                            <td>0</td>
                            <td>0.0001</td>
                            <td>0.00001</td>
                            <td>0.0001</td>
                        </tr>

                        <tr>
                            <td>IS-D</td>
                            <td>0</td>
                            <td>1</td>
                            <td>0</td>
                            <td>0</td>
                            <td>0.00001</td>
                            <td>0.000001</td>
                            <td>0.00001</td>
                        </tr>

                        <tr>
                            <td>IS-E</td>
                            <td>1</td>
                            <td>0</td>
                            <td>0</td>
                            <td>0</td>
                            <td>0.000001</td>
                            <td>0.0000001</td>
                            <td>0.000001</td>
                        </tr>
                    </table>
                </p>
            </ul>
            <ul>
                <li>Series 150i</li>
                <p>
                    <table border="1">
                        <tr>
                            <th/>
                            <th>1012#3<br/>(ISE)</th>
                            <th>1012#2<br/>(ISD)</th>
                            <th>1012#1<br/>(ISC)</th>
                            <th>1012#0<br/>(ISA)</th>
                            <th>Linear axis<br/>mm input<br/>[mm]</th>
                            <th>Linear axis<br/>inch input<br/>[inch]</th>
                            <th>Rotation axis<br/><br/>[deg]</th>
                        </tr>

                        <tr>
                            <td>IS-A</td>
                            <td>0</td>
                            <td>0</td>
                            <td>0</td>
                            <td>1</td>
                            <td>0.01</td>
                            <td>0.001</td>
                            <td>0.01</td>
                        </tr>

                        <tr>
                            <td>IS-B</td>
                            <td>0</td>
                            <td>0</td>
                            <td>0</td>
                            <td>0</td>
                            <td>0.001</td>
                            <td>0.0001</td>
                            <td>0.001</td>
                        </tr>

                        <tr>
                            <td>IS-C</td>
                            <td>0</td>
                            <td>0</td>
                            <td>1</td>
                            <td>0</td>
                            <td>0.0001</td>
                            <td>0.00001</td>
                            <td>0.0001</td>
                        </tr>

                        <tr>
                            <td>IS-D</td>
                            <td>0</td>
                            <td>1</td>
                            <td>0</td>
                            <td>0</td>
                            <td>0.00001</td>
                            <td>0.000001</td>
                            <td>0.00001</td>
                        </tr>

                        <tr>
                            <td>IS-E</td>
                            <td>1</td>
                            <td>0</td>
                            <td>0</td>
                            <td>0</td>
                            <td>0.000001</td>
                            <td>0.0000001</td>
                            <td>0.000001</td>
                        </tr>
                    </table>
                </p>
            </ul>
            <ul>
                <li>Series 160/180/210, 160i/180i/210i, 0i</li>
                <p>
                    <table border="1">
                        <tr>
                            <th/>
                            <th>1004#1<br/>(ISC)</th>
                            <th>1004#0<br/>(ISA)</th>
                            <th>Linear axis<br/>mm input<br/>[mm]</th>
                            <th>Linear axis<br/>inch input<br/>[inch]</th>
                            <th>Rotation axis<br/> <br/>[deg]</th>
                        </tr>

                        <tr>
                            <td>IS-A</td>
                            <td>0</td>
                            <td>1</td>
                            <td>0.01</td>
                            <td>0.001</td>
                            <td>0.01</td>
                        </tr>

                        <tr>
                            <td>IS-B</td>
                            <td>0</td>
                            <td>0</td>
                            <td>0.001</td>
                            <td>0.0001</td>
                            <td>0.001</td>
                        </tr>

                        <tr>
                            <td>IS-C</td>
                            <td>1</td>
                            <td>0</td>
                            <td>0.0001</td>
                            <td>0.00001</td>
                            <td>0.0001</td>
                        </tr>
                    </table>
                </p>
            </ul>
            <ul>
                <li>Series 300i</li>
                <p>
                    <table border="1">
                        <tr>
                            <th/>
                            <th>1013#3<br/>(ISE)</th>
                            <th>1013#2<br/>(ISD)</th>
                            <th>1013#1<br/>(ISC)</th>
                            <th>1013#0<br/>(ISA)</th>
                            <th>Linear axis<br/>mm input<br/>[mm]</th>
                            <th>Linear axis<br/>inch input<br/>[inch]</th>
                            <th>Rotation axis<br/><br/>[deg]</th>
                        </tr>

                        <tr>
                            <td>IS-A</td>
                            <td>0</td>
                            <td>0</td>
                            <td>0</td>
                            <td>1</td>
                            <td>0.01</td>
                            <td>0.001</td>
                            <td>0.01</td>
                        </tr>

                        <tr>
                            <td>IS-B</td>
                            <td>0</td>
                            <td>0</td>
                            <td>0</td>
                            <td>0</td>
                            <td>0.001</td>
                            <td>0.0001</td>
                            <td>0.001</td>
                        </tr>

                        <tr>
                            <td>IS-C</td>
                            <td>0</td>
                            <td>0</td>
                            <td>1</td>
                            <td>0</td>
                            <td>0.0001</td>
                            <td>0.00001</td>
                            <td>0.0001</td>
                        </tr>

                        <tr>
                            <td>IS-D</td>
                            <td>0</td>
                            <td>1</td>
                            <td>0</td>
                            <td>0</td>
                            <td>0.00001</td>
                            <td>0.000001</td>
                            <td>0.00001</td>
                        </tr>

                        <tr>
                            <td>IS-E</td>
                            <td>1</td>
                            <td>0</td>
                            <td>0</td>
                            <td>0</td>
                            <td>0.000001</td>
                            <td>0.0000001</td>
                            <td>0.000001</td>
                        </tr>
                    </table>
                </p>
            </ul>
        </cmn>

        <is>
            <p>
                Reads the work zero offset value specified by "number", "axis".
                The offset value is stored in "data[0]" of "IODBZOFS" with signed binary format.<br/>
            </p>
            <p>
                Reads the offset value for all axes once by specifying 'ALL_AXES' in 'axis'.  
                The offset value for each axis is stored in "data" array of "IODBZOFS".
            </p>
            <p>
                The place of decimal point can be got by <a href="misc/cnc_getfigure.htm" target="_parent">cnc_getfigure</a> function.
            </p>
            <p>The unit of offset value is as follows.</p>
                <table class="dd" border="1">
                    <tr>
                        <th/>
                        <th>1013#3<br/>(ISE)</th>
                        <th>1013#2<br/>(ISD)</th>
                        <th>1013#1<br/>(ISC)</th>
                        <th>1013#0<br/>(ISA)</th>
                        <th>Linear axis<br/>mm input<br/>[mm]</th>
                        <th>Linear axis<br/>inch input<br/>[inch]</th>
                        <th>Rotation axis<br/><br/>[deg]</th>
                    </tr>

                    <tr>
                        <td>IS-A</td>
                        <td>0</td>
                        <td>0</td>
                        <td>0</td>
                        <td>1</td>
                        <td>0.01</td>
                        <td>0.001</td>
                        <td>0.01</td>
                    </tr>

                    <tr>
                        <td>IS-B</td>
                        <td>0</td>
                        <td>0</td>
                        <td>0</td>
                        <td>0</td>
                        <td>0.001</td>
                        <td>0.0001</td>
                        <td>0.001</td>
                    </tr>

                    <tr>
                        <td>IS-C</td>
                        <td>0</td>
                        <td>0</td>
                        <td>1</td>
                        <td>0</td>
                        <td>0.0001</td>
                        <td>0.00001</td>
                        <td>0.0001</td>
                    </tr>

                    <tr>
                        <td>IS-D</td>
                        <td>0</td>
                        <td>1</td>
                        <td>0</td>
                        <td>0</td>
                        <td>0.00001</td>
                        <td>0.000001</td>
                        <td>0.00001</td>
                    </tr>

                    <tr>
                        <td>IS-E</td>
                        <td>1</td>
                        <td>0</td>
                        <td>0</td>
                        <td>0</td>
                        <td>0.000001</td>
                        <td>0.0000001</td>
                        <td>0.000001</td>
                    </tr>
                </table>
        </is>
    </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>number</name>
                    <type>in</type>
                    <content>
                        <p>Specify the work zero offset number.</p>
                        <ul>
                            <li>Series 150, 150i</li>
                            <p>
                                <table>
                                    <tr>
                                        <td></td>
                                        <td>0</td>
                                        <td>:</td>
                                        <td>External work zero offset value</td>
                                    </tr>

                                    <tr>
                                        <td/>
                                        <td>1,..,6</td>
                                        <td>:</td>
                                        <td>Work zero offset value of G54 through G59</td>
                                    </tr>

                                    <tr>
                                        <td/>
                                        <td>7,..,54</td>
                                        <td>:</td>
                                        <td>Work zero offset value of G54.1P1 through G54.1P48</td>
                                    </tr>
                                </table>
                            </p>
                        </ul>
                        <ul>
                            <li>Series 160/180/210, 160i/180i/210i, 0i</li>
                            <p>
                                <table>
                                    <tr>
                                        <td>M Series</td>
                                        <td>0</td>
                                        <td>:</td>
                                        <td>External work zero offset value</td>
                                    </tr>

                                    <tr>
                                        <td/>
                                        <td>1,..,6</td>
                                        <td>:</td>
                                        <td>Work zero offset value of G54 through G59</td>
                                    </tr>

                                    <tr>
                                        <td/>
                                        <td>7,..,306</td>
                                        <td>:</td>
                                        <td>Work zero offset value of G54.1P1 through G54.1P300</td>
                                    </tr>

                                    <tr>
                                        <td>T Series</td>
                                        <td>0</td>
                                        <td>:</td>
                                        <td>External work zero offset value</td>
                                    </tr>

                                    <tr>
                                        <td/>
                                        <td>1,..,6</td>
                                        <td>:</td>
                                        <td>Work zero offset value of G54 through G59</td>
                                    </tr>
                                </table>
                            </p>
                        </ul>
                        <ul>
                            <li>Series 300i</li>
                            <p>
                                <table>
                                    <tr>
                                        <td>0</td>
                                        <td>:</td>
                                        <td>External work zero offset value</td>
                                    </tr>

                                    <tr>
                                        <td>1,..,6</td>
                                        <td>:</td>
                                        <td>Work zero offset value of G54 through G59</td>
                                    </tr>

                                    <tr>
                                        <td>7,..,306</td>
                                        <td>:</td>
                                        <td>Work zero offset value of G54.1P1 through G54.1P300</td>
                                    </tr>
                                </table>
                            </p>
                        </ul>
                    </content>
                </item>
                <item>
                    <name>axis</name>
                    <type>in</type>
                    <content>
                        <p>Specify the axis number.</p>
                        <ul>
                            <table>
                                <colgroup align="left" valign="top">
                                <colgroup align="left" valign="top">
                                <tr>
                                    <td>ALL_AXES</td>
                                    <td>:</td>
                                    <td>assigns all axes(ALL_AXES=-1)</td>
                                </tr>
                                <tr>
                                    <td>1,..,m</td>
                                    <td>:</td>
                                    <td>assigns 1 axis(m=current controlled axes)</td>
                                </tr>
                                </colgroup>
                                </colgroup>
                            </table>
                        </ul>
                    </content>
                </item>
                <item>
                    <name>length</name>
                    <type>in</type>
                    <content>
                        <p>Specify the data block length(size of IODBZOFS structure).</p>
                        <p><b>IODBZOFS</b></p>
                        <table>
                            <colgroup align="left" valign="top">
                            <colgroup align="left" valign="top">
                            <colgroup align="left" valign="top">
                            <tr>
                                <th>1 axis</th>
                                <th>all axis</th>
                            </tr>
                            <tr>
                                <td valign="top"><img src="ncdata/axis.gif" /></td>
                                <td valign="top"><img src="ncdata/axisa.gif" /></td>
                            </tr>
                            </colgroup>
                            </colgroup>
                            </colgroup>
                        </table>
                        <ul>
                            <li>Series 150, 150i, 300i</li><p/>
                            <p>n = Maximum controlled axes<br/>* The data for current controlled axes are valid.</p>
                        </ul>
                        <ul>
                            <li>Series 160/180/210, 160i/180i/210i, 0i</li><p/>
                            <p>n = Current controlled axes</p>
                        </ul>
                    </content>
                </item>
                <item>
                    <name>zofs</name>
                    <type>out</type>
                    <content>
                        <p>Pointer to the IODBZOFS structure including the work zero offset value.  The IODBZOFS structure is as follows.</p>
<pre>
typedef struct  iodbzofs {
        short   datano;         /* offset number */
        short   type;           /* axis number */
        long    data[MAX_AXIS]; /* offset data value */
} IODBZOFS ;             /* MAX_AXIS : max. controlled axes */
</pre>
                    </content>
                </item>
            </vc>
        </common>

        <is>
            <hssb>
                <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>number</name>
                        <type>in</type>
                        <content>
                            <p>Specify the work zero offset number.</p>
                        </content>
                            <p>
                                <table>
                                    <tr>
                                        <td>0</td>
                                        <td>:</td>
                                        <td>External work zero offset value</td>
                                    </tr>

                                    <tr>
                                        <td>1,..,6</td>
                                        <td>:</td>
                                        <td>Work zero offset value of G54 through G59</td>
                                    </tr>

                                    <tr>
                                        <td>7,..,306</td>
                                        <td>:</td>
                                        <td>Work zero offset value of G54.1P1 through G54.1P300</td>
                                    </tr>
                                </table>
                            </p>
                    </item>
                    <item>
                        <name>axis</name>
                        <type>in</type>
                        <content>
                            <p>Specify the axis number.</p>
                            <ul>
                                <table>
                                    <colgroup align="left" valign="top">
                                    <colgroup align="left" valign="top">
                                    <tr>
                                        <td>ALL_AXES</td>
                                        <td>:</td>
                                        <td>assigns all axes(ALL_AXES=-1)</td>
                                    </tr>
                                    <tr>
                                        <td>1,..,m</td>
                                        <td>:</td>
                                        <td>assigns 1 axis(m=current controlled axes)</td>
                                    </tr>
                                    </colgroup>
                                    </colgroup>
                                </table>
                            </ul>
                        </content>
                    </item>
                    <item>
                        <name>length</name>
                        <type>in</type>
                        <content>
                            <p>Specify the data block length(size of IODBZOFS structure).</p>
                            <p><b>IODBZOFS</b></p>
                            <table>
                                <colgroup align="left" valign="top"/>
                                <colgroup align="left" valign="top"/>
                                <tr>
                                    <th>1 axis</th>
                                    <th>all axis</th>
                                </tr>
                                <tr>
                                    <td><img src="ncdata/axis.gif" /></td>
                                    <td><img src="ncdata/axisa.gif"/></td>
                                </tr>
                                <tr>
                                    <td></td>
                                    <td>n = Maximum controlled axes(The data for current controlled axes are valid).</td>
                                </tr>
                            </table>
                        </content>
                    </item>
                    <item>
                        <name>zofs</name>
                        <type>out</type>
                        <content>
                            <p>Pointer to the IODBZOFS structure including the work zero offset value.  The IODBZOFS structure is as follows.</p>
<pre>
typedef struct  iodbzofs {
        short   datano;         /* offset number */
        short   type;           /* axis number */
        long    data[MAX_AXIS]; /* offset data value */
} IODBZOFS ;             /* MAX_AXIS : max. controlled axes */
</pre>
                        </content>
                    </item>
                </vc>
            </hssb>
        </is>
    </argument>



    <errcode>
        <item>
            <name>EW_LENGTH</name>
            <content>Data block length error<br/>Size of IODBZOFS structure(length) is wrong.</content>
        </item>
        <item>
            <name>EW_NUMBER</name>
            <content>Data number error<br/>Offset number(number) is wrong.</content>
        </item>
        <item>
            <name>EW_ATTRIB</name>
            <content>Data attribute error<br/>Axis number(axis) is wrong.</content>
        </item>
        <item>
            <name>EW_NOOPT</name>
            <content>No option<span class="xis">(Series 160/180/210, 160i/180i/210i, 0i, 300i)</span><br/>This function needs the work zero offset 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 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>

        <type>
                <li>Series 150, 150i</li>
                <table>
                    <colgroup valign="top">
                    <colgroup valign="top">
                    <tr>
                        <td></td>
                        <td>Work zero offset 48 sets</td>
                    </tr>
                    </colgroup>
                    </colgroup>
                </table>
                <br/>
                <li>Series 160/180/210, 160i/180i/210i, 0i</li>
                <table>
                    <colgroup valign="top">
                    <colgroup valign="top">
                    <tr>
                        <td>M series</td>
                        <td>Work zero offset</td>
                    </tr>
                    <tr>
                        <td/>
                        <td>Work zero offset 48 sets</td>
                    </tr>
                    <tr>
                        <td/>
                        <td>Work zero offset 300 sets</td>
                    </tr>
                    <tr>
                        <td>T series</td>
                        <td>Work zero offset</td>
                    </tr>
                    </colgroup>
                    </colgroup>
                </table>
                <br/>
                <li>Series 300i</li>
                <table>
                    <colgroup valign="top">
                    <tr>
                        <td>Work zero offset</td>
                    </tr>
                    <tr>
                        <td>Work zero offset 48 sets</td>
                    </tr>
                    <tr>
                        <td>Work zero offset 300 sets</td>
                    </tr>
                    <tr>
                        <td>IS-C,IS-D,IS-E</td>
                    </tr>
                    </colgroup>
                </table>
        </type>

        <is>
            <hssb>The extended driver/library function is necessary.</hssb>
            <need>Work zero offset</need>
            <type>
                <table>
                    <colgroup valign="top"/>
                    <tr>
                        <td>Work zero offset 48 sets</td>
                    </tr>
                    <tr>
                        <td>Work zero offset 300 sets</td>
                    </tr>
                    <tr>
                        <td>IS-C,IS-D,IS-E</td>
                    </tr>
                </table>
            </type>
        </is>
    </option>



    <parameter>
        <type>
            <ul>
                <li>Series 150</li>
                    1004#0,#1,#5, 1009#1
            </ul>
            <ul>
                <li>Series 150i</li>
                    1012#0,#1,#2,#3
            </ul>
            <ul>
                <li>Series 160/180/210, 160i/180i/210i, 0i</li>
                    1004#0,#1
            </ul>
            <ul>
                <li>Series 300i</li>
                    1013#3,#2,#1,#0
            </ul>
        </type>
        <add></add>
    </parameter>


    <is_parameter>
        <type>
            <ul>
                <p>1013#3,#2,#1,#0</p>
            </ul>
        </type>
    </is_parameter>


    <mode>
    </mode>




    <support>
        <m>
              <fs0ia>H</fs0ia>
            <fs0ib>O</fs0ib>
            <fs15>H</fs15>
            <fs15i>O</fs15i>
            <fs16>H</fs16>
            <fs18>H</fs18>
            <fs21>H</fs21>
            <fs16ia>O</fs16ia>
            <fs18ia>O</fs18ia>
            <fs21ia>O</fs21ia>
            <fs16ib>O</fs16ib>
            <fs18ib>O</fs18ib>
            <fs21ib>O</fs21ib>
            <fs30i>O</fs30i>
        </m>
        <t>
              <fs0ia>H</fs0ia>
            <fs0ib>O</fs0ib>
            <fs15>H</fs15>
            <fs15i>X</fs15i>
            <fs16>H</fs16>
            <fs18>H</fs18>
            <fs21>X</fs21>
            <fs16ia>O</fs16ia>
            <fs18ia>O</fs18ia>
            <fs21ia>E</fs21ia>
            <fs16ib>O</fs16ib>
            <fs18ib>O</fs18ib>
            <fs21ib>O</fs21ib>
            <fs30i>O</fs30i>
        </t>
        <lc>
              <fs0ia>X</fs0ia>
            <fs0ib>X</fs0ib>
            <fs15>X</fs15>
            <fs15i>X</fs15i>
            <fs16>H</fs16>
            <fs18>H</fs18>
            <fs21>H</fs21>
            <fs16ia>H</fs16ia>
            <fs18ia>H</fs18ia>
            <fs21ia>H</fs21ia>
            <fs16ib>H</fs16ib>
            <fs18ib>H</fs18ib>
            <fs21ib>H</fs21ib>
            <fs30i>X</fs30i>
        </lc>
        <p>
            <fs16i>O</fs16i>
            <fs18i>O</fs18i>
        </p>
        <l>
            <fs16i>O</fs16i>
            <fs18i>X</fs18i>
        </l>
        <w>
            <fs16i>E</fs16i>
            <fs18i>E</fs18i>
        </w>
        <pw>
            <d>X</d>
            <h>X</h>
        </pw>
        <add><b></b></add>


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








    <reference>
        <item>
            <name>cnc_wrzofs</name>
            <file>ncdata/cnc_wrzofs.htm</file>
        </item>
        <item>
            <name>cnc_rdzofsr</name>
            <file>ncdata/cnc_rdzofsr.htm</file>
        </item>
        <item>
            <name>cnc_wrzofsr</name>
            <file>ncdata/cnc_wrzofsr.htm</file>
        </item>
        <item>
            <name>cnc_rdzofsinfo</name>
            <file>ncdata/cnc_rdzofsinfo.htm</file>
        </item>
    </reference>



    <example>
<vc>
The following program displays the work zero offset values of the specified
number for all axes (number of axes = MAX_AXIS).

#include "fwlib32.h"

/* ofs is offset number to be displayed. */
void example( short ofs )
{
        IODBZOFS zofs ;
        unsigned short idx ;
        cnc_rdzofs( h, ofs, -1, 4+4*MAX_AXIS, &#38;zofs ) ;
        for ( idx = 0 ; idx &#60; MAX_AXIS ; idx++ )
                printf( "%u:%8ld\n", idx, zofs.data[idx] ) ;
}
</vc>
    </example>



  </func>
</root>
