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