<?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"
creationDateTime="2008-12-14 16:21:19"/>
<contentHeader name="Beremiz Python Support Tests"
modificationDateTime="2009-01-19 09:02:00">
<pageSize x="1024" y="1024"/>
<pou name="main_pytest" pouType="program">
<variable name="pytest_var1">
<variable name="pytest_var2">
<derived name="python_poll"/>
<derived name="python_poll"/>
<derived name="python_poll"/>
<variable name="pytest_var3">
<derived name="python_poll"/>
<derived name="python_poll"/>
<inVariable localId="4" height="30" width="160">
<position x="25" y="285"/>
<relPosition x="160" y="15"/>
<expression>'last_point[0]'</expression>
<block localId="5" width="125" height="80" typeName="python_poll" instanceName="py2">
<position x="215" y="235"/>
<variable formalParameter="TRIG">
<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"/>
<variable formalParameter="CODE">
<relPosition x="0" y="65"/>
<connection refLocalId="4">
<position x="215" y="300"/>
<position x="185" y="300"/>
<variable formalParameter="ACK">
<relPosition x="125" y="35"/>
<variable formalParameter="RESULT">
<relPosition x="125" y="65"/>
<block localId="8" width="125" height="80" typeName="python_poll" instanceName="py3">
<position x="215" y="480"/>
<variable formalParameter="TRIG">
<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"/>
<variable formalParameter="CODE">
<relPosition x="0" y="65"/>
<connection refLocalId="9">
<position x="215" y="545"/>
<position x="185" y="545"/>
<variable formalParameter="ACK">
<relPosition x="125" y="35"/>
<variable formalParameter="RESULT">
<relPosition x="125" y="65"/>
<inVariable localId="9" height="30" width="160">
<position x="25" y="530"/>
<relPosition x="160" y="15"/>
<expression>'last_point[1]'</expression>
<inVariable localId="11" height="30" width="100">
<position x="80" y="140"/>
<relPosition x="100" y="15"/>
<expression>'btA'</expression>
<block localId="12" width="125" height="80" typeName="python_poll" instanceName="py1">
<position x="215" y="90"/>
<variable formalParameter="TRIG">
<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"/>
<variable formalParameter="CODE">
<relPosition x="0" y="65"/>
<connection refLocalId="11">
<position x="215" y="155"/>
<position x="180" y="155"/>
<variable formalParameter="ACK">
<relPosition x="125" y="35"/>
<variable formalParameter="RESULT">
<relPosition x="125" y="65"/>
<comment localId="16" height="40" width="1005">
<position x="15" y="25"/>
<![CDATA[A simple test that reads Nunchuk stick position and put it in spinctrls, when A button is pressed.]]>
<block localId="24" width="155" height="80" typeName="STRING_TO_UINT">
<position x="460" y="90"/>
<variable formalParameter="EN">
<relPosition x="0" y="35"/>
<connection refLocalId="12" formalParameter="ACK">
<position x="460" y="125"/>
<position x="340" y="125"/>
<variable formalParameter="IN">
<relPosition x="0" y="65"/>
<connection refLocalId="12" formalParameter="RESULT">
<position x="460" y="155"/>
<position x="340" y="155"/>
<variable formalParameter="ENO">
<relPosition x="155" y="35"/>
<variable formalParameter="OUT">
<relPosition x="155" y="65"/>
<block localId="25" width="135" height="45" typeName="UINT_TO_BOOL">
<position x="690" y="125"/>
<variable formalParameter="IN">
<relPosition x="0" y="30"/>
<connection refLocalId="24" formalParameter="OUT">
<position x="690" y="155"/>
<position x="615" y="155"/>
<variable formalParameter="OUT">
<relPosition x="135" y="30"/>
<inVariable localId="31" height="30" width="160">
<position x="565" y="385"/>
<relPosition x="160" y="15"/>
<expression>')'</expression>
<inVariable localId="35" height="30" width="340">
<position x="385" y="345"/>
<relPosition x="340" y="15"/>
<expression>'HMIFrame.spin_ctrl_X.SetValue('</expression>
<inVariable localId="41" height="30" width="100">
<position x="80" y="105"/>
<relPosition x="100" y="15"/>
<expression>BOOL#TRUE</expression>
<block localId="42" width="80" height="100" typeName="CONCAT">
<position x="750" y="310"/>
<variable formalParameter="EN">
<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"/>
<variable formalParameter="IN1">
<relPosition x="0" y="50"/>
<connection refLocalId="35">
<position x="750" y="360"/>
<position x="725" y="360"/>
<variable formalParameter="IN2">
<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"/>
<variable formalParameter="IN3">
<relPosition x="0" y="90"/>
<connection refLocalId="31">
<position x="750" y="400"/>
<position x="725" y="400"/>
<variable formalParameter="ENO">
<relPosition x="80" y="30"/>
<variable formalParameter="OUT">
<relPosition x="80" y="50"/>
<block localId="43" width="145" height="80" typeName="STRING_TO_INT">
<position x="380" y="235"/>
<variable formalParameter="EN">
<relPosition x="0" y="35"/>
<connection refLocalId="5" formalParameter="ACK">
<position x="380" y="270"/>
<position x="340" y="270"/>
<variable formalParameter="IN">
<relPosition x="0" y="65"/>
<connection refLocalId="5" formalParameter="RESULT">
<position x="380" y="300"/>
<position x="340" y="300"/>
<variable formalParameter="ENO">
<relPosition x="145" y="35"/>
<variable formalParameter="OUT">
<relPosition x="145" y="65"/>
<block localId="44" width="145" height="80" typeName="INT_TO_STRING">
<position x="570" y="235"/>
<variable formalParameter="EN">
<relPosition x="0" y="35"/>
<connection refLocalId="43" formalParameter="ENO">
<position x="570" y="270"/>
<position x="525" y="270"/>
<variable formalParameter="IN">
<relPosition x="0" y="65"/>
<connection refLocalId="43" formalParameter="OUT">
<position x="570" y="300"/>
<position x="525" y="300"/>
<variable formalParameter="ENO">
<relPosition x="145" y="35"/>
<variable formalParameter="OUT">
<relPosition x="145" y="65"/>
<inVariable localId="47" height="30" width="160">
<position x="565" y="630"/>
<relPosition x="160" y="15"/>
<expression>')'</expression>
<block localId="48" width="80" height="100" typeName="CONCAT">
<position x="750" y="555"/>
<variable formalParameter="EN">
<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"/>
<variable formalParameter="IN1">
<relPosition x="0" y="50"/>
<connection refLocalId="51">
<position x="750" y="605"/>
<position x="725" y="605"/>
<variable formalParameter="IN2">
<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"/>
<variable formalParameter="IN3">
<relPosition x="0" y="90"/>
<connection refLocalId="47">
<position x="750" y="645"/>
<position x="725" y="645"/>
<variable formalParameter="ENO">
<relPosition x="80" y="30"/>
<variable formalParameter="OUT">
<relPosition x="80" y="50"/>
<block localId="49" width="145" height="80" typeName="INT_TO_STRING">
<position x="570" y="480"/>
<variable formalParameter="EN">
<relPosition x="0" y="35"/>
<connection refLocalId="50" formalParameter="ENO">
<position x="570" y="515"/>
<position x="525" y="515"/>
<variable formalParameter="IN">
<relPosition x="0" y="65"/>
<connection refLocalId="50" formalParameter="OUT">
<position x="570" y="545"/>
<position x="525" y="545"/>
<variable formalParameter="ENO">
<relPosition x="145" y="35"/>
<variable formalParameter="OUT">
<relPosition x="145" y="65"/>
<block localId="50" width="145" height="80" typeName="STRING_TO_INT">
<position x="380" y="480"/>
<variable formalParameter="EN">
<relPosition x="0" y="35"/>
<connection refLocalId="8" formalParameter="ACK">
<position x="380" y="515"/>
<position x="340" y="515"/>
<variable formalParameter="IN">
<relPosition x="0" y="65"/>
<connection refLocalId="8" formalParameter="RESULT">
<position x="380" y="545"/>
<position x="340" y="545"/>
<variable formalParameter="ENO">
<relPosition x="145" y="35"/>
<variable formalParameter="OUT">
<relPosition x="145" y="65"/>
<inVariable localId="51" height="30" width="340">
<position x="385" y="590"/>
<relPosition x="340" y="15"/>
<expression>'HMIFrame.spin_ctrl_Y.SetValue('</expression>
<block localId="52" width="125" height="65" typeName="python_poll" instanceName="pollX">
<position x="875" y="310"/>
<variable formalParameter="TRIG">
<relPosition x="0" y="30"/>
<connection refLocalId="42" formalParameter="ENO">
<position x="875" y="340"/>
<position x="830" y="340"/>
<variable formalParameter="CODE">
<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"/>
<variable formalParameter="ACK">
<relPosition x="125" y="30"/>
<variable formalParameter="RESULT">
<relPosition x="125" y="55"/>
<block localId="53" width="125" height="65" typeName="python_poll" instanceName="pollY">
<position x="875" y="555"/>
<variable formalParameter="TRIG">
<relPosition x="0" y="30"/>
<connection refLocalId="48" formalParameter="ENO">
<position x="875" y="585"/>
<position x="830" y="585"/>
<variable formalParameter="CODE">
<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"/>
<variable formalParameter="ACK">
<relPosition x="125" y="30"/>
<variable formalParameter="RESULT">
<relPosition x="125" y="55"/>
<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"/>