exemples/svghmi_references/plc.xml
changeset 3646 db87744d8900
parent 3625 bb1eff4091ab
equal deleted inserted replaced
3645:82882a9f91ce 3646:db87744d8900
     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="2022-09-05T09:02:48"/>
     3   <fileHeader companyName="Unknown" productName="Unnamed" productVersion="1" creationDateTime="2022-09-05T09:02:48"/>
     4   <contentHeader name="Unnamed" modificationDateTime="2022-09-20T11:48:55">
     4   <contentHeader name="Unnamed" modificationDateTime="2022-10-04T10:59:24">
     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>
    20       <pou name="program0" pouType="program">
    20       <pou name="program0" pouType="program">
    21         <interface>
    21         <interface>
    22           <localVars>
    22           <localVars>
    23             <variable name="LocalVar0">
    23             <variable name="LocalVar0">
    24               <type>
    24               <type>
    25                 <DINT/>
    25                 <INT/>
    26               </type>
    26               </type>
    27             </variable>
    27             </variable>
    28             <variable name="LocalVar1">
    28             <variable name="PLCHMIVAR">
    29               <type>
    29               <type>
    30                 <DINT/>
    30                 <derived name="HMI_INT"/>
    31               </type>
    31               </type>
    32             </variable>
    32             </variable>
    33           </localVars>
    33           </localVars>
    34         </interface>
    34         </interface>
    35         <body>
    35         <body>
    37             <inVariable localId="31" executionOrderId="0" height="25" width="85" negated="false">
    37             <inVariable localId="31" executionOrderId="0" height="25" width="85" negated="false">
    38               <position x="175" y="290"/>
    38               <position x="175" y="290"/>
    39               <connectionPointOut>
    39               <connectionPointOut>
    40                 <relPosition x="85" y="10"/>
    40                 <relPosition x="85" y="10"/>
    41               </connectionPointOut>
    41               </connectionPointOut>
    42               <expression>LocalVar0</expression>
    42               <expression>PLCHMIVAR</expression>
    43             </inVariable>
    43             </inVariable>
    44             <outVariable localId="30" executionOrderId="0" height="25" width="85" negated="false">
    44             <outVariable localId="30" executionOrderId="0" height="25" width="85" negated="false">
    45               <position x="330" y="290"/>
    45               <position x="330" y="290"/>
    46               <connectionPointIn>
    46               <connectionPointIn>
    47                 <relPosition x="0" y="10"/>
    47                 <relPosition x="0" y="10"/>
    48                 <connection refLocalId="31">
    48                 <connection refLocalId="31">
    49                   <position x="330" y="300"/>
    49                   <position x="330" y="300"/>
    50                   <position x="260" y="300"/>
    50                   <position x="260" y="300"/>
    51                 </connection>
    51                 </connection>
    52               </connectionPointIn>
    52               </connectionPointIn>
    53               <expression>LocalVar1</expression>
    53               <expression>LocalVar0</expression>
    54             </outVariable>
    54             </outVariable>
    55           </FBD>
    55           </FBD>
    56         </body>
    56         </body>
    57       </pou>
    57       </pou>
    58     </pous>
    58     </pous>