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


<root>
  <func>


    <title>cnc_rdbrstrinfo</title>



    <declare>
      <vc>
        <include>#include "fwlib32.h"</include>
        <prottype>FWLIBAPI short WINAPI cnc_rdbrstrinfo(unsigned short FlibHndl, ODBBRS *brstr);</prottype>
      </vc>
    </declare>



    <doc>
        <cmn>
Reads the data of block restart.
<p>These are stored in each member of ODBBRS structure.</p>

The destination and the distance to go of block restart are valid in case of CNC parameter 2204#1=1, 7613#0=1 for Series 150.<p/>
The places of decimal points can be got by <a href="misc/cnc_getfigure.htm" target="_parent">cnc_getfigure</a> function.<p/>
The relation to these data, amount of Tool Length Compensation/Cutter Compensation, and amount of servo delay and acceleration/deceleration delay follows the setting of CNC parameter of the following description.
      </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>brstr</name>
                    <type>out</type>
                    <content>
                        <p/>Pointer to the ODBBRS structure for the data of block restart. The ODBBRS structure is as follows.
<pre>
typedef struct odbbrs {
     long    dest[MAX_AXIS];    /* destination    */
     long    dist[MAX_AXIS];    /* distance to go */
} ODBBRS ;     /* MAX_AXIS : max. controlled axes */
</pre>

<dl>
    <dt>dest</dt>
    <dd>The destination of block restart is set. The data of current controlled axis is valid.</dd>
    <dt>dist</dt>
    <dd>The distance to go of block restart is set. The data of current controlled axis is valid.</dd>
</dl>
                    </content>
                </item>
            </vc>
        </common>
    </argument>



    <errcode>
        <item>
            <name>EW_NOOPT</name>
            <content>
                No option<br/>
                The block restart option and the extended driver/library function are necessary.
           </content>
        </item>
        <add></add>
    </errcode>



    <option>
        <hssb>This function needs the extended driver/library function.</hssb>
        <ethr>The Ethernet function and the extended driver/library function are necessary. 
        </ethr>
        <need>
           The block restart function is necessary.
        </need>
        <add></add>
    </option>



    <parameter>
        <type>
            <ul>
                <li>Series 150</li>
                    2204#1=1, 7613#0=1  (must be set)<br/>
                    M : 2202#2,#3,#4,#5 (influenced by setting)<br/>
                    T : 2202#4,#5, 2203#3 (influenced by setting
                <p/>
            </ul>
        </type>
        <add></add>
    </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></reference>



    <example></example>



  </func>
</root>
