IDE: fix exception when showing project's context menu in case of empty clipboard (wxpython4).
<?xml version='1.0' encoding='utf-8'?>
<project xmlns:ns1="http://www.plcopen.org/xml/tc6_0201" xmlns:xhtml="http://www.w3.org/1999/xhtml" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns="http://www.plcopen.org/xml/tc6_0201">
<fileHeader companyName="Unknown" productName="Unnamed" productVersion="1" creationDateTime="2019-08-06T14:23:42"/>
<contentHeader name="Unnamed" modificationDateTime="2022-08-31T11:57:03">
<coordinateInfo>
<fbd>
<scaling x="5" y="5"/>
</fbd>
<ld>
<scaling x="0" y="0"/>
</ld>
<sfc>
<scaling x="0" y="0"/>
</sfc>
</coordinateInfo>
</contentHeader>
<types>
<dataTypes/>
<pous>
<pou name="MainStuff" pouType="program">
<interface>
<localVars>
<variable name="TargetPressure">
<type>
<derived name="HMI_INT"/>
</type>
</variable>
</localVars>
<localVars retain="true">
<variable name="selection">
<type>
<derived name="HMI_INT"/>
</type>
</variable>
<variable name="selection0">
<type>
<INT/>
</type>
</variable>
</localVars>
<localVars>
<variable name="Pump0">
<type>
<derived name="PumpControl"/>
</type>
</variable>
<variable name="Pump1">
<type>
<derived name="PumpControl"/>
</type>
</variable>
<variable name="Pump2">
<type>
<derived name="PumpControl"/>
</type>
</variable>
<variable name="Pump3">
<type>
<derived name="PumpControl"/>
</type>
</variable>
<variable name="Pump4">
<type>
<derived name="PumpControl"/>
</type>
</variable>
<variable name="Pump5">
<type>
<derived name="PumpControl"/>
</type>
</variable>
<variable name="Pump6">
<type>
<derived name="PumpControl"/>
</type>
</variable>
<variable name="Pump7">
<type>
<derived name="PumpControl"/>
</type>
</variable>
</localVars>
<externalVars>
<variable name="CURRENT_PAGE_0">
<type>
<derived name="HMI_STRING"/>
</type>
</variable>
</externalVars>
<localVars>
<variable name="PAGESWITCH">
<type>
<BOOL/>
</type>
</variable>
<variable name="R_TRIG0">
<type>
<derived name="R_TRIG"/>
</type>
</variable>
</localVars>
</interface>
<body>
<FBD>
<block localId="4" typeName="PumpControl" instanceName="Pump0" executionOrderId="0" height="60" width="127">
<position x="595" y="50"/>
<inputVariables>
<variable formalParameter="Pump">
<connectionPointIn>
<relPosition x="0" y="30"/>
</connectionPointIn>
</variable>
<variable formalParameter="TargetPressure">
<connectionPointIn>
<relPosition x="0" y="50"/>
<connection refLocalId="5">
<position x="595" y="100"/>
<position x="582" y="100"/>
<position x="582" y="80"/>
<position x="570" y="80"/>
</connection>
</connectionPointIn>
</variable>
</inputVariables>
<inOutVariables/>
<outputVariables/>
</block>
<inVariable localId="5" executionOrderId="0" height="30" width="125" negated="false">
<position x="445" y="65"/>
<connectionPointOut>
<relPosition x="125" y="15"/>
</connectionPointOut>
<expression>TargetPressure</expression>
</inVariable>
<block localId="1" typeName="PumpControl" instanceName="Pump1" executionOrderId="0" height="60" width="127">
<position x="595" y="280"/>
<inputVariables>
<variable formalParameter="Pump">
<connectionPointIn>
<relPosition x="0" y="30"/>
</connectionPointIn>
</variable>
<variable formalParameter="TargetPressure">
<connectionPointIn>
<relPosition x="0" y="50"/>
<connection refLocalId="5">
<position x="595" y="330"/>
<position x="582" y="330"/>
<position x="582" y="80"/>
<position x="570" y="80"/>
</connection>
</connectionPointIn>
</variable>
</inputVariables>
<inOutVariables/>
<outputVariables/>
</block>
<block localId="2" typeName="PumpControl" instanceName="Pump2" executionOrderId="0" height="60" width="127">
<position x="595" y="160"/>
<inputVariables>
<variable formalParameter="Pump">
<connectionPointIn>
<relPosition x="0" y="30"/>
</connectionPointIn>
</variable>
<variable formalParameter="TargetPressure">
<connectionPointIn>
<relPosition x="0" y="50"/>
<connection refLocalId="5">
<position x="595" y="210"/>
<position x="582" y="210"/>
<position x="582" y="80"/>
<position x="570" y="80"/>
</connection>
</connectionPointIn>
</variable>
</inputVariables>
<inOutVariables/>
<outputVariables/>
</block>
<block localId="3" typeName="PumpControl" instanceName="Pump3" executionOrderId="0" height="60" width="127">
<position x="595" y="395"/>
<inputVariables>
<variable formalParameter="Pump">
<connectionPointIn>
<relPosition x="0" y="30"/>
</connectionPointIn>
</variable>
<variable formalParameter="TargetPressure">
<connectionPointIn>
<relPosition x="0" y="50"/>
<connection refLocalId="5">
<position x="595" y="445"/>
<position x="582" y="445"/>
<position x="582" y="80"/>
<position x="570" y="80"/>
</connection>
</connectionPointIn>
</variable>
</inputVariables>
<inOutVariables/>
<outputVariables/>
</block>
<block localId="6" typeName="PumpControl" instanceName="Pump4" executionOrderId="0" height="60" width="127">
<position x="595" y="515"/>
<inputVariables>
<variable formalParameter="Pump">
<connectionPointIn>
<relPosition x="0" y="30"/>
</connectionPointIn>
</variable>
<variable formalParameter="TargetPressure">
<connectionPointIn>
<relPosition x="0" y="50"/>
<connection refLocalId="5">
<position x="595" y="565"/>
<position x="582" y="565"/>
<position x="582" y="80"/>
<position x="570" y="80"/>
</connection>
</connectionPointIn>
</variable>
</inputVariables>
<inOutVariables/>
<outputVariables/>
</block>
<block localId="7" typeName="PumpControl" instanceName="Pump5" executionOrderId="0" height="60" width="127">
<position x="595" y="645"/>
<inputVariables>
<variable formalParameter="Pump">
<connectionPointIn>
<relPosition x="0" y="30"/>
<connection refLocalId="11">
<position x="595" y="675"/>
<position x="570" y="675"/>
</connection>
</connectionPointIn>
</variable>
<variable formalParameter="TargetPressure">
<connectionPointIn>
<relPosition x="0" y="50"/>
<connection refLocalId="5">
<position x="595" y="695"/>
<position x="582" y="695"/>
<position x="582" y="80"/>
<position x="570" y="80"/>
</connection>
</connectionPointIn>
</variable>
</inputVariables>
<inOutVariables/>
<outputVariables/>
</block>
<block localId="8" typeName="PumpControl" instanceName="Pump6" executionOrderId="0" height="60" width="127">
<position x="595" y="775"/>
<inputVariables>
<variable formalParameter="Pump">
<connectionPointIn>
<relPosition x="0" y="30"/>
</connectionPointIn>
</variable>
<variable formalParameter="TargetPressure">
<connectionPointIn>
<relPosition x="0" y="50"/>
<connection refLocalId="5">
<position x="595" y="825"/>
<position x="582" y="825"/>
<position x="582" y="80"/>
<position x="570" y="80"/>
</connection>
</connectionPointIn>
</variable>
</inputVariables>
<inOutVariables/>
<outputVariables/>
</block>
<block localId="9" typeName="PumpControl" instanceName="Pump7" executionOrderId="0" height="60" width="127">
<position x="595" y="895"/>
<inputVariables>
<variable formalParameter="Pump">
<connectionPointIn>
<relPosition x="0" y="30"/>
<connection refLocalId="10">
<position x="595" y="925"/>
<position x="560" y="925"/>
</connection>
</connectionPointIn>
</variable>
<variable formalParameter="TargetPressure">
<connectionPointIn>
<relPosition x="0" y="50"/>
<connection refLocalId="5">
<position x="595" y="945"/>
<position x="582" y="945"/>
<position x="582" y="80"/>
<position x="570" y="80"/>
</connection>
</connectionPointIn>
</variable>
</inputVariables>
<inOutVariables/>
<outputVariables/>
</block>
<inVariable localId="10" executionOrderId="0" height="25" width="20" negated="false">
<position x="540" y="915"/>
<connectionPointOut>
<relPosition x="20" y="10"/>
</connectionPointOut>
<expression>0</expression>
</inVariable>
<inVariable localId="11" executionOrderId="0" height="25" width="20" negated="false">
<position x="550" y="665"/>
<connectionPointOut>
<relPosition x="20" y="10"/>
</connectionPointOut>
<expression>0</expression>
</inVariable>
<inOutVariable localId="12" executionOrderId="0" height="25" width="125" negatedOut="false" negatedIn="false">
<position x="410" y="205"/>
<connectionPointIn>
<relPosition x="0" y="10"/>
<connection refLocalId="13" formalParameter="OUT">
<position x="410" y="215"/>
<position x="385" y="215"/>
</connection>
</connectionPointIn>
<connectionPointOut>
<relPosition x="125" y="10"/>
</connectionPointOut>
<expression>CURRENT_PAGE_0</expression>
</inOutVariable>
<block localId="13" typeName="SEL" executionOrderId="0" height="80" width="65">
<position x="320" y="185"/>
<inputVariables>
<variable formalParameter="G">
<connectionPointIn>
<relPosition x="0" y="30"/>
<connection refLocalId="17" formalParameter="Q">
<position x="320" y="215"/>
<position x="280" y="215"/>
</connection>
</connectionPointIn>
</variable>
<variable formalParameter="IN0">
<connectionPointIn>
<relPosition x="0" y="50"/>
<connection refLocalId="12">
<position x="320" y="235"/>
<position x="60" y="235"/>
<position x="60" y="155"/>
<position x="550" y="155"/>
<position x="550" y="215"/>
<position x="535" y="215"/>
</connection>
</connectionPointIn>
</variable>
<variable formalParameter="IN1">
<connectionPointIn>
<relPosition x="0" y="70"/>
<connection refLocalId="16">
<position x="320" y="255"/>
<position x="290" y="255"/>
</connection>
</connectionPointIn>
</variable>
</inputVariables>
<inOutVariables/>
<outputVariables>
<variable formalParameter="OUT">
<connectionPointOut>
<relPosition x="65" y="30"/>
</connectionPointOut>
</variable>
</outputVariables>
</block>
<inVariable localId="15" executionOrderId="0" height="25" width="90" negated="false">
<position x="100" y="205"/>
<connectionPointOut>
<relPosition x="90" y="10"/>
</connectionPointOut>
<expression>PAGESWITCH</expression>
</inVariable>
<inVariable localId="16" executionOrderId="0" height="25" width="220" negated="false">
<position x="70" y="245"/>
<connectionPointOut>
<relPosition x="220" y="10"/>
</connectionPointOut>
<expression>'!RelativePageTest@/PUMP2'</expression>
</inVariable>
<block localId="17" typeName="R_TRIG" instanceName="R_TRIG0" executionOrderId="0" height="40" width="60">
<position x="220" y="185"/>
<inputVariables>
<variable formalParameter="CLK">
<connectionPointIn>
<relPosition x="0" y="30"/>
<connection refLocalId="15">
<position x="220" y="215"/>
<position x="190" y="215"/>
</connection>
</connectionPointIn>
</variable>
</inputVariables>
<inOutVariables/>
<outputVariables>
<variable formalParameter="Q">
<connectionPointOut>
<relPosition x="60" y="30"/>
</connectionPointOut>
</variable>
</outputVariables>
</block>
</FBD>
</body>
</pou>
<pou name="PumpControl" pouType="functionBlock">
<interface>
<inputVars>
<variable name="Pump">
<type>
<derived name="HMI_NODE"/>
</type>
<initialValue>
<simpleValue value="1"/>
</initialValue>
</variable>
</inputVars>
<localVars>
<variable name="Pressure">
<type>
<derived name="HMI_INT"/>
</type>
</variable>
</localVars>
<inputVars>
<variable name="TargetPressure">
<type>
<INT/>
</type>
</variable>
</inputVars>
<localVars>
<variable name="Sloth">
<type>
<derived name="HMI_INT"/>
</type>
</variable>
<variable name="boolout">
<type>
<derived name="HMI_BOOL"/>
</type>
</variable>
<variable name="boolin">
<type>
<derived name="HMI_BOOL"/>
</type>
<initialValue>
<simpleValue value="True"/>
</initialValue>
</variable>
<variable name="strout">
<type>
<derived name="HMI_STRING"/>
</type>
</variable>
<variable name="strin">
<type>
<derived name="HMI_STRING"/>
</type>
<initialValue>
<simpleValue value="blup"/>
</initialValue>
</variable>
<variable name="floating">
<type>
<derived name="HMI_REAL"/>
</type>
</variable>
</localVars>
</interface>
<body>
<FBD>
<inVariable localId="5" executionOrderId="0" height="30" width="125" negated="false">
<position x="150" y="100"/>
<connectionPointOut>
<relPosition x="125" y="15"/>
</connectionPointOut>
<expression>TargetPressure</expression>
</inVariable>
<inOutVariable localId="4" executionOrderId="0" height="30" width="60" negatedOut="false" negatedIn="false">
<position x="510" y="80"/>
<connectionPointIn>
<relPosition x="0" y="15"/>
<connection refLocalId="6" formalParameter="OUT">
<position x="510" y="95"/>
<position x="470" y="95"/>
</connection>
</connectionPointIn>
<connectionPointOut>
<relPosition x="60" y="15"/>
</connectionPointOut>
<expression>Sloth</expression>
</inOutVariable>
<block localId="6" typeName="ADD" executionOrderId="0" height="60" width="65">
<position x="405" y="65"/>
<inputVariables>
<variable formalParameter="IN1">
<connectionPointIn>
<relPosition x="0" y="30"/>
<connection refLocalId="4">
<position x="405" y="95"/>
<position x="385" y="95"/>
<position x="385" y="50"/>
<position x="580" y="50"/>
<position x="580" y="95"/>
<position x="570" y="95"/>
</connection>
</connectionPointIn>
</variable>
<variable formalParameter="IN2">
<connectionPointIn>
<relPosition x="0" y="50"/>
<connection refLocalId="7" formalParameter="OUT">
<position x="405" y="115"/>
<position x="360" y="115"/>
</connection>
</connectionPointIn>
</variable>
</inputVariables>
<inOutVariables/>
<outputVariables>
<variable formalParameter="OUT">
<connectionPointOut>
<relPosition x="65" y="30"/>
</connectionPointOut>
</variable>
</outputVariables>
</block>
<inVariable localId="1" executionOrderId="0" height="30" width="75" negated="false">
<position x="150" y="135"/>
<connectionPointOut>
<relPosition x="75" y="15"/>
</connectionPointOut>
<expression>Pressure</expression>
</inVariable>
<block localId="7" typeName="SUB" executionOrderId="0" height="60" width="65">
<position x="295" y="85"/>
<inputVariables>
<variable formalParameter="IN1">
<connectionPointIn>
<relPosition x="0" y="30"/>
<connection refLocalId="5">
<position x="295" y="115"/>
<position x="275" y="115"/>
</connection>
</connectionPointIn>
</variable>
<variable formalParameter="IN2">
<connectionPointIn>
<relPosition x="0" y="50"/>
<connection refLocalId="1">
<position x="295" y="135"/>
<position x="285" y="135"/>
<position x="285" y="150"/>
<position x="225" y="150"/>
</connection>
</connectionPointIn>
</variable>
</inputVariables>
<inOutVariables/>
<outputVariables>
<variable formalParameter="OUT">
<connectionPointOut>
<relPosition x="65" y="30"/>
</connectionPointOut>
</variable>
</outputVariables>
</block>
<block localId="10" typeName="CONCAT" executionOrderId="0" height="60" width="65">
<position x="360" y="345"/>
<inputVariables>
<variable formalParameter="IN1">
<connectionPointIn>
<relPosition x="0" y="30"/>
<connection refLocalId="13" formalParameter="OUT">
<position x="360" y="375"/>
<position x="330" y="375"/>
<position x="330" y="332"/>
<position x="440" y="332"/>
<position x="440" y="300"/>
<position x="430" y="300"/>
</connection>
</connectionPointIn>
</variable>
<variable formalParameter="IN2">
<connectionPointIn>
<relPosition x="0" y="50"/>
<connection refLocalId="14">
<position x="360" y="395"/>
<position x="322" y="395"/>
<position x="322" y="400"/>
<position x="285" y="400"/>
</connection>
</connectionPointIn>
</variable>
</inputVariables>
<inOutVariables/>
<outputVariables>
<variable formalParameter="OUT">
<connectionPointOut>
<relPosition x="65" y="30"/>
</connectionPointOut>
</variable>
</outputVariables>
</block>
<outVariable localId="11" executionOrderId="0" height="30" width="58" negated="false">
<position x="495" y="355"/>
<connectionPointIn>
<relPosition x="0" y="15"/>
<connection refLocalId="10" formalParameter="OUT">
<position x="495" y="370"/>
<position x="450" y="370"/>
<position x="450" y="375"/>
<position x="425" y="375"/>
</connection>
</connectionPointIn>
<expression>strout</expression>
</outVariable>
<inVariable localId="12" executionOrderId="0" height="30" width="125" negated="false">
<position x="145" y="285"/>
<connectionPointOut>
<relPosition x="125" y="15"/>
</connectionPointOut>
<expression>Pressure</expression>
</inVariable>
<block localId="13" typeName="INT_TO_STRING" executionOrderId="0" height="40" width="115">
<position x="315" y="270"/>
<inputVariables>
<variable formalParameter="IN">
<connectionPointIn>
<relPosition x="0" y="30"/>
<connection refLocalId="12">
<position x="315" y="300"/>
<position x="270" y="300"/>
</connection>
</connectionPointIn>
</variable>
</inputVariables>
<inOutVariables/>
<outputVariables>
<variable formalParameter="OUT">
<connectionPointOut>
<relPosition x="115" y="30"/>
</connectionPointOut>
</variable>
</outputVariables>
</block>
<inVariable localId="14" executionOrderId="0" height="30" width="50" negated="false">
<position x="235" y="385"/>
<connectionPointOut>
<relPosition x="50" y="15"/>
</connectionPointOut>
<expression>strin</expression>
</inVariable>
<inVariable localId="15" executionOrderId="0" height="30" width="60" negated="false">
<position x="690" y="210"/>
<connectionPointOut>
<relPosition x="60" y="15"/>
</connectionPointOut>
<expression>boolin</expression>
</inVariable>
<outVariable localId="16" executionOrderId="0" height="30" width="70" negated="false">
<position x="915" y="240"/>
<connectionPointIn>
<relPosition x="0" y="15"/>
<connection refLocalId="17" formalParameter="OUT">
<position x="915" y="255"/>
<position x="880" y="255"/>
</connection>
</connectionPointIn>
<expression>boolout</expression>
</outVariable>
<block localId="17" typeName="AND" executionOrderId="0" height="60" width="65">
<position x="815" y="225"/>
<inputVariables>
<variable formalParameter="IN1">
<connectionPointIn>
<relPosition x="0" y="30"/>
<connection refLocalId="15">
<position x="815" y="255"/>
<position x="762" y="255"/>
<position x="762" y="225"/>
<position x="750" y="225"/>
</connection>
</connectionPointIn>
</variable>
<variable formalParameter="IN2">
<connectionPointIn>
<relPosition x="0" y="50"/>
<connection refLocalId="21" formalParameter="OUT">
<position x="815" y="275"/>
<position x="750" y="275"/>
</connection>
</connectionPointIn>
</variable>
</inputVariables>
<inOutVariables/>
<outputVariables>
<variable formalParameter="OUT">
<connectionPointOut>
<relPosition x="65" y="30"/>
</connectionPointOut>
</variable>
</outputVariables>
</block>
<inVariable localId="18" executionOrderId="0" height="30" width="75" negated="false">
<position x="455" y="260"/>
<connectionPointOut>
<relPosition x="75" y="15"/>
</connectionPointOut>
<expression>Pressure</expression>
</inVariable>
<block localId="19" typeName="MOD" executionOrderId="0" height="60" width="65">
<position x="585" y="245"/>
<inputVariables>
<variable formalParameter="IN1">
<connectionPointIn>
<relPosition x="0" y="30"/>
<connection refLocalId="18">
<position x="585" y="275"/>
<position x="530" y="275"/>
</connection>
</connectionPointIn>
</variable>
<variable formalParameter="IN2">
<connectionPointIn>
<relPosition x="0" y="50"/>
<connection refLocalId="20">
<position x="585" y="295"/>
<position x="555" y="295"/>
</connection>
</connectionPointIn>
</variable>
</inputVariables>
<inOutVariables/>
<outputVariables>
<variable formalParameter="OUT">
<connectionPointOut>
<relPosition x="65" y="30"/>
</connectionPointOut>
</variable>
</outputVariables>
</block>
<inVariable localId="20" executionOrderId="0" height="30" width="20" negated="false">
<position x="535" y="280"/>
<connectionPointOut>
<relPosition x="20" y="15"/>
</connectionPointOut>
<expression>2</expression>
</inVariable>
<block localId="21" typeName="EQ" executionOrderId="0" height="60" width="65">
<position x="685" y="245"/>
<inputVariables>
<variable formalParameter="IN1">
<connectionPointIn>
<relPosition x="0" y="30"/>
<connection refLocalId="19" formalParameter="OUT">
<position x="685" y="275"/>
<position x="650" y="275"/>
</connection>
</connectionPointIn>
</variable>
<variable formalParameter="IN2">
<connectionPointIn>
<relPosition x="0" y="50"/>
<connection refLocalId="22">
<position x="685" y="295"/>
<position x="670" y="295"/>
<position x="670" y="330"/>
<position x="650" y="330"/>
</connection>
</connectionPointIn>
</variable>
</inputVariables>
<inOutVariables/>
<outputVariables>
<variable formalParameter="OUT">
<connectionPointOut>
<relPosition x="65" y="30"/>
</connectionPointOut>
</variable>
</outputVariables>
</block>
<inVariable localId="22" executionOrderId="0" height="30" width="20" negated="false">
<position x="630" y="315"/>
<connectionPointOut>
<relPosition x="20" y="15"/>
</connectionPointOut>
<expression>0</expression>
</inVariable>
<outVariable localId="23" executionOrderId="0" height="25" width="75" negated="false">
<position x="935" y="120"/>
<connectionPointIn>
<relPosition x="0" y="10"/>
<connection refLocalId="25" formalParameter="OUT">
<position x="935" y="130"/>
<position x="922" y="130"/>
<position x="922" y="110"/>
<position x="910" y="110"/>
</connection>
</connectionPointIn>
<expression>floating</expression>
</outVariable>
<inVariable localId="24" executionOrderId="0" height="30" width="60" negated="false">
<position x="615" y="65"/>
<connectionPointOut>
<relPosition x="60" y="15"/>
</connectionPointOut>
<expression>Sloth</expression>
</inVariable>
<block localId="25" typeName="DIV" executionOrderId="0" height="60" width="65">
<position x="845" y="80"/>
<inputVariables>
<variable formalParameter="IN1">
<connectionPointIn>
<relPosition x="0" y="30"/>
<connection refLocalId="27" formalParameter="OUT">
<position x="845" y="110"/>
<position x="822" y="110"/>
<position x="822" y="80"/>
<position x="800" y="80"/>
</connection>
</connectionPointIn>
</variable>
<variable formalParameter="IN2">
<connectionPointIn>
<relPosition x="0" y="50"/>
<connection refLocalId="26">
<position x="845" y="130"/>
<position x="810" y="130"/>
<position x="810" y="135"/>
<position x="800" y="135"/>
</connection>
</connectionPointIn>
</variable>
</inputVariables>
<inOutVariables/>
<outputVariables>
<variable formalParameter="OUT">
<connectionPointOut>
<relPosition x="65" y="30"/>
</connectionPointOut>
</variable>
</outputVariables>
</block>
<inVariable localId="26" executionOrderId="0" height="30" width="90" negated="false">
<position x="710" y="120"/>
<connectionPointOut>
<relPosition x="90" y="15"/>
</connectionPointOut>
<expression>REAL#100.0</expression>
</inVariable>
<block localId="27" typeName="INT_TO_REAL" executionOrderId="0" height="40" width="100">
<position x="700" y="50"/>
<inputVariables>
<variable formalParameter="IN">
<connectionPointIn>
<relPosition x="0" y="30"/>
<connection refLocalId="24">
<position x="700" y="80"/>
<position x="675" y="80"/>
</connection>
</connectionPointIn>
</variable>
</inputVariables>
<inOutVariables/>
<outputVariables>
<variable formalParameter="OUT">
<connectionPointOut>
<relPosition x="100" y="30"/>
</connectionPointOut>
</variable>
</outputVariables>
</block>
<block localId="28" typeName="EQ" executionOrderId="0" height="60" width="65">
<position x="410" y="430"/>
<inputVariables>
<variable formalParameter="IN1">
<connectionPointIn>
<relPosition x="0" y="30"/>
<connection refLocalId="36">
<position x="418" y="460"/>
<position x="401" y="460"/>
<position x="401" y="435"/>
<position x="380" y="435"/>
</connection>
</connectionPointIn>
</variable>
<variable formalParameter="IN2">
<connectionPointIn>
<relPosition x="0" y="50"/>
<connection refLocalId="29">
<position x="410" y="480"/>
<position x="367" y="480"/>
<position x="367" y="475"/>
<position x="325" y="475"/>
</connection>
</connectionPointIn>
</variable>
</inputVariables>
<inOutVariables/>
<outputVariables>
<variable formalParameter="OUT">
<connectionPointOut>
<relPosition x="65" y="30"/>
</connectionPointOut>
</variable>
</outputVariables>
</block>
<inVariable localId="29" executionOrderId="0" height="30" width="20" negated="false">
<position x="305" y="460"/>
<connectionPointOut>
<relPosition x="20" y="15"/>
</connectionPointOut>
<expression>0</expression>
</inVariable>
<inVariable localId="32" executionOrderId="0" height="30" width="20" negated="false">
<position x="765" y="505"/>
<connectionPointOut>
<relPosition x="20" y="15"/>
</connectionPointOut>
<expression>0</expression>
</inVariable>
<outVariable localId="31" executionOrderId="0" height="30" width="75" negated="false">
<position x="925" y="460"/>
<connectionPointIn>
<relPosition x="0" y="15"/>
<connection refLocalId="33" formalParameter="OUT">
<position x="925" y="475"/>
<position x="890" y="475"/>
</connection>
</connectionPointIn>
<expression>Sloth</expression>
</outVariable>
<block localId="33" typeName="MUX" executionOrderId="0" height="80" width="65">
<position x="825" y="445"/>
<inputVariables>
<variable formalParameter="K">
<connectionPointIn>
<relPosition x="0" y="30"/>
<connection refLocalId="34" formalParameter="OUT">
<position x="825" y="475"/>
<position x="685" y="475"/>
<position x="685" y="465"/>
<position x="675" y="465"/>
</connection>
</connectionPointIn>
</variable>
<variable formalParameter="IN0">
<connectionPointIn>
<relPosition x="0" y="50"/>
<connection refLocalId="30">
<position x="825" y="495"/>
<position x="800" y="495"/>
<position x="800" y="485"/>
<position x="790" y="485"/>
</connection>
</connectionPointIn>
</variable>
<variable formalParameter="IN1">
<connectionPointIn>
<relPosition x="0" y="70"/>
<connection refLocalId="32">
<position x="825" y="515"/>
<position x="795" y="515"/>
<position x="795" y="520"/>
<position x="785" y="520"/>
</connection>
</connectionPointIn>
</variable>
</inputVariables>
<inOutVariables/>
<outputVariables>
<variable formalParameter="OUT">
<connectionPointOut>
<relPosition x="65" y="30"/>
</connectionPointOut>
</variable>
</outputVariables>
</block>
<inVariable localId="30" executionOrderId="0" height="30" width="75" negated="false">
<position x="715" y="470"/>
<connectionPointOut>
<relPosition x="75" y="15"/>
</connectionPointOut>
<expression>Sloth</expression>
</inVariable>
<block localId="34" typeName="BOOL_TO_SINT" executionOrderId="0" height="40" width="110">
<position x="565" y="435"/>
<inputVariables>
<variable formalParameter="IN">
<connectionPointIn>
<relPosition x="0" y="30"/>
<connection refLocalId="28" formalParameter="OUT">
<position x="565" y="465"/>
<position x="520" y="465"/>
<position x="520" y="460"/>
<position x="475" y="460"/>
</connection>
</connectionPointIn>
</variable>
</inputVariables>
<inOutVariables/>
<outputVariables>
<variable formalParameter="OUT">
<connectionPointOut>
<relPosition x="110" y="30"/>
</connectionPointOut>
</variable>
</outputVariables>
</block>
<connector name="Connection0" localId="35" height="25" width="125">
<position x="400" y="140"/>
<connectionPointIn>
<relPosition x="0" y="10"/>
<connection refLocalId="7" formalParameter="OUT">
<position x="400" y="150"/>
<position x="375" y="150"/>
<position x="375" y="115"/>
<position x="360" y="115"/>
</connection>
</connectionPointIn>
</connector>
<continuation name="Connection0" localId="36" height="25" width="125">
<position x="255" y="425"/>
<connectionPointOut>
<relPosition x="125" y="10"/>
</connectionPointOut>
</continuation>
</FBD>
</body>
</pou>
</pous>
</types>
<instances>
<configurations>
<configuration name="config">
<resource name="resource1">
<task name="task0" priority="0" interval="T#20ms">
<pouInstance name="instance0" typeName="MainStuff"/>
</task>
</resource>
</configuration>
</configurations>
</instances>
</project>