<?xml version="1.0" encoding="UTF-8"?>
<project xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns="http://www.plcopen.org/xml/tc6.xsd"
xmlns:xhtml="http://www.w3.org/1999/xhtml"
xsi:schemaLocation="http://www.plcopen.org/xml/tc6.xsd">
<fileHeader companyName="LOLITECH"
productName="Beremiz"
productVersion="0.0"
creationDateTime="2008-12-14 16:21:19"/>
<contentHeader name="Beremiz Python Support Tests"
modificationDateTime="2009-01-19 09:02:00">
<coordinateInfo>
<pageSize x="1024" y="1024"/>
<fbd>
<scaling x="5" y="5"/>
</fbd>
<ld>
<scaling x="5" y="5"/>
</ld>
<sfc>
<scaling x="5" y="5"/>
</sfc>
</coordinateInfo>
</contentHeader>
<types>
<dataTypes/>
<pous>
<pou name="main_pytest" pouType="program">
<interface>
<localVars>
<variable name="pytest_var1">
<type>
<string/>
</type>
</variable>
<variable name="pytest_var2">
<type>
<BOOL/>
</type>
</variable>
<variable name="py2">
<type>
<derived name="python_poll"/>
</type>
</variable>
<variable name="py3">
<type>
<derived name="python_poll"/>
</type>
</variable>
<variable name="py1">
<type>
<derived name="python_poll"/>
</type>
</variable>
<variable name="pytest_var3">
<type>
<BOOL/>
</type>
</variable>
<variable name="pollX">
<type>
<derived name="python_poll"/>
</type>
</variable>
<variable name="pollY">
<type>
<derived name="python_poll"/>
</type>
</variable>
</localVars>
</interface>
<body>
<FBD>
<inVariable localId="4" height="30" width="160">
<position x="25" y="285"/>
<connectionPointOut>
<relPosition x="160" y="15"/>
</connectionPointOut>
<expression>'last_point[0]'</expression>
</inVariable>
<block localId="5" width="125" height="80" typeName="python_poll" instanceName="py2">
<position x="215" y="235"/>
<inputVariables>
<variable formalParameter="TRIG">
<connectionPointIn>
<relPosition x="0" y="35"/>
<connection refLocalId="25" formalParameter="OUT">
<position x="215" y="270"/>
<position x="200" y="270"/>
<position x="200" y="205"/>
<position x="875" y="205"/>
<position x="875" y="155"/>
<position x="825" y="155"/>
</connection>
</connectionPointIn>
</variable>
<variable formalParameter="CODE">
<connectionPointIn>
<relPosition x="0" y="65"/>
<connection refLocalId="4">
<position x="215" y="300"/>
<position x="185" y="300"/>
</connection>
</connectionPointIn>
</variable>
</inputVariables>
<inOutVariables/>
<outputVariables>
<variable formalParameter="ACK">
<connectionPointOut>
<relPosition x="125" y="35"/>
</connectionPointOut>
</variable>
<variable formalParameter="RESULT">
<connectionPointOut>
<relPosition x="125" y="65"/>
</connectionPointOut>
</variable>
</outputVariables>
</block>
<block localId="8" width="125" height="80" typeName="python_poll" instanceName="py3">
<position x="215" y="480"/>
<inputVariables>
<variable formalParameter="TRIG">
<connectionPointIn>
<relPosition x="0" y="35"/>
<connection refLocalId="25" formalParameter="OUT">
<position x="215" y="515"/>
<position x="200" y="515"/>
<position x="200" y="205"/>
<position x="875" y="205"/>
<position x="875" y="155"/>
<position x="825" y="155"/>
</connection>
</connectionPointIn>
</variable>
<variable formalParameter="CODE">
<connectionPointIn>
<relPosition x="0" y="65"/>
<connection refLocalId="9">
<position x="215" y="545"/>
<position x="185" y="545"/>
</connection>
</connectionPointIn>
</variable>
</inputVariables>
<inOutVariables/>
<outputVariables>
<variable formalParameter="ACK">
<connectionPointOut>
<relPosition x="125" y="35"/>
</connectionPointOut>
</variable>
<variable formalParameter="RESULT">
<connectionPointOut>
<relPosition x="125" y="65"/>
</connectionPointOut>
</variable>
</outputVariables>
</block>
<inVariable localId="9" height="30" width="160">
<position x="25" y="530"/>
<connectionPointOut>
<relPosition x="160" y="15"/>
</connectionPointOut>
<expression>'last_point[1]'</expression>
</inVariable>
<inVariable localId="11" height="30" width="100">
<position x="80" y="140"/>
<connectionPointOut>
<relPosition x="100" y="15"/>
</connectionPointOut>
<expression>'btA'</expression>
</inVariable>
<block localId="12" width="125" height="80" typeName="python_poll" instanceName="py1">
<position x="215" y="90"/>
<inputVariables>
<variable formalParameter="TRIG">
<connectionPointIn>
<relPosition x="0" y="35"/>
<connection refLocalId="41">
<position x="215" y="125"/>
<position x="190" y="125"/>
<position x="190" y="120"/>
<position x="180" y="120"/>
</connection>
</connectionPointIn>
</variable>
<variable formalParameter="CODE">
<connectionPointIn>
<relPosition x="0" y="65"/>
<connection refLocalId="11">
<position x="215" y="155"/>
<position x="180" y="155"/>
</connection>
</connectionPointIn>
</variable>
</inputVariables>
<inOutVariables/>
<outputVariables>
<variable formalParameter="ACK">
<connectionPointOut>
<relPosition x="125" y="35"/>
</connectionPointOut>
</variable>
<variable formalParameter="RESULT">
<connectionPointOut>
<relPosition x="125" y="65"/>
</connectionPointOut>
</variable>
</outputVariables>
</block>
<comment localId="16" height="40" width="1005">
<position x="15" y="25"/>
<content>
<![CDATA[A simple test that reads Nunchuk stick position and put it in spinctrls, when A button is pressed.]]>
</content>
</comment>
<block localId="24" width="155" height="80" typeName="STRING_TO_UINT">
<position x="460" y="90"/>
<inputVariables>
<variable formalParameter="EN">
<connectionPointIn>
<relPosition x="0" y="35"/>
<connection refLocalId="12" formalParameter="ACK">
<position x="460" y="125"/>
<position x="340" y="125"/>
</connection>
</connectionPointIn>
</variable>
<variable formalParameter="IN">
<connectionPointIn>
<relPosition x="0" y="65"/>
<connection refLocalId="12" formalParameter="RESULT">
<position x="460" y="155"/>
<position x="340" y="155"/>
</connection>
</connectionPointIn>
</variable>
</inputVariables>
<inOutVariables/>
<outputVariables>
<variable formalParameter="ENO">
<connectionPointOut>
<relPosition x="155" y="35"/>
</connectionPointOut>
</variable>
<variable formalParameter="OUT">
<connectionPointOut>
<relPosition x="155" y="65"/>
</connectionPointOut>
</variable>
</outputVariables>
</block>
<block localId="25" width="135" height="45" typeName="UINT_TO_BOOL">
<position x="690" y="125"/>
<inputVariables>
<variable formalParameter="IN">
<connectionPointIn>
<relPosition x="0" y="30"/>
<connection refLocalId="24" formalParameter="OUT">
<position x="690" y="155"/>
<position x="615" y="155"/>
</connection>
</connectionPointIn>
</variable>
</inputVariables>
<inOutVariables/>
<outputVariables>
<variable formalParameter="OUT">
<connectionPointOut>
<relPosition x="135" y="30"/>
</connectionPointOut>
</variable>
</outputVariables>
</block>
<inVariable localId="31" height="30" width="160">
<position x="565" y="385"/>
<connectionPointOut>
<relPosition x="160" y="15"/>
</connectionPointOut>
<expression>')'</expression>
</inVariable>
<inVariable localId="35" height="30" width="340">
<position x="385" y="345"/>
<connectionPointOut>
<relPosition x="340" y="15"/>
</connectionPointOut>
<expression>'HMIFrame.spin_ctrl_X.SetValue('</expression>
</inVariable>
<inVariable localId="41" height="30" width="100">
<position x="80" y="105"/>
<connectionPointOut>
<relPosition x="100" y="15"/>
</connectionPointOut>
<expression>BOOL#TRUE</expression>
</inVariable>
<block localId="42" width="80" height="100" typeName="CONCAT">
<position x="750" y="310"/>
<inputVariables>
<variable formalParameter="EN">
<connectionPointIn>
<relPosition x="0" y="30"/>
<connection refLocalId="44" formalParameter="ENO">
<position x="750" y="340"/>
<position x="740" y="340"/>
<position x="740" y="270"/>
<position x="715" y="270"/>
</connection>
</connectionPointIn>
</variable>
<variable formalParameter="IN1">
<connectionPointIn>
<relPosition x="0" y="50"/>
<connection refLocalId="35">
<position x="750" y="360"/>
<position x="725" y="360"/>
</connection>
</connectionPointIn>
</variable>
<variable formalParameter="IN2">
<connectionPointIn>
<relPosition x="0" y="70"/>
<connection refLocalId="44" formalParameter="OUT">
<position x="750" y="380"/>
<position x="735" y="380"/>
<position x="735" y="300"/>
<position x="715" y="300"/>
</connection>
</connectionPointIn>
</variable>
<variable formalParameter="IN3">
<connectionPointIn>
<relPosition x="0" y="90"/>
<connection refLocalId="31">
<position x="750" y="400"/>
<position x="725" y="400"/>
</connection>
</connectionPointIn>
</variable>
</inputVariables>
<inOutVariables/>
<outputVariables>
<variable formalParameter="ENO">
<connectionPointOut>
<relPosition x="80" y="30"/>
</connectionPointOut>
</variable>
<variable formalParameter="OUT">
<connectionPointOut>
<relPosition x="80" y="50"/>
</connectionPointOut>
</variable>
</outputVariables>
</block>
<block localId="43" width="145" height="80" typeName="STRING_TO_INT">
<position x="380" y="235"/>
<inputVariables>
<variable formalParameter="EN">
<connectionPointIn>
<relPosition x="0" y="35"/>
<connection refLocalId="5" formalParameter="ACK">
<position x="380" y="270"/>
<position x="340" y="270"/>
</connection>
</connectionPointIn>
</variable>
<variable formalParameter="IN">
<connectionPointIn>
<relPosition x="0" y="65"/>
<connection refLocalId="5" formalParameter="RESULT">
<position x="380" y="300"/>
<position x="340" y="300"/>
</connection>
</connectionPointIn>
</variable>
</inputVariables>
<inOutVariables/>
<outputVariables>
<variable formalParameter="ENO">
<connectionPointOut>
<relPosition x="145" y="35"/>
</connectionPointOut>
</variable>
<variable formalParameter="OUT">
<connectionPointOut>
<relPosition x="145" y="65"/>
</connectionPointOut>
</variable>
</outputVariables>
</block>
<block localId="44" width="145" height="80" typeName="INT_TO_STRING">
<position x="570" y="235"/>
<inputVariables>
<variable formalParameter="EN">
<connectionPointIn>
<relPosition x="0" y="35"/>
<connection refLocalId="43" formalParameter="ENO">
<position x="570" y="270"/>
<position x="525" y="270"/>
</connection>
</connectionPointIn>
</variable>
<variable formalParameter="IN">
<connectionPointIn>
<relPosition x="0" y="65"/>
<connection refLocalId="43" formalParameter="OUT">
<position x="570" y="300"/>
<position x="525" y="300"/>
</connection>
</connectionPointIn>
</variable>
</inputVariables>
<inOutVariables/>
<outputVariables>
<variable formalParameter="ENO">
<connectionPointOut>
<relPosition x="145" y="35"/>
</connectionPointOut>
</variable>
<variable formalParameter="OUT">
<connectionPointOut>
<relPosition x="145" y="65"/>
</connectionPointOut>
</variable>
</outputVariables>
</block>
<inVariable localId="47" height="30" width="160">
<position x="565" y="630"/>
<connectionPointOut>
<relPosition x="160" y="15"/>
</connectionPointOut>
<expression>')'</expression>
</inVariable>
<block localId="48" width="80" height="100" typeName="CONCAT">
<position x="750" y="555"/>
<inputVariables>
<variable formalParameter="EN">
<connectionPointIn>
<relPosition x="0" y="30"/>
<connection refLocalId="49" formalParameter="ENO">
<position x="750" y="585"/>
<position x="740" y="585"/>
<position x="740" y="515"/>
<position x="715" y="515"/>
</connection>
</connectionPointIn>
</variable>
<variable formalParameter="IN1">
<connectionPointIn>
<relPosition x="0" y="50"/>
<connection refLocalId="51">
<position x="750" y="605"/>
<position x="725" y="605"/>
</connection>
</connectionPointIn>
</variable>
<variable formalParameter="IN2">
<connectionPointIn>
<relPosition x="0" y="70"/>
<connection refLocalId="49" formalParameter="OUT">
<position x="750" y="625"/>
<position x="735" y="625"/>
<position x="735" y="545"/>
<position x="715" y="545"/>
</connection>
</connectionPointIn>
</variable>
<variable formalParameter="IN3">
<connectionPointIn>
<relPosition x="0" y="90"/>
<connection refLocalId="47">
<position x="750" y="645"/>
<position x="725" y="645"/>
</connection>
</connectionPointIn>
</variable>
</inputVariables>
<inOutVariables/>
<outputVariables>
<variable formalParameter="ENO">
<connectionPointOut>
<relPosition x="80" y="30"/>
</connectionPointOut>
</variable>
<variable formalParameter="OUT">
<connectionPointOut>
<relPosition x="80" y="50"/>
</connectionPointOut>
</variable>
</outputVariables>
</block>
<block localId="49" width="145" height="80" typeName="INT_TO_STRING">
<position x="570" y="480"/>
<inputVariables>
<variable formalParameter="EN">
<connectionPointIn>
<relPosition x="0" y="35"/>
<connection refLocalId="50" formalParameter="ENO">
<position x="570" y="515"/>
<position x="525" y="515"/>
</connection>
</connectionPointIn>
</variable>
<variable formalParameter="IN">
<connectionPointIn>
<relPosition x="0" y="65"/>
<connection refLocalId="50" formalParameter="OUT">
<position x="570" y="545"/>
<position x="525" y="545"/>
</connection>
</connectionPointIn>
</variable>
</inputVariables>
<inOutVariables/>
<outputVariables>
<variable formalParameter="ENO">
<connectionPointOut>
<relPosition x="145" y="35"/>
</connectionPointOut>
</variable>
<variable formalParameter="OUT">
<connectionPointOut>
<relPosition x="145" y="65"/>
</connectionPointOut>
</variable>
</outputVariables>
</block>
<block localId="50" width="145" height="80" typeName="STRING_TO_INT">
<position x="380" y="480"/>
<inputVariables>
<variable formalParameter="EN">
<connectionPointIn>
<relPosition x="0" y="35"/>
<connection refLocalId="8" formalParameter="ACK">
<position x="380" y="515"/>
<position x="340" y="515"/>
</connection>
</connectionPointIn>
</variable>
<variable formalParameter="IN">
<connectionPointIn>
<relPosition x="0" y="65"/>
<connection refLocalId="8" formalParameter="RESULT">
<position x="380" y="545"/>
<position x="340" y="545"/>
</connection>
</connectionPointIn>
</variable>
</inputVariables>
<inOutVariables/>
<outputVariables>
<variable formalParameter="ENO">
<connectionPointOut>
<relPosition x="145" y="35"/>
</connectionPointOut>
</variable>
<variable formalParameter="OUT">
<connectionPointOut>
<relPosition x="145" y="65"/>
</connectionPointOut>
</variable>
</outputVariables>
</block>
<inVariable localId="51" height="30" width="340">
<position x="385" y="590"/>
<connectionPointOut>
<relPosition x="340" y="15"/>
</connectionPointOut>
<expression>'HMIFrame.spin_ctrl_Y.SetValue('</expression>
</inVariable>
<block localId="52" width="125" height="65" typeName="python_poll" instanceName="pollX">
<position x="875" y="310"/>
<inputVariables>
<variable formalParameter="TRIG">
<connectionPointIn>
<relPosition x="0" y="30"/>
<connection refLocalId="42" formalParameter="ENO">
<position x="875" y="340"/>
<position x="830" y="340"/>
</connection>
</connectionPointIn>
</variable>
<variable formalParameter="CODE">
<connectionPointIn>
<relPosition x="0" y="55"/>
<connection refLocalId="42" formalParameter="OUT">
<position x="875" y="365"/>
<position x="855" y="365"/>
<position x="855" y="360"/>
<position x="830" y="360"/>
</connection>
</connectionPointIn>
</variable>
</inputVariables>
<inOutVariables/>
<outputVariables>
<variable formalParameter="ACK">
<connectionPointOut>
<relPosition x="125" y="30"/>
</connectionPointOut>
</variable>
<variable formalParameter="RESULT">
<connectionPointOut>
<relPosition x="125" y="55"/>
</connectionPointOut>
</variable>
</outputVariables>
</block>
<block localId="53" width="125" height="65" typeName="python_poll" instanceName="pollY">
<position x="875" y="555"/>
<inputVariables>
<variable formalParameter="TRIG">
<connectionPointIn>
<relPosition x="0" y="30"/>
<connection refLocalId="48" formalParameter="ENO">
<position x="875" y="585"/>
<position x="830" y="585"/>
</connection>
</connectionPointIn>
</variable>
<variable formalParameter="CODE">
<connectionPointIn>
<relPosition x="0" y="55"/>
<connection refLocalId="48" formalParameter="OUT">
<position x="875" y="610"/>
<position x="857" y="610"/>
<position x="857" y="605"/>
<position x="830" y="605"/>
</connection>
</connectionPointIn>
</variable>
</inputVariables>
<inOutVariables/>
<outputVariables>
<variable formalParameter="ACK">
<connectionPointOut>
<relPosition x="125" y="30"/>
</connectionPointOut>
</variable>
<variable formalParameter="RESULT">
<connectionPointOut>
<relPosition x="125" y="55"/>
</connectionPointOut>
</variable>
</outputVariables>
</block>
</FBD>
</body>
</pou>
</pous>
</types>
<instances>
<configurations>
<configuration name="conf_pytest">
<resource name="res_pytest">
<task name="pytest_task" interval="00:00:00.100000" priority="0"/>
<pouInstance name="pytest_instance" type="main_pytest"/>
</resource>
</configuration>
</configurations>
</instances>
</project>