tests/svghmi/plc.xml
branchsvghmi
changeset 2806 7d0e81cdedb0
parent 2805 e521e0d133d5
child 2814 2cabc4773885
equal deleted inserted replaced
2805:e521e0d133d5 2806:7d0e81cdedb0
     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-10-23T11:12:09">
     4   <contentHeader name="Unnamed" modificationDateTime="2019-10-27T21:48:33">
     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>
    89             </variable>
    89             </variable>
    90           </localVars>
    90           </localVars>
    91         </interface>
    91         </interface>
    92         <body>
    92         <body>
    93           <FBD>
    93           <FBD>
    94             <inVariable localId="3" executionOrderId="0" height="25" width="30" negated="false">
    94             <inVariable localId="5" executionOrderId="0" height="30" width="125" negated="false">
    95               <position x="380" y="140"/>
    95               <position x="150" y="100"/>
    96               <connectionPointOut>
    96               <connectionPointOut>
    97                 <relPosition x="30" y="10"/>
    97                 <relPosition x="125" y="15"/>
    98               </connectionPointOut>
    98               </connectionPointOut>
    99               <expression>23</expression>
    99               <expression>TargetPressure</expression>
   100             </inVariable>
   100             </inVariable>
   101             <outVariable localId="4" executionOrderId="0" height="30" width="60" negated="false">
   101             <inOutVariable localId="4" executionOrderId="0" height="30" width="60" negatedOut="false" negatedIn="false">
   102               <position x="640" y="135"/>
   102               <position x="510" y="80"/>
   103               <connectionPointIn>
   103               <connectionPointIn>
   104                 <relPosition x="0" y="15"/>
   104                 <relPosition x="0" y="15"/>
   105                 <connection refLocalId="3">
   105                 <connection refLocalId="6" formalParameter="OUT">
   106                   <position x="640" y="150"/>
   106                   <position x="510" y="95"/>
   107                   <position x="410" y="150"/>
   107                   <position x="470" y="95"/>
   108                 </connection>
   108                 </connection>
   109               </connectionPointIn>
   109               </connectionPointIn>
       
   110               <connectionPointOut>
       
   111                 <relPosition x="60" y="15"/>
       
   112               </connectionPointOut>
   110               <expression>Sloth</expression>
   113               <expression>Sloth</expression>
   111             </outVariable>
   114             </inOutVariable>
   112             <outVariable localId="1" executionOrderId="0" height="30" width="75" negated="false">
   115             <block localId="6" typeName="ADD" executionOrderId="0" height="60" width="65">
   113               <position x="285" y="105"/>
   116               <position x="405" y="65"/>
       
   117               <inputVariables>
       
   118                 <variable formalParameter="IN1">
       
   119                   <connectionPointIn>
       
   120                     <relPosition x="0" y="30"/>
       
   121                     <connection refLocalId="4">
       
   122                       <position x="405" y="95"/>
       
   123                       <position x="385" y="95"/>
       
   124                       <position x="385" y="50"/>
       
   125                       <position x="580" y="50"/>
       
   126                       <position x="580" y="95"/>
       
   127                       <position x="570" y="95"/>
       
   128                     </connection>
       
   129                   </connectionPointIn>
       
   130                 </variable>
       
   131                 <variable formalParameter="IN2">
       
   132                   <connectionPointIn>
       
   133                     <relPosition x="0" y="50"/>
       
   134                     <connection refLocalId="7" formalParameter="OUT">
       
   135                       <position x="405" y="115"/>
       
   136                       <position x="360" y="115"/>
       
   137                     </connection>
       
   138                   </connectionPointIn>
       
   139                 </variable>
       
   140               </inputVariables>
       
   141               <inOutVariables/>
       
   142               <outputVariables>
       
   143                 <variable formalParameter="OUT">
       
   144                   <connectionPointOut>
       
   145                     <relPosition x="65" y="30"/>
       
   146                   </connectionPointOut>
       
   147                 </variable>
       
   148               </outputVariables>
       
   149             </block>
       
   150             <inVariable localId="1" executionOrderId="0" height="30" width="75" negated="false">
       
   151               <position x="150" y="135"/>
       
   152               <connectionPointOut>
       
   153                 <relPosition x="75" y="15"/>
       
   154               </connectionPointOut>
       
   155               <expression>Pressure</expression>
       
   156             </inVariable>
       
   157             <block localId="7" typeName="SUB" executionOrderId="0" height="60" width="65">
       
   158               <position x="295" y="85"/>
       
   159               <inputVariables>
       
   160                 <variable formalParameter="IN1">
       
   161                   <connectionPointIn>
       
   162                     <relPosition x="0" y="30"/>
       
   163                     <connection refLocalId="5">
       
   164                       <position x="295" y="115"/>
       
   165                       <position x="275" y="115"/>
       
   166                     </connection>
       
   167                   </connectionPointIn>
       
   168                 </variable>
       
   169                 <variable formalParameter="IN2">
       
   170                   <connectionPointIn>
       
   171                     <relPosition x="0" y="50"/>
       
   172                     <connection refLocalId="1">
       
   173                       <position x="295" y="135"/>
       
   174                       <position x="285" y="135"/>
       
   175                       <position x="285" y="150"/>
       
   176                       <position x="225" y="150"/>
       
   177                     </connection>
       
   178                   </connectionPointIn>
       
   179                 </variable>
       
   180               </inputVariables>
       
   181               <inOutVariables/>
       
   182               <outputVariables>
       
   183                 <variable formalParameter="OUT">
       
   184                   <connectionPointOut>
       
   185                     <relPosition x="65" y="30"/>
       
   186                   </connectionPointOut>
       
   187                 </variable>
       
   188               </outputVariables>
       
   189             </block>
       
   190             <inVariable localId="2" executionOrderId="0" height="30" width="60" negated="false">
       
   191               <position x="240" y="190"/>
       
   192               <connectionPointOut>
       
   193                 <relPosition x="60" y="15"/>
       
   194               </connectionPointOut>
       
   195               <expression>Sloth</expression>
       
   196             </inVariable>
       
   197             <outVariable localId="3" executionOrderId="0" height="30" width="75" negated="false">
       
   198               <position x="435" y="205"/>
   114               <connectionPointIn>
   199               <connectionPointIn>
   115                 <relPosition x="0" y="15"/>
   200                 <relPosition x="0" y="15"/>
   116                 <connection refLocalId="5">
   201                 <connection refLocalId="8" formalParameter="OUT">
   117                   <position x="285" y="120"/>
   202                   <position x="435" y="220"/>
   118                   <position x="240" y="120"/>
   203                   <position x="410" y="220"/>
   119                   <position x="240" y="115"/>
       
   120                   <position x="195" y="115"/>
       
   121                 </connection>
   204                 </connection>
   122               </connectionPointIn>
   205               </connectionPointIn>
   123               <expression>Pressure</expression>
   206               <expression>Pressure</expression>
   124             </outVariable>
   207             </outVariable>
   125             <inVariable localId="5" executionOrderId="0" height="30" width="125" negated="false">
   208             <block localId="8" typeName="DIV" executionOrderId="0" height="60" width="65">
   126               <position x="70" y="100"/>
   209               <position x="345" y="190"/>
   127               <connectionPointOut>
   210               <inputVariables>
   128                 <relPosition x="125" y="15"/>
   211                 <variable formalParameter="IN1">
   129               </connectionPointOut>
   212                   <connectionPointIn>
   130               <expression>TargetPressure</expression>
   213                     <relPosition x="0" y="30"/>
       
   214                     <connection refLocalId="2">
       
   215                       <position x="345" y="220"/>
       
   216                       <position x="335" y="220"/>
       
   217                       <position x="335" y="205"/>
       
   218                       <position x="300" y="205"/>
       
   219                     </connection>
       
   220                   </connectionPointIn>
       
   221                 </variable>
       
   222                 <variable formalParameter="IN2">
       
   223                   <connectionPointIn>
       
   224                     <relPosition x="0" y="50"/>
       
   225                     <connection refLocalId="9">
       
   226                       <position x="345" y="240"/>
       
   227                       <position x="305" y="240"/>
       
   228                     </connection>
       
   229                   </connectionPointIn>
       
   230                 </variable>
       
   231               </inputVariables>
       
   232               <inOutVariables/>
       
   233               <outputVariables>
       
   234                 <variable formalParameter="OUT">
       
   235                   <connectionPointOut>
       
   236                     <relPosition x="65" y="30"/>
       
   237                   </connectionPointOut>
       
   238                 </variable>
       
   239               </outputVariables>
       
   240             </block>
       
   241             <inVariable localId="9" executionOrderId="0" height="30" width="60" negated="false">
       
   242               <position x="245" y="225"/>
       
   243               <connectionPointOut>
       
   244                 <relPosition x="60" y="15"/>
       
   245               </connectionPointOut>
       
   246               <expression>100</expression>
   131             </inVariable>
   247             </inVariable>
   132           </FBD>
   248           </FBD>
   133         </body>
   249         </body>
   134       </pou>
   250       </pou>
   135     </pous>
   251     </pous>