tests/svghmi/plc.xml
changeset 3381 3a0908b0319d
parent 3363 c28a064d7f1a
child 3387 ecefd38d5c7d
equal deleted inserted replaced
3376:83ed4ea362db 3381:3a0908b0319d
     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="2021-10-03T20:43:39">
     4   <contentHeader name="Unnamed" modificationDateTime="2021-11-04T11:35:21">
     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>
    69               <type>
    69               <type>
    70                 <derived name="PumpControl"/>
    70                 <derived name="PumpControl"/>
    71               </type>
    71               </type>
    72             </variable>
    72             </variable>
    73           </localVars>
    73           </localVars>
       
    74           <externalVars>
       
    75             <variable name="CURRENT_PAGE_0">
       
    76               <type>
       
    77                 <derived name="HMI_STRING"/>
       
    78               </type>
       
    79             </variable>
       
    80           </externalVars>
       
    81           <localVars>
       
    82             <variable name="PAGESWITCH">
       
    83               <type>
       
    84                 <BOOL/>
       
    85               </type>
       
    86             </variable>
       
    87             <variable name="R_TRIG0">
       
    88               <type>
       
    89                 <derived name="R_TRIG"/>
       
    90               </type>
       
    91             </variable>
       
    92           </localVars>
    74         </interface>
    93         </interface>
    75         <body>
    94         <body>
    76           <FBD>
    95           <FBD>
    77             <block localId="4" typeName="PumpControl" instanceName="Pump0" executionOrderId="0" height="60" width="127">
    96             <block localId="4" typeName="PumpControl" instanceName="Pump0" executionOrderId="0" height="60" width="127">
    78               <position x="595" y="50"/>
    97               <position x="595" y="50"/>
   285               <connectionPointOut>
   304               <connectionPointOut>
   286                 <relPosition x="20" y="10"/>
   305                 <relPosition x="20" y="10"/>
   287               </connectionPointOut>
   306               </connectionPointOut>
   288               <expression>0</expression>
   307               <expression>0</expression>
   289             </inVariable>
   308             </inVariable>
       
   309             <inOutVariable localId="12" executionOrderId="0" height="25" width="125" negatedOut="false" negatedIn="false">
       
   310               <position x="410" y="205"/>
       
   311               <connectionPointIn>
       
   312                 <relPosition x="0" y="10"/>
       
   313                 <connection refLocalId="13" formalParameter="OUT">
       
   314                   <position x="410" y="215"/>
       
   315                   <position x="385" y="215"/>
       
   316                 </connection>
       
   317               </connectionPointIn>
       
   318               <connectionPointOut>
       
   319                 <relPosition x="125" y="10"/>
       
   320               </connectionPointOut>
       
   321               <expression>CURRENT_PAGE_0</expression>
       
   322             </inOutVariable>
       
   323             <block localId="13" typeName="SEL" executionOrderId="0" height="80" width="65">
       
   324               <position x="320" y="185"/>
       
   325               <inputVariables>
       
   326                 <variable formalParameter="G">
       
   327                   <connectionPointIn>
       
   328                     <relPosition x="0" y="30"/>
       
   329                     <connection refLocalId="17" formalParameter="Q">
       
   330                       <position x="320" y="215"/>
       
   331                       <position x="280" y="215"/>
       
   332                     </connection>
       
   333                   </connectionPointIn>
       
   334                 </variable>
       
   335                 <variable formalParameter="IN0">
       
   336                   <connectionPointIn>
       
   337                     <relPosition x="0" y="50"/>
       
   338                     <connection refLocalId="12">
       
   339                       <position x="320" y="235"/>
       
   340                       <position x="60" y="235"/>
       
   341                       <position x="60" y="155"/>
       
   342                       <position x="550" y="155"/>
       
   343                       <position x="550" y="215"/>
       
   344                       <position x="535" y="215"/>
       
   345                     </connection>
       
   346                   </connectionPointIn>
       
   347                 </variable>
       
   348                 <variable formalParameter="IN1">
       
   349                   <connectionPointIn>
       
   350                     <relPosition x="0" y="70"/>
       
   351                     <connection refLocalId="16">
       
   352                       <position x="320" y="255"/>
       
   353                       <position x="290" y="255"/>
       
   354                     </connection>
       
   355                   </connectionPointIn>
       
   356                 </variable>
       
   357               </inputVariables>
       
   358               <inOutVariables/>
       
   359               <outputVariables>
       
   360                 <variable formalParameter="OUT">
       
   361                   <connectionPointOut>
       
   362                     <relPosition x="65" y="30"/>
       
   363                   </connectionPointOut>
       
   364                 </variable>
       
   365               </outputVariables>
       
   366             </block>
       
   367             <inVariable localId="15" executionOrderId="0" height="25" width="90" negated="false">
       
   368               <position x="100" y="205"/>
       
   369               <connectionPointOut>
       
   370                 <relPosition x="90" y="10"/>
       
   371               </connectionPointOut>
       
   372               <expression>PAGESWITCH</expression>
       
   373             </inVariable>
       
   374             <inVariable localId="16" executionOrderId="0" height="25" width="220" negated="false">
       
   375               <position x="70" y="245"/>
       
   376               <connectionPointOut>
       
   377                 <relPosition x="220" y="10"/>
       
   378               </connectionPointOut>
       
   379               <expression>'RelativePageTest@/TRUMP2'</expression>
       
   380             </inVariable>
       
   381             <block localId="17" typeName="R_TRIG" instanceName="R_TRIG0" executionOrderId="0" height="40" width="60">
       
   382               <position x="220" y="185"/>
       
   383               <inputVariables>
       
   384                 <variable formalParameter="CLK">
       
   385                   <connectionPointIn>
       
   386                     <relPosition x="0" y="30"/>
       
   387                     <connection refLocalId="15">
       
   388                       <position x="220" y="215"/>
       
   389                       <position x="190" y="215"/>
       
   390                     </connection>
       
   391                   </connectionPointIn>
       
   392                 </variable>
       
   393               </inputVariables>
       
   394               <inOutVariables/>
       
   395               <outputVariables>
       
   396                 <variable formalParameter="Q">
       
   397                   <connectionPointOut>
       
   398                     <relPosition x="60" y="30"/>
       
   399                   </connectionPointOut>
       
   400                 </variable>
       
   401               </outputVariables>
       
   402             </block>
   290           </FBD>
   403           </FBD>
   291         </body>
   404         </body>
   292       </pou>
   405       </pou>
   293       <pou name="PumpControl" pouType="functionBlock">
   406       <pou name="PumpControl" pouType="functionBlock">
   294         <interface>
   407         <interface>