tests/svghmi/plc.xml
branchsvghmi
changeset 2805 e521e0d133d5
parent 2771 361366b891ca
child 2806 7d0e81cdedb0
equal deleted inserted replaced
2804:a6be58a1a8b7 2805:e521e0d133d5
     1 <?xml version='1.0' encoding='utf-8'?>
     1 <?xml version='1.0' encoding='utf-8'?>
     2 <project xmlns:ns1="http://www.plcopen.org/xml/tc6_0201" xmlns:xhtml="http://www.w3.org/1999/xhtml" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns="http://www.plcopen.org/xml/tc6_0201">
     2 <project xmlns:ns1="http://www.plcopen.org/xml/tc6_0201" xmlns:xhtml="http://www.w3.org/1999/xhtml" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns="http://www.plcopen.org/xml/tc6_0201">
     3   <fileHeader companyName="Unknown" productName="Unnamed" productVersion="1" creationDateTime="2019-08-06T14:23:42"/>
     3   <fileHeader companyName="Unknown" productName="Unnamed" productVersion="1" creationDateTime="2019-08-06T14:23:42"/>
     4   <contentHeader name="Unnamed" modificationDateTime="2019-09-11T11:54:14">
     4   <contentHeader name="Unnamed" modificationDateTime="2019-10-23T11:12:09">
     5     <coordinateInfo>
     5     <coordinateInfo>
     6       <fbd>
     6       <fbd>
     7         <scaling x="5" y="5"/>
     7         <scaling x="5" y="5"/>
     8       </fbd>
     8       </fbd>
     9       <ld>
     9       <ld>
    32             </variable>
    32             </variable>
    33           </localVars>
    33           </localVars>
    34         </interface>
    34         </interface>
    35         <body>
    35         <body>
    36           <FBD>
    36           <FBD>
    37             <block localId="2" typeName="ADD" executionOrderId="0" height="60" width="63">
       
    38               <position x="255" y="175"/>
       
    39               <inputVariables>
       
    40                 <variable formalParameter="IN1">
       
    41                   <connectionPointIn>
       
    42                     <relPosition x="0" y="30"/>
       
    43                     <connection refLocalId="1">
       
    44                       <position x="255" y="205"/>
       
    45                       <position x="202" y="205"/>
       
    46                     </connection>
       
    47                   </connectionPointIn>
       
    48                 </variable>
       
    49                 <variable formalParameter="IN2">
       
    50                   <connectionPointIn>
       
    51                     <relPosition x="0" y="50"/>
       
    52                     <connection refLocalId="3">
       
    53                       <position x="255" y="225"/>
       
    54                       <position x="235" y="225"/>
       
    55                       <position x="235" y="235"/>
       
    56                       <position x="190" y="235"/>
       
    57                     </connection>
       
    58                   </connectionPointIn>
       
    59                 </variable>
       
    60               </inputVariables>
       
    61               <inOutVariables/>
       
    62               <outputVariables>
       
    63                 <variable formalParameter="OUT">
       
    64                   <connectionPointOut>
       
    65                     <relPosition x="63" y="30"/>
       
    66                   </connectionPointOut>
       
    67                 </variable>
       
    68               </outputVariables>
       
    69             </block>
       
    70             <inOutVariable localId="1" executionOrderId="0" height="26" width="122" negatedOut="false" negatedIn="false">
       
    71               <position x="120" y="190"/>
       
    72               <connectionPointIn>
       
    73                 <relPosition x="0" y="15"/>
       
    74                 <connection refLocalId="2" formalParameter="OUT">
       
    75                   <position x="120" y="205"/>
       
    76                   <position x="100" y="205"/>
       
    77                   <position x="100" y="140"/>
       
    78                   <position x="328" y="140"/>
       
    79                   <position x="328" y="205"/>
       
    80                   <position x="318" y="205"/>
       
    81                 </connection>
       
    82               </connectionPointIn>
       
    83               <connectionPointOut>
       
    84                 <relPosition x="122" y="15"/>
       
    85               </connectionPointOut>
       
    86               <expression>TargetPressure</expression>
       
    87             </inOutVariable>
       
    88             <inVariable localId="3" executionOrderId="0" height="25" width="60" negated="false">
       
    89               <position x="130" y="225"/>
       
    90               <connectionPointOut>
       
    91                 <relPosition x="60" y="10"/>
       
    92               </connectionPointOut>
       
    93               <expression>1</expression>
       
    94             </inVariable>
       
    95             <block localId="4" typeName="PumpControl" instanceName="Pump0" executionOrderId="0" height="40" width="127">
    37             <block localId="4" typeName="PumpControl" instanceName="Pump0" executionOrderId="0" height="40" width="127">
    96               <position x="595" y="50"/>
    38               <position x="595" y="50"/>
    97               <inputVariables>
    39               <inputVariables>
    98                 <variable formalParameter="TargetPressure">
    40                 <variable formalParameter="TargetPressure">
    99                   <connectionPointIn>
    41                   <connectionPointIn>
   138                 <INT/>
    80                 <INT/>
   139               </type>
    81               </type>
   140             </variable>
    82             </variable>
   141           </inputVars>
    83           </inputVars>
   142           <localVars>
    84           <localVars>
   143             <variable name="AddOut">
    85             <variable name="Sloth">
   144               <type>
    86               <type>
   145                 <derived name="HMI_INT"/>
    87                 <derived name="HMI_INT"/>
   146               </type>
    88               </type>
   147             </variable>
    89             </variable>
   148           </localVars>
    90           </localVars>
   149         </interface>
    91         </interface>
   150         <body>
    92         <body>
   151           <FBD>
    93           <FBD>
   152             <inOutVariable localId="1" executionOrderId="0" height="30" width="75" negatedOut="false" negatedIn="false">
       
   153               <position x="285" y="105"/>
       
   154               <connectionPointIn>
       
   155                 <relPosition x="0" y="15"/>
       
   156                 <connection refLocalId="2" formalParameter="OUT">
       
   157                   <position x="285" y="120"/>
       
   158                   <position x="275" y="120"/>
       
   159                   <position x="275" y="95"/>
       
   160                   <position x="550" y="95"/>
       
   161                   <position x="550" y="135"/>
       
   162                   <position x="540" y="135"/>
       
   163                 </connection>
       
   164               </connectionPointIn>
       
   165               <connectionPointOut>
       
   166                 <relPosition x="75" y="15"/>
       
   167               </connectionPointOut>
       
   168               <expression>Pressure</expression>
       
   169             </inOutVariable>
       
   170             <block localId="2" typeName="ADD" executionOrderId="0" height="60" width="65">
       
   171               <position x="475" y="105"/>
       
   172               <inputVariables>
       
   173                 <variable formalParameter="IN1">
       
   174                   <connectionPointIn>
       
   175                     <relPosition x="0" y="30"/>
       
   176                     <connection refLocalId="1">
       
   177                       <position x="475" y="135"/>
       
   178                       <position x="417" y="135"/>
       
   179                       <position x="417" y="120"/>
       
   180                       <position x="360" y="120"/>
       
   181                     </connection>
       
   182                   </connectionPointIn>
       
   183                 </variable>
       
   184                 <variable formalParameter="IN2">
       
   185                   <connectionPointIn>
       
   186                     <relPosition x="0" y="50"/>
       
   187                     <connection refLocalId="3">
       
   188                       <position x="475" y="155"/>
       
   189                       <position x="432" y="155"/>
       
   190                       <position x="432" y="150"/>
       
   191                       <position x="410" y="150"/>
       
   192                     </connection>
       
   193                   </connectionPointIn>
       
   194                 </variable>
       
   195               </inputVariables>
       
   196               <inOutVariables/>
       
   197               <outputVariables>
       
   198                 <variable formalParameter="OUT">
       
   199                   <connectionPointOut>
       
   200                     <relPosition x="65" y="30"/>
       
   201                   </connectionPointOut>
       
   202                 </variable>
       
   203               </outputVariables>
       
   204             </block>
       
   205             <inVariable localId="3" executionOrderId="0" height="25" width="30" negated="false">
    94             <inVariable localId="3" executionOrderId="0" height="25" width="30" negated="false">
   206               <position x="380" y="140"/>
    95               <position x="380" y="140"/>
   207               <connectionPointOut>
    96               <connectionPointOut>
   208                 <relPosition x="30" y="10"/>
    97                 <relPosition x="30" y="10"/>
   209               </connectionPointOut>
    98               </connectionPointOut>
   211             </inVariable>
   100             </inVariable>
   212             <outVariable localId="4" executionOrderId="0" height="30" width="60" negated="false">
   101             <outVariable localId="4" executionOrderId="0" height="30" width="60" negated="false">
   213               <position x="640" y="135"/>
   102               <position x="640" y="135"/>
   214               <connectionPointIn>
   103               <connectionPointIn>
   215                 <relPosition x="0" y="15"/>
   104                 <relPosition x="0" y="15"/>
   216                 <connection refLocalId="2" formalParameter="OUT">
   105                 <connection refLocalId="3">
   217                   <position x="640" y="150"/>
   106                   <position x="640" y="150"/>
   218                   <position x="590" y="150"/>
   107                   <position x="410" y="150"/>
   219                   <position x="590" y="135"/>
       
   220                   <position x="540" y="135"/>
       
   221                 </connection>
   108                 </connection>
   222               </connectionPointIn>
   109               </connectionPointIn>
   223               <expression>AddOut</expression>
   110               <expression>Sloth</expression>
   224             </outVariable>
   111             </outVariable>
       
   112             <outVariable localId="1" executionOrderId="0" height="30" width="75" negated="false">
       
   113               <position x="285" y="105"/>
       
   114               <connectionPointIn>
       
   115                 <relPosition x="0" y="15"/>
       
   116                 <connection refLocalId="5">
       
   117                   <position x="285" y="120"/>
       
   118                   <position x="240" y="120"/>
       
   119                   <position x="240" y="115"/>
       
   120                   <position x="195" y="115"/>
       
   121                 </connection>
       
   122               </connectionPointIn>
       
   123               <expression>Pressure</expression>
       
   124             </outVariable>
       
   125             <inVariable localId="5" executionOrderId="0" height="30" width="125" negated="false">
       
   126               <position x="70" y="100"/>
       
   127               <connectionPointOut>
       
   128                 <relPosition x="125" y="15"/>
       
   129               </connectionPointOut>
       
   130               <expression>TargetPressure</expression>
       
   131             </inVariable>
   225           </FBD>
   132           </FBD>
   226         </body>
   133         </body>
   227       </pou>
   134       </pou>
   228     </pous>
   135     </pous>
   229   </types>
   136   </types>