<?xml version="1.0" encoding="UTF-8"?>
<net name="dist_system2" type="iopt-flow">
  <component id="c1" class="//_192_168_1_65_9000/local/IOX8.xml" x="195" y="195" width="180" height="200" rot="0" implementation="iopt-flow" target="distributed" res_location="guest@192.168.1.65:9000/c1">
    <name off_x="-90" off_y="-105" text="IOX8_DIPSW"/>
    <source_model file="files/IOX8.xml"/>
    <input id="c1.Enb" name="Enb" off_x="-90" off_y="-80" type="boolean" ext_driven="1"/>
    <input id="c1.I1" name="I1" off_x="-90" off_y="-60" type="boolean" ext_driven="1"/>
    <input id="c1.I2" name="I2" off_x="-90" off_y="-40" type="boolean" ext_driven="1"/>
    <input id="c1.I3" name="I3" off_x="-90" off_y="-20" type="boolean" ext_driven="1"/>
    <input id="c1.I4" name="I4" off_x="-90" off_y="0" type="boolean" ext_driven="1"/>
    <input id="c1.I5" name="I5" off_x="-90" off_y="20" type="boolean" ext_driven="1"/>
    <input id="c1.I6" name="I6" off_x="-90" off_y="40" type="boolean" ext_driven="1"/>
    <input id="c1.I7" name="I7" off_x="-90" off_y="60" type="boolean" ext_driven="1"/>
    <input id="c1.I8" name="I8" off_x="-90" off_y="80" type="boolean" ext_driven="1"/>
    <output id="c1.O1" name="O1" off_x="90" off_y="-80" type="boolean"/>
    <output id="c1.O2" name="O2" off_x="90" off_y="-60" type="boolean"/>
    <output id="c1.O3" name="O3" off_x="90" off_y="-40" type="boolean"/>
    <output id="c1.O4" name="O4" off_x="90" off_y="-20" type="boolean"/>
    <output id="c1.O5" name="O5" off_x="90" off_y="0" type="boolean"/>
    <output id="c1.O6" name="O6" off_x="90" off_y="20" type="boolean"/>
    <output id="c1.O7" name="O7" off_x="90" off_y="40" type="boolean"/>
    <output id="c1.O8" name="O8" off_x="90" off_y="60" type="boolean"/>
  </component>
  <component id="c002" class="//_192_168_1_65_9000/local/IOX8.xml" x="130" y="500" width="180" height="200" rot="0" implementation="iopt-flow" target="distributed" res_location="guest@192.168.1.65:9000/c002">
    <name off_x="-90" off_y="-105" text="IOX8_PBTN"/>
    <source_model file="files/IOX8.xml"/>
    <input id="c002.Enb" name="Enb" off_x="-90" off_y="-80" type="boolean" ext_driven="1"/>
    <input id="c002.I1" name="I1" off_x="-90" off_y="-60" type="boolean" ext_driven="1"/>
    <input id="c002.I2" name="I2" off_x="-90" off_y="-40" type="boolean" ext_driven="1"/>
    <input id="c002.I3" name="I3" off_x="-90" off_y="-20" type="boolean" ext_driven="1"/>
    <input id="c002.I4" name="I4" off_x="-90" off_y="0" type="boolean" ext_driven="1"/>
    <input id="c002.I5" name="I5" off_x="-90" off_y="20" type="boolean" ext_driven="1"/>
    <input id="c002.I6" name="I6" off_x="-90" off_y="40" type="boolean" ext_driven="1"/>
    <input id="c002.I7" name="I7" off_x="-90" off_y="60" type="boolean" ext_driven="1"/>
    <input id="c002.I8" name="I8" off_x="-90" off_y="80" type="boolean" ext_driven="1"/>
    <output id="c002.O1" name="O1" off_x="90" off_y="-80" type="boolean"/>
    <output id="c002.O2" name="O2" off_x="90" off_y="-60" type="boolean"/>
    <output id="c002.O3" name="O3" off_x="90" off_y="-40" type="boolean"/>
    <output id="c002.O4" name="O4" off_x="90" off_y="-20" type="boolean"/>
    <output id="c002.O5" name="O5" off_x="90" off_y="0" type="boolean"/>
    <output id="c002.O6" name="O6" off_x="90" off_y="20" type="boolean"/>
    <output id="c002.O7" name="O7" off_x="90" off_y="40" type="boolean"/>
    <output id="c002.O8" name="O8" off_x="90" off_y="60" type="boolean"/>
  </component>
  <component id="c001" class="//_192_168_1_65_9000/local/IOX8.xml" x="840" y="175" width="180" height="200" rot="0" implementation="iopt-flow" target="distributed" res_location="guest@192.168.1.65:9000/c001">
    <name off_x="-90" off_y="-105" text="IOX8_LEDS"/>
    <source_model file="files/IOX8.xml"/>
    <input id="c001.Enb" name="Enb" off_x="-90" off_y="-80" type="boolean" ext_driven="1"/>
    <input id="c001.I1" name="I1" off_x="-90" off_y="-60" type="boolean"/>
    <input id="c001.I2" name="I2" off_x="-90" off_y="-40" type="boolean"/>
    <input id="c001.I3" name="I3" off_x="-90" off_y="-20" type="boolean"/>
    <input id="c001.I4" name="I4" off_x="-90" off_y="0" type="boolean"/>
    <input id="c001.I5" name="I5" off_x="-90" off_y="20" type="boolean"/>
    <input id="c001.I6" name="I6" off_x="-90" off_y="40" type="boolean"/>
    <input id="c001.I7" name="I7" off_x="-90" off_y="60" type="boolean"/>
    <input id="c001.I8" name="I8" off_x="-90" off_y="80" type="boolean"/>
    <output id="c001.O1" name="O1" off_x="90" off_y="-80" type="boolean"/>
    <output id="c001.O2" name="O2" off_x="90" off_y="-60" type="boolean"/>
    <output id="c001.O3" name="O3" off_x="90" off_y="-40" type="boolean"/>
    <output id="c001.O4" name="O4" off_x="90" off_y="-20" type="boolean"/>
    <output id="c001.O5" name="O5" off_x="90" off_y="0" type="boolean"/>
    <output id="c001.O6" name="O6" off_x="90" off_y="20" type="boolean"/>
    <output id="c001.O7" name="O7" off_x="90" off_y="40" type="boolean"/>
    <output id="c001.O8" name="O8" off_x="90" off_y="60" type="boolean"/>
  </component>
  <component id="c023" class="//_192_168_1_65_9000/local/IOX8.xml" x="895" y="535" width="180" height="200" rot="0" implementation="iopt-flow" target="distributed" res_location="guest@192.168.1.65:9000/c023">
    <name off_x="-90" off_y="-105" text="IOX8_PMOD_JA"/>
    <source_model file="files/IOX8.xml"/>
    <input id="c023.Enb" name="Enb" off_x="-90" off_y="-80" type="boolean" ext_driven="1"/>
    <input id="c023.I1" name="I1" off_x="-90" off_y="-60" type="boolean"/>
    <input id="c023.I2" name="I2" off_x="-90" off_y="-40" type="boolean"/>
    <input id="c023.I3" name="I3" off_x="-90" off_y="-20" type="boolean"/>
    <input id="c023.I4" name="I4" off_x="-90" off_y="0" type="boolean"/>
    <input id="c023.I5" name="I5" off_x="-90" off_y="20" type="boolean"/>
    <input id="c023.I6" name="I6" off_x="-90" off_y="40" type="boolean"/>
    <input id="c023.I7" name="I7" off_x="-90" off_y="60" type="boolean"/>
    <input id="c023.I8" name="I8" off_x="-90" off_y="80" type="boolean"/>
    <output id="c023.O1" name="O1" off_x="90" off_y="-80" type="boolean"/>
    <output id="c023.O2" name="O2" off_x="90" off_y="-60" type="boolean"/>
    <output id="c023.O3" name="O3" off_x="90" off_y="-40" type="boolean"/>
    <output id="c023.O4" name="O4" off_x="90" off_y="-20" type="boolean"/>
    <output id="c023.O5" name="O5" off_x="90" off_y="0" type="boolean"/>
    <output id="c023.O6" name="O6" off_x="90" off_y="20" type="boolean"/>
    <output id="c023.O7" name="O7" off_x="90" off_y="40" type="boolean"/>
    <output id="c023.O8" name="O8" off_x="90" off_y="60" type="boolean"/>
  </component>
  <component id="c003" class="local/Kit.xml" x="545" y="555" width="180" height="200" rot="0" implementation="iopt-flow" target="default">
    <name off_x="-90" off_y="-105" text="Kit_?"/>
    <source_model file="files/Kit.xml"/>
    <input id="c003.Rst" name="Rst" type="event" off_x="-90" off_y="-80"/>
    <input id="c003.IncSpd" name="IncSpd" type="event" off_x="-90" off_y="-60"/>
    <input id="c003.DecSpd" name="DecSpd" type="event" off_x="-90" off_y="-40"/>
    <input id="c003.Enable" name="Enable" off_x="-90" off_y="-20" type="boolean"/>
    <output id="c003.Led1" name="Led1" off_x="90" off_y="-80" type="boolean"/>
    <output id="c003.Led2" name="Led2" off_x="90" off_y="-60" type="boolean"/>
    <output id="c003.Led3" name="Led3" off_x="90" off_y="-40" type="boolean"/>
    <output id="c003.Led4" name="Led4" off_x="90" off_y="-20" type="boolean"/>
    <output id="c003.Led5" name="Led5" off_x="90" off_y="0" type="boolean"/>
    <output id="c003.Led6" name="Led6" off_x="90" off_y="20" type="boolean"/>
    <output id="c003.Led7" name="Led7" off_x="90" off_y="40" type="boolean"/>
    <output id="c003.Led8" name="Led8" off_x="90" off_y="60" type="boolean"/>
    <output id="c003.Speed" name="Speed" off_x="90" off_y="80" type="range" min="1" max="10" on_error="0"/>
  </component>
  <operation id="o004" x="340" y="420" rot="0" shape="arrow" size="16">
    <name off_x="-11" off_y="-16" text="o004"/>
    <input off_x="-16" off_y="0" name="O1" id="o004.O1" type="boolean" dynamic="all"/>
    <output off_x="16" off_y="0" name="out" id="o004.out" type="event" min="0" max="1" dynamic="none" frac="0">
      <expression>
        <operand type="signal" idRef="O1" delay="1"/>
        <operator type="equal"/>
        <operand type="literal" value="0"/>
        <operator type="and"/>
        <operand type="signal" idRef="O1"/>
        <operator type="equal"/>
        <operand type="literal" value="1"/>
        <text>O1[-1] = 0 AND O1 = 1</text>
      </expression>
    </output>
  </operation>
  <arc id="a006" type="read" source="o004.out" target="c003.Rst"/>
  <operation id="o007" x="380" y="495" rot="0" shape="arrow" size="16">
    <name off_x="-11" off_y="-16" text="o004"/>
    <input off_x="-16" off_y="0" name="O3" id="o007.O3" type="boolean" dynamic="all"/>
    <output off_x="16" off_y="0" name="out" id="o007.out" type="event" min="0" max="1" dynamic="none" frac="0">
      <expression>
        <operand type="signal" idRef="O3" delay="1"/>
        <operator type="equal"/>
        <operand type="literal" value="0"/>
        <operator type="and"/>
        <operand type="signal" idRef="O3"/>
        <operator type="equal"/>
        <operand type="literal" value="1"/>
        <text>O3[-1] = 0 AND O3 = 1</text>
      </expression>
    </output>
  </operation>
  <operation id="o008" x="295" y="515" rot="0" shape="arrow" size="16">
    <name off_x="-11" off_y="-16" text="o004"/>
    <input off_x="-16" off_y="0" name="O4" id="o008.O4" type="boolean" dynamic="all"/>
    <output off_x="16" off_y="0" name="out" id="o008.out" type="event" min="0" max="1" dynamic="none" frac="0">
      <expression>
        <operand type="signal" idRef="O4" delay="1"/>
        <operator type="equal"/>
        <operand type="literal" value="0"/>
        <operator type="and"/>
        <operand type="signal" idRef="O4"/>
        <operator type="equal"/>
        <operand type="literal" value="1"/>
        <text>O4[-1] = 0 AND O4 = 1</text>
      </expression>
    </output>
  </operation>
  <arc id="a009" type="read" source="c1.O4" target="c003.Enable" view="symbolic"/>
  <arc id="a010" type="read" source="c1.O8" target="c001.I8"/>
  <arc id="a011" type="read" source="c1.O7" target="c001.I7"/>
  <arc id="a012" type="read" source="c1.O6" target="c001.I6"/>
  <arc id="a013" type="read" source="c003.Led8" target="c023.I8"/>
  <arc id="a014" type="read" source="c003.Led7" target="c023.I7"/>
  <arc id="a015" type="read" source="c003.Led6" target="c023.I6"/>
  <arc id="a016" type="read" source="c003.Led5" target="c023.I5"/>
  <arc id="a017" type="read" source="c003.Led4" target="c023.I4"/>
  <arc id="a018" type="read" source="c003.Led3" target="c023.I3"/>
  <arc id="a019" type="read" source="c003.Led2" target="c023.I2"/>
  <arc id="a020" type="read" source="c003.Led1" target="c023.I1"/>
  <arc id="a021" type="read" source="c1.O5" target="c001.I5"/>
  <arc id="a023" type="read" source="c002.O1" target="o004.O1"/>
  <arc id="a024" type="read" source="o007.out" target="c003.IncSpd"/>
  <arc id="a025" type="read" source="o008.out" target="c003.DecSpd"/>
  <arc id="a026" type="read" source="c002.O3" target="o007.O3"/>
  <arc id="a027" type="read" source="c002.O4" target="o008.O4"/>
  <signal id="L1" x="1070" y="455" mode="output" type="boolean" dynamic="type"/>
  <arc id="a003" type="read" source="c023.O1" target="L1"/>
  <signal id="L2" x="1110" y="475" mode="output" type="boolean" dynamic="type"/>
  <arc id="a005" type="read" source="c023.O2" target="L2"/>
  <signal id="L3" x="1070" y="495" mode="output" type="boolean" dynamic="type"/>
  <arc id="a007" type="read" source="c023.O3" target="L3"/>
  <signal id="O4" x="1110" y="515" mode="output" type="boolean" dynamic="type"/>
  <signal id="O5" x="1070" y="535" mode="output" type="boolean" dynamic="type"/>
  <signal id="O6" x="1110" y="555" mode="output" type="boolean" dynamic="type"/>
  <arc id="a022" type="read" source="c023.O4" target="O4"/>
  <arc id="a028" type="read" source="c023.O5" target="O5"/>
  <arc id="a029" type="read" source="c023.O6" target="O6"/>
  <signal id="O7" x="1070" y="575" mode="output" type="boolean" dynamic="type"/>
  <signal id="O8" x="1110" y="595" mode="output" type="boolean" dynamic="type"/>
  <arc id="a032" type="read" source="c023.O7" target="O7"/>
  <arc id="a033" type="read" source="c023.O8" target="O8"/>
  <signal id="SW5" x="1015" y="175" mode="output" type="boolean" dynamic="type"/>
  <arc id="a035" type="read" source="c001.O5" target="SW5"/>
  <signal id="SW6" x="1045" y="195" mode="output" type="boolean" dynamic="type"/>
  <arc id="a037" type="read" source="c001.O6" target="SW6"/>
  <signal id="SW7" x="1015" y="215" mode="output" type="boolean" dynamic="type"/>
  <signal id="SW8" x="1045" y="235" mode="output" type="boolean" dynamic="type"/>
  <arc id="a040" type="read" source="c001.O7" target="SW7"/>
  <arc id="a041" type="read" source="c001.O8" target="SW8"/>
</net>
