<?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="2020-09-30T13:04:27">
<pou name="MainStuff" pouType="program">
<variable name="TargetPressure">
<derived name="HMI_INT"/>
<variable name="selection">
<derived name="HMI_INT"/>
<derived name="PumpControl"/>
<variable name="TestButton">
<derived name="HMI_BOOL"/>
<variable name="TestLocal">
<variable name="Multistate">
<derived name="HMI_INT"/>
<variable name="Radiostate">
<derived name="HMI_INT"/>
<derived name="HMI_BOOL"/>
<variable name="Toggle1">
<derived name="HMI_BOOL"/>
<variable name="Toggle2">
<derived name="HMI_BOOL"/>
<variable name="MultistateExt">
<derived name="HMI_INT"/>
<block localId="4" typeName="PumpControl" instanceName="Pump0" executionOrderId="0" height="40" width="127">
<position x="595" y="50"/>
<variable formalParameter="TargetPressure">
<relPosition x="0" y="30"/>
<connection refLocalId="5">
<position x="595" y="80"/>
<position x="570" y="80"/>
<inVariable localId="5" executionOrderId="0" height="30" width="125" negated="false">
<position x="445" y="65"/>
<relPosition x="125" y="15"/>
<expression>TargetPressure</expression>
<inVariable localId="6" executionOrderId="0" height="25" width="90" negated="false">
<position x="130" y="60"/>
<relPosition x="90" y="10"/>
<expression>TestButton</expression>
<outVariable localId="7" executionOrderId="0" height="25" width="85" negated="false">
<position x="495" y="220"/>
<relPosition x="0" y="10"/>
<connection refLocalId="6">
<position x="495" y="230"/>
<position x="367" y="230"/>
<position x="367" y="70"/>
<position x="220" y="70"/>
<expression>TestLocal</expression>
<inVariable localId="1" executionOrderId="0" height="25" width="115" negated="false">
<position x="175" y="355"/>
<relPosition x="115" y="10"/>
<expression>Multistate</expression>
<outVariable localId="8" executionOrderId="0" height="25" width="115" negated="false">
<position x="495" y="355"/>
<relPosition x="0" y="10"/>
<connection refLocalId="1">
<position x="495" y="365"/>
<position x="290" y="365"/>
<expression>MultistateExt</expression>
<pou name="PumpControl" pouType="functionBlock">
<derived name="HMI_NODE"/>
<variable name="Pressure">
<derived name="HMI_INT"/>
<variable name="TargetPressure">
<derived name="HMI_INT"/>
<variable name="boolout">
<derived name="HMI_BOOL"/>
<derived name="HMI_BOOL"/>
<simpleValue value="True"/>
<derived name="HMI_STRING"/>
<derived name="HMI_STRING"/>
<simpleValue value="blup"/>
<inVariable localId="5" executionOrderId="0" height="30" width="125" negated="false">
<position x="150" y="100"/>
<relPosition x="125" y="15"/>
<expression>TargetPressure</expression>
<block localId="6" typeName="ADD" executionOrderId="0" height="60" width="65">
<position x="405" y="65"/>
<variable formalParameter="IN1">
<relPosition x="0" y="30"/>
<variable formalParameter="IN2">
<relPosition x="0" y="50"/>
<connection refLocalId="7" formalParameter="OUT">
<position x="405" y="115"/>
<position x="360" y="115"/>
<variable formalParameter="OUT">
<relPosition x="65" y="30"/>
<inVariable localId="1" executionOrderId="0" height="30" width="75" negated="false">
<position x="150" y="135"/>
<relPosition x="75" y="15"/>
<expression>Pressure</expression>
<block localId="7" typeName="SUB" executionOrderId="0" height="60" width="65">
<position x="295" y="85"/>
<variable formalParameter="IN1">
<relPosition x="0" y="30"/>
<connection refLocalId="5">
<position x="295" y="115"/>
<position x="275" y="115"/>
<variable formalParameter="IN2">
<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"/>
<variable formalParameter="OUT">
<relPosition x="65" y="30"/>
<inVariable localId="2" executionOrderId="0" height="30" width="60" negated="false">
<position x="240" y="190"/>
<relPosition x="60" y="15"/>
<expression>Sloth</expression>
<outVariable localId="3" executionOrderId="0" height="30" width="75" negated="false">
<position x="435" y="205"/>
<relPosition x="0" y="15"/>
<connection refLocalId="8" formalParameter="OUT">
<position x="435" y="220"/>
<position x="410" y="220"/>
<expression>Pressure</expression>
<block localId="8" typeName="DIV" executionOrderId="0" height="60" width="65">
<position x="345" y="190"/>
<variable formalParameter="IN1">
<relPosition x="0" y="30"/>
<connection refLocalId="2">
<position x="345" y="220"/>
<position x="335" y="220"/>
<position x="335" y="205"/>
<position x="300" y="205"/>
<variable formalParameter="IN2">
<relPosition x="0" y="50"/>
<connection refLocalId="9">
<position x="345" y="240"/>
<position x="300" y="240"/>
<variable formalParameter="OUT">
<relPosition x="65" y="30"/>
<inVariable localId="9" executionOrderId="0" height="30" width="60" negated="false">
<position x="240" y="225"/>
<relPosition x="60" y="15"/>
<expression>100</expression>
<block localId="10" typeName="CONCAT" executionOrderId="0" height="60" width="65">
<position x="360" y="345"/>
<variable formalParameter="IN1">
<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"/>
<variable formalParameter="IN2">
<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"/>
<variable formalParameter="OUT">
<relPosition x="65" y="30"/>
<outVariable localId="11" executionOrderId="0" height="30" width="58" negated="false">
<position x="495" y="355"/>
<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"/>
<expression>strout</expression>
<inVariable localId="12" executionOrderId="0" height="30" width="125" negated="false">
<position x="145" y="285"/>
<relPosition x="125" y="15"/>
<expression>TargetPressure</expression>
<block localId="13" typeName="INT_TO_STRING" executionOrderId="0" height="40" width="115">
<position x="315" y="270"/>
<variable formalParameter="IN">
<relPosition x="0" y="30"/>
<connection refLocalId="12">
<position x="315" y="300"/>
<position x="270" y="300"/>
<variable formalParameter="OUT">
<relPosition x="115" y="30"/>
<inVariable localId="14" executionOrderId="0" height="30" width="50" negated="false">
<position x="235" y="385"/>
<relPosition x="50" y="15"/>
<expression>strin</expression>
<inVariable localId="15" executionOrderId="0" height="30" width="60" negated="false">
<position x="690" y="210"/>
<relPosition x="60" y="15"/>
<expression>boolin</expression>
<outVariable localId="16" executionOrderId="0" height="30" width="70" negated="false">
<position x="915" y="240"/>
<relPosition x="0" y="15"/>
<connection refLocalId="17" formalParameter="OUT">
<position x="915" y="255"/>
<position x="880" y="255"/>
<expression>boolout</expression>
<block localId="17" typeName="AND" executionOrderId="0" height="60" width="65">
<position x="815" y="225"/>
<variable formalParameter="IN1">
<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"/>
<variable formalParameter="IN2">
<relPosition x="0" y="50"/>
<connection refLocalId="21" formalParameter="OUT">
<position x="815" y="275"/>
<position x="750" y="275"/>
<variable formalParameter="OUT">
<relPosition x="65" y="30"/>
<inVariable localId="18" executionOrderId="0" height="30" width="75" negated="false">
<position x="455" y="260"/>
<relPosition x="75" y="15"/>
<expression>Pressure</expression>
<block localId="19" typeName="MOD" executionOrderId="0" height="60" width="65">
<position x="585" y="245"/>
<variable formalParameter="IN1">
<relPosition x="0" y="30"/>
<connection refLocalId="18">
<position x="585" y="275"/>
<position x="530" y="275"/>
<variable formalParameter="IN2">
<relPosition x="0" y="50"/>
<connection refLocalId="20">
<position x="585" y="295"/>
<position x="555" y="295"/>
<variable formalParameter="OUT">
<relPosition x="65" y="30"/>
<inVariable localId="20" executionOrderId="0" height="30" width="20" negated="false">
<position x="535" y="280"/>
<relPosition x="20" y="15"/>
<expression>2</expression>
<block localId="21" typeName="EQ" executionOrderId="0" height="60" width="65">
<position x="685" y="245"/>
<variable formalParameter="IN1">
<relPosition x="0" y="30"/>
<connection refLocalId="19" formalParameter="OUT">
<position x="685" y="275"/>
<position x="650" y="275"/>
<variable formalParameter="IN2">
<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"/>
<variable formalParameter="OUT">
<relPosition x="65" y="30"/>
<inVariable localId="22" executionOrderId="0" height="30" width="20" negated="false">
<position x="630" y="315"/>
<relPosition x="20" y="15"/>
<expression>0</expression>
<inVariable localId="4" executionOrderId="0" height="30" width="60" negated="false">
<position x="510" y="80"/>
<relPosition x="60" y="15"/>
<expression>Sloth</expression>
<configuration name="config">
<resource name="resource1">
<task name="task0" priority="0" interval="T#20ms">
<pouInstance name="instance0" typeName="MainStuff"/>