<?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="Beremiz" productName="Beremiz" productVersion="1" creationDateTime="2016-10-24T18:09:22"/>
<contentHeader name="First Steps" modificationDateTime="2024-07-25T16:55:27">
<pou name="plc_prg" pouType="program">
<variable name="LocalVar0">
<variable name="LocalVar1" address="%QD0.2">
<variable name="LocalVar2" address="%ID0.2">
<inVariable localId="1" executionOrderId="0" height="27" width="82" negated="false">
<position x="421" y="83"/>
<relPosition x="82" y="13"/>
<expression>LocalVar0</expression>
<inVariable localId="3" executionOrderId="0" height="27" width="82" negated="false">
<position x="126" y="224"/>
<relPosition x="82" y="13"/>
<expression>LocalVar2</expression>
<block localId="4" typeName="ADD" executionOrderId="0" height="60" width="63">
<position x="112" y="48"/>
<variable formalParameter="IN1">
<relPosition x="0" y="30"/>
<connection refLocalId="2">
<position x="112" y="78"/>
<position x="102" y="78"/>
<position x="102" y="33"/>
<position x="314" y="33"/>
<position x="314" y="78"/>
<position x="291" y="78"/>
<variable formalParameter="IN2">
<relPosition x="0" y="50"/>
<connection refLocalId="5">
<position x="112" y="98"/>
<position x="64" y="98"/>
<variable formalParameter="OUT">
<relPosition x="63" y="30"/>
<inOutVariable localId="2" executionOrderId="0" height="27" width="82" negatedOut="false" negatedIn="false">
<position x="209" y="65"/>
<relPosition x="0" y="13"/>
<connection refLocalId="4" formalParameter="OUT">
<position x="209" y="78"/>
<position x="175" y="78"/>
<relPosition x="82" y="13"/>
<expression>LocalVar0</expression>
<inVariable localId="5" executionOrderId="0" height="27" width="18" negated="false">
<position x="46" y="85"/>
<relPosition x="18" y="13"/>
<expression>1</expression>
<block localId="6" typeName="MOD" executionOrderId="0" height="60" width="63">
<position x="588" y="66"/>
<variable formalParameter="IN1">
<relPosition x="0" y="30"/>
<connection refLocalId="1">
<position x="588" y="96"/>
<position x="503" y="96"/>
<variable formalParameter="IN2">
<relPosition x="0" y="50"/>
<connection refLocalId="7">
<position x="588" y="116"/>
<position x="548" y="116"/>
<variable formalParameter="OUT">
<relPosition x="63" y="30"/>
<inVariable localId="7" executionOrderId="0" height="27" width="26" negated="false">
<position x="522" y="103"/>
<relPosition x="26" y="13"/>
<expression>50</expression>
<block localId="8" typeName="GT" executionOrderId="0" height="60" width="63">
<position x="721" y="65"/>
<variable formalParameter="IN1">
<relPosition x="0" y="30"/>
<connection refLocalId="6" formalParameter="OUT">
<position x="721" y="95"/>
<position x="704" y="95"/>
<position x="704" y="96"/>
<position x="651" y="96"/>
<variable formalParameter="IN2">
<relPosition x="0" y="50"/>
<connection refLocalId="9">
<position x="721" y="115"/>
<position x="709" y="115"/>
<position x="709" y="117"/>
<position x="697" y="117"/>
<variable formalParameter="OUT">
<relPosition x="63" y="30"/>
<inVariable localId="9" executionOrderId="0" height="27" width="26" negated="false">
<position x="671" y="104"/>
<relPosition x="26" y="13"/>
<expression>24</expression>
<outVariable localId="10" executionOrderId="0" height="27" width="82" negated="false">
<position x="1112" y="106"/>
<relPosition x="0" y="13"/>
<connection refLocalId="11" formalParameter="OUT">
<position x="1112" y="119"/>
<position x="1065" y="119"/>
<position x="1065" y="83"/>
<position x="1019" y="83"/>
<expression>LocalVar1</expression>
<block localId="11" typeName="SEL" executionOrderId="0" height="80" width="63">
<position x="956" y="53"/>
<variable formalParameter="G">
<relPosition x="0" y="30"/>
<connection refLocalId="8" formalParameter="OUT">
<position x="956" y="83"/>
<position x="870" y="83"/>
<position x="870" y="95"/>
<position x="784" y="95"/>
<variable formalParameter="IN0">
<relPosition x="0" y="50"/>
<connection refLocalId="12">
<position x="956" y="103"/>
<position x="927" y="103"/>
<position x="927" y="115"/>
<position x="898" y="115"/>
<variable formalParameter="IN1">
<relPosition x="0" y="70"/>
<connection refLocalId="13">
<position x="956" y="123"/>
<position x="933" y="123"/>
<position x="933" y="171"/>
<position x="910" y="171"/>
<variable formalParameter="OUT">
<relPosition x="63" y="30"/>
<inVariable localId="12" executionOrderId="0" height="27" width="34" negated="false">
<position x="872" y="102"/>
<relPosition x="34" y="13"/>
<expression>666</expression>
<inVariable localId="13" executionOrderId="0" height="27" width="34" negated="false">
<position x="876" y="158"/>
<relPosition x="34" y="13"/>
<expression>666</expression>
<configuration name="config">
<resource name="resource1">
<task name="plc_task" priority="1" interval="T#100ms">
<pouInstance name="plc_task_instance" typeName="plc_prg"/>
<globalVars constant="true">
<variable name="ResetCounterValue">
<simpleValue value="17"/>