tests/svghmi_v2/plc.xml
branchsvghmi
changeset 3057 696301e869d5
parent 3016 085a678715d0
child 3059 e0db3f6a5f39
equal deleted inserted replaced
3056:827bf284feec 3057:696301e869d5
     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-07-30T12:04:22">
     4   <contentHeader name="Unnamed" modificationDateTime="2020-09-15T14:59:06">
     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>
    53             <variable name="Radiostate">
    53             <variable name="Radiostate">
    54               <type>
    54               <type>
    55                 <derived name="HMI_INT"/>
    55                 <derived name="HMI_INT"/>
    56               </type>
    56               </type>
    57             </variable>
    57             </variable>
       
    58             <variable name="Toggle">
       
    59               <type>
       
    60                 <derived name="HMI_BOOL"/>
       
    61               </type>
       
    62             </variable>
       
    63             <variable name="Toggle1">
       
    64               <type>
       
    65                 <derived name="HMI_BOOL"/>
       
    66               </type>
       
    67             </variable>
       
    68             <variable name="Toggle2">
       
    69               <type>
       
    70                 <derived name="HMI_BOOL"/>
       
    71               </type>
       
    72             </variable>
    58             <variable name="MultistateExt">
    73             <variable name="MultistateExt">
    59               <type>
    74               <type>
    60                 <INT/>
    75                 <INT/>
    61               </type>
    76               </type>
    62             </variable>
    77             </variable>
    86                 <relPosition x="125" y="15"/>
   101                 <relPosition x="125" y="15"/>
    87               </connectionPointOut>
   102               </connectionPointOut>
    88               <expression>TargetPressure</expression>
   103               <expression>TargetPressure</expression>
    89             </inVariable>
   104             </inVariable>
    90             <inVariable localId="6" executionOrderId="0" height="25" width="90" negated="false">
   105             <inVariable localId="6" executionOrderId="0" height="25" width="90" negated="false">
    91               <position x="155" y="220"/>
   106               <position x="130" y="60"/>
    92               <connectionPointOut>
   107               <connectionPointOut>
    93                 <relPosition x="90" y="10"/>
   108                 <relPosition x="90" y="10"/>
    94               </connectionPointOut>
   109               </connectionPointOut>
    95               <expression>TestButton</expression>
   110               <expression>TestButton</expression>
    96             </inVariable>
   111             </inVariable>
    98               <position x="495" y="220"/>
   113               <position x="495" y="220"/>
    99               <connectionPointIn>
   114               <connectionPointIn>
   100                 <relPosition x="0" y="10"/>
   115                 <relPosition x="0" y="10"/>
   101                 <connection refLocalId="6">
   116                 <connection refLocalId="6">
   102                   <position x="495" y="230"/>
   117                   <position x="495" y="230"/>
   103                   <position x="245" y="230"/>
   118                   <position x="367" y="230"/>
       
   119                   <position x="367" y="70"/>
       
   120                   <position x="220" y="70"/>
   104                 </connection>
   121                 </connection>
   105               </connectionPointIn>
   122               </connectionPointIn>
   106               <expression>TestLocal</expression>
   123               <expression>TestLocal</expression>
   107             </outVariable>
   124             </outVariable>
   108             <inVariable localId="1" executionOrderId="0" height="25" width="115" negated="false">
   125             <inVariable localId="1" executionOrderId="0" height="25" width="115" negated="false">
   188               <connectionPointOut>
   205               <connectionPointOut>
   189                 <relPosition x="125" y="15"/>
   206                 <relPosition x="125" y="15"/>
   190               </connectionPointOut>
   207               </connectionPointOut>
   191               <expression>TargetPressure</expression>
   208               <expression>TargetPressure</expression>
   192             </inVariable>
   209             </inVariable>
   193             <inOutVariable localId="4" executionOrderId="0" height="30" width="60" negatedOut="false" negatedIn="false">
       
   194               <position x="510" y="80"/>
       
   195               <connectionPointIn>
       
   196                 <relPosition x="0" y="15"/>
       
   197                 <connection refLocalId="6" formalParameter="OUT">
       
   198                   <position x="510" y="95"/>
       
   199                   <position x="470" y="95"/>
       
   200                 </connection>
       
   201               </connectionPointIn>
       
   202               <connectionPointOut>
       
   203                 <relPosition x="60" y="15"/>
       
   204               </connectionPointOut>
       
   205               <expression>Sloth</expression>
       
   206             </inOutVariable>
       
   207             <block localId="6" typeName="ADD" executionOrderId="0" height="60" width="65">
   210             <block localId="6" typeName="ADD" executionOrderId="0" height="60" width="65">
   208               <position x="405" y="65"/>
   211               <position x="405" y="65"/>
   209               <inputVariables>
   212               <inputVariables>
   210                 <variable formalParameter="IN1">
   213                 <variable formalParameter="IN1">
   211                   <connectionPointIn>
   214                   <connectionPointIn>
   212                     <relPosition x="0" y="30"/>
   215                     <relPosition x="0" y="30"/>
   213                     <connection refLocalId="4">
       
   214                       <position x="405" y="95"/>
       
   215                       <position x="385" y="95"/>
       
   216                       <position x="385" y="50"/>
       
   217                       <position x="580" y="50"/>
       
   218                       <position x="580" y="95"/>
       
   219                       <position x="570" y="95"/>
       
   220                     </connection>
       
   221                   </connectionPointIn>
   216                   </connectionPointIn>
   222                 </variable>
   217                 </variable>
   223                 <variable formalParameter="IN2">
   218                 <variable formalParameter="IN2">
   224                   <connectionPointIn>
   219                   <connectionPointIn>
   225                     <relPosition x="0" y="50"/>
   220                     <relPosition x="0" y="50"/>
   556               <position x="630" y="315"/>
   551               <position x="630" y="315"/>
   557               <connectionPointOut>
   552               <connectionPointOut>
   558                 <relPosition x="20" y="15"/>
   553                 <relPosition x="20" y="15"/>
   559               </connectionPointOut>
   554               </connectionPointOut>
   560               <expression>0</expression>
   555               <expression>0</expression>
       
   556             </inVariable>
       
   557             <inVariable localId="4" executionOrderId="0" height="30" width="60" negated="false">
       
   558               <position x="510" y="80"/>
       
   559               <connectionPointOut>
       
   560                 <relPosition x="60" y="15"/>
       
   561               </connectionPointOut>
       
   562               <expression>Sloth</expression>
   561             </inVariable>
   563             </inVariable>
   562           </FBD>
   564           </FBD>
   563         </body>
   565         </body>
   564       </pou>
   566       </pou>
   565     </pous>
   567     </pous>