tests/svghmi/plc.xml
branchsvghmi
changeset 2816 d813ecfe8941
parent 2814 2cabc4773885
child 2823 d631f8671c75
equal deleted inserted replaced
2815:77b2a3757e66 2816:d813ecfe8941
     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-11-12T13:19:15">
     4   <contentHeader name="Unnamed" modificationDateTime="2019-11-14T13:42:40">
     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>
    28             <variable name="Pump0">
    28             <variable name="Pump0">
    29               <type>
    29               <type>
    30                 <derived name="PumpControl"/>
    30                 <derived name="PumpControl"/>
    31               </type>
    31               </type>
    32             </variable>
    32             </variable>
    33             <variable name="Pump1">
       
    34               <type>
       
    35                 <derived name="PumpControl"/>
       
    36               </type>
       
    37             </variable>
       
    38           </localVars>
    33           </localVars>
    39         </interface>
    34         </interface>
    40         <body>
    35         <body>
    41           <FBD>
    36           <FBD>
    42             <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">
    60               <connectionPointOut>
    55               <connectionPointOut>
    61                 <relPosition x="125" y="15"/>
    56                 <relPosition x="125" y="15"/>
    62               </connectionPointOut>
    57               </connectionPointOut>
    63               <expression>TargetPressure</expression>
    58               <expression>TargetPressure</expression>
    64             </inVariable>
    59             </inVariable>
    65             <block localId="1" typeName="PumpControl" instanceName="Pump1" executionOrderId="0" height="40" width="127">
       
    66               <position x="605" y="145"/>
       
    67               <inputVariables>
       
    68                 <variable formalParameter="TargetPressure">
       
    69                   <connectionPointIn>
       
    70                     <relPosition x="0" y="30"/>
       
    71                     <connection refLocalId="5">
       
    72                       <position x="605" y="175"/>
       
    73                       <position x="587" y="175"/>
       
    74                       <position x="587" y="80"/>
       
    75                       <position x="570" y="80"/>
       
    76                     </connection>
       
    77                   </connectionPointIn>
       
    78                 </variable>
       
    79               </inputVariables>
       
    80               <inOutVariables/>
       
    81               <outputVariables/>
       
    82             </block>
       
    83           </FBD>
    60           </FBD>
    84         </body>
    61         </body>
    85       </pou>
    62       </pou>
    86       <pou name="PumpControl" pouType="functionBlock">
    63       <pou name="PumpControl" pouType="functionBlock">
    87         <interface>
    64         <interface>