laurent@411: <?xml version="1.0" encoding="UTF-8"?> laurent@411: <project xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" laurent@411: xmlns="http://www.plcopen.org/xml/tc6.xsd" laurent@411: xmlns:xhtml="http://www.w3.org/1999/xhtml" laurent@411: xsi:schemaLocation="http://www.plcopen.org/xml/tc6.xsd"> edouard@436: <fileHeader companyName="beremiz" laurent@411: productName="Beremiz" laurent@411: productVersion="0.0" laurent@411: creationDateTime="2008-12-14T16:21:19"/> laurent@411: <contentHeader name="Beremiz Python Support Tests" laurent@411: modificationDateTime="2009-09-26T18:14:56"> laurent@411: <coordinateInfo> laurent@411: <pageSize x="1024" y="1024"/> laurent@411: <fbd> laurent@411: <scaling x="0" y="0"/> laurent@411: </fbd> laurent@411: <ld> laurent@411: <scaling x="5" y="5"/> laurent@411: </ld> laurent@411: <sfc> laurent@411: <scaling x="5" y="5"/> laurent@411: </sfc> laurent@411: </coordinateInfo> laurent@411: </contentHeader> laurent@411: <types> laurent@411: <dataTypes/> laurent@411: <pous> laurent@411: <pou name="main_pytest" pouType="program"> laurent@411: <interface> laurent@411: <localVars> laurent@411: <variable name="counter"> laurent@411: <type> laurent@411: <INT/> laurent@411: </type> laurent@411: </variable> laurent@411: <variable name="DigitalBit0"> laurent@411: <type> laurent@411: <BOOL/> laurent@411: </type> laurent@411: </variable> laurent@411: <variable name="DigitalBit1"> laurent@411: <type> laurent@411: <BOOL/> laurent@411: </type> laurent@411: </variable> laurent@411: <variable name="DigitalBit2"> laurent@411: <type> laurent@411: <BOOL/> laurent@411: </type> laurent@411: </variable> laurent@411: <variable name="DigitalBit3"> laurent@411: <type> laurent@411: <BOOL/> laurent@411: </type> laurent@411: </variable> laurent@411: <variable name="DigitalBit4"> laurent@411: <type> laurent@411: <BOOL/> laurent@411: </type> laurent@411: </variable> laurent@411: <variable name="DigitalBit5"> laurent@411: <type> laurent@411: <BOOL/> laurent@411: </type> laurent@411: </variable> laurent@411: <variable name="DigitalBit6"> laurent@411: <type> laurent@411: <BOOL/> laurent@411: </type> laurent@411: </variable> laurent@411: <variable name="DigitalBit7"> laurent@411: <type> laurent@411: <BOOL/> laurent@411: </type> laurent@411: </variable> laurent@411: <variable name="Start_Stop"> laurent@411: <type> laurent@411: <derived name="Button"/> laurent@411: </type> laurent@411: </variable> laurent@411: <variable name="Compteur"> laurent@411: <type> laurent@411: <derived name="TextCtrl"/> laurent@411: </type> laurent@411: </variable> laurent@411: <variable name="Temoin"> laurent@411: <type> laurent@411: <derived name="Led"/> laurent@411: </type> laurent@411: </variable> laurent@411: </localVars> laurent@411: </interface> laurent@411: <body> laurent@411: <FBD> laurent@411: <block localId="32" width="80" height="110" typeName="ADD"> laurent@411: <position x="665" y="420"/> laurent@411: <inputVariables> laurent@411: <variable formalParameter="EN"> laurent@411: <connectionPointIn> laurent@411: <relPosition x="0" y="35"/> laurent@411: <connection refLocalId="5"> laurent@411: <position x="665" y="455"/> laurent@411: <position x="610" y="455"/> laurent@411: </connection> laurent@411: </connectionPointIn> laurent@411: </variable> laurent@411: <variable formalParameter="IN1"> laurent@411: <connectionPointIn> laurent@411: <relPosition x="0" y="65"/> laurent@411: <connection refLocalId="100" formalParameter="OUT"> laurent@411: <position x="665" y="485"/> laurent@411: <position x="490" y="485"/> laurent@411: </connection> laurent@411: </connectionPointIn> laurent@411: </variable> laurent@411: <variable formalParameter="IN2"> laurent@411: <connectionPointIn> laurent@411: <relPosition x="0" y="95"/> laurent@411: <connection refLocalId="33"> laurent@411: <position x="665" y="515"/> laurent@411: <position x="645" y="515"/> laurent@411: <position x="645" y="555"/> laurent@411: <position x="870" y="555"/> laurent@411: <position x="870" y="485"/> laurent@411: <position x="855" y="485"/> laurent@411: </connection> laurent@411: </connectionPointIn> laurent@411: </variable> laurent@411: </inputVariables> laurent@411: <inOutVariables/> laurent@411: <outputVariables> laurent@411: <variable formalParameter="ENO"> laurent@411: <connectionPointOut> laurent@411: <relPosition x="80" y="35"/> laurent@411: </connectionPointOut> laurent@411: </variable> laurent@411: <variable formalParameter="OUT"> laurent@411: <connectionPointOut> laurent@411: <relPosition x="80" y="65"/> laurent@411: </connectionPointOut> laurent@411: </variable> laurent@411: </outputVariables> laurent@411: </block> laurent@411: <inOutVariable localId="33" height="35" width="85"> laurent@411: <position x="770" y="470"/> laurent@411: <connectionPointIn> laurent@411: <relPosition x="0" y="15"/> laurent@411: <connection refLocalId="32" formalParameter="OUT"> laurent@411: <position x="770" y="485"/> laurent@411: <position x="745" y="485"/> laurent@411: </connection> laurent@411: </connectionPointIn> laurent@411: <connectionPointOut> laurent@411: <relPosition x="85" y="15"/> laurent@411: </connectionPointOut> laurent@411: <expression>counter</expression> laurent@411: </inOutVariable> laurent@411: <inVariable localId="39" height="35" width="70"> laurent@411: <position x="90" y="470"/> laurent@411: <connectionPointOut> laurent@411: <relPosition x="70" y="15"/> laurent@411: </connectionPointOut> laurent@411: <expression>BOOL#1</expression> laurent@411: </inVariable> laurent@411: <inVariable localId="41" height="30" width="120"> laurent@411: <position x="45" y="180"/> laurent@411: <connectionPointOut> laurent@411: <relPosition x="120" y="15"/> laurent@411: </connectionPointOut> laurent@411: <expression>'stop_back'</expression> laurent@411: </inVariable> laurent@411: <inVariable localId="42" height="30" width="120"> laurent@411: <position x="45" y="225"/> laurent@411: <connectionPointOut> laurent@411: <relPosition x="120" y="15"/> laurent@411: </connectionPointOut> laurent@411: <expression>'stop_sele'</expression> laurent@411: </inVariable> laurent@411: <inVariable localId="46" height="30" width="180"> laurent@411: <position x="675" y="265"/> laurent@411: <connectionPointOut> laurent@411: <relPosition x="180" y="15"/> laurent@411: </connectionPointOut> laurent@411: <expression>'text_compteur'</expression> laurent@411: </inVariable> laurent@411: <inVariable localId="51" height="30" width="110"> laurent@411: <position x="725" y="80"/> laurent@411: <connectionPointOut> laurent@411: <relPosition x="110" y="15"/> laurent@411: </connectionPointOut> laurent@411: <expression>'led_stop'</expression> laurent@411: </inVariable> laurent@411: <inVariable localId="52" height="30" width="120"> laurent@411: <position x="715" y="115"/> laurent@411: <connectionPointOut> laurent@411: <relPosition x="120" y="15"/> laurent@411: </connectionPointOut> laurent@411: <expression>'led_start'</expression> laurent@411: </inVariable> laurent@411: <block localId="83" width="145" height="60" typeName="INT_TO_STRING"> laurent@411: <position x="600" y="320"/> laurent@411: <inputVariables> laurent@411: <variable formalParameter="IN"> laurent@411: <connectionPointIn> laurent@411: <relPosition x="0" y="40"/> laurent@411: <connection refLocalId="4"> laurent@411: <position x="600" y="360"/> laurent@411: <position x="555" y="360"/> laurent@411: </connection> laurent@411: </connectionPointIn> laurent@411: </variable> laurent@411: </inputVariables> laurent@411: <inOutVariables/> laurent@411: <outputVariables> laurent@411: <variable formalParameter="OUT"> laurent@411: <connectionPointOut> laurent@411: <relPosition x="145" y="40"/> laurent@411: </connectionPointOut> laurent@411: </variable> laurent@411: </outputVariables> laurent@411: </block> laurent@411: <block localId="92" width="200" height="230" typeName="Button" instanceName="Start_Stop"> laurent@411: <position x="225" y="155"/> laurent@411: <inputVariables> laurent@411: <variable formalParameter="back_id"> laurent@411: <connectionPointIn> laurent@411: <relPosition x="0" y="40"/> laurent@411: <connection refLocalId="41"> laurent@411: <position x="225" y="195"/> laurent@411: <position x="165" y="195"/> laurent@411: </connection> laurent@411: </connectionPointIn> laurent@411: </variable> laurent@411: <variable formalParameter="sele_id"> laurent@411: <connectionPointIn> laurent@411: <relPosition x="0" y="85"/> laurent@411: <connection refLocalId="42"> laurent@411: <position x="225" y="240"/> laurent@411: <position x="165" y="240"/> laurent@411: </connection> laurent@411: </connectionPointIn> laurent@411: </variable> laurent@411: <variable formalParameter="toggle"> laurent@411: <connectionPointIn> laurent@411: <relPosition x="0" y="125"/> laurent@411: <connection refLocalId="93"> laurent@411: <position x="225" y="280"/> laurent@411: <position x="165" y="280"/> laurent@411: </connection> laurent@411: </connectionPointIn> laurent@411: </variable> laurent@411: <variable formalParameter="set_state"> laurent@411: <connectionPointIn> laurent@411: <relPosition x="0" y="165"/> laurent@411: </connectionPointIn> laurent@411: </variable> laurent@411: <variable formalParameter="state_in"> laurent@411: <connectionPointIn> laurent@411: <relPosition x="0" y="210"/> laurent@411: </connectionPointIn> laurent@411: </variable> laurent@411: </inputVariables> laurent@411: <inOutVariables/> laurent@411: <outputVariables> laurent@411: <variable formalParameter="state_out"> laurent@411: <connectionPointOut> laurent@411: <relPosition x="200" y="40"/> laurent@411: </connectionPointOut> laurent@411: </variable> laurent@411: </outputVariables> laurent@411: </block> laurent@411: <inVariable localId="93" height="30" width="70"> laurent@411: <position x="95" y="265"/> laurent@411: <connectionPointOut> laurent@411: <relPosition x="70" y="15"/> laurent@411: </connectionPointOut> laurent@411: <expression>BOOL#1</expression> laurent@411: </inVariable> laurent@411: <block localId="94" width="100" height="145" typeName="TextCtrl" instanceName="Compteur"> laurent@411: <position x="900" y="240"/> laurent@411: <inputVariables> laurent@411: <variable formalParameter="back_id"> laurent@411: <connectionPointIn> laurent@411: <relPosition x="0" y="40"/> laurent@411: <connection refLocalId="46"> laurent@411: <position x="900" y="280"/> laurent@411: <position x="855" y="280"/> laurent@411: </connection> laurent@411: </connectionPointIn> laurent@411: </variable> laurent@411: <variable formalParameter="set_text"> laurent@411: <connectionPointIn> laurent@411: <relPosition x="0" y="80"/> laurent@411: <connection refLocalId="3"> laurent@411: <position x="900" y="320"/> laurent@411: <position x="855" y="320"/> laurent@411: </connection> laurent@411: </connectionPointIn> laurent@411: </variable> laurent@411: <variable formalParameter="text"> laurent@411: <connectionPointIn> laurent@411: <relPosition x="0" y="120"/> laurent@411: <connection refLocalId="83" formalParameter="OUT"> laurent@411: <position x="900" y="360"/> laurent@411: <position x="745" y="360"/> laurent@411: </connection> laurent@411: </connectionPointIn> laurent@411: </variable> laurent@411: </inputVariables> laurent@411: <inOutVariables/> laurent@411: <outputVariables/> laurent@411: </block> laurent@411: <inVariable localId="1" height="30" width="70"> laurent@411: <position x="80" y="85"/> laurent@411: <connectionPointOut> laurent@411: <relPosition x="70" y="15"/> laurent@411: </connectionPointOut> laurent@411: <expression>BOOL#1</expression> laurent@411: </inVariable> laurent@411: <block localId="95" width="100" height="130" typeName="Led" instanceName="Temoin"> laurent@411: <position x="900" y="55"/> laurent@411: <inputVariables> laurent@411: <variable formalParameter="back_id"> laurent@411: <connectionPointIn> laurent@411: <relPosition x="0" y="40"/> laurent@411: <connection refLocalId="51"> laurent@411: <position x="900" y="95"/> laurent@411: <position x="835" y="95"/> laurent@411: </connection> laurent@411: </connectionPointIn> laurent@411: </variable> laurent@411: <variable formalParameter="sele_id"> laurent@411: <connectionPointIn> laurent@411: <relPosition x="0" y="75"/> laurent@411: <connection refLocalId="52"> laurent@411: <position x="900" y="130"/> laurent@411: <position x="835" y="130"/> laurent@411: </connection> laurent@411: </connectionPointIn> laurent@411: </variable> laurent@411: <variable formalParameter="state_in"> laurent@411: <connectionPointIn> laurent@411: <relPosition x="0" y="110"/> laurent@411: <connection refLocalId="2"> laurent@411: <position x="900" y="165"/> laurent@411: <position x="835" y="165"/> laurent@411: </connection> laurent@411: </connectionPointIn> laurent@411: </variable> laurent@411: </inputVariables> laurent@411: <inOutVariables/> laurent@411: <outputVariables/> laurent@411: </block> laurent@411: <block localId="96" width="80" height="65" typeName="AND"> laurent@411: <position x="200" y="45"/> laurent@411: <inputVariables> laurent@411: <variable formalParameter="IN1" negated="true"> laurent@411: <connectionPointIn> laurent@411: <relPosition x="0" y="30"/> laurent@411: <connection refLocalId="96" formalParameter="OUT"> laurent@411: <position x="200" y="75"/> laurent@411: <position x="175" y="75"/> laurent@411: <position x="175" y="30"/> laurent@411: <position x="305" y="30"/> laurent@411: <position x="305" y="75"/> laurent@411: <position x="280" y="75"/> laurent@411: </connection> laurent@411: </connectionPointIn> laurent@411: </variable> laurent@411: <variable formalParameter="IN2"> laurent@411: <connectionPointIn> laurent@411: <relPosition x="0" y="55"/> laurent@411: <connection refLocalId="1"> laurent@411: <position x="200" y="100"/> laurent@411: <position x="150" y="100"/> laurent@411: </connection> laurent@411: </connectionPointIn> laurent@411: </variable> laurent@411: </inputVariables> laurent@411: <inOutVariables/> laurent@411: <outputVariables> laurent@411: <variable formalParameter="OUT"> laurent@411: <connectionPointOut> laurent@411: <relPosition x="80" y="30"/> laurent@411: </connectionPointOut> laurent@411: </variable> laurent@411: </outputVariables> laurent@411: </block> laurent@411: <connector name="CLOCK" localId="97" height="30" width="90"> laurent@411: <position x="345" y="60"/> laurent@411: <connectionPointIn> laurent@411: <relPosition x="0" y="15"/> laurent@411: <connection refLocalId="96" formalParameter="OUT"> laurent@411: <position x="345" y="75"/> laurent@411: <position x="280" y="75"/> laurent@411: </connection> laurent@411: </connectionPointIn> laurent@411: </connector> laurent@411: <connector name="COUNT" localId="98" height="30" width="90"> laurent@411: <position x="485" y="180"/> laurent@411: <connectionPointIn> laurent@411: <relPosition x="0" y="15"/> laurent@411: <connection refLocalId="92" formalParameter="state_out"> laurent@411: <position x="485" y="195"/> laurent@411: <position x="425" y="195"/> laurent@411: </connection> laurent@411: </connectionPointIn> laurent@411: </connector> laurent@411: <continuation name="COUNT" localId="2" height="30" width="90"> laurent@411: <position x="745" y="150"/> laurent@411: <connectionPointOut> laurent@411: <relPosition x="90" y="15"/> laurent@411: </connectionPointOut> laurent@411: </continuation> laurent@411: <inVariable localId="4" height="35" width="85"> laurent@411: <position x="470" y="345"/> laurent@411: <connectionPointOut> laurent@411: <relPosition x="85" y="15"/> laurent@411: </connectionPointOut> laurent@411: <expression>counter</expression> laurent@411: </inVariable> laurent@411: <continuation name="COUNT" localId="5" height="30" width="90"> laurent@411: <position x="520" y="440"/> laurent@411: <connectionPointOut> laurent@411: <relPosition x="90" y="15"/> laurent@411: </connectionPointOut> laurent@411: </continuation> laurent@411: <block localId="99" width="80" height="110" typeName="AND"> laurent@411: <position x="215" y="445"/> laurent@411: <inputVariables> laurent@411: <variable formalParameter="IN1"> laurent@411: <connectionPointIn> laurent@411: <relPosition x="0" y="40"/> laurent@411: <connection refLocalId="39"> laurent@411: <position x="215" y="485"/> laurent@411: <position x="160" y="485"/> laurent@411: </connection> laurent@411: </connectionPointIn> laurent@411: </variable> laurent@411: <variable formalParameter="IN2"> laurent@411: <connectionPointIn> laurent@411: <relPosition x="0" y="85"/> laurent@411: <connection refLocalId="6"> laurent@411: <position x="215" y="530"/> laurent@411: <position x="160" y="530"/> laurent@411: </connection> laurent@411: </connectionPointIn> laurent@411: </variable> laurent@411: </inputVariables> laurent@411: <inOutVariables/> laurent@411: <outputVariables> laurent@411: <variable formalParameter="OUT"> laurent@411: <connectionPointOut> laurent@411: <relPosition x="80" y="40"/> laurent@411: </connectionPointOut> laurent@411: </variable> laurent@411: </outputVariables> laurent@411: </block> laurent@411: <continuation name="CLOCK" localId="6" height="30" width="90"> laurent@411: <position x="70" y="515"/> laurent@411: <connectionPointOut> laurent@411: <relPosition x="90" y="15"/> laurent@411: </connectionPointOut> laurent@411: </continuation> laurent@411: <block localId="100" width="125" height="45" typeName="BOOL_TO_INT"> laurent@411: <position x="365" y="455"/> laurent@411: <inputVariables> laurent@411: <variable formalParameter="IN"> laurent@411: <connectionPointIn> laurent@411: <relPosition x="0" y="30"/> laurent@411: <connection refLocalId="99" formalParameter="OUT"> laurent@411: <position x="365" y="485"/> laurent@411: <position x="295" y="485"/> laurent@411: </connection> laurent@411: </connectionPointIn> laurent@411: </variable> laurent@411: </inputVariables> laurent@411: <inOutVariables/> laurent@411: <outputVariables> laurent@411: <variable formalParameter="OUT"> laurent@411: <connectionPointOut> laurent@411: <relPosition x="125" y="30"/> laurent@411: </connectionPointOut> laurent@411: </variable> laurent@411: </outputVariables> laurent@411: </block> laurent@411: <continuation name="CLOCK" localId="3" height="30" width="90"> laurent@411: <position x="765" y="305"/> laurent@411: <connectionPointOut> laurent@411: <relPosition x="90" y="15"/> laurent@411: </connectionPointOut> laurent@411: </continuation> laurent@411: </FBD> laurent@411: </body> laurent@411: </pou> laurent@411: </pous> laurent@411: </types> laurent@411: <instances> laurent@411: <configurations> laurent@411: <configuration name="conf_pytest"> laurent@411: <resource name="res_pytest"> laurent@411: <task name="pytest_task" interval="t#100ms" priority="0"/> laurent@411: <pouInstance name="pytest_instance" typeName="main_pytest"/> laurent@411: </resource> laurent@411: </configuration> laurent@411: </configurations> laurent@411: </instances> laurent@411: </project>