tests/linux/autom_ihm_rmll/plc.xml
changeset 182 71a0fc1949e2
child 203 cb9901076a21
equal deleted inserted replaced
181:f01bcc3c9157 182:71a0fc1949e2
       
     1 <?xml version="1.0" encoding="UTF-8"?>
       
     2 <project xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
       
     3          xmlns="http://www.plcopen.org/xml/tc6.xsd"
       
     4          xmlns:xhtml="http://www.w3.org/1999/xhtml"
       
     5          xsi:schemaLocation="http://www.plcopen.org/xml/tc6.xsd http://www.plcopen.org/xml/tc6.xsd">
       
     6   <fileHeader companyName="lolitech"
       
     7               productName="autom_ihm_rmll"
       
     8               productVersion="1"
       
     9               creationDateTime="2008-06-28 15:43:31"/>
       
    10   <contentHeader name="autom_ihm_rmll"
       
    11                  modificationDateTime="2008-06-28 18:26:40">
       
    12     <coordinateInfo>
       
    13       <pageSize x="700" y="1000"/>
       
    14       <fbd>
       
    15         <scaling x="8" y="8"/>
       
    16       </fbd>
       
    17       <ld>
       
    18         <scaling x="8" y="8"/>
       
    19       </ld>
       
    20       <sfc>
       
    21         <scaling x="8" y="8"/>
       
    22       </sfc>
       
    23     </coordinateInfo>
       
    24   </contentHeader>
       
    25   <types>
       
    26     <dataTypes/>
       
    27     <pous>
       
    28       <pou name="main" pouType="program">
       
    29         <interface>
       
    30           <localVars>
       
    31             <variable name="ctrl_gauge1">
       
    32               <type>
       
    33                 <derived name="control_gauge"/>
       
    34               </type>
       
    35             </variable>
       
    36             <variable name="fill">
       
    37               <type>
       
    38                 <derived name="Button"/>
       
    39               </type>
       
    40             </variable>
       
    41             <variable name="empty">
       
    42               <type>
       
    43                 <derived name="Button"/>
       
    44               </type>
       
    45             </variable>
       
    46             <variable name="gauge">
       
    47               <type>
       
    48                 <derived name="Transform"/>
       
    49               </type>
       
    50             </variable>
       
    51           </localVars>
       
    52           <localVars>
       
    53             <variable name="level" address="%IW1.0.3.8196.0">
       
    54               <type>
       
    55                 <INT/>
       
    56               </type>
       
    57             </variable>
       
    58             <variable name="pump_out" address="%QX1.0.3.8192.0">
       
    59               <type>
       
    60                 <BOOL/>
       
    61               </type>
       
    62             </variable>
       
    63             <variable name="sink_out" address="%QX1.0.3.8193.0">
       
    64               <type>
       
    65                 <BOOL/>
       
    66               </type>
       
    67             </variable>
       
    68             <variable name="full_in" address="%IX1.0.3.8194.0">
       
    69               <type>
       
    70                 <BOOL/>
       
    71               </type>
       
    72             </variable>
       
    73             <variable name="empty_in" address="%IX1.0.3.8195.0">
       
    74               <type>
       
    75                 <BOOL/>
       
    76               </type>
       
    77             </variable>
       
    78           </localVars>
       
    79           <localVars>
       
    80             <variable name="controleur">
       
    81               <type>
       
    82                 <derived name="automate"/>
       
    83               </type>
       
    84             </variable>
       
    85           </localVars>
       
    86         </interface>
       
    87         <body>
       
    88           <FBD>
       
    89             <block localId="1" width="144" height="104" typeName="control_gauge" instanceName="ctrl_gauge1">
       
    90               <position x="480" y="256"/>
       
    91               <inputVariables>
       
    92                 <variable formalParameter="Xin">
       
    93                   <connectionPointIn>
       
    94                     <relPosition x="0" y="32"/>
       
    95                     <connection refLocalId="5" formalParameter="X">
       
    96                       <position x="480" y="288"/>
       
    97                       <position x="176" y="288"/>
       
    98                     </connection>
       
    99                   </connectionPointIn>
       
   100                 </variable>
       
   101                 <variable formalParameter="Yin">
       
   102                   <connectionPointIn>
       
   103                     <relPosition x="0" y="64"/>
       
   104                     <connection refLocalId="5" formalParameter="Y">
       
   105                       <position x="480" y="320"/>
       
   106                       <position x="176" y="320"/>
       
   107                     </connection>
       
   108                   </connectionPointIn>
       
   109                 </variable>
       
   110                 <variable formalParameter="Consigne">
       
   111                   <connectionPointIn>
       
   112                     <relPosition x="0" y="88"/>
       
   113                     <connection refLocalId="17" formalParameter="OUT">
       
   114                       <position x="480" y="344"/>
       
   115                       <position x="452" y="344"/>
       
   116                       <position x="452" y="376"/>
       
   117                       <position x="424" y="376"/>
       
   118                     </connection>
       
   119                   </connectionPointIn>
       
   120                 </variable>
       
   121               </inputVariables>
       
   122               <inOutVariables/>
       
   123               <outputVariables>
       
   124                 <variable formalParameter="Xout">
       
   125                   <connectionPointOut>
       
   126                     <relPosition x="144" y="32"/>
       
   127                   </connectionPointOut>
       
   128                 </variable>
       
   129                 <variable formalParameter="Yout">
       
   130                   <connectionPointOut>
       
   131                     <relPosition x="144" y="64"/>
       
   132                   </connectionPointOut>
       
   133                 </variable>
       
   134               </outputVariables>
       
   135             </block>
       
   136             <block localId="3" width="128" height="88" typeName="Button" instanceName="fill">
       
   137               <position x="56" y="696"/>
       
   138               <inputVariables>
       
   139                 <variable formalParameter="Show">
       
   140                   <connectionPointIn>
       
   141                     <relPosition x="0" y="32"/>
       
   142                   </connectionPointIn>
       
   143                 </variable>
       
   144                 <variable formalParameter="Enable">
       
   145                   <connectionPointIn>
       
   146                     <relPosition x="0" y="56"/>
       
   147                   </connectionPointIn>
       
   148                 </variable>
       
   149                 <variable formalParameter="Toggle">
       
   150                   <connectionPointIn>
       
   151                     <relPosition x="0" y="72"/>
       
   152                   </connectionPointIn>
       
   153                 </variable>
       
   154               </inputVariables>
       
   155               <inOutVariables/>
       
   156               <outputVariables>
       
   157                 <variable formalParameter="State">
       
   158                   <connectionPointOut>
       
   159                     <relPosition x="128" y="32"/>
       
   160                   </connectionPointOut>
       
   161                 </variable>
       
   162               </outputVariables>
       
   163             </block>
       
   164             <block localId="4" width="128" height="88" typeName="Button" instanceName="empty">
       
   165               <position x="200" y="608"/>
       
   166               <inputVariables>
       
   167                 <variable formalParameter="Show">
       
   168                   <connectionPointIn>
       
   169                     <relPosition x="0" y="32"/>
       
   170                   </connectionPointIn>
       
   171                 </variable>
       
   172                 <variable formalParameter="Enable">
       
   173                   <connectionPointIn>
       
   174                     <relPosition x="0" y="56"/>
       
   175                   </connectionPointIn>
       
   176                 </variable>
       
   177                 <variable formalParameter="Toggle">
       
   178                   <connectionPointIn>
       
   179                     <relPosition x="0" y="72"/>
       
   180                   </connectionPointIn>
       
   181                 </variable>
       
   182               </inputVariables>
       
   183               <inOutVariables/>
       
   184               <outputVariables>
       
   185                 <variable formalParameter="State">
       
   186                   <connectionPointOut>
       
   187                     <relPosition x="128" y="32"/>
       
   188                   </connectionPointOut>
       
   189                 </variable>
       
   190               </outputVariables>
       
   191             </block>
       
   192             <block localId="5" width="120" height="264" typeName="Transform" instanceName="gauge">
       
   193               <position x="56" y="248"/>
       
   194               <inputVariables>
       
   195                 <variable formalParameter="Show">
       
   196                   <connectionPointIn>
       
   197                     <relPosition x="0" y="40"/>
       
   198                   </connectionPointIn>
       
   199                 </variable>
       
   200                 <variable formalParameter="Enable">
       
   201                   <connectionPointIn>
       
   202                     <relPosition x="0" y="72"/>
       
   203                   </connectionPointIn>
       
   204                 </variable>
       
   205                 <variable formalParameter="SetX">
       
   206                   <connectionPointIn>
       
   207                     <relPosition x="0" y="104"/>
       
   208                     <connection refLocalId="1" formalParameter="Xout">
       
   209                       <position x="56" y="352"/>
       
   210                       <position x="32" y="352"/>
       
   211                       <position x="32" y="200"/>
       
   212                       <position x="634" y="200"/>
       
   213                       <position x="634" y="288"/>
       
   214                       <position x="624" y="288"/>
       
   215                     </connection>
       
   216                   </connectionPointIn>
       
   217                 </variable>
       
   218                 <variable formalParameter="SetY">
       
   219                   <connectionPointIn>
       
   220                     <relPosition x="0" y="136"/>
       
   221                     <connection refLocalId="1" formalParameter="Yout">
       
   222                       <position x="56" y="384"/>
       
   223                       <position x="32" y="384"/>
       
   224                       <position x="32" y="536"/>
       
   225                       <position x="634" y="536"/>
       
   226                       <position x="634" y="320"/>
       
   227                       <position x="624" y="320"/>
       
   228                     </connection>
       
   229                   </connectionPointIn>
       
   230                 </variable>
       
   231                 <variable formalParameter="SetXScale">
       
   232                   <connectionPointIn>
       
   233                     <relPosition x="0" y="176"/>
       
   234                   </connectionPointIn>
       
   235                 </variable>
       
   236                 <variable formalParameter="SetYScale">
       
   237                   <connectionPointIn>
       
   238                     <relPosition x="0" y="208"/>
       
   239                   </connectionPointIn>
       
   240                 </variable>
       
   241                 <variable formalParameter="SetAngle">
       
   242                   <connectionPointIn>
       
   243                     <relPosition x="0" y="240"/>
       
   244                   </connectionPointIn>
       
   245                 </variable>
       
   246               </inputVariables>
       
   247               <inOutVariables/>
       
   248               <outputVariables>
       
   249                 <variable formalParameter="X">
       
   250                   <connectionPointOut>
       
   251                     <relPosition x="120" y="40"/>
       
   252                   </connectionPointOut>
       
   253                 </variable>
       
   254                 <variable formalParameter="Y">
       
   255                   <connectionPointOut>
       
   256                     <relPosition x="120" y="72"/>
       
   257                   </connectionPointOut>
       
   258                 </variable>
       
   259               </outputVariables>
       
   260             </block>
       
   261             <inVariable localId="6" height="32" width="64">
       
   262               <position x="232" y="416"/>
       
   263               <connectionPointOut>
       
   264                 <relPosition x="64" y="16"/>
       
   265               </connectionPointOut>
       
   266               <expression>level</expression>
       
   267             </inVariable>
       
   268             <inVariable localId="7" height="32" width="88">
       
   269               <position x="120" y="800"/>
       
   270               <connectionPointOut>
       
   271                 <relPosition x="88" y="16"/>
       
   272               </connectionPointOut>
       
   273               <expression>full_in</expression>
       
   274             </inVariable>
       
   275             <inVariable localId="8" height="32" width="96">
       
   276               <position x="112" y="888"/>
       
   277               <connectionPointOut>
       
   278                 <relPosition x="96" y="16"/>
       
   279               </connectionPointOut>
       
   280               <expression>empty_in</expression>
       
   281             </inVariable>
       
   282             <outVariable localId="9" height="32" width="96">
       
   283               <position x="544" y="624"/>
       
   284               <connectionPointIn>
       
   285                 <relPosition x="0" y="16"/>
       
   286                 <connection refLocalId="12" formalParameter="pump">
       
   287                   <position x="544" y="640"/>
       
   288                   <position x="496" y="640"/>
       
   289                 </connection>
       
   290               </connectionPointIn>
       
   291               <expression>pump_out</expression>
       
   292             </outVariable>
       
   293             <outVariable localId="10" height="32" width="96">
       
   294               <position x="544" y="712"/>
       
   295               <connectionPointIn>
       
   296                 <relPosition x="0" y="16"/>
       
   297                 <connection refLocalId="12" formalParameter="sink">
       
   298                   <position x="544" y="728"/>
       
   299                   <position x="496" y="728"/>
       
   300                 </connection>
       
   301               </connectionPointIn>
       
   302               <expression>sink_out</expression>
       
   303             </outVariable>
       
   304             <block localId="12" width="136" height="368" typeName="automate" instanceName="controleur">
       
   305               <position x="360" y="576"/>
       
   306               <inputVariables>
       
   307                 <variable formalParameter="do_empty">
       
   308                   <connectionPointIn>
       
   309                     <relPosition x="0" y="64"/>
       
   310                     <connection refLocalId="4" formalParameter="State">
       
   311                       <position x="360" y="640"/>
       
   312                       <position x="328" y="640"/>
       
   313                     </connection>
       
   314                   </connectionPointIn>
       
   315                 </variable>
       
   316                 <variable formalParameter="do_fill">
       
   317                   <connectionPointIn>
       
   318                     <relPosition x="0" y="152"/>
       
   319                     <connection refLocalId="3" formalParameter="State">
       
   320                       <position x="360" y="728"/>
       
   321                       <position x="184" y="728"/>
       
   322                     </connection>
       
   323                   </connectionPointIn>
       
   324                 </variable>
       
   325                 <variable formalParameter="full">
       
   326                   <connectionPointIn>
       
   327                     <relPosition x="0" y="240"/>
       
   328                     <connection refLocalId="7">
       
   329                       <position x="360" y="816"/>
       
   330                       <position x="208" y="816"/>
       
   331                     </connection>
       
   332                   </connectionPointIn>
       
   333                 </variable>
       
   334                 <variable formalParameter="empty">
       
   335                   <connectionPointIn>
       
   336                     <relPosition x="0" y="328"/>
       
   337                     <connection refLocalId="8">
       
   338                       <position x="360" y="904"/>
       
   339                       <position x="208" y="904"/>
       
   340                     </connection>
       
   341                   </connectionPointIn>
       
   342                 </variable>
       
   343               </inputVariables>
       
   344               <inOutVariables/>
       
   345               <outputVariables>
       
   346                 <variable formalParameter="pump">
       
   347                   <connectionPointOut>
       
   348                     <relPosition x="136" y="64"/>
       
   349                   </connectionPointOut>
       
   350                 </variable>
       
   351                 <variable formalParameter="sink">
       
   352                   <connectionPointOut>
       
   353                     <relPosition x="136" y="152"/>
       
   354                   </connectionPointOut>
       
   355                 </variable>
       
   356               </outputVariables>
       
   357             </block>
       
   358             <inVariable localId="13" height="32" width="80">
       
   359               <position x="224" y="360"/>
       
   360               <connectionPointOut>
       
   361                 <relPosition x="80" y="16"/>
       
   362               </connectionPointOut>
       
   363               <expression>INT#100</expression>
       
   364             </inVariable>
       
   365             <block localId="17" width="80" height="64" typeName="SUB">
       
   366               <position x="344" y="344"/>
       
   367               <inputVariables>
       
   368                 <variable formalParameter="IN1">
       
   369                   <connectionPointIn>
       
   370                     <relPosition x="0" y="32"/>
       
   371                     <connection refLocalId="13">
       
   372                       <position x="344" y="376"/>
       
   373                       <position x="304" y="376"/>
       
   374                     </connection>
       
   375                   </connectionPointIn>
       
   376                 </variable>
       
   377                 <variable formalParameter="IN2">
       
   378                   <connectionPointIn>
       
   379                     <relPosition x="0" y="56"/>
       
   380                     <connection refLocalId="6">
       
   381                       <position x="344" y="400"/>
       
   382                       <position x="320" y="400"/>
       
   383                       <position x="320" y="432"/>
       
   384                       <position x="296" y="432"/>
       
   385                     </connection>
       
   386                   </connectionPointIn>
       
   387                 </variable>
       
   388               </inputVariables>
       
   389               <inOutVariables/>
       
   390               <outputVariables>
       
   391                 <variable formalParameter="OUT">
       
   392                   <connectionPointOut>
       
   393                     <relPosition x="80" y="32"/>
       
   394                   </connectionPointOut>
       
   395                 </variable>
       
   396               </outputVariables>
       
   397             </block>
       
   398           </FBD>
       
   399         </body>
       
   400       </pou>
       
   401       <pou name="control_gauge" pouType="functionBlock">
       
   402         <interface>
       
   403           <inputVars>
       
   404             <variable name="Xin">
       
   405               <type>
       
   406                 <REAL/>
       
   407               </type>
       
   408             </variable>
       
   409             <variable name="Yin">
       
   410               <type>
       
   411                 <REAL/>
       
   412               </type>
       
   413             </variable>
       
   414           </inputVars>
       
   415           <outputVars>
       
   416             <variable name="Xout">
       
   417               <type>
       
   418                 <REAL/>
       
   419               </type>
       
   420             </variable>
       
   421             <variable name="Yout">
       
   422               <type>
       
   423                 <REAL/>
       
   424               </type>
       
   425             </variable>
       
   426           </outputVars>
       
   427           <inputVars>
       
   428             <variable name="Consigne">
       
   429               <type>
       
   430                 <INT/>
       
   431               </type>
       
   432             </variable>
       
   433           </inputVars>
       
   434           <localVars>
       
   435             <variable name="Initialized">
       
   436               <type>
       
   437                 <BOOL/>
       
   438               </type>
       
   439               <initialValue>
       
   440                 <simpleValue value="false"/>
       
   441               </initialValue>
       
   442             </variable>
       
   443             <variable name="Xtmp">
       
   444               <type>
       
   445                 <REAL/>
       
   446               </type>
       
   447             </variable>
       
   448             <variable name="Ytmp">
       
   449               <type>
       
   450                 <REAL/>
       
   451               </type>
       
   452             </variable>
       
   453           </localVars>
       
   454         </interface>
       
   455         <body>
       
   456           <ST>
       
   457 <![CDATA[IF NOT INITIALIZED THEN
       
   458   XTMP := XIN;
       
   459   YTMP := YIN;
       
   460   INITIALIZED := TRUE;
       
   461 END_IF;
       
   462 XOUT := XTMP * INT_TO_REAL(CONSIGNE) / 100.0;
       
   463 YOUT := YTMP * INT_TO_REAL(CONSIGNE) / 100.0;]]>
       
   464           </ST>
       
   465         </body>
       
   466       </pou>
       
   467       <pou name="automate" pouType="functionBlock">
       
   468         <interface>
       
   469           <outputVars>
       
   470             <variable name="pump">
       
   471               <type>
       
   472                 <BOOL/>
       
   473               </type>
       
   474             </variable>
       
   475             <variable name="sink">
       
   476               <type>
       
   477                 <BOOL/>
       
   478               </type>
       
   479             </variable>
       
   480           </outputVars>
       
   481           <inputVars>
       
   482             <variable name="do_empty">
       
   483               <type>
       
   484                 <BOOL/>
       
   485               </type>
       
   486             </variable>
       
   487             <variable name="do_fill">
       
   488               <type>
       
   489                 <BOOL/>
       
   490               </type>
       
   491             </variable>
       
   492             <variable name="full">
       
   493               <type>
       
   494                 <BOOL/>
       
   495               </type>
       
   496             </variable>
       
   497             <variable name="empty">
       
   498               <type>
       
   499                 <BOOL/>
       
   500               </type>
       
   501             </variable>
       
   502           </inputVars>
       
   503         </interface>
       
   504         <body>
       
   505           <SFC>
       
   506             <step localId="1" height="40" width="64" name="Start" initialStep="true">
       
   507               <position x="256" y="176"/>
       
   508               <connectionPointOut formalParameter="">
       
   509                 <relPosition x="32" y="40"/>
       
   510               </connectionPointOut>
       
   511               <connectionPointOutAction formalParameter="">
       
   512                 <relPosition x="64" y="24"/>
       
   513               </connectionPointOutAction>
       
   514             </step>
       
   515             <step localId="2" height="32" width="80" name="vidange">
       
   516               <position x="624" y="344"/>
       
   517               <connectionPointIn>
       
   518                 <relPosition x="40" y="0"/>
       
   519                 <connection refLocalId="5">
       
   520                   <position x="664" y="344"/>
       
   521                   <position x="664" y="304"/>
       
   522                 </connection>
       
   523               </connectionPointIn>
       
   524               <connectionPointOut formalParameter="">
       
   525                 <relPosition x="40" y="32"/>
       
   526               </connectionPointOut>
       
   527               <connectionPointOutAction formalParameter="">
       
   528                 <relPosition x="80" y="16"/>
       
   529               </connectionPointOutAction>
       
   530             </step>
       
   531             <selectionDivergence localId="3" height="1" width="528">
       
   532               <position x="136" y="256"/>
       
   533               <connectionPointIn>
       
   534                 <relPosition x="152" y="0"/>
       
   535                 <connection refLocalId="1">
       
   536                   <position x="288" y="256"/>
       
   537                   <position x="288" y="216"/>
       
   538                 </connection>
       
   539               </connectionPointIn>
       
   540               <connectionPointOut formalParameter="">
       
   541                 <relPosition x="0" y="1"/>
       
   542               </connectionPointOut>
       
   543               <connectionPointOut formalParameter="">
       
   544                 <relPosition x="528" y="1"/>
       
   545               </connectionPointOut>
       
   546             </selectionDivergence>
       
   547             <inVariable localId="4" height="32" width="96">
       
   548               <position x="368" y="272"/>
       
   549               <connectionPointOut>
       
   550                 <relPosition x="96" y="16"/>
       
   551               </connectionPointOut>
       
   552               <expression>do_empty</expression>
       
   553             </inVariable>
       
   554             <transition localId="5" height="16" width="32">
       
   555               <position x="648" y="288"/>
       
   556               <connectionPointIn>
       
   557                 <relPosition x="16" y="0"/>
       
   558                 <connection refLocalId="3">
       
   559                   <position x="664" y="288"/>
       
   560                   <position x="664" y="257"/>
       
   561                 </connection>
       
   562               </connectionPointIn>
       
   563               <connectionPointOut>
       
   564                 <relPosition x="16" y="16"/>
       
   565               </connectionPointOut>
       
   566               <condition>
       
   567                 <connection refLocalId="19" formalParameter="OUT">
       
   568                   <position x="648" y="296"/>
       
   569                   <position x="616" y="296"/>
       
   570                 </connection>
       
   571               </condition>
       
   572             </transition>
       
   573             <transition localId="7" height="16" width="32">
       
   574               <position x="120" y="304"/>
       
   575               <connectionPointIn>
       
   576                 <relPosition x="16" y="0"/>
       
   577                 <connection refLocalId="3">
       
   578                   <position x="136" y="304"/>
       
   579                   <position x="136" y="257"/>
       
   580                 </connection>
       
   581               </connectionPointIn>
       
   582               <connectionPointOut>
       
   583                 <relPosition x="16" y="16"/>
       
   584               </connectionPointOut>
       
   585               <condition>
       
   586                 <inline name="">
       
   587                   <ST>
       
   588 <![CDATA[do_fill AND NOT full]]>
       
   589                   </ST>
       
   590                 </inline>
       
   591               </condition>
       
   592             </transition>
       
   593             <step localId="8" height="32" width="128" name="remplissage">
       
   594               <position x="72" y="360"/>
       
   595               <connectionPointIn>
       
   596                 <relPosition x="64" y="0"/>
       
   597                 <connection refLocalId="7">
       
   598                   <position x="136" y="360"/>
       
   599                   <position x="136" y="320"/>
       
   600                 </connection>
       
   601               </connectionPointIn>
       
   602               <connectionPointOut formalParameter="">
       
   603                 <relPosition x="64" y="32"/>
       
   604               </connectionPointOut>
       
   605               <connectionPointOutAction formalParameter="">
       
   606                 <relPosition x="128" y="16"/>
       
   607               </connectionPointOutAction>
       
   608             </step>
       
   609             <transition localId="9" height="16" width="32">
       
   610               <position x="648" y="416"/>
       
   611               <connectionPointIn>
       
   612                 <relPosition x="16" y="0"/>
       
   613                 <connection refLocalId="2">
       
   614                   <position x="664" y="416"/>
       
   615                   <position x="664" y="376"/>
       
   616                 </connection>
       
   617               </connectionPointIn>
       
   618               <connectionPointOut>
       
   619                 <relPosition x="16" y="16"/>
       
   620               </connectionPointOut>
       
   621               <condition>
       
   622                 <connection refLocalId="16">
       
   623                   <position x="648" y="424"/>
       
   624                   <position x="600" y="424"/>
       
   625                 </connection>
       
   626               </condition>
       
   627             </transition>
       
   628             <transition localId="10" height="16" width="32">
       
   629               <position x="120" y="424"/>
       
   630               <connectionPointIn>
       
   631                 <relPosition x="16" y="0"/>
       
   632                 <connection refLocalId="8">
       
   633                   <position x="136" y="424"/>
       
   634                   <position x="136" y="392"/>
       
   635                 </connection>
       
   636               </connectionPointIn>
       
   637               <connectionPointOut>
       
   638                 <relPosition x="16" y="16"/>
       
   639               </connectionPointOut>
       
   640               <condition>
       
   641                 <inline name="">
       
   642                   <ST>
       
   643 <![CDATA[full]]>
       
   644                   </ST>
       
   645                 </inline>
       
   646               </condition>
       
   647             </transition>
       
   648             <actionBlock localId="13" height="32" width="112">
       
   649               <position x="232" y="360"/>
       
   650               <connectionPointIn>
       
   651                 <relPosition x="0" y="16"/>
       
   652                 <connection refLocalId="8">
       
   653                   <position x="232" y="376"/>
       
   654                   <position x="200" y="376"/>
       
   655                 </connection>
       
   656               </connectionPointIn>
       
   657               <action>
       
   658                 <inline>
       
   659                   <ST>
       
   660 <![CDATA[pump:=1;]]>
       
   661                   </ST>
       
   662                 </inline>
       
   663               </action>
       
   664             </actionBlock>
       
   665             <actionBlock localId="14" height="32" width="112">
       
   666               <position x="736" y="344"/>
       
   667               <connectionPointIn>
       
   668                 <relPosition x="0" y="16"/>
       
   669                 <connection refLocalId="2">
       
   670                   <position x="736" y="360"/>
       
   671                   <position x="704" y="360"/>
       
   672                 </connection>
       
   673               </connectionPointIn>
       
   674               <action>
       
   675                 <inline>
       
   676                   <ST>
       
   677 <![CDATA[sink:=1;]]>
       
   678                   </ST>
       
   679                 </inline>
       
   680               </action>
       
   681             </actionBlock>
       
   682             <inVariable localId="16" height="32" width="64">
       
   683               <position x="536" y="408"/>
       
   684               <connectionPointOut>
       
   685                 <relPosition x="64" y="16"/>
       
   686               </connectionPointOut>
       
   687               <expression>empty</expression>
       
   688             </inVariable>
       
   689             <selectionConvergence localId="17" height="1" width="528">
       
   690               <position x="136" y="512"/>
       
   691               <connectionPointIn>
       
   692                 <relPosition x="0" y="0"/>
       
   693                 <connection refLocalId="10">
       
   694                   <position x="136" y="512"/>
       
   695                   <position x="136" y="440"/>
       
   696                 </connection>
       
   697               </connectionPointIn>
       
   698               <connectionPointIn>
       
   699                 <relPosition x="528" y="0"/>
       
   700                 <connection refLocalId="9">
       
   701                   <position x="664" y="512"/>
       
   702                   <position x="664" y="432"/>
       
   703                 </connection>
       
   704               </connectionPointIn>
       
   705               <connectionPointOut>
       
   706                 <relPosition x="264" y="1"/>
       
   707               </connectionPointOut>
       
   708             </selectionConvergence>
       
   709             <actionBlock localId="18" height="32" width="200">
       
   710               <position x="368" y="184"/>
       
   711               <connectionPointIn>
       
   712                 <relPosition x="0" y="16"/>
       
   713                 <connection refLocalId="1">
       
   714                   <position x="368" y="200"/>
       
   715                   <position x="320" y="200"/>
       
   716                 </connection>
       
   717               </connectionPointIn>
       
   718               <action>
       
   719                 <inline>
       
   720                   <ST>
       
   721 <![CDATA[pump:=0; sink:=0;]]>
       
   722                   </ST>
       
   723                 </inline>
       
   724               </action>
       
   725             </actionBlock>
       
   726             <block localId="19" width="80" height="64" typeName="AND">
       
   727               <position x="536" y="264"/>
       
   728               <inputVariables>
       
   729                 <variable formalParameter="IN1">
       
   730                   <connectionPointIn>
       
   731                     <relPosition x="0" y="32"/>
       
   732                     <connection refLocalId="4">
       
   733                       <position x="536" y="296"/>
       
   734                       <position x="500" y="296"/>
       
   735                       <position x="500" y="288"/>
       
   736                       <position x="464" y="288"/>
       
   737                     </connection>
       
   738                   </connectionPointIn>
       
   739                 </variable>
       
   740                 <variable formalParameter="IN2" negated="true">
       
   741                   <connectionPointIn>
       
   742                     <relPosition x="0" y="56"/>
       
   743                     <connection refLocalId="21">
       
   744                       <position x="536" y="320"/>
       
   745                       <position x="500" y="320"/>
       
   746                       <position x="500" y="336"/>
       
   747                       <position x="464" y="336"/>
       
   748                     </connection>
       
   749                   </connectionPointIn>
       
   750                 </variable>
       
   751               </inputVariables>
       
   752               <inOutVariables/>
       
   753               <outputVariables>
       
   754                 <variable formalParameter="OUT">
       
   755                   <connectionPointOut>
       
   756                     <relPosition x="80" y="32"/>
       
   757                   </connectionPointOut>
       
   758                 </variable>
       
   759               </outputVariables>
       
   760             </block>
       
   761             <inVariable localId="21" height="32" width="96">
       
   762               <position x="368" y="320"/>
       
   763               <connectionPointOut>
       
   764                 <relPosition x="96" y="16"/>
       
   765               </connectionPointOut>
       
   766               <expression>empty</expression>
       
   767             </inVariable>
       
   768             <jumpStep localId="22" height="16" width="16" targetName="Start">
       
   769               <position x="392" y="552"/>
       
   770               <connectionPointIn>
       
   771                 <relPosition x="8" y="0"/>
       
   772                 <connection refLocalId="17">
       
   773                   <position x="400" y="552"/>
       
   774                   <position x="400" y="513"/>
       
   775                 </connection>
       
   776               </connectionPointIn>
       
   777             </jumpStep>
       
   778           </SFC>
       
   779         </body>
       
   780       </pou>
       
   781     </pous>
       
   782   </types>
       
   783   <instances>
       
   784     <configurations>
       
   785       <configuration name="conf">
       
   786         <resource name="ress">
       
   787           <task name="matache" interval="00:00:00.100000" priority="0">
       
   788             <pouInstance name="moninst" type="main"/>
       
   789           </task>
       
   790         </resource>
       
   791       </configuration>
       
   792     </configurations>
       
   793   </instances>
       
   794 </project>