py_ext/pous.xml
changeset 4062 1994928ce3d2
parent 4061 e0dfe8b8db4a
equal deleted inserted replaced
4061:e0dfe8b8db4a 4062:1994928ce3d2
     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" 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">
     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   <fileHeader companyName="Beremiz" productName="Beremiz" productVersion="0.0" creationDateTime="2008-12-14T16:53:26"/>
     3   <fileHeader companyName="Beremiz" productName="Beremiz" productVersion="0.0" creationDateTime="2008-12-14T16:53:26"/>
     4   <contentHeader name="Beremiz non-standard POUs library" modificationDateTime="2024-12-05T16:40:43">
     4   <contentHeader name="Beremiz non-standard POUs library" modificationDateTime="2024-12-06T12:12:39">
     5     <coordinateInfo>
     5     <coordinateInfo>
     6       <fbd>
     6       <fbd>
     7         <scaling x="8" y="8"/>
     7         <scaling x="8" y="8"/>
     8       </fbd>
     8       </fbd>
     9       <ld>
     9       <ld>
    38               <type>
    38               <type>
    39                 <BOOL/>
    39                 <BOOL/>
    40               </type>
    40               </type>
    41             </variable>
    41             </variable>
    42           </outputVars>
    42           </outputVars>
       
    43           <localVars>
       
    44             <variable name="R_TRIG0">
       
    45               <type>
       
    46                 <derived name="R_TRIG"/>
       
    47               </type>
       
    48             </variable>
       
    49           </localVars>
    43         </interface>
    50         </interface>
    44         <body>
    51         <body>
    45           <FBD>
    52           <FBD>
    46             <outVariable localId="2" executionOrderId="0" height="32" width="176" negated="false">
    53             <outVariable localId="2" executionOrderId="0" height="32" width="176" negated="false">
    47               <position x="696" y="200"/>
    54               <position x="856" y="200"/>
    48               <connectionPointIn>
    55               <connectionPointIn>
    49                 <relPosition x="0" y="16"/>
    56                 <relPosition x="0" y="16"/>
    50                 <connection refLocalId="12" formalParameter="OUT">
    57                 <connection refLocalId="12" formalParameter="OUT">
    51                   <position x="696" y="216"/>
    58                   <position x="856" y="216"/>
    52                   <position x="656" y="216"/>
    59                   <position x="816" y="216"/>
    53                 </connection>
    60                 </connection>
    54               </connectionPointIn>
    61               </connectionPointIn>
    55               <expression>pyext_csv_update_tmp</expression>
    62               <expression>pyext_csv_update_tmp</expression>
    56             </outVariable>
    63             </outVariable>
    57             <block localId="12" typeName="MOVE" executionOrderId="0" height="64" width="56">
    64             <block localId="12" typeName="MOVE" executionOrderId="0" height="64" width="56">
    58               <position x="600" y="160"/>
    65               <position x="760" y="160"/>
    59               <inputVariables>
    66               <inputVariables>
    60                 <variable formalParameter="EN" edge="rising">
    67                 <variable formalParameter="EN">
    61                   <connectionPointIn>
    68                   <connectionPointIn>
    62                     <relPosition x="0" y="32"/>
    69                     <relPosition x="0" y="32"/>
    63                     <connection refLocalId="18" formalParameter="OUT">
    70                     <connection refLocalId="19" formalParameter="Q">
    64                       <position x="600" y="192"/>
    71                       <position x="760" y="192"/>
    65                       <position x="520" y="192"/>
    72                       <position x="664" y="192"/>
    66                     </connection>
    73                     </connection>
    67                   </connectionPointIn>
    74                   </connectionPointIn>
    68                 </variable>
    75                 </variable>
    69                 <variable formalParameter="IN">
    76                 <variable formalParameter="IN">
    70                   <connectionPointIn>
    77                   <connectionPointIn>
    71                     <relPosition x="0" y="56"/>
    78                     <relPosition x="0" y="56"/>
    72                     <connection refLocalId="17">
    79                     <connection refLocalId="17">
    73                       <position x="600" y="216"/>
    80                       <position x="760" y="216"/>
    74                       <position x="568" y="216"/>
    81                       <position x="568" y="216"/>
    75                       <position x="568" y="240"/>
    82                       <position x="568" y="240"/>
    76                       <position x="408" y="240"/>
    83                       <position x="408" y="240"/>
    77                     </connection>
    84                     </connection>
    78                   </connectionPointIn>
    85                   </connectionPointIn>
    98                 <relPosition x="176" y="16"/>
   105                 <relPosition x="176" y="16"/>
    99               </connectionPointOut>
   106               </connectionPointOut>
   100               <expression>pyext_csv_update_tmp</expression>
   107               <expression>pyext_csv_update_tmp</expression>
   101             </inVariable>
   108             </inVariable>
   102             <outVariable localId="15" executionOrderId="0" width="48" height="32" negated="false">
   109             <outVariable localId="15" executionOrderId="0" width="48" height="32" negated="false">
   103               <position x="880" y="176"/>
   110               <position x="760" y="112"/>
   104               <connectionPointIn>
   111               <connectionPointIn>
   105                 <relPosition x="0" y="16"/>
   112                 <relPosition x="0" y="16"/>
   106                 <connection refLocalId="12" formalParameter="ENO">
   113                 <connection refLocalId="19" formalParameter="Q">
   107                   <position x="880" y="192"/>
   114                   <position x="760" y="128"/>
   108                   <position x="656" y="192"/>
   115                   <position x="702" y="128"/>
       
   116                   <position x="702" y="192"/>
       
   117                   <position x="664" y="192"/>
   109                 </connection>
   118                 </connection>
   110               </connectionPointIn>
   119               </connectionPointIn>
   111               <expression>TRIG</expression>
   120               <expression>TRIG</expression>
   112             </outVariable>
   121             </outVariable>
   113             <block localId="18" typeName="NE" executionOrderId="0" width="64" height="64">
   122             <block localId="18" typeName="NE" executionOrderId="0" width="64" height="64">
   148               <connectionPointOut>
   157               <connectionPointOut>
   149                 <relPosition x="176" y="16"/>
   158                 <relPosition x="176" y="16"/>
   150               </connectionPointOut>
   159               </connectionPointOut>
   151               <expression>pyext_csv_update</expression>
   160               <expression>pyext_csv_update</expression>
   152             </inVariable>
   161             </inVariable>
       
   162             <block localId="19" typeName="R_TRIG" instanceName="R_TRIG0" executionOrderId="0" width="64" height="48">
       
   163               <position x="600" y="160"/>
       
   164               <inputVariables>
       
   165                 <variable formalParameter="CLK">
       
   166                   <connectionPointIn>
       
   167                     <relPosition x="0" y="32"/>
       
   168                     <connection refLocalId="18" formalParameter="OUT">
       
   169                       <position x="600" y="192"/>
       
   170                       <position x="520" y="192"/>
       
   171                     </connection>
       
   172                   </connectionPointIn>
       
   173                 </variable>
       
   174               </inputVariables>
       
   175               <inOutVariables/>
       
   176               <outputVariables>
       
   177                 <variable formalParameter="Q">
       
   178                   <connectionPointOut>
       
   179                     <relPosition x="64" y="32"/>
       
   180                   </connectionPointOut>
       
   181                 </variable>
       
   182               </outputVariables>
       
   183             </block>
   153           </FBD>
   184           </FBD>
   154         </body>
   185         </body>
   155       </pou>
   186       </pou>
   156       <pou name="csv_refresh" pouType="functionBlock">
   187       <pou name="csv_refresh" pouType="functionBlock">
   157         <interface>
   188         <interface>