--- a/tests/python/plc.xml Wed May 15 17:13:49 2013 +0900
+++ b/tests/python/plc.xml Wed May 15 18:21:20 2013 +0900
@@ -8,7 +8,7 @@
productVersion="0.0"
creationDateTime="2008-12-14T16:21:19"/>
<contentHeader name="Beremiz Python Support Tests"
- modificationDateTime="2013-05-08T22:43:14">
+ modificationDateTime="2013-05-15T18:19:52">
<coordinateInfo>
<pageSize x="1024" y="1024"/>
<fbd>
@@ -191,6 +191,16 @@
<INT/>
</type>
</variable>
+ <variable name="Test_Python_Var">
+ <type>
+ <INT/>
+ </type>
+ </variable>
+ <variable name="Second_Python_Var">
+ <type>
+ <INT/>
+ </type>
+ </variable>
</externalVars>
</interface>
<body>
@@ -857,15 +867,15 @@
</connectionPointOut>
<expression>'True'</expression>
</inVariable>
- <block localId="46" width="130" height="45" typeName="BYTE_TO_STRING">
+ <block localId="46" width="130" height="45" typeName="INT_TO_STRING">
<position x="900" y="970"/>
<inputVariables>
<variable formalParameter="IN">
<connectionPointIn>
<relPosition x="0" y="30"/>
- <connection refLocalId="47">
+ <connection refLocalId="58">
<position x="900" y="1000"/>
- <position x="850" y="1000"/>
+ <position x="840" y="1000"/>
</connection>
</connectionPointIn>
</variable>
@@ -879,13 +889,6 @@
</variable>
</outputVariables>
</block>
- <inVariable localId="47" height="30" width="80">
- <position x="770" y="985"/>
- <connectionPointOut>
- <relPosition x="80" y="15"/>
- </connectionPointOut>
- <expression>BYTE#145</expression>
- </inVariable>
<inVariable localId="50" height="30" width="105">
<position x="200" y="1085"/>
<connectionPointOut>
@@ -1089,6 +1092,31 @@
</connectionPointIn>
<expression>TUTU</expression>
</outVariable>
+ <inVariable localId="58" height="30" width="145">
+ <position x="715" y="985"/>
+ <connectionPointOut>
+ <relPosition x="145" y="15"/>
+ </connectionPointOut>
+ <expression>Second_Python_Var</expression>
+ </inVariable>
+ <outVariable localId="47" height="30" width="125">
+ <position x="400" y="975"/>
+ <connectionPointIn>
+ <relPosition x="0" y="15"/>
+ <connection refLocalId="59">
+ <position x="400" y="990"/>
+ <position x="330" y="990"/>
+ </connection>
+ </connectionPointIn>
+ <expression>Test_Python_Var</expression>
+ </outVariable>
+ <inVariable localId="59" height="30" width="30">
+ <position x="300" y="975"/>
+ <connectionPointOut>
+ <relPosition x="30" y="15"/>
+ </connectionPointOut>
+ <expression>23</expression>
+ </inVariable>
</FBD>
</body>
</pou>