<?xml version="1.0" encoding="ISO-8859-1"?>
<!DOCTYPE functionblock [
   <!ELEMENT enum_definition ANY>
   <!ATTLIST enum_definition id ID #REQUIRED
                  typeid CDATA "_0x0"
                  name CDATA ""
                  note CDATA ""
                  udf CDATA "">
   <!ELEMENT enum_value ANY>
   <!ATTLIST enum_value id ID #REQUIRED
                  typeid CDATA "_0x0"
                  name CDATA ""
                  note CDATA ""
                  index CDATA "0"
                  udf CDATA "">
   <!ELEMENT functionblock ANY>
   <!ATTLIST functionblock id ID #REQUIRED
                  name CDATA ""
                  master_schneider_electric (yes | no) "no"
                  master_type CDATA ""
                  master_version CDATA ""
                  master_name CDATA ""
                  master_programmer CDATA ""
                  master_date_year CDATA "0"
                  master_date_month CDATA "0"
                  master_date_day CDATA "0"
                  locked (yes | no) "no"
                  icon CDATA "_0x0"
                  note CDATA ""
                  helpfile CDATA ""
                  udf CDATA "">
   <!ELEMENT inputs ANY>
   <!ATTLIST inputs id ID #REQUIRED
                  name CDATA ""
                  icon CDATA "_0x0"
                  note CDATA ""
                  udf CDATA "">
   <!ELEMENT resource_input ANY>
   <!ATTLIST resource_input id ID #REQUIRED
                  name CDATA ""
                  backup (yes | no) "no"
                  icon CDATA "_0x0"
                  note CDATA ""
                  inivalue (on | off) "off"
                  accessibility (read | write | read-write) "read-write"
                  note-2 CDATA ""
                  udf CDATA "">
   <!ELEMENT outputs ANY>
   <!ATTLIST outputs id ID #REQUIRED
                  name CDATA ""
                  icon CDATA "_0x0"
                  note CDATA ""
                  udf CDATA "">
   <!ELEMENT resource_scene ANY>
   <!ATTLIST resource_scene id ID #REQUIRED
                  name CDATA ""
                  note CDATA ""
                  icon CDATA "_0x89"
                  hide_dialog (yes | no) "no"
                  note-2 CDATA ""
                  udf CDATA "">
   <!ELEMENT scene_link ANY>
   <!ATTLIST scene_link id ID #REQUIRED
                  name CDATA ""
                  icon CDATA "_0x0"
                  note CDATA ""
                  link IDREF #REQUIRED
                  udf CDATA "">
   <!ELEMENT resource_output ANY>
   <!ATTLIST resource_output id ID #REQUIRED
                  name CDATA ""
                  backup (yes | no) "no"
                  icon CDATA "_0x0"
                  note CDATA ""
                  inivalue (on | off) "off"
                  accessibility (read | write | read-write) "read-write"
                  note-2 CDATA ""
                  udf CDATA "">
   <!ELEMENT settings ANY>
   <!ATTLIST settings id ID #REQUIRED
                  name CDATA ""
                  icon CDATA "_0x0"
                  note CDATA ""
                  udf CDATA "">
   <!ELEMENT resource_timertime ANY>
   <!ATTLIST resource_timertime id ID #REQUIRED
                  name CDATA ""
                  backup (yes | no) "no"
                  icon CDATA "_0x0"
                  note CDATA ""
                  hour CDATA #REQUIRED
                  minute CDATA #REQUIRED
                  second CDATA #REQUIRED
                  millisecond CDATA #REQUIRED
                  note-2 CDATA ""
                  udf CDATA "">
   <!ELEMENT resource_timer ANY>
   <!ATTLIST resource_timer id ID #REQUIRED
                  name CDATA ""
                  backup (yes | no) "no"
                  icon CDATA "_0x0"
                  note CDATA ""
                  hour CDATA #REQUIRED
                  minute CDATA #REQUIRED
                  second CDATA #REQUIRED
                  millisecond CDATA #REQUIRED
                  note-2 CDATA ""
                  udf CDATA "">
   <!ELEMENT resource_enum ANY>
   <!ATTLIST resource_enum id ID #REQUIRED
                  name CDATA ""
                  typedef IDREF #REQUIRED
                  inivalue IDREF #REQUIRED
                  backup (yes | no) "no"
                  icon CDATA "_0x0"
                  note CDATA ""
                  accessibility (read | write | read-write) "read-write"
                  note-2 CDATA ""
                  udf CDATA "">
   <!ELEMENT resource_time ANY>
   <!ATTLIST resource_time id ID #REQUIRED
                  name CDATA ""
                  backup (yes | no) "no"
                  icon CDATA "_0x0"
                  note CDATA ""
                  hour CDATA #REQUIRED
                  minute CDATA #REQUIRED
                  second CDATA #REQUIRED
                  note-2 CDATA ""
                  udf CDATA "">
   <!ELEMENT internalsettings ANY>
   <!ATTLIST internalsettings id ID #REQUIRED
                  name CDATA ""
                  icon CDATA "_0x0"
                  note CDATA ""
                  udf CDATA "">
   <!ELEMENT resource_flag ANY>
   <!ATTLIST resource_flag id ID #REQUIRED
                  name CDATA ""
                  backup (yes | no) "no"
                  icon CDATA "_0x0"
                  note CDATA ""
                  inivalue (on | off) "off"
                  accessibility (read | write | read-write) "read-write"
                  note-2 CDATA ""
                  udf CDATA "">
   <!ELEMENT programs ANY>
   <!ATTLIST programs id ID #REQUIRED
                  name CDATA ""
                  icon CDATA "_0x0"
                  note CDATA ""
                  udf CDATA "">
   <!ELEMENT program_simple ANY>
   <!ATTLIST program_simple id ID #REQUIRED
                  name CDATA ""
                  icon CDATA "_0x0"
                  note CDATA ""
                  udf CDATA "">
   <!ELEMENT events ANY>
   <!ATTLIST events id ID #REQUIRED
                  name CDATA ""
                  icon CDATA "_0x0"
                  note CDATA ""
                  udf CDATA "">
   <!ELEMENT event ANY>
   <!ATTLIST event id ID #REQUIRED
                  name CDATA ""
                  icon CDATA "_0x0"
                  note CDATA ""
                  link1 IDREF #IMPLIED
                  link2 IDREF #IMPLIED
                  method CDATA "_0x0"
                  udf CDATA "">
   <!ELEMENT actions ANY>
   <!ATTLIST actions id ID #REQUIRED
                  name CDATA ""
                  icon CDATA "_0x0"
                  note CDATA ""
                  type CDATA "_0x0"
                  udf CDATA "">
   <!ELEMENT program_sub ANY>
   <!ATTLIST program_sub id ID #REQUIRED
                  name CDATA ""
                  icon CDATA "_0x0"
                  note CDATA ""
                  udf CDATA "">
   <!ELEMENT conditions ANY>
   <!ATTLIST conditions id ID #REQUIRED
                  name CDATA ""
                  icon CDATA "_0x0"
                  note CDATA ""
                  type (and | or) "and"
                  udf CDATA "">
   <!ELEMENT condition ANY>
   <!ATTLIST condition id ID #REQUIRED
                  name CDATA ""
                  icon CDATA "_0x0"
                  note CDATA ""
                  link1 IDREF #IMPLIED
                  link2 IDREF #IMPLIED
                  method CDATA "_0x0"
                  udf CDATA "">
   <!ELEMENT action ANY>
   <!ATTLIST action id ID #REQUIRED
                  name CDATA ""
                  icon CDATA "_0x0"
                  note CDATA ""
                  link1 IDREF #IMPLIED
                  link2 IDREF #IMPLIED
                  method CDATA "_0x0"
                  udf CDATA "">
   <!ELEMENT event_power ANY>
   <!ATTLIST event_power id ID #REQUIRED
                  name CDATA ""
                  icon CDATA "_0x0"
                  note CDATA ""
                  type (up | down) "up"
                  udf CDATA "">
]>
<functionblock id="_0x5128" name="Michael" master_name="Michael" master_programmer="Henning Pedersen" master_date_year="2017" master_date_month="10" master_date_day="20" locked="yes" icon="_0x10" note="Kort tryk på Touch kipper lyset, langt tryk regulerer lyset op/ned, hvis lyset tændes via kort tryk spærres automatisk slukning via PIR&#xD;&#xA;PIR tænder på 2 niveauer afhængigt af indgang UR, men kun hvis det er mørkt.&#xD;&#xA;Lyset kan slukkes via ?Sluk alt?, ?Godnat? osv.&#xD;&#xA;Blokken kan indstilles til om spærringen af PIR skal afstilles automatisk og efter hvor lang tid.">
   <enum_definition id="_0x5247" name="Sidste retning">
      <enum_value id="_0x5348" name="Op"/>
      <enum_value id="_0x5448" name="Ned" index="1"/>
   </enum_definition>
   <enum_definition id="_0x5547" name="Ja/Nej">
      <enum_value id="_0x5648" name="Ja"/>
      <enum_value id="_0x5748" name="Nej" index="1"/>
   </enum_definition>
      <inputs id="_0x5823" name="Input" icon="_0x4" note="Variablene i denne gruppering er input til funktionsblokken">
         <resource_input id="_0x5911" name="Touch" icon="_0x36" note="Kort tryk tænder/slukker lyset, hvis lyset tændes spærres PIR&#xD;&#xA;Langt tryk regulerer lyset op/ned"/>
         <resource_input id="_0x5a11" name="Skumring" icon="_0x36"/>
         <resource_input id="_0x5b11" name="PIR" icon="_0x36" note="Tænder lyset på to forskellige niveauer alt efter om indgang for UR er On eller Off"/>
         <resource_input id="_0x5c11" name="UR" icon="_0x36" note="Hvis indgangen er On tænder PIR lyset på niveau 1&#xD;&#xA;ved Off tændes på niveau 2"/>
         <resource_input id="_0x5d11" name="Sluk lyset" icon="_0x36" note="Slukker lyset og resetter en evt spærring"/>
         <resource_input id="_0x5e11" name="Tilbagemelding" icon="_0x36" note="Skal forbindes til lysindikering fra lysdæmper"/>
      </inputs>
      <outputs id="_0x5f24" name="Output" icon="_0x14" note="Variablene i denne gruppering er output fra funktionsblokken">
         <resource_scene id="_0x604a" name="PIR Scenarie 1 med ur = On">
         </resource_scene>
         <resource_scene id="_0x614a" name="PIR Scenarie 2 med ur = Off">
         </resource_scene>
         <resource_scene id="_0x624a" name="Scenarie ved manuel tænding">
         </resource_scene>
         <resource_scene id="_0x634a" name="Scenarie Sluk">
         </resource_scene>
         <resource_output id="_0x6412" name="Manuelt betjent" icon="_0x39"/>
      </outputs>
      <settings id="_0x6525" name="Indstillinger" icon="_0xd" note="Variablene i denne gruppering er indstillinger til funktionsblokken">
         <resource_timertime id="_0xff17" name="Autosluk efter" backup="yes" icon="_0x4d" hour="0" minute="2" second="0" millisecond="0"/>
         <resource_timer id="_0x6610" name="Lyset slukkes automatisk om" icon="_0x43" hour="0" minute="0" second="0" millisecond="0"/>
         <resource_enum id="_0x670f" name="Ønskes autoreset af manuel betjening" typedef="_0x5547" inivalue="_0x5748" backup="yes" icon="_0x22" note="Hvis ja så resettes manuelt betjening efter den tid der er spcificeret i &quot;Tid inden reset af manuelt&quot; og lyset slukkes"/>
         <resource_time id="_0x680d" name="Tid inden autoreset af manuel betjening" icon="_0x2f" hour="1" minute="0" second="0"/>
      </settings>
      <internalsettings id="_0x6929" name="Interne variable" icon="_0x13" note="Variablene i denne gruppe er private variable til funktionsblokken">
         <resource_enum id="_0x6a0f" name="Sidste retning" typedef="_0x5247" inivalue="_0x5448" icon="_0x22"/>
         <resource_timer id="_0x6b10" name="- langt tryk" icon="_0x43" hour="0" minute="0" second="0" millisecond="400"/>
         <resource_time id="_0x6c0d" name="- tidspunkt for reset af manuelt" icon="_0x2f" hour="0" minute="0" second="0"/>
         <resource_time id="_0x6d0d" name="- autoreset af manuelt" icon="_0x2f" hour="0" minute="0" second="0"/>
         <resource_flag id="_0x6e0a" name="- sluk pga. autoreset" icon="_0x33"/>
      </internalsettings>
      <programs id="_0x6f26" name="Programmer" icon="_0x19" note="Gruppering af funktionblokkens programmer">
         <program_simple id="_0x701e" name="Touch ændres" icon="_0x7">
            <events id="_0x7164" name="Hændelser" icon="_0xb" note="Hændelser som starter program">
               <event id="_0x72c8" name="%P bliver ændret" icon="_0xc" note="Start program når %P skifter værdi" link1="_0x5911" method="_0x96"/>
            </events>
            <actions id="_0x7366" name="Kommandoer" icon="_0x8" note="Gruppering af kommandoer som udføres når hændelse er indtruffet" type="_0x2">
               <program_sub id="_0x741f" name="Under program" icon="_0x7">
                  <conditions id="_0x7565" name="Betingelser" icon="_0x16" note="Gruppering af betingelser til logisk test">
                     <condition id="_0x76c9" name="%P = ON" icon="_0x1a" note="Betingelse at %P er ON" link1="_0x5911" method="_0xa"/>
                  </conditions>
                  <actions id="_0x7766" name="Kommandoer ved betingelser sande" icon="_0x8" note="Gruppering af kommandoer som udføres når betingelser er sande" type="_0x1">
                     <action id="_0x78ca" name="Aktiver nedtælling på %P med initial værdi" icon="_0x9" note="Aktiver nedtælling på %P med initial værdi" link1="_0x6b10" method="_0xbe"/>
                  </actions>
                  <actions id="_0x7966" name="Kommandoer ved betingelser falske" icon="_0x8" note="Gruppering af kommandoer som udføres når betingelser er falske">
                     <program_sub id="_0x7a1f" name="Under program" icon="_0x7">
                        <conditions id="_0x7b65" name="Betingelser" icon="_0x16" note="Gruppering af betingelser til logisk test">
                           <condition id="_0x7cc9" name="%P tæller ned" icon="_0x1a" note="Betingelse at %P er aktiveret til at tælle ned" link1="_0x6b10" method="_0xd2"/>
                        </conditions>
                        <actions id="_0x7d66" name="Kommandoer ved betingelser sande" icon="_0x8" note="Gruppering af kommandoer som udføres når betingelser er sande" type="_0x1">
                           <action id="_0x7eca" name="Stands tælling på %P" icon="_0x9" note="Standser evt. igangværende optælling eller nedtælling på %P" link1="_0x6b10" method="_0xdc"/>
                           <program_sub id="_0x7f1f" name="Under program" icon="_0x7">
                              <conditions id="_0x8065" name="Betingelser" icon="_0x16" note="Gruppering af betingelser til logisk test">
                                 <condition id="_0x81c9" name="%P = ON" icon="_0x1a" note="Betingelse at %P er ON" link1="_0x5e11" method="_0xa"/>
                              </conditions>
                              <actions id="_0x8266" name="Kommandoer ved betingelser sande" icon="_0x8" note="Gruppering af kommandoer som udføres når betingelser er sande" type="_0x1">
                                 <action id="_0x83ca" name="Fremkald %P" icon="_0x9" note="Aktiver scenarie" link1="_0x634a" method="_0xa"/>
                                 <action id="_0x84ca" name="%P = OFF" icon="_0x9" note="Sætter %P til OFF" link1="_0x5e11" method="_0x14"/>
                                 <action id="_0x85ca" name="%P = %S" icon="_0x9" note="Sætter %P til samme tilstand som %S" link1="_0x6a0f" link2="_0x860f" method="_0x1e">
                                    <resource_enum id="_0x860f" name="Enumerator" typedef="_0x5247" inivalue="_0x5448" icon="_0x22"/>
                                 </action>
                                 <action id="_0x87ca" name="%P = OFF" icon="_0x9" note="Sætter %P til OFF" link1="_0x6412" method="_0x14"/>
                                 <action id="_0x88ca" name="Stands tælling på %P" icon="_0x9" note="Standser evt. igangværende optælling eller nedtælling på %P" link1="_0x6610" method="_0xdc"/>
                              </actions>
                              <actions id="_0x8966" name="Kommandoer ved betingelser falske" icon="_0x8" note="Gruppering af kommandoer som udføres når betingelser er falske">
                                 <action id="_0x8aca" name="Fremkald %P" icon="_0x9" note="Aktiver scenarie" link1="_0x624a" method="_0xa"/>
                                 <action id="_0x8bca" name="%P = ON" icon="_0x9" note="Sætter %P til ON" link1="_0x5e11" method="_0xa"/>
                                 <action id="_0x8cca" name="%P = %S" icon="_0x9" note="Sætter %P til samme tilstand som %S" link1="_0x6a0f" link2="_0x8d0f" method="_0x1e">
                                    <resource_enum id="_0x8d0f" name="Enumerator" typedef="_0x5247" inivalue="_0x5348" icon="_0x22"/>
                                 </action>
                                 <action id="_0x8eca" name="%P = ON" icon="_0x9" note="Sætter %P til ON" link1="_0x6412" method="_0xa"/>
                              </actions>
                           </program_sub>
                        </actions>
                        <actions id="_0x8f66" name="Kommandoer ved betingelser falske" icon="_0x8" note="Gruppering af kommandoer som udføres når betingelser er falske">
                           <action id="_0x90ca" name="Stop regulering af %P" icon="_0x9" note="Stop regulering af lysniveauet for scenariet" link1="_0x624a" method="_0x46"/>
                        </actions>
                     </program_sub>
                  </actions>
               </program_sub>
            </actions>
         </program_simple>
         <program_simple id="_0x911e" name="Langt tryk" icon="_0x7">
            <events id="_0x9264" name="Hændelser" icon="_0xb" note="Hændelser som starter program">
               <event id="_0x93c8" name="%P -&gt; 0" icon="_0xc" note="Start program når %P skifter til 0" link1="_0x6b10" method="_0xa"/>
            </events>
            <actions id="_0x9466" name="Kommandoer" icon="_0x8" note="Gruppering af kommandoer som udføres når hændelse er indtruffet" type="_0x2">
               <program_sub id="_0x951f" name="Under program" icon="_0x7">
                  <conditions id="_0x9665" name="Betingelser" icon="_0x16" note="Gruppering af betingelser til logisk test">
                     <condition id="_0x97c9" name="%P = %S" icon="_0x1a" note="Betingelse at %P er samme som %S" link1="_0x6a0f" link2="_0x980f" method="_0x1e">
                        <resource_enum id="_0x980f" name="Enumerator" typedef="_0x5247" inivalue="_0x5448" icon="_0x22"/>
                     </condition>
                  </conditions>
                  <actions id="_0x9966" name="Kommandoer ved betingelser sande" icon="_0x8" note="Gruppering af kommandoer som udføres når betingelser er sande" type="_0x1">
                     <action id="_0x9aca" name="Regulér %P op" icon="_0x9" note="Regulér lysniveauet op for scenariet" link1="_0x624a" method="_0x32"/>
                     <action id="_0x9bca" name="%P = %S" icon="_0x9" note="Sætter %P til samme tilstand som %S" link1="_0x6a0f" link2="_0x9c0f" method="_0x1e">
                        <resource_enum id="_0x9c0f" name="Enumerator" typedef="_0x5247" inivalue="_0x5348" icon="_0x22"/>
                     </action>
                     <action id="_0x9dca" name="%P = ON" icon="_0x9" note="Sætter %P til ON" link1="_0x5e11" method="_0xa"/>
                  </actions>
                  <actions id="_0x9e66" name="Kommandoer ved betingelser falske" icon="_0x8" note="Gruppering af kommandoer som udføres når betingelser er falske">
                     <action id="_0x9fca" name="Regulér %P ned" icon="_0x9" note="Regulér lysniveauet ned for scenariet" link1="_0x624a" method="_0x3c"/>
                     <action id="_0xa0ca" name="%P = %S" icon="_0x9" note="Sætter %P til samme tilstand som %S" link1="_0x6a0f" link2="_0xa10f" method="_0x1e">
                        <resource_enum id="_0xa10f" name="Enumerator" typedef="_0x5247" inivalue="_0x5448" icon="_0x22"/>
                     </action>
                  </actions>
               </program_sub>
            </actions>
         </program_simple>
         <program_simple id="_0xa21e" name="PIR" icon="_0x7">
            <events id="_0xa364" name="Hændelser" icon="_0xb" note="Hændelser som starter program">
               <event id="_0xa4c8" name="%P bliver ændret" icon="_0xc" note="Start program når %P skifter værdi" link1="_0x5b11" method="_0x96"/>
            </events>
            <actions id="_0xa566" name="Kommandoer" icon="_0x8" note="Gruppering af kommandoer som udføres når hændelse er indtruffet" type="_0x2">
               <program_sub id="_0xa61f" name="Under program" icon="_0x7">
                  <conditions id="_0xa765" name="Betingelser" icon="_0x16" note="Gruppering af betingelser til logisk test">
                     <condition id="_0xa8c9" name="%P = ON" icon="_0x1a" note="Betingelse at %P er ON" link1="_0x5b11" method="_0xa"/>
                  </conditions>
                  <actions id="_0xa966" name="Kommandoer ved betingelser sande" icon="_0x8" note="Gruppering af kommandoer som udføres når betingelser er sande" type="_0x1">
                     <action id="_0xaaca" name="Stands tælling på %P" icon="_0x9" note="Standser evt. igangværende optælling eller nedtælling på %P" link1="_0x6610" method="_0xdc"/>
                     <program_sub id="_0xab1f" name="Under program" icon="_0x7">
                        <conditions id="_0xac65" name="Betingelser" icon="_0x16" note="Gruppering af betingelser til logisk test">
                           <condition id="_0xadc9" name="%P = ON" icon="_0x1a" note="Betingelse at %P er ON" link1="_0x5a11" method="_0xa"/>
                           <condition id="_0xaec9" name="%P = OFF" icon="_0x1a" note="Betingelse at %P er OFF" link1="_0x5e11" method="_0x14"/>
                        </conditions>
                        <actions id="_0xaf66" name="Kommandoer ved betingelser sande" icon="_0x8" note="Gruppering af kommandoer som udføres når betingelser er sande" type="_0x1">
                           <program_sub id="_0xb01f" name="Under program" icon="_0x7">
                              <conditions id="_0xb165" name="Betingelser" icon="_0x16" note="Gruppering af betingelser til logisk test">
                                 <condition id="_0xb2c9" name="%P = ON" icon="_0x1a" note="Betingelse at %P er ON" link1="_0x5c11" method="_0xa"/>
                              </conditions>
                              <actions id="_0xb366" name="Kommandoer ved betingelser sande" icon="_0x8" note="Gruppering af kommandoer som udføres når betingelser er sande" type="_0x1">
                                 <action id="_0xb4ca" name="Fremkald %P" icon="_0x9" note="Aktiver scenarie" link1="_0x604a" method="_0xa"/>
                              </actions>
                              <actions id="_0xb566" name="Kommandoer ved betingelser falske" icon="_0x8" note="Gruppering af kommandoer som udføres når betingelser er falske">
                                 <action id="_0xb6ca" name="Fremkald %P" icon="_0x9" note="Aktiver scenarie" link1="_0x614a" method="_0xa"/>
                              </actions>
                           </program_sub>
                           <action id="_0xb7ca" name="%P = ON" icon="_0x9" note="Sætter %P til ON" link1="_0x5e11" method="_0xa"/>
                        </actions>
                        <actions id="_0xb866" name="Kommandoer ved betingelser falske" icon="_0x8" note="Gruppering af kommandoer som udføres når betingelser er falske"/>
                     </program_sub>
                  </actions>
                  <actions id="_0xb966" name="Kommandoer ved betingelser falske" icon="_0x8" note="Gruppering af kommandoer som udføres når betingelser er falske">
                     <action id="_0x100ca" name="%P = %S" icon="_0x9" note="Sætter %P til samme værdi som %S" link1="_0x6610" link2="_0xff17" method="_0x1e"/>
                     <action id="_0x101ca" name="Aktiver nedtælling på %P" icon="_0x9" note="Aktiver nedtælling på %P" link1="_0x6610" method="_0xd2"/>
                  </actions>
               </program_sub>
            </actions>
         </program_simple>
         <program_simple id="_0xbb1e" name="PIR timer -&gt; 0" icon="_0x7">
            <events id="_0xbc64" name="Hændelser" icon="_0xb" note="Hændelser som starter program">
               <event id="_0xbdc8" name="%P -&gt; 0" icon="_0xc" note="Start program når %P skifter til 0" link1="_0x6610" method="_0xa"/>
            </events>
            <actions id="_0xbe66" name="Kommandoer" icon="_0x8" note="Gruppering af kommandoer som udføres når hændelse er indtruffet" type="_0x2">
               <program_sub id="_0xbf1f" name="Under program" icon="_0x7">
                  <conditions id="_0xc065" name="Betingelser" icon="_0x16" note="Gruppering af betingelser til logisk test">
                     <condition id="_0xc1c9" name="%P = OFF" icon="_0x1a" note="Betingelse at %P er OFF" link1="_0x6412" method="_0x14"/>
                  </conditions>
                  <actions id="_0xc266" name="Kommandoer ved betingelser sande" icon="_0x8" note="Gruppering af kommandoer som udføres når betingelser er sande" type="_0x1">
                     <action id="_0xc3ca" name="Fremkald %P" icon="_0x9" note="Aktiver scenarie" link1="_0x634a" method="_0xa"/>
                     <action id="_0xc4ca" name="%P = %S" icon="_0x9" note="Sætter %P til samme tilstand som %S" link1="_0x6a0f" link2="_0xc50f" method="_0x1e">
                        <resource_enum id="_0xc50f" name="Enumerator" typedef="_0x5247" inivalue="_0x5448" icon="_0x22"/>
                     </action>
                     <action id="_0xc6ca" name="%P = OFF" icon="_0x9" note="Sætter %P til OFF" link1="_0x5e11" method="_0x14"/>
                  </actions>
                  <actions id="_0xc766" name="Kommandoer ved betingelser falske" icon="_0x8" note="Gruppering af kommandoer som udføres når betingelser er falske"/>
               </program_sub>
            </actions>
         </program_simple>
         <program_simple id="_0xc81e" name="Manuelt betjent -&gt; On" icon="_0x7">
            <events id="_0xc964" name="Hændelser" icon="_0xb" note="Hændelser som starter program">
               <event id="_0xcac8" name="%P bliver ændret" icon="_0xc" note="Start program når %P skifter værdi" link1="_0x6412" method="_0x96"/>
               <event id="_0xcbc8" name="%P skifter tilstand" icon="_0xc" note="Start program når %P skifter tilstand" link1="_0x670f" method="_0x96"/>
            </events>
            <actions id="_0xcc66" name="Kommandoer" icon="_0x8" note="Gruppering af kommandoer som udføres når hændelse er indtruffet" type="_0x2">
               <program_sub id="_0xcd1f" name="Under program" icon="_0x7">
                  <conditions id="_0xce65" name="Betingelser" icon="_0x16" note="Gruppering af betingelser til logisk test">
                     <condition id="_0xcfc9" name="%P = ON" icon="_0x1a" note="Betingelse at %P er ON" link1="_0x6412" method="_0xa"/>
                     <condition id="_0xd0c9" name="%P = %S" icon="_0x1a" note="Betingelse at %P er samme som %S" link1="_0x670f" link2="_0xd10f" method="_0x1e">
                        <resource_enum id="_0xd10f" name="Enumerator" typedef="_0x5547" inivalue="_0x5648" icon="_0x22"/>
                     </condition>
                  </conditions>
                  <actions id="_0xd266" name="Kommandoer ved betingelser sande" icon="_0x8" note="Gruppering af kommandoer som udføres når betingelser er sande" type="_0x1">
                     <action id="_0xd3ca" name="%P = Systemtid" icon="_0x9" note="Sætter %P til System tid" link1="_0x6d0d" method="_0xa"/>
                     <action id="_0xd4ca" name="%P = %P + %S" icon="_0x9" note="Sætter %P til sin egen værdi plus %S" link1="_0x6d0d" link2="_0x680d" method="_0x5a"/>
                     <action id="_0xd5ca" name="%P = %S" icon="_0x9" note="Sætter %P til samme værdi som %S" link1="_0x6c0d" link2="_0x6d0d" method="_0x1e"/>
                  </actions>
                  <actions id="_0xd666" name="Kommandoer ved betingelser falske" icon="_0x8" note="Gruppering af kommandoer som udføres når betingelser er falske"/>
               </program_sub>
            </actions>
         </program_simple>
         <program_simple id="_0xd71e" name="Systemtid = - tidspunkt for reset af manuelt" icon="_0x7">
            <events id="_0xd864" name="Hændelser" icon="_0xb" note="Hændelser som starter program">
               <event id="_0xd9c8" name="System tid -&gt; %P" icon="_0xc" note="Start program når System tid skifter til %P" link1="_0x6c0d" method="_0xa"/>
            </events>
            <actions id="_0xda66" name="Kommandoer" icon="_0x8" note="Gruppering af kommandoer som udføres når hændelse er indtruffet" type="_0x2">
               <program_sub id="_0xdb1f" name="Under program" icon="_0x7">
                  <conditions id="_0xdc65" name="Betingelser" icon="_0x16" note="Gruppering af betingelser til logisk test">
                     <condition id="_0xddc9" name="%P = %S" icon="_0x1a" note="Betingelse at %P er samme som %S" link1="_0x670f" link2="_0xde0f" method="_0x1e">
                        <resource_enum id="_0xde0f" name="Enumerator" typedef="_0x5547" inivalue="_0x5648" icon="_0x22"/>
                     </condition>
                  </conditions>
                  <actions id="_0xdf66" name="Kommandoer ved betingelser sande" icon="_0x8" note="Gruppering af kommandoer som udføres når betingelser er sande" type="_0x1">
                     <action id="_0xe0ca" name="%P = ON" icon="_0x9" note="Sætter %P til ON" link1="_0x6e0a" method="_0xa"/>
                  </actions>
                  <actions id="_0xe166" name="Kommandoer ved betingelser falske" icon="_0x8" note="Gruppering af kommandoer som udføres når betingelser er falske"/>
               </program_sub>
            </actions>
         </program_simple>
         <program_simple id="_0xe21e" name="Sluk" icon="_0x7">
            <events id="_0xe364" name="Hændelser" icon="_0xb" note="Hændelser som starter program">
               <event_power id="_0xe4c8" name="Powerup" icon="_0xc" note="Start program ved Powerup"/>
               <event id="_0xe5c8" name="%P -&gt; ON" icon="_0xc" note="Start program når %P skifter til ON" link1="_0x5d11" method="_0xa"/>
               <event id="_0xe6c8" name="%P -&gt; ON" icon="_0xc" note="Start program når %P skifter til ON" link1="_0x6e0a" method="_0xa"/>
            </events>
            <actions id="_0xe766" name="Kommandoer" icon="_0x8" note="Gruppering af kommandoer som udføres når hændelse er indtruffet" type="_0x2">
               <action id="_0xe8ca" name="Fremkald %P" icon="_0x9" note="Aktiver scenarie" link1="_0x634a" method="_0xa"/>
               <action id="_0xe9ca" name="Stands tælling på %P" icon="_0x9" note="Standser evt. igangværende optælling eller nedtælling på %P" link1="_0x6610" method="_0xdc"/>
               <action id="_0xeaca" name="%P = OFF" icon="_0x9" note="Sætter %P til OFF" link1="_0x5e11" method="_0x14"/>
               <action id="_0xebca" name="%P = OFF" icon="_0x9" note="Sætter %P til OFF" link1="_0x6e0a" method="_0x14"/>
               <action id="_0xecca" name="%P = OFF" icon="_0x9" note="Sætter %P til OFF" link1="_0x6412" method="_0x14"/>
               <action id="_0xedca" name="%P = %S" icon="_0x9" note="Sætter %P til samme tilstand som %S" link1="_0x6a0f" link2="_0xee0f" method="_0x1e">
                  <resource_enum id="_0xee0f" name="Enumerator" typedef="_0x5247" inivalue="_0x5448" icon="_0x22"/>
               </action>
            </actions>
         </program_simple>
         <program_simple id="_0xef1e" name="Skumring -&gt; Off" icon="_0x7">
            <events id="_0xf064" name="Hændelser" icon="_0xb" note="Hændelser som starter program">
               <event id="_0xf1c8" name="%P -&gt; OFF" icon="_0xc" note="Start program når %P skifter til OFF" link1="_0x5a11" method="_0x14"/>
            </events>
            <actions id="_0xf266" name="Kommandoer" icon="_0x8" note="Gruppering af kommandoer som udføres når hændelse er indtruffet" type="_0x2">
               <program_sub id="_0xf31f" name="Under program" icon="_0x7">
                  <conditions id="_0xf465" name="Betingelser" icon="_0x16" note="Gruppering af betingelser til logisk test">
                     <condition id="_0xf5c9" name="%P = OFF" icon="_0x1a" note="Betingelse at %P er OFF" link1="_0x6412" method="_0x14"/>
                     <condition id="_0xf6c9" name="%P = ON" icon="_0x1a" note="Betingelse at %P er ON" link1="_0x5e11" method="_0xa"/>
                  </conditions>
                  <actions id="_0xf766" name="Kommandoer ved betingelser sande" icon="_0x8" note="Gruppering af kommandoer som udføres når betingelser er sande" type="_0x1">
                     <program_sub id="_0xf81f" name="Under program" icon="_0x7">
                        <conditions id="_0xf965" name="Betingelser" icon="_0x16" note="Gruppering af betingelser til logisk test">
                           <condition id="_0xfac9" name="%P stoppet" icon="_0x1a" note="Betingelse at %P er stoppet" link1="_0x6610" method="_0xdc"/>
                        </conditions>
                        <actions id="_0xfb66" name="Kommandoer ved betingelser sande" icon="_0x8" note="Gruppering af kommandoer som udføres når betingelser er sande" type="_0x1">
                           <action id="_0x102ca" name="%P = %S" icon="_0x9" note="Sætter %P til samme værdi som %S" link1="_0x6610" link2="_0xff17" method="_0x1e"/>
                           <action id="_0x103ca" name="Aktiver nedtælling på %P" icon="_0x9" note="Aktiver nedtælling på %P" link1="_0x6610" method="_0xd2"/>
                        </actions>
                        <actions id="_0xfd66" name="Kommandoer ved betingelser falske" icon="_0x8" note="Gruppering af kommandoer som udføres når betingelser er falske"/>
                     </program_sub>
                  </actions>
                  <actions id="_0xfe66" name="Kommandoer ved betingelser falske" icon="_0x8" note="Gruppering af kommandoer som udføres når betingelser er falske"/>
               </program_sub>
            </actions>
         </program_simple>
      </programs>
</functionblock>
