tests/svghmi/plc.xml
branchsvghmi
changeset 2814 2cabc4773885
parent 2806 7d0e81cdedb0
child 2816 d813ecfe8941
--- a/tests/svghmi/plc.xml	Wed Nov 13 11:21:04 2019 +0100
+++ b/tests/svghmi/plc.xml	Wed Nov 13 11:22:53 2019 +0100
@@ -1,7 +1,7 @@
 <?xml version='1.0' encoding='utf-8'?>
 <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">
   <fileHeader companyName="Unknown" productName="Unnamed" productVersion="1" creationDateTime="2019-08-06T14:23:42"/>
-  <contentHeader name="Unnamed" modificationDateTime="2019-10-27T21:48:33">
+  <contentHeader name="Unnamed" modificationDateTime="2019-11-12T13:19:15">
     <coordinateInfo>
       <fbd>
         <scaling x="5" y="5"/>
@@ -30,6 +30,11 @@
                 <derived name="PumpControl"/>
               </type>
             </variable>
+            <variable name="Pump1">
+              <type>
+                <derived name="PumpControl"/>
+              </type>
+            </variable>
           </localVars>
         </interface>
         <body>
@@ -57,6 +62,24 @@
               </connectionPointOut>
               <expression>TargetPressure</expression>
             </inVariable>
+            <block localId="1" typeName="PumpControl" instanceName="Pump1" executionOrderId="0" height="40" width="127">
+              <position x="605" y="145"/>
+              <inputVariables>
+                <variable formalParameter="TargetPressure">
+                  <connectionPointIn>
+                    <relPosition x="0" y="30"/>
+                    <connection refLocalId="5">
+                      <position x="605" y="175"/>
+                      <position x="587" y="175"/>
+                      <position x="587" y="80"/>
+                      <position x="570" y="80"/>
+                    </connection>
+                  </connectionPointIn>
+                </variable>
+              </inputVariables>
+              <inOutVariables/>
+              <outputVariables/>
+            </block>
           </FBD>
         </body>
       </pou>
@@ -65,7 +88,7 @@
           <localVars>
             <variable name="Pump">
               <type>
-                <derived name="HMI_LABEL"/>
+                <derived name="HMI_NODE"/>
               </type>
             </variable>
             <variable name="Pressure">