py_ext/pous.xml
changeset 1399 4c130dba8366
parent 721 ecf4d203c4d4
child 3707 3c60c78dfa5d
equal deleted inserted replaced
1398:340a01ff9749 1399:4c130dba8366
     1 <?xml version="1.0" encoding="UTF-8"?>
     1 <?xml version='1.0' encoding='utf-8'?>
     2 <project xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
     2 <project xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://www.plcopen.org/xml/tc6_0201" xmlns:xhtml="http://www.w3.org/1999/xhtml" xsi:schemaLocation="http://www.plcopen.org/xml/tc6_0201">
     3          xmlns="http://www.plcopen.org/xml/tc6.xsd"
     3   <fileHeader companyName="Beremiz" productName="Beremiz" productVersion="0.0" creationDateTime="2008-12-14T16:53:26"/>
     4          xmlns:xhtml="http://www.w3.org/1999/xhtml"
     4   <contentHeader name="Beremiz non-standard POUs library" modificationDateTime="2014-03-17T08:07:24">
     5          xsi:schemaLocation="http://www.plcopen.org/xml/tc6.xsd">
       
     6   <fileHeader companyName="Beremiz"
       
     7               productName="Beremiz"
       
     8               productVersion="0.0"
       
     9               creationDateTime="2008-12-14T16:53:26"/>
       
    10   <contentHeader name="Beremiz non-standard POUs library"
       
    11                  modificationDateTime="2008-12-23T22:35:46">
       
    12     <coordinateInfo>
     5     <coordinateInfo>
    13       <fbd>
     6       <fbd>
    14         <scaling x="0" y="0"/>
     7         <scaling x="0" y="0"/>
    15       </fbd>
     8       </fbd>
    16       <ld>
     9       <ld>
    78             </variable>
    71             </variable>
    79           </localVars>
    72           </localVars>
    80         </interface>
    73         </interface>
    81         <body>
    74         <body>
    82           <ST>
    75           <ST>
    83 <![CDATA[{extern void __PythonEvalFB(int, PYTHON_EVAL*);__PythonEvalFB(0, data__);}]]>
    76             <xhtml:p><![CDATA[{extern void __PythonEvalFB(int, PYTHON_EVAL*);__PythonEvalFB(0, data__);}]]></xhtml:p>
    84           </ST>
    77           </ST>
    85         </body>
    78         </body>
    86       </pou>
    79       </pou>
    87       <pou name="python_poll" pouType="functionBlock">
    80       <pou name="python_poll" pouType="functionBlock">
    88         <interface>
    81         <interface>
   138             </variable>
   131             </variable>
   139           </localVars>
   132           </localVars>
   140         </interface>
   133         </interface>
   141         <body>
   134         <body>
   142           <ST>
   135           <ST>
   143 <![CDATA[{extern void __PythonEvalFB(int, PYTHON_EVAL*);__PythonEvalFB(1,(PYTHON_EVAL*)(void*)data__);}]]>
   136             <xhtml:p><![CDATA[{extern void __PythonEvalFB(int, PYTHON_EVAL*);__PythonEvalFB(1,(PYTHON_EVAL*)(void*)data__);}]]></xhtml:p>
   144           </ST>
   137           </ST>
   145         </body>
   138         </body>
   146       </pou>
   139       </pou>
   147     <pou name="python_gear" pouType="functionBlock">
   140       <pou name="python_gear" pouType="functionBlock">
   148         <interface>
   141         <interface>
   149           <inputVars>
   142           <inputVars>
   150             <variable name="N">
   143             <variable name="N">
   151               <type>
   144               <type>
   152                 <USINT/>
   145                 <UINT/>
   153               </type>
   146               </type>
   154             </variable>
   147             </variable>
   155             <variable name="TRIG">
   148             <variable name="TRIG">
   156               <type>
   149               <type>
   157                 <BOOL/>
   150                 <BOOL/>
   181                 <derived name="python_eval"/>
   174                 <derived name="python_eval"/>
   182               </type>
   175               </type>
   183             </variable>
   176             </variable>
   184             <variable name="COUNTER">
   177             <variable name="COUNTER">
   185               <type>
   178               <type>
   186                 <USINT/>
   179                 <UINT/>
   187               </type>
   180               </type>
   188             </variable>
   181             </variable>
   189           </localVars>
   182           </localVars>
   190         </interface>
   183         </interface>
   191         <body>
   184         <body>
   344                     <relPosition x="80" y="30"/>
   337                     <relPosition x="80" y="30"/>
   345                   </connectionPointOut>
   338                   </connectionPointOut>
   346                 </variable>
   339                 </variable>
   347               </outputVariables>
   340               </outputVariables>
   348             </block>
   341             </block>
   349             <inVariable localId="11" height="35" width="85">
   342             <inVariable localId="11" height="35" width="85" executionOrderId="0" negated="false">
   350               <position x="240" y="370"/>
   343               <position x="240" y="370"/>
   351               <connectionPointOut>
   344               <connectionPointOut>
   352                 <relPosition x="85" y="15"/>
   345                 <relPosition x="85" y="17"/>
   353               </connectionPointOut>
   346               </connectionPointOut>
   354               <expression>USINT#1</expression>
   347               <expression>1</expression>
   355             </inVariable>
   348             </inVariable>
   356             <block localId="13" width="80" height="65" typeName="EQ">
   349             <block localId="13" width="80" height="65" typeName="EQ">
   357               <position x="535" y="255"/>
   350               <position x="535" y="255"/>
   358               <inputVariables>
   351               <inputVariables>
   359                 <variable formalParameter="IN1">
   352                 <variable formalParameter="IN1">
   426                     <relPosition x="80" y="40"/>
   419                     <relPosition x="80" y="40"/>
   427                   </connectionPointOut>
   420                   </connectionPointOut>
   428                 </variable>
   421                 </variable>
   429               </outputVariables>
   422               </outputVariables>
   430             </block>
   423             </block>
   431             <inVariable localId="16" height="35" width="85">
   424             <inVariable localId="16" height="35" width="85" executionOrderId="0" negated="false">
   432               <position x="675" y="345"/>
   425               <position x="675" y="345"/>
   433               <connectionPointOut>
   426               <connectionPointOut>
   434                 <relPosition x="85" y="15"/>
   427                 <relPosition x="85" y="17"/>
   435               </connectionPointOut>
   428               </connectionPointOut>
   436               <expression>USINT#0</expression>
   429               <expression>0</expression>
   437             </inVariable>
   430             </inVariable>
   438             <outVariable localId="17" height="35" width="85">
   431             <outVariable localId="17" height="35" width="85">
   439               <position x="905" y="270"/>
   432               <position x="905" y="270"/>
   440               <connectionPointIn>
   433               <connectionPointIn>
   441                 <relPosition x="0" y="15"/>
   434                 <relPosition x="0" y="15"/>