SVGHMI: svghmi_references exemple: add missing PLC part to demonstrate assigning PLC/HMI variables when validating a modal dialog.
authorEdouard Tisserant
Wed, 12 Oct 2022 11:59:47 +0200
changeset 3646 db87744d8900
parent 3645 82882a9f91ce
child 3647 7c427418396f
SVGHMI: svghmi_references exemple: add missing PLC part to demonstrate assigning PLC/HMI variables when validating a modal dialog.
exemples/svghmi_references/plc.xml
--- a/exemples/svghmi_references/plc.xml	Wed Oct 12 11:56:04 2022 +0200
+++ b/exemples/svghmi_references/plc.xml	Wed Oct 12 11:59:47 2022 +0200
@@ -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="2022-09-05T09:02:48"/>
-  <contentHeader name="Unnamed" modificationDateTime="2022-09-20T11:48:55">
+  <contentHeader name="Unnamed" modificationDateTime="2022-10-04T10:59:24">
     <coordinateInfo>
       <fbd>
         <scaling x="5" y="5"/>
@@ -22,12 +22,12 @@
           <localVars>
             <variable name="LocalVar0">
               <type>
-                <DINT/>
+                <INT/>
               </type>
             </variable>
-            <variable name="LocalVar1">
+            <variable name="PLCHMIVAR">
               <type>
-                <DINT/>
+                <derived name="HMI_INT"/>
               </type>
             </variable>
           </localVars>
@@ -39,7 +39,7 @@
               <connectionPointOut>
                 <relPosition x="85" y="10"/>
               </connectionPointOut>
-              <expression>LocalVar0</expression>
+              <expression>PLCHMIVAR</expression>
             </inVariable>
             <outVariable localId="30" executionOrderId="0" height="25" width="85" negated="false">
               <position x="330" y="290"/>
@@ -50,7 +50,7 @@
                   <position x="260" y="300"/>
                 </connection>
               </connectionPointIn>
-              <expression>LocalVar1</expression>
+              <expression>LocalVar0</expression>
             </outVariable>
           </FBD>
         </body>