tests/svghmi/plc.xml
branchsvghmi
changeset 2999 f87d2ac70d04
parent 2930 41edcb8e0a01
child 3002 30b0635fe92e
equal deleted inserted replaced
2998:e8f707d99dc3 2999:f87d2ac70d04
     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="2020-04-14T15:53:44">
     4   <contentHeader name="Unnamed" modificationDateTime="2020-08-03T16:16:26">
     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>
    33             <variable name="Pump0">
    33             <variable name="Pump0">
    34               <type>
    34               <type>
    35                 <derived name="PumpControl"/>
    35                 <derived name="PumpControl"/>
    36               </type>
    36               </type>
    37             </variable>
    37             </variable>
       
    38             <variable name="Pump1">
       
    39               <type>
       
    40                 <derived name="PumpControl"/>
       
    41               </type>
       
    42             </variable>
       
    43             <variable name="Pump2">
       
    44               <type>
       
    45                 <derived name="PumpControl"/>
       
    46               </type>
       
    47             </variable>
       
    48             <variable name="Pump3">
       
    49               <type>
       
    50                 <derived name="PumpControl"/>
       
    51               </type>
       
    52             </variable>
    38           </localVars>
    53           </localVars>
    39         </interface>
    54         </interface>
    40         <body>
    55         <body>
    41           <FBD>
    56           <FBD>
    42             <block localId="4" typeName="PumpControl" instanceName="Pump0" executionOrderId="0" height="40" width="127">
    57             <block localId="4" typeName="PumpControl" instanceName="Pump0" executionOrderId="0" height="40" width="127">
    60               <connectionPointOut>
    75               <connectionPointOut>
    61                 <relPosition x="125" y="15"/>
    76                 <relPosition x="125" y="15"/>
    62               </connectionPointOut>
    77               </connectionPointOut>
    63               <expression>TargetPressure</expression>
    78               <expression>TargetPressure</expression>
    64             </inVariable>
    79             </inVariable>
       
    80             <block localId="1" typeName="PumpControl" instanceName="Pump1" executionOrderId="0" height="40" width="127">
       
    81               <position x="595" y="180"/>
       
    82               <inputVariables>
       
    83                 <variable formalParameter="TargetPressure">
       
    84                   <connectionPointIn>
       
    85                     <relPosition x="0" y="30"/>
       
    86                     <connection refLocalId="5">
       
    87                       <position x="595" y="210"/>
       
    88                       <position x="582" y="210"/>
       
    89                       <position x="582" y="80"/>
       
    90                       <position x="570" y="80"/>
       
    91                     </connection>
       
    92                   </connectionPointIn>
       
    93                 </variable>
       
    94               </inputVariables>
       
    95               <inOutVariables/>
       
    96               <outputVariables/>
       
    97             </block>
       
    98             <block localId="2" typeName="PumpControl" instanceName="Pump2" executionOrderId="0" height="40" width="127">
       
    99               <position x="595" y="110"/>
       
   100               <inputVariables>
       
   101                 <variable formalParameter="TargetPressure">
       
   102                   <connectionPointIn>
       
   103                     <relPosition x="0" y="30"/>
       
   104                     <connection refLocalId="5">
       
   105                       <position x="595" y="140"/>
       
   106                       <position x="582" y="140"/>
       
   107                       <position x="582" y="80"/>
       
   108                       <position x="570" y="80"/>
       
   109                     </connection>
       
   110                   </connectionPointIn>
       
   111                 </variable>
       
   112               </inputVariables>
       
   113               <inOutVariables/>
       
   114               <outputVariables/>
       
   115             </block>
       
   116             <block localId="3" typeName="PumpControl" instanceName="Pump3" executionOrderId="0" height="40" width="127">
       
   117               <position x="595" y="245"/>
       
   118               <inputVariables>
       
   119                 <variable formalParameter="TargetPressure">
       
   120                   <connectionPointIn>
       
   121                     <relPosition x="0" y="30"/>
       
   122                     <connection refLocalId="5">
       
   123                       <position x="595" y="275"/>
       
   124                       <position x="582" y="275"/>
       
   125                       <position x="582" y="80"/>
       
   126                       <position x="570" y="80"/>
       
   127                     </connection>
       
   128                   </connectionPointIn>
       
   129                 </variable>
       
   130               </inputVariables>
       
   131               <inOutVariables/>
       
   132               <outputVariables/>
       
   133             </block>
    65           </FBD>
   134           </FBD>
    66         </body>
   135         </body>
    67       </pou>
   136       </pou>
    68       <pou name="PumpControl" pouType="functionBlock">
   137       <pou name="PumpControl" pouType="functionBlock">
    69         <interface>
   138         <interface>