<!DOCTYPE mydocument>
<e2000>
 <version>3.00c</version>
 <options>
  <E2000PLUS.IP>192.168.2.130</E2000PLUS.IP>
  <E2000PLUS.Port>80</E2000PLUS.Port>
  <E2000PLUS.Username>admin</E2000PLUS.Username>
  <E2000PLUS.Password>admin</E2000PLUS.Password>
 </options>
 <components>
  <component>
   <name>BUS-MULTI-VIII1</name>
   <type>BUS-MULTI-VIII</type>
   <top>127</top>
   <left>29</left>
   <variables>
    <variable>
     <name>OLD</name>
     <value>0</value>
    </variable>
    <variable>
     <name>BUSID</name>
     <type>INT</type>
     <value>2</value>
    </variable>
    <variable>
     <name>NAME</name>
     <type>STRING</type>
     <value>Strommessung + Schalten</value>
    </variable>
    <variable>
     <name>NAME1</name>
     <type>STRING</type>
     <value>Batterie 1</value>
    </variable>
    <variable>
     <name>NAME2</name>
     <type>STRING</type>
     <value>Batterie 2</value>
    </variable>
    <variable>
     <name>NAME3</name>
     <type>STRING</type>
     <value>Batterie 3</value>
    </variable>
    <variable>
     <name>NAME4</name>
     <type>STRING</type>
     <value>Batterie 8</value>
    </variable>
    <variable>
     <name>NAME5</name>
     <type>STRING</type>
     <value>Relais Batt 4</value>
    </variable>
    <variable>
     <name>NAME6</name>
     <type>STRING</type>
     <value>Relais Batt 2</value>
    </variable>
    <variable>
     <name>NAME7</name>
     <type>STRING</type>
     <value>Relais Batt 3</value>
    </variable>
    <variable>
     <name>NAME8</name>
     <type>STRING</type>
     <value>Relais Batt 1</value>
    </variable>
   </variables>
  </component>
  <component>
   <name>CALC1</name>
   <type>CALC</type>
   <top>127</top>
   <left>56</left>
   <variables>
    <variable>
     <name>TYPE</name>
     <value>1</value>
    </variable>
   </variables>
  </component>
  <component>
   <name>CALC2</name>
   <type>CALC</type>
   <top>127</top>
   <left>78</left>
   <variables>
    <variable>
     <name>TYPE</name>
     <value>2</value>
    </variable>
   </variables>
  </component>
  <component>
   <name>CALC3</name>
   <type>CALC</type>
   <top>127</top>
   <left>101</left>
   <variables>
    <variable>
     <name>TYPE</name>
     <value>3</value>
    </variable>
   </variables>
  </component>
  <component>
   <name>NUM1</name>
   <type>NUM</type>
   <top>130</top>
   <left>44</left>
   <variables>
    <variable>
     <name>VALUE</name>
     <type>INT</type>
     <value>627</value>
    </variable>
   </variables>
  </component>
  <component>
   <name>NUM2</name>
   <type>NUM</type>
   <top>131</top>
   <left>64</left>
   <variables>
    <variable>
     <name>VALUE</name>
     <type>INT</type>
     <value>3203</value>
    </variable>
   </variables>
  </component>
  <component>
   <name>NUM3</name>
   <type>NUM</type>
   <top>131</top>
   <left>88</left>
   <variables>
    <variable>
     <name>VALUE</name>
     <type>INT</type>
     <value>100000</value>
    </variable>
   </variables>
  </component>
  <component>
   <name>TXT1</name>
   <type>TXT</type>
   <top>134</top>
   <left>64</left>
   <variables>
    <variable>
     <name>TEXT</name>
     <type>STRING</type>
     <value>mA/Digit</value>
    </variable>
   </variables>
  </component>
  <component>
   <name>TXT2</name>
   <type>TXT</type>
   <top>134</top>
   <left>44</left>
   <variables>
    <variable>
     <name>TEXT</name>
     <type>STRING</type>
     <value>Null Berechnung</value>
    </variable>
   </variables>
  </component>
  <component>
   <name>TXT3</name>
   <type>TXT</type>
   <top>126</top>
   <left>115</left>
   <variables>
    <variable>
     <name>TEXT</name>
     <type>STRING</type>
     <value>Batterie  1 in A</value>
    </variable>
   </variables>
  </component>
  <component>
   <name>MWF1</name>
   <type>MWF</type>
   <top>127</top>
   <left>139</left>
   <variables>
    <variable>
     <name>TIMEBASE</name>
     <type>INT</type>
     <value>1</value>
    </variable>
    <variable>
     <name>BASESPAN</name>
     <type>INT</type>
     <value>60</value>
    </variable>
   </variables>
  </component>
  <component>
   <name>HOLD1</name>
   <type>HOLD</type>
   <top>127</top>
   <left>159</left>
   <variables/>
  </component>
  <component>
   <name>HOLD2</name>
   <type>HOLD</type>
   <top>127</top>
   <left>190</left>
   <variables/>
  </component>
  <component>
   <name>HOLD3</name>
   <type>HOLD</type>
   <top>126</top>
   <left>217</left>
   <variables/>
  </component>
  <component>
   <name>TAKT1</name>
   <type>TAKT</type>
   <top>133</top>
   <left>127</left>
   <variables>
    <variable>
     <name>TAKT</name>
     <type>INT</type>
     <value>1000</value>
    </variable>
   </variables>
  </component>
  <component>
   <name>COUNT1</name>
   <type>COUNT</type>
   <top>136</top>
   <left>139</left>
   <variables>
    <variable>
     <name>COUNT</name>
     <type>INT</type>
     <value>60</value>
    </variable>
   </variables>
  </component>
  <component>
   <name>CALC4</name>
   <type>CALC</type>
   <top>127</top>
   <left>177</left>
   <variables>
    <variable>
     <name>TYPE</name>
     <value>0</value>
    </variable>
   </variables>
  </component>
  <component>
   <name>RELAY1</name>
   <type>RELAY</type>
   <top>126</top>
   <left>202</left>
   <variables/>
  </component>
  <component>
   <name>IMPULS1</name>
   <type>IMPULS</type>
   <top>136</top>
   <left>166</left>
   <variables>
    <variable>
     <name>UP</name>
     <value>0</value>
    </variable>
    <variable>
     <name>DOWN</name>
     <value>1</value>
    </variable>
   </variables>
  </component>
  <component>
   <name>DELAY1</name>
   <type>DELAY</type>
   <top>140</top>
   <left>149</left>
   <variables>
    <variable>
     <name>START_DELAY</name>
     <type>INT</type>
     <value>1</value>
    </variable>
    <variable>
     <name>STOP_DELAY</name>
     <type>INT</type>
     <value>0</value>
    </variable>
   </variables>
  </component>
  <component>
   <name>IMPULS2</name>
   <type>IMPULS</type>
   <top>136</top>
   <left>189</left>
   <variables>
    <variable>
     <name>UP</name>
     <value>0</value>
    </variable>
    <variable>
     <name>DOWN</name>
     <value>1</value>
    </variable>
   </variables>
  </component>
  <component>
   <name>CALC5</name>
   <type>CALC</type>
   <top>126</top>
   <left>233</left>
   <variables>
    <variable>
     <name>TYPE</name>
     <value>3</value>
    </variable>
   </variables>
  </component>
  <component>
   <name>NUM4</name>
   <type>NUM</type>
   <top>138</top>
   <left>223</left>
   <variables>
    <variable>
     <name>VALUE</name>
     <type>INT</type>
     <value>60</value>
    </variable>
   </variables>
  </component>
  <component>
   <name>NUM5</name>
   <type>NUM</type>
   <top>120</top>
   <left>189</left>
   <variables>
    <variable>
     <name>VALUE</name>
     <type>INT</type>
     <value>0</value>
    </variable>
   </variables>
  </component>
  <component>
   <name>OR1</name>
   <type>OR</type>
   <top>136</top>
   <left>202</left>
   <variables/>
  </component>
  <component>
   <name>IN1</name>
   <type>IN</type>
   <top>139</top>
   <left>180</left>
   <variables>
    <variable>
     <name>NAME</name>
     <type>STRING</type>
     <value>Null Setzen</value>
    </variable>
    <variable>
     <name>TYPE</name>
     <value>0</value>
    </variable>
   </variables>
  </component>
  <component>
   <name>TXT4</name>
   <type>TXT</type>
   <top>142</top>
   <left>180</left>
   <variables>
    <variable>
     <name>TEXT</name>
     <type>STRING</type>
     <value>Null Setzen</value>
    </variable>
   </variables>
  </component>
  <component>
   <name>TXT5</name>
   <type>TXT</type>
   <top>129</top>
   <left>243</left>
   <variables>
    <variable>
     <name>TEXT</name>
     <type>STRING</type>
     <value>Batt 1 in Ah</value>
    </variable>
   </variables>
  </component>
  <component>
   <name>TXT6</name>
   <type>TXT</type>
   <top>135</top>
   <left>149</left>
   <variables>
    <variable>
     <name>TEXT</name>
     <type>STRING</type>
     <value>1 min</value>
    </variable>
   </variables>
  </component>
  <component>
   <name>TXT7</name>
   <type>TXT</type>
   <top>125</top>
   <left>145</left>
   <variables>
    <variable>
     <name>TEXT</name>
     <type>STRING</type>
     <value>Batteri  1</value>
    </variable>
   </variables>
  </component>
  <component>
   <name>HOLD4</name>
   <type>HOLD</type>
   <top>135</top>
   <left>252</left>
   <variables/>
  </component>
  <component>
   <name>COUNT2</name>
   <type>COUNT</type>
   <top>150</top>
   <left>164</left>
   <variables>
    <variable>
     <name>COUNT</name>
     <type>INT</type>
     <value>15</value>
    </variable>
   </variables>
  </component>
  <component>
   <name>OUT1</name>
   <type>OUT</type>
   <top>123</top>
   <left>115</left>
   <variables>
    <variable>
     <name>NAME</name>
     <type>STRING</type>
     <value>Strom Baterie 1 in A</value>
    </variable>
   </variables>
  </component>
  <component>
   <name>OUT2</name>
   <type>OUT</type>
   <top>126</top>
   <left>244</left>
   <variables>
    <variable>
     <name>NAME</name>
     <type>STRING</type>
     <value>Batterie 1 in Ah</value>
    </variable>
   </variables>
  </component>
  <component>
   <name>LOGGER1</name>
   <type>LOGGER</type>
   <top>135</top>
   <left>266</left>
   <variables>
    <variable>
     <name>NAME1</name>
     <type>STRING</type>
     <value>Ah Batt.1</value>
    </variable>
    <variable>
     <name>NAME2</name>
     <type>STRING</type>
     <value></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>
 </components>
 <wire>
  <wire>
   <points>
    <point x="530" y="1310"/>
    <point x="530" y="1290"/>
   </points>
   <output>NUM1</output>
   <input>CALC1</input>
   <outputID>0</outputID>
   <inputID>1</inputID>
  </wire>
  <wire>
   <points>
    <point x="780" y="1280"/>
   </points>
   <output>CALC1</output>
   <input>CALC2</input>
   <outputID>0</outputID>
   <inputID>0</inputID>
  </wire>
  <wire>
   <points>
    <point x="1010" y="1280"/>
   </points>
   <output>CALC2</output>
   <input>CALC3</input>
   <outputID>0</outputID>
   <inputID>0</inputID>
  </wire>
  <wire>
   <points>
    <point x="750" y="1320"/>
    <point x="750" y="1290"/>
   </points>
   <output>NUM2</output>
   <input>CALC2</input>
   <outputID>0</outputID>
   <inputID>1</inputID>
  </wire>
  <wire>
   <points>
    <point x="980" y="1320"/>
    <point x="980" y="1290"/>
   </points>
   <output>NUM3</output>
   <input>CALC3</input>
   <outputID>0</outputID>
   <inputID>1</inputID>
  </wire>
  <wire>
   <points>
    <point x="1340" y="1340"/>
    <point x="1340" y="1370"/>
   </points>
   <output>TAKT1</output>
   <input>COUNT1</input>
   <outputID>0</outputID>
   <inputID>0</inputID>
  </wire>
  <wire>
   <points>
    <point x="1440" y="1370"/>
    <point x="1540" y="1370"/>
    <point x="1540" y="1290"/>
   </points>
   <output>COUNT1</output>
   <input>HOLD1</input>
   <outputID>0</outputID>
   <inputID>1</inputID>
  </wire>
  <wire>
   <points>
    <point x="1770" y="1280"/>
   </points>
   <output>HOLD1</output>
   <input>CALC4</input>
   <outputID>0</outputID>
   <inputID>0</inputID>
  </wire>
  <wire>
   <points>
    <point x="1900" y="1280"/>
   </points>
   <output>CALC4</output>
   <input>HOLD2</input>
   <outputID>0</outputID>
   <inputID>0</inputID>
  </wire>
  <wire>
   <points>
    <point x="1470" y="1370"/>
    <point x="1470" y="1410"/>
   </points>
   <output>COUNT1</output>
   <input>DELAY1</input>
   <outputID>0</outputID>
   <inputID>0</inputID>
  </wire>
  <wire>
   <points>
    <point x="1570" y="1410"/>
    <point x="1570" y="1460"/>
    <point x="1370" y="1460"/>
    <point x="1370" y="1380"/>
   </points>
   <output>DELAY1</output>
   <input>COUNT1</input>
   <outputID>0</outputID>
   <inputID>1</inputID>
  </wire>
  <wire>
   <points>
    <point x="2020" y="1280"/>
   </points>
   <output>HOLD2</output>
   <input>RELAY1</input>
   <outputID>0</outputID>
   <inputID>1</inputID>
  </wire>
  <wire>
   <points>
    <point x="2070" y="1270"/>
    <point x="2170" y="1270"/>
   </points>
   <output>RELAY1</output>
   <input>HOLD3</input>
   <outputID>0</outputID>
   <inputID>0</inputID>
  </wire>
  <wire>
   <points>
    <point x="2260" y="1270"/>
    <point x="2260" y="1340"/>
    <point x="1750" y="1340"/>
    <point x="1750" y="1290"/>
   </points>
   <output>HOLD3</output>
   <input>CALC4</input>
   <outputID>0</outputID>
   <inputID>1</inputID>
  </wire>
  <wire>
   <points>
    <point x="1660" y="1370"/>
   </points>
   <output>COUNT1</output>
   <input>IMPULS1</input>
   <outputID>0</outputID>
   <inputID>0</inputID>
  </wire>
  <wire>
   <points>
    <point x="1850" y="1370"/>
    <point x="1850" y="1290"/>
   </points>
   <output>IMPULS1</output>
   <input>HOLD2</input>
   <outputID>0</outputID>
   <inputID>1</inputID>
  </wire>
  <wire>
   <points>
    <point x="1710" y="1370"/>
   </points>
   <output>IMPULS1</output>
   <input>IMPULS2</input>
   <outputID>0</outputID>
   <inputID>0</inputID>
  </wire>
  <wire>
   <points>
    <point x="2330" y="1270"/>
   </points>
   <output>HOLD3</output>
   <input>CALC5</input>
   <outputID>0</outputID>
   <inputID>0</inputID>
  </wire>
  <wire>
   <points>
    <point x="2310" y="1390"/>
    <point x="2310" y="1280"/>
   </points>
   <output>NUM4</output>
   <input>CALC5</input>
   <outputID>0</outputID>
   <inputID>1</inputID>
  </wire>
  <wire>
   <points>
    <point x="1590" y="1280"/>
   </points>
   <output>MWF1</output>
   <input>HOLD1</input>
   <outputID>0</outputID>
   <inputID>0</inputID>
  </wire>
  <wire>
   <points>
    <point x="1980" y="1210"/>
    <point x="1980" y="1270"/>
   </points>
   <output>NUM5</output>
   <input>RELAY1</input>
   <outputID>0</outputID>
   <inputID>0</inputID>
  </wire>
  <wire>
   <points>
    <point x="2020" y="1370"/>
   </points>
   <output>IMPULS2</output>
   <input>OR1</input>
   <outputID>0</outputID>
   <inputID>0</inputID>
  </wire>
  <wire>
   <points>
    <point x="2120" y="1370"/>
    <point x="2120" y="1280"/>
   </points>
   <output>OR1</output>
   <input>HOLD3</input>
   <outputID>0</outputID>
   <inputID>1</inputID>
  </wire>
  <wire>
   <points>
    <point x="2020" y="1400"/>
   </points>
   <output>IN1</output>
   <input>OR1</input>
   <outputID>0</outputID>
   <inputID>3</inputID>
  </wire>
  <wire>
   <points>
    <point x="1990" y="1400"/>
    <point x="1990" y="1290"/>
   </points>
   <output>IN1</output>
   <input>RELAY1</input>
   <outputID>0</outputID>
   <inputID>2</inputID>
  </wire>
  <wire>
   <points>
    <point x="1250" y="1280"/>
    <point x="1250" y="1280"/>
   </points>
   <output>CALC3</output>
   <input>MWF1</input>
   <outputID>0</outputID>
   <inputID>0</inputID>
  </wire>
  <wire>
   <points>
    <point x="2410" y="1270"/>
    <point x="2410" y="1360"/>
   </points>
   <output>CALC5</output>
   <input>HOLD4</input>
   <outputID>0</outputID>
   <inputID>0</inputID>
  </wire>
  <wire>
   <points>
    <point x="1610" y="1370"/>
    <point x="1610" y="1510"/>
   </points>
   <output>COUNT1</output>
   <input>COUNT2</input>
   <outputID>0</outputID>
   <inputID>0</inputID>
  </wire>
  <wire>
   <points>
    <point x="1730" y="1510"/>
    <point x="1730" y="1550"/>
    <point x="1610" y="1550"/>
    <point x="1610" y="1520"/>
   </points>
   <output>COUNT2</output>
   <input>COUNT2</input>
   <outputID>0</outputID>
   <inputID>1</inputID>
  </wire>
  <wire>
   <points>
    <point x="2510" y="1510"/>
    <point x="2510" y="1370"/>
   </points>
   <output>COUNT2</output>
   <input>HOLD4</input>
   <outputID>0</outputID>
   <inputID>1</inputID>
  </wire>
  <wire>
   <points>
    <point x="560" y="1280"/>
   </points>
   <output>BUS-MULTI-VIII1</output>
   <input>CALC1</input>
   <outputID>0</outputID>
   <inputID>0</inputID>
  </wire>
  <wire>
   <points>
    <point x="1110" y="1280"/>
    <point x="1110" y="1240"/>
   </points>
   <output>CALC3</output>
   <input>OUT1</input>
   <outputID>0</outputID>
   <inputID>0</inputID>
  </wire>
  <wire>
   <points>
    <point x="2410" y="1270"/>
    <point x="2410" y="1270"/>
   </points>
   <output>CALC5</output>
   <input>OUT2</input>
   <outputID>0</outputID>
   <inputID>0</inputID>
  </wire>
  <wire>
   <points>
    <point x="2620" y="1360"/>
    <point x="2620" y="1360"/>
   </points>
   <output>HOLD4</output>
   <input>LOGGER1</input>
   <outputID>0</outputID>
   <inputID>0</inputID>
  </wire>
 </wire>
</e2000>
