<!DOCTYPE mydocument>
<e2000>
 <version>3.00d_dev_1205</version>
 <options>
  <E2000PLUS.IP>192.168.178.9</E2000PLUS.IP>
  <E2000PLUS.Port>81</E2000PLUS.Port>
  <E2000PLUS.Username>admin</E2000PLUS.Username>
  <E2000PLUS.Password>Fillip-93</E2000PLUS.Password>
 </options>
 <components>
  <component>
   <name>OUT1</name>
   <type>OUT</type>
   <top>14</top>
   <left>105</left>
   <variables>
    <variable>
     <name>NAME</name>
     <type>STRING</type>
     <value>Verbrauch</value>
    </variable>
   </variables>
  </component>
  <component>
   <name>VALUE1</name>
   <type>VALUE</type>
   <top>14</top>
   <left>49</left>
   <variables>
    <variable>
     <name>MAX</name>
     <type>INT</type>
     <value>99999</value>
    </variable>
    <variable>
     <name>MIN</name>
     <type>INT</type>
     <value>0</value>
    </variable>
    <variable>
     <name>INC</name>
     <type>INT</type>
     <value>1</value>
    </variable>
   </variables>
  </component>
  <component>
   <name>IN1</name>
   <type>IN</type>
   <top>29</top>
   <left>33</left>
   <variables>
    <variable>
     <name>NAME</name>
     <type>STRING</type>
     <value>VerbauchImpuls</value>
    </variable>
    <variable>
     <name>TYPE</name>
     <value>10</value>
    </variable>
   </variables>
  </component>
  <component>
   <name>OR1</name>
   <type>OR</type>
   <top>14</top>
   <left>41</left>
   <variables/>
  </component>
  <component>
   <name>IN2</name>
   <type>IN</type>
   <top>33</top>
   <left>33</left>
   <variables>
    <variable>
     <name>NAME</name>
     <type>STRING</type>
     <value>VerbrauchReset</value>
    </variable>
    <variable>
     <name>TYPE</name>
     <value>10</value>
    </variable>
   </variables>
  </component>
  <component>
   <name>IMPULS1</name>
   <type>IMPULS</type>
   <top>33</top>
   <left>56</left>
   <variables>
    <variable>
     <name>UP</name>
     <value>0</value>
    </variable>
    <variable>
     <name>DOWN</name>
     <value>1</value>
    </variable>
   </variables>
  </component>
  <component>
   <name>IRCP1</name>
   <type>IRCP</type>
   <top>14</top>
   <left>5</left>
   <variables>
    <variable>
     <name>INOUT</name>
     <value>1</value>
    </variable>
    <variable>
     <name>LOKAL</name>
     <value>0</value>
    </variable>
    <variable>
     <name>NAME</name>
     <type>STRING</type>
     <value>verbrauch_impuls</value>
    </variable>
   </variables>
  </component>
  <component>
   <name>LOGGER1</name>
   <type>LOGGER</type>
   <top>20</top>
   <left>105</left>
   <variables>
    <variable>
     <name>NAME1</name>
     <type>STRING</type>
     <value>Verbrauch Kosten</value>
    </variable>
    <variable>
     <name>NAME2</name>
     <type>STRING</type>
     <value>Verbrauch Kilowatt/h</value>
    </variable>
    <variable>
     <name>NAME3</name>
     <type>STRING</type>
     <value></value>
    </variable>
    <variable>
     <name>NAME4</name>
     <type>STRING</type>
     <value></value>
    </variable>
    <variable>
     <name>NAME5</name>
     <type>STRING</type>
     <value></value>
    </variable>
    <variable>
     <name>NAME6</name>
     <type>STRING</type>
     <value></value>
    </variable>
    <variable>
     <name>NAME7</name>
     <type>STRING</type>
     <value></value>
    </variable>
    <variable>
     <name>NAME8</name>
     <type>STRING</type>
     <value></value>
    </variable>
   </variables>
  </component>
  <component>
   <name>IRCP2</name>
   <type>IRCP</type>
   <top>39</top>
   <left>5</left>
   <variables>
    <variable>
     <name>INOUT</name>
     <value>1</value>
    </variable>
    <variable>
     <name>LOKAL</name>
     <value>0</value>
    </variable>
    <variable>
     <name>NAME</name>
     <type>STRING</type>
     <value>W_Signal</value>
    </variable>
   </variables>
  </component>
  <component>
   <name>NUM2</name>
   <type>NUM</type>
   <top>24</top>
   <left>49</left>
   <variables>
    <variable>
     <name>VALUE</name>
     <type>INT</type>
     <value>1000</value>
    </variable>
   </variables>
  </component>
  <component>
   <name>COUNT1</name>
   <type>COUNT</type>
   <top>14</top>
   <left>23</left>
   <variables>
    <variable>
     <name>COUNT</name>
     <type>INT</type>
     <value>4</value>
    </variable>
   </variables>
  </component>
  <component>
   <name>CALC1</name>
   <type>CALC</type>
   <top>14</top>
   <left>59</left>
   <variables>
    <variable>
     <name>TYPE</name>
     <value>3</value>
    </variable>
   </variables>
  </component>
  <component>
   <name>CALC2</name>
   <type>CALC</type>
   <top>8</top>
   <left>67</left>
   <variables>
    <variable>
     <name>TYPE</name>
     <value>2</value>
    </variable>
   </variables>
  </component>
  <component>
   <name>NUM1</name>
   <type>NUM</type>
   <top>3</top>
   <left>44</left>
   <variables>
    <variable>
     <name>VALUE</name>
     <type>INT</type>
     <value>1</value>
    </variable>
   </variables>
  </component>
  <component>
   <name>OUT2</name>
   <type>OUT</type>
   <top>8</top>
   <left>105</left>
   <variables>
    <variable>
     <name>NAME</name>
     <type>STRING</type>
     <value>Stromkosten</value>
    </variable>
   </variables>
  </component>
  <component>
   <name>OUT3</name>
   <type>OUT</type>
   <top>44</top>
   <left>56</left>
   <variables>
    <variable>
     <name>NAME</name>
     <type>STRING</type>
     <value>Beleuchtung_Status</value>
    </variable>
   </variables>
  </component>
  <component>
   <name>CALC3</name>
   <type>CALC</type>
   <top>5</top>
   <left>55</left>
   <variables>
    <variable>
     <name>TYPE</name>
     <value>3</value>
    </variable>
   </variables>
  </component>
  <component>
   <name>NUM3</name>
   <type>NUM</type>
   <top>8</top>
   <left>44</left>
   <variables>
    <variable>
     <name>VALUE</name>
     <type>INT</type>
     <value>4</value>
    </variable>
   </variables>
  </component>
  <component>
   <name>OR2</name>
   <type>OR</type>
   <top>35</top>
   <left>48</left>
   <variables/>
  </component>
  <component>
   <name>RELAY1</name>
   <type>RELAY</type>
   <top>18</top>
   <left>82</left>
   <variables/>
  </component>
  <component>
   <name>RELAY2</name>
   <type>RELAY</type>
   <top>26</top>
   <left>72</left>
   <variables/>
  </component>
  <component>
   <name>IN3</name>
   <type>IN</type>
   <top>50</top>
   <left>5</left>
   <variables>
    <variable>
     <name>NAME</name>
     <type>STRING</type>
     <value>VerbrauchLog</value>
    </variable>
    <variable>
     <name>TYPE</name>
     <value>10</value>
    </variable>
   </variables>
  </component>
 </components>
 <wire>
  <wire>
   <points>
    <point y="150" x="470"/>
    <point y="150" x="470"/>
   </points>
   <output>OR1</output>
   <input>VALUE1</input>
   <outputID>0</outputID>
   <inputID>0</inputID>
  </wire>
  <wire>
   <points>
    <point y="300" x="400"/>
    <point y="180" x="400"/>
   </points>
   <output>IN1</output>
   <input>OR1</input>
   <outputID>0</outputID>
   <inputID>3</inputID>
  </wire>
  <wire>
   <points>
    <point y="340" x="470"/>
    <point y="170" x="470"/>
   </points>
   <output>IN2</output>
   <input>VALUE1</input>
   <outputID>0</outputID>
   <inputID>2</inputID>
  </wire>
  <wire>
   <points>
    <point y="150" x="170"/>
    <point y="150" x="170"/>
   </points>
   <output>IRCP1</output>
   <input>COUNT1</input>
   <outputID>0</outputID>
   <inputID>0</inputID>
  </wire>
  <wire>
   <points>
    <point y="150" x="310"/>
    <point y="180" x="310"/>
    <point y="180" x="220"/>
    <point y="160" x="220"/>
   </points>
   <output>COUNT1</output>
   <input>COUNT1</input>
   <outputID>0</outputID>
   <inputID>1</inputID>
  </wire>
  <wire>
   <points>
    <point y="150" x="350"/>
    <point y="150" x="350"/>
   </points>
   <output>COUNT1</output>
   <input>OR1</input>
   <outputID>0</outputID>
   <inputID>0</inputID>
  </wire>
  <wire>
   <points>
    <point y="150" x="570"/>
    <point y="150" x="570"/>
   </points>
   <output>VALUE1</output>
   <input>CALC1</input>
   <outputID>0</outputID>
   <inputID>0</inputID>
  </wire>
  <wire>
   <points>
    <point y="250" x="570"/>
    <point y="160" x="570"/>
   </points>
   <output>NUM2</output>
   <input>CALC1</input>
   <outputID>0</outputID>
   <inputID>1</inputID>
  </wire>
  <wire>
   <points>
    <point y="150" x="730"/>
    <point y="150" x="730"/>
   </points>
   <output>CALC1</output>
   <input>OUT1</input>
   <outputID>0</outputID>
   <inputID>0</inputID>
  </wire>
  <wire>
   <points>
    <point y="150" x="640"/>
    <point y="150" x="660"/>
    <point y="100" x="660"/>
   </points>
   <output>CALC1</output>
   <input>CALC2</input>
   <outputID>0</outputID>
   <inputID>1</inputID>
  </wire>
  <wire>
   <points>
    <point y="90" x="770"/>
    <point y="90" x="770"/>
   </points>
   <output>CALC2</output>
   <input>OUT2</input>
   <outputID>0</outputID>
   <inputID>0</inputID>
  </wire>
  <wire>
   <points>
    <point y="400" x="450"/>
    <point y="450" x="450"/>
   </points>
   <output>IRCP2</output>
   <input>OUT3</input>
   <outputID>0</outputID>
   <inputID>0</inputID>
  </wire>
  <wire>
   <points>
    <point y="40" x="520"/>
    <point y="60" x="520"/>
   </points>
   <output>NUM1</output>
   <input>CALC3</input>
   <outputID>0</outputID>
   <inputID>0</inputID>
  </wire>
  <wire>
   <points>
    <point y="90" x="520"/>
    <point y="70" x="520"/>
   </points>
   <output>NUM3</output>
   <input>CALC3</input>
   <outputID>0</outputID>
   <inputID>1</inputID>
  </wire>
  <wire>
   <points>
    <point y="60" x="640"/>
    <point y="90" x="640"/>
   </points>
   <output>CALC3</output>
   <input>CALC2</input>
   <outputID>0</outputID>
   <inputID>0</inputID>
  </wire>
  <wire>
   <points>
    <point y="360" x="550"/>
    <point y="340" x="550"/>
   </points>
   <output>OR2</output>
   <input>IMPULS1</input>
   <outputID>0</outputID>
   <inputID>0</inputID>
  </wire>
  <wire>
   <points>
    <point y="400" x="420"/>
    <point y="360" x="420"/>
   </points>
   <output>IRCP2</output>
   <input>OR2</input>
   <outputID>0</outputID>
   <inputID>0</inputID>
  </wire>
  <wire>
   <points>
    <point y="190" x="910"/>
    <point y="210" x="910"/>
   </points>
   <output>RELAY1</output>
   <input>LOGGER1</input>
   <outputID>0</outputID>
   <inputID>0</inputID>
  </wire>
  <wire>
   <points>
    <point y="270" x="910"/>
    <point y="220" x="910"/>
   </points>
   <output>RELAY2</output>
   <input>LOGGER1</input>
   <outputID>0</outputID>
   <inputID>1</inputID>
  </wire>
  <wire>
   <points>
    <point y="340" x="670"/>
    <point y="290" x="670"/>
   </points>
   <output>IMPULS1</output>
   <input>RELAY2</input>
   <outputID>0</outputID>
   <inputID>2</inputID>
  </wire>
  <wire>
   <points>
    <point y="340" x="650"/>
    <point y="210" x="650"/>
   </points>
   <output>IMPULS1</output>
   <input>RELAY1</input>
   <outputID>0</outputID>
   <inputID>2</inputID>
  </wire>
  <wire>
   <points>
    <point y="510" x="460"/>
    <point y="380" x="460"/>
   </points>
   <output>IN3</output>
   <input>OR2</input>
   <outputID>0</outputID>
   <inputID>2</inputID>
  </wire>
  <wire>
   <points>
    <point y="150" x="680"/>
    <point y="270" x="680"/>
   </points>
   <output>CALC1</output>
   <input>RELAY2</input>
   <outputID>0</outputID>
   <inputID>0</inputID>
  </wire>
  <wire>
   <points>
    <point y="90" x="770"/>
    <point y="190" x="770"/>
   </points>
   <output>CALC2</output>
   <input>RELAY1</input>
   <outputID>0</outputID>
   <inputID>0</inputID>
  </wire>
 </wire>
</e2000>
