SVGHMI: svghmi_references exemple: add missing PLC part to demonstrate assigning PLC/HMI variables when validating a modal dialog.
--- 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>