More VAR_GLOBAL related tests in tests/python
authorEdouard Tisserant
Thu, 04 Apr 2013 11:12:30 +0900
changeset 1013 d54ca1ec9090
parent 1012 deb0fcab0c64
child 1014 e2f7d6c95db0
More VAR_GLOBAL related tests in tests/python
tests/python/plc.xml
--- a/tests/python/plc.xml	Fri Mar 29 14:23:18 2013 +0900
+++ b/tests/python/plc.xml	Thu Apr 04 11:12:30 2013 +0900
@@ -3,12 +3,12 @@
          xsi:schemaLocation="http://www.plcopen.org/xml/tc6.xsd"
          xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
          xmlns:xhtml="http://www.w3.org/1999/xhtml">
-  <fileHeader companyName="beremiz"
+  <fileHeader companyName=""
               productName="Beremiz"
               productVersion="0.0"
               creationDateTime="2008-12-14T16:21:19"/>
   <contentHeader name="Beremiz Python Support Tests"
-                 modificationDateTime="2013-02-23T23:37:47">
+                 modificationDateTime="2013-04-04T10:25:57">
     <coordinateInfo>
       <pageSize x="1024" y="1024"/>
       <fbd>
@@ -181,6 +181,16 @@
                 <derived name="RS"/>
               </type>
             </variable>
+            <variable name="TUTU">
+              <type>
+                <INT/>
+              </type>
+            </variable>
+            <variable name="TOTO">
+              <type>
+                <INT/>
+              </type>
+            </variable>
           </externalVars>
         </interface>
         <body>
@@ -1048,6 +1058,37 @@
               </connectionPointOut>
               <expression>Test_TOD</expression>
             </inOutVariable>
+            <inVariable localId="49" height="30" width="30">
+              <position x="765" y="1200"/>
+              <connectionPointOut>
+                <relPosition x="30" y="15"/>
+              </connectionPointOut>
+              <expression>42</expression>
+            </inVariable>
+            <outVariable localId="57" height="30" width="50">
+              <position x="845" y="1200"/>
+              <connectionPointIn>
+                <relPosition x="0" y="15"/>
+                <connection refLocalId="49">
+                  <position x="845" y="1215"/>
+                  <position x="795" y="1215"/>
+                </connection>
+              </connectionPointIn>
+              <expression>TOTO</expression>
+            </outVariable>
+            <outVariable localId="56" height="30" width="50">
+              <position x="845" y="1240"/>
+              <connectionPointIn>
+                <relPosition x="0" y="15"/>
+                <connection refLocalId="49">
+                  <position x="845" y="1255"/>
+                  <position x="820" y="1255"/>
+                  <position x="820" y="1215"/>
+                  <position x="795" y="1215"/>
+                </connection>
+              </connectionPointIn>
+              <expression>TUTU</expression>
+            </outVariable>
           </FBD>
         </body>
       </pou>
@@ -1182,6 +1223,11 @@
               <derived name="RS"/>
             </type>
           </variable>
+          <variable name="TUTU">
+            <type>
+              <INT/>
+            </type>
+          </variable>
         </globalVars>
       </configuration>
     </configurations>