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


        <title>pmc_get_timer_type</title>



        <declare>
            <vc>
                <include>#include "fwlib32.h"</include>
                <prottype>
                    FWLIBAPI short WINAPI pmc_get_timer_type(unsigned short FlibHndl,
                        unsigned short s_no, unsigned short e_no, short *type);
                </prottype>
            </vc>
        </declare>



        <doc>
            <cmn>
                <p>
                Reads the PMC timer type of the specified timer number.<br/>
                </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>s_no</name>
                        <type>in</type>
                        <content>
                            <p>
                            Specify the start PMC timer number(1-250).
                            </p>
                        </content>
                    </item>

                    <item>
                        <name>e_no</name>
                        <type>in</type>
                        <content>
                            <p>
                            Specify the end PMC timer number(1-250).
                            </p>
                        </content>
                    </item>

                    <item>
                        <name>type</name>
                        <type>out</type>
                        <content>
                        Specify the address of the array to store the timer type.<br/>
                        The timer type is as follows.
                            <table class="dd">
                                <tr><td>0</td><td>:</td><td>Initial value</td></tr>
                                <tr><td>1</td><td>:</td><td>1msec        </td></tr>
                                <tr><td>2</td><td>:</td><td>10msec       </td></tr>
                                <tr><td>3</td><td>:</td><td>100msec      </td></tr>
                                <tr><td>4</td><td>:</td><td>1sec         </td></tr>
                                <tr><td>5</td><td>:</td><td>1min         </td></tr>
                            </table>
                    Initial value (0) is as follows by the timer number.
                            <table class="dd">
                                <tr><td>No.1 - No.8  </td><td>:</td><td>48msec </td></tr>
                                <tr><td>No.9 - No.250</td><td>:</td><td>8msec </td></tr>
                            </table>
                        </content>
                    </item>
                </vc>
            </common>
        </argument>



        <errcode>
            <item>
                <name>EW_RANGE</name>
                <content>
                    Timer number error<br/>
                    PMC timer number(s_no, e_no) is wrong.
                </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, 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>
    </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>
        </support>



        <reference>
            <item>
                <name>pmc_set_timer_type</name>>
                <file>Pmc/pmc_set_timer_type.htm</file>
            </item>
        </reference>



    </func>
</root>
