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

<root>
  <func>


    <title>pmc_wrprmend</title>



    <declare>
      <vc>
        <include>#include "fwlib32.h"</include>
        <prottype>FWLIBAPI short WINAPI pmc_wrprmend(unsigned short FlibHndl);</prottype>
      </vc>
    </declare>



    <doc>
        <cmn>
            End of download of the PMC parameter(timer, counter, keep relay, and data) by the tape format.<br/>
            <br/>
            Even if the PWE of CNC parameter is '0' or the state of CNC is not an
            emergency stop, this function is executable.<br/>
            However, when EW_DATA, EW_PARAM, EW_PATH and EW_REJECT occurred during writing,
            the return value of this function  becomes the same value.
        </cmn>
    </doc>



    <argument>
        <hssb>
            <cmn>
                <item>
                    <name>FlibHndl</name>
                    <type>in</type>
                    <content>
                        <p>
                            Specify the library handle.<br/>
                            See "<a href="handle.htm" target="_parent">Library handle</a>" for details.
                        </p>
                    </content>
                </item>
            </cmn>
        </hssb>
    </argument>



    <errcode>
        <item>
            <name>EW_FUNC</name>
            <content>
                <a href="Pmc/pmc_wrprmstart.htm" target="_parent">pmc_wrprmstart</a> function has not been executed.
            </content>
        </item>
       <item>
            <name>EW_DATA</name>
            <content>
                Data error<br/>
                The writing format is wrong.
            </content>
        </item>
        <item>
            <name>EW_NOOPT</name>
            <content>
                no option
            </content>
        </item>
        <item>
            <name>EW_PARAM</name>
            <content>
                Parameter error<br/>
                CNC parameter(PWE) is '0'.
            </content>
        </item>
        <item>
            <name>EW_PATH</name>
            <content>
                PMC unit type was wrong.(only 30i/31i/32i)<br/>
                The PMC unit type was changed.
            </content>
        </item>
        <item>
            <name>EW_REJECT</name>
            <content>
                CNC execution rejection<br/>
                CNC is not in "Emergency" state.
            </content>
        </item>
    </errcode>



    <option>
        <hssb>
            The extended driver/library function is 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>H</fs16ia>
            <fs18ia>H</fs18ia>
            <fs21ia>H</fs21ia>
            <fs16ib>H</fs16ib>
            <fs18ib>H</fs18ib>
            <fs21ib>H</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>H</fs16ia>
            <fs18ia>H</fs18ia>
            <fs21ia>H</fs21ia>
            <fs16ib>H</fs16ib>
            <fs18ib>H</fs18ib>
            <fs21ib>H</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>H</fs16ia>
            <fs18ia>H</fs18ia>
            <fs21ia>H</fs21ia>
            <fs16ib>H</fs16ib>
            <fs18ib>H</fs18ib>
            <fs21ib>H</fs21ib>
            <fs30i>X</fs30i>
        </lc>
        <p>
            <fs16i>H</fs16i>
            <fs18i>H</fs18i>
        </p>
        <l>
            <fs16i>H</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_rdprmstart</name>
            <file>Pmc/pmc_rdprmstart.htm</file>
        </item>
        <item>
            <name>pmc_rdpmcparam</name>
            <file>Pmc/pmc_rdpmcparam.htm</file>
        </item>
        <item>
            <name>pmc_rdprmend</name>
            <file>Pmc/pmc_rdprmend.htm</file>
        </item>
        <item>
            <name>pmc_wrprmstart</name>
            <file>Pmc/pmc_wrprmstart.htm</file>
        </item>
        <item>
            <name>pmc_wrpmcparam</name>
            <file>Pmc/pmc_wrpmcparam.htm</file>
        </item>
    </reference>



  </func>
</root>
