<?xml version="1.0" encoding="UTF-8"?>
<net name="tst_mode" type="iopt-flow">
  <component id="c1" class="local/qe.xml" x="365" y="140" width="130" height="100" rot="0" implementation="iopt-flow">
    <name off_x="-65" off_y="-55" text="rot_qe"/>
    <source_model file="files/qe.xml"/>
    <input id="c1.Rst" name="Rst" type="event" off_x="-65" off_y="-30" microstep="0" nano-step="1"/>
    <input id="c1.ChA" name="ChA" off_x="-65" off_y="-10" type="boolean" microstep="0" nano-step="3"/>
    <input id="c1.ChB" name="ChB" off_x="-65" off_y="10" type="boolean" microstep="0" nano-step="3"/>
    <input id="c1.X4" name="X4" off_x="-65" off_y="30" type="boolean" microstep="0" nano-step="1"/>
    <output id="c1.Cntr" name="Cntr" off_x="65" off_y="-30" type="range" min="0" max="1023" microstep="0" nano-step="1"/>
  </component>
  <component id="c3" class="local/nfilter.xml" x="150" y="115" width="100" height="40" rot="0" implementation="iopt-flow">
    <name off_x="-50" off_y="-25" text="nfilter_ra"/>
    <source_model file="files/nfilter.xml"/>
    <input id="c3.SIG" name="SIG" off_x="-50" off_y="0" type="boolean" microstep="0" nano-step="1"/>
    <output id="c3.FSIG" name="FSIG" off_x="50" off_y="0" type="boolean" microstep="0" nano-step="2"/>
  </component>
  <component id="c4" class="local/nfilter.xml" x="150" y="170" width="100" height="40" rot="0" implementation="iopt-flow">
    <name off_x="-50" off_y="-25" text="nfilter_rb"/>
    <source_model file="files/nfilter.xml"/>
    <input id="c4.SIG" name="SIG" off_x="-50" off_y="0" type="boolean" microstep="0" nano-step="1"/>
    <output id="c4.FSIG" name="FSIG" off_x="50" off_y="0" type="boolean" microstep="0" nano-step="2"/>
  </component>
  <event id="Rst" x="40" y="60" mode="input" microstep="0" nano-step="0"/>
  <signal id="RotA" x="40" y="115" mode="input" type="boolean" min="0" max="1" microstep="0" nano-step="0"/>
  <signal id="RotB" x="40" y="170" mode="input" type="boolean" min="0" max="1" microstep="0" nano-step="0"/>
  <operation id="o30" x="255" y="190" constant="0" rot="0" shape="rect" size="20" locked="true">
    <name off_x="-15" off_y="-5" text="0"/>
    <output off_x="20" off_y="0" name="K" id="o30.K" type="range" min="0" max="0" dynamic="none" microstep="0" nano-step="1">
      <expression>
        <text>0</text>
        <operand type="literal" value="0"/>
      </expression>
    </output>
  </operation>
  <arc id="a9" type="read" source="c4.FSIG" target="c1.ChB"/>
  <arc id="a10" type="read" source="c3.FSIG" target="c1.ChA"/>
  <arc id="a16" type="read" source="Rst" target="c1.Rst" view="symbolic"/>
  <arc id="a21" type="read" source="RotA" target="c3.SIG"/>
  <arc id="a22" type="read" source="RotB" target="c4.SIG"/>
  <arc id="a31" type="read" source="o30.K" target="c1.X4"/>
  <arc id="a3" type="read" source="Rst" target="c2.Rst" view="symbolic"/>
  <operation id="o4" x="490" y="90" constant="1" rot="0" shape="rect" size="20" locked="true">
    <name off_x="-15" off_y="-5" text="1"/>
    <output off_x="20" off_y="0" name="K" id="o4.K" type="range" min="1" max="1" dynamic="none">
      <expression>
        <text>1</text>
        <operand type="literal" value="1"/>
      </expression>
    </output>
  </operation>
  <arc id="a5" type="read" source="o4.K" target="c2.Enb"/>
  <arc id="a6" type="read" source="c1.Cntr" target="c2.RefInput"/>
  <signal id="mode" x="490" y="130" mode="input" type="boolean" min="0" max="1"/>
  <arc id="a11" type="read" source="mode" target="c2.ModeSel"/>
  <signal id="PosOut" x="740" y="70" mode="output" type="range" min="0" max="1023" dynamic="type"/>
  <arc id="a19" type="read" source="c2.Pos" target="PosOut"/>
  <component id="c2" class="local/SpdCtrl.xml" x="620" y="100" width="130" height="100" rot="0" implementation="iopt-flow">
    <name off_x="-65" off_y="-55" text="SpdCtrl"/>
    <source_model file="files/SpdCtrl.xml"/>
    <input id="c2.Rst" name="Rst" type="event" off_x="-65" off_y="-30"/>
    <input id="c2.Enb" name="Enb" off_x="-65" off_y="-10" type="boolean"/>
    <input id="c2.RefInput" name="RefInput" off_x="-65" off_y="10" type="range" min="0" max="1023"/>
    <input id="c2.ModeSel" name="ModeSel" off_x="-65" off_y="30" type="boolean"/>
    <output id="c2.Pos" name="Pos" off_x="65" off_y="-30" type="range" min="0" max="1023"/>
  </component>
</net>
