<?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 link_to_resource ANY>
   <!ATTLIST link_to_resource id ID #REQUIRED
                  name CDATA ""
                  icon CDATA "_0x0"
                  note CDATA ""
                  link IDREF #REQUIRED
                  udf CDATA "">
   <!ELEMENT outputs ANY>
   <!ATTLIST outputs id ID #REQUIRED
                  name CDATA ""
                  icon CDATA "_0x0"
                  note CDATA ""
                  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 link_from_resource ANY>
   <!ATTLIST link_from_resource id ID #REQUIRED
                  name CDATA ""
                  icon CDATA "_0x0"
                  note CDATA ""
                  link IDREF #REQUIRED
                  udf CDATA "">
   <!ELEMENT settings ANY>
   <!ATTLIST settings id ID #REQUIRED
                  name CDATA ""
                  icon CDATA "_0x0"
                  note 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 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 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 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 "">
]>
<functionblock id="_0x171c828" name="7.07 FB til Schneider STD400LED+ med PIR og mulighed for skumringsrelæ" master_name="7.07 FB til Schneider STD400LED+ med PIR og mulighed for skumringsrelæ" master_programmer="Jesper" master_date_year="2017" master_date_month="11" master_date_day="28" locked="yes" icon="_0x10" note="7.07 FB til Schneider STD400LED+ med PIR og mulighed for skumringsrelæ&#xD;&#xA;&#xD;&#xA;Med PIR og ur, aktivering af mem1 (25% standard) ved ur aktiveret, og aktivering af mem 2 (75% standard) ved ur deaktiveret.&#xD;&#xA;Ved tryk på tænd, tændes lyset på 100% (standard)">
   <enum_definition id="_0x5047" name="JaNej">
      <enum_value id="_0x5148" name="Nej"/>
      <enum_value id="_0x5248" name="Ja" index="1"/>
   </enum_definition>
      <inputs id="_0x171cc23" name="Input" icon="_0x4" note="Variablene i denne gruppering er input til funktionsblokken">
         <resource_input id="_0x171cd11" name="Tænd/sluk - reg. op/ned" icon="_0x36" note="Forbindes til afbryder">
         </resource_input>
         <resource_input id="_0x171ce11" name="PIR/tryk" icon="_0x36" note="Forbinde til PIR eller fryk, for aktivering af mem1 og mem2">
         </resource_input>
         <resource_input id="_0x171cf11" name="Ur" icon="_0x36" note="Forbindes til ur.">
         </resource_input>
         <resource_input id="_0x171d011" name="Skumringsrelæ" icon="_0x36" note="Forbindes til skumringsrelæ.">
         </resource_input>
         <resource_input id="_0x171d111" name="Sluk alt" icon="_0x36" note="Forbindes til &quot;Sluk alt&quot; i Rum funktionsblok">
         </resource_input>
      </inputs>
      <outputs id="_0x171d224" name="Output" icon="_0x14" note="Variablene i denne gruppering er output fra funktionsblokken">
         <resource_output id="_0x171d312" name="Udgang for tænd/sluk - reg. op/ned" icon="_0x39" note="Udgang for tænd/sluk/reguler på lysdæmper.">
         </resource_output>
         <resource_output id="_0x171d412" name="Udgang mem 1 (Nat/lav)" icon="_0x39" note="Udgang for nat/lav lysstyrke på lysdæmper.">
         </resource_output>
         <resource_output id="_0x171d512" name="Udgang mem 2 (Dag/høj)" icon="_0x39" note="Udgang for dag/høj lysstyrke på lysdæmper.">
         </resource_output>
         <resource_output id="_0x171d612" name="Lysdæmper status" icon="_0x39" note="Status for lysdæmper."/>
      </outputs>
      <settings id="_0x171d725" name="Indstillinger" icon="_0xd" note="Variablene i denne gruppering er indstillinger til funktionsblokken">
         <resource_timer id="_0x171d810" name="Pir timer" icon="_0x43" note="Timer for PIR. Der tid der går fra registrering til lyset slukker automatisk." hour="0" minute="1" second="30" millisecond="0"/>
         <resource_enum id="_0x171d90f" name="Brug skumringsrelæ" typedef="_0x5047" inivalue="_0x5148" icon="_0x22" note="Stilles til &quot;Ja&quot;, hvis der bliver benyttet skumringsrelæ til dæmperen."/>
         <resource_timer id="_0x171da10" name="Spærings tid" icon="_0x43" note="Den tid der er mellem tryk på sluk og aktiveringen af PIR er mulig." hour="0" minute="0" second="2" millisecond="0"/>
      </settings>
      <internalsettings id="_0x171db29" name="Interne variable" icon="_0x13" note="Variablene i denne gruppe er private variable til funktionsblokken">
         <resource_timer id="_0x171dc10" name="Timer for regulering" icon="_0x43" hour="0" minute="0" second="0" millisecond="500"/>
         <resource_timer id="_0x171dd10" name="Timer for udgang" icon="_0x43" hour="0" minute="0" second="0" millisecond="250"/>
         <resource_timer id="_0x171de10" name="Mem timer" icon="_0x43" hour="0" minute="0" second="0" millisecond="300"/>
         <resource_flag id="_0x1725b0a" name="Tænd/sluk på afbryder" icon="_0x33"/>
      </internalsettings>
      <programs id="_0x171df26" name="Programmer" icon="_0x19" note="Gruppering af funktionblokkens programmer">
         <program_simple id="_0x171e01e" name="Tænd" icon="_0x7">
            <events id="_0x171e164" name="Hændelser" icon="_0xb" note="Hændelser som starter program">
               <event id="_0x171e2c8" name="%P bliver ændret" icon="_0xc" note="Start program når %P skifter værdi" link1="_0x171cd11" method="_0x96"/>
            </events>
            <actions id="_0x171e366" name="Kommandoer" icon="_0x8" note="Gruppering af kommandoer som udføres når hændelse er indtruffet" type="_0x2">
               <action id="_0x171e4ca" name="Kip %P" icon="_0x9" note="Sætter %P til modsat værdi af aktuel værdi" link1="_0x171d312" method="_0x23"/>
               <action id="_0x171e5ca" name="Aktiver nedtælling på %P med initial værdi" icon="_0x9" note="Aktiver nedtælling på %P med initial værdi" link1="_0x171da10" method="_0xbe"/>
            </actions>
         </program_simple>
         <program_simple id="_0x171e61e" name="Start timer" icon="_0x7">
            <events id="_0x171e764" name="Hændelser" icon="_0xb" note="Hændelser som starter program">
               <event id="_0x171e8c8" name="%P -&gt; ON" icon="_0xc" note="Start program når %P skifter til ON" link1="_0x171cd11" method="_0xa"/>
            </events>
            <actions id="_0x171e966" name="Kommandoer" icon="_0x8" note="Gruppering af kommandoer som udføres når hændelse er indtruffet" type="_0x2">
               <action id="_0x171eaca" name="Aktiver nedtælling på %P med initial værdi" icon="_0x9" note="Aktiver nedtælling på %P med initial værdi" link1="_0x171dc10" method="_0xbe"/>
            </actions>
         </program_simple>
         <program_simple id="_0x171eb1e" name="Sluk Status for konstant" icon="_0x7">
            <events id="_0x171ec64" name="Hændelser" icon="_0xb" note="Hændelser som starter program">
               <event id="_0x171edc8" name="%P -&gt; OFF" icon="_0xc" note="Start program når %P skifter til OFF" link1="_0x171cd11" method="_0x14"/>
            </events>
            <actions id="_0x171ee66" name="Kommandoer" icon="_0x8" note="Gruppering af kommandoer som udføres når hændelse er indtruffet" type="_0x2">
               <action id="_0x171efca" name="Stands tælling på %P" icon="_0x9" note="Standser evt. igangværende optælling eller nedtælling på %P" link1="_0x171dc10" method="_0xdc"/>
               <program_sub id="_0x171f01f" name="Under program" icon="_0x7">
                  <conditions id="_0x171f165" name="Betingelser" icon="_0x16" note="Gruppering af betingelser til logisk test">
                     <condition id="_0x171f2c9" name="%P = 0" icon="_0x1a" note="Betingelse at %P er 0" link1="_0x171dc10" method="_0xa"/>
                  </conditions>
                  <actions id="_0x171f366" name="Kommandoer ved betingelser sande" icon="_0x8" note="Gruppering af kommandoer som udføres når betingelser er sande" type="_0x1">
                     <action id="_0x171f4ca" name="%P = ON" icon="_0x9" note="Sætter %P til ON" link1="_0x171d612" method="_0xa"/>
                  </actions>
                  <actions id="_0x171f566" name="Kommandoer ved betingelser falske" icon="_0x8" note="Gruppering af kommandoer som udføres når betingelser er falske">
                     <action id="_0x171f6ca" name="Kip %P" icon="_0x9" note="Sætter %P til modsat værdi af aktuel værdi" link1="_0x171d612" method="_0x23"/>
                  </actions>
               </program_sub>
               <action id="_0x171f7ca" name="Stands tælling på %P" icon="_0x9" note="Standser evt. igangværende optælling eller nedtælling på %P" link1="_0x171d810" method="_0xdc"/>
            </actions>
         </program_simple>
         <program_simple id="_0x171f81e" name="Pir timer" icon="_0x7">
            <events id="_0x171f964" name="Hændelser" icon="_0xb" note="Hændelser som starter program">
               <event id="_0x171fac8" name="%P -&gt; 0" icon="_0xc" note="Start program når %P skifter til 0" link1="_0x171d810" method="_0xa"/>
            </events>
            <actions id="_0x171fb66" name="Kommandoer" icon="_0x8" note="Gruppering af kommandoer som udføres når hændelse er indtruffet" type="_0x2">
               <action id="_0x171fcca" name="Aktiver nedtælling på %P med initial værdi" icon="_0x9" note="Aktiver nedtælling på %P med initial værdi" link1="_0x171dd10" method="_0xbe"/>
               <action id="_0x171fdca" name="%P = ON" icon="_0x9" note="Sætter %P til ON" link1="_0x171d312" method="_0xa"/>
               <action id="_0x171feca" name="%P = OFF" icon="_0x9" note="Sætter %P til OFF" link1="_0x171d612" method="_0x14"/>
            </actions>
         </program_simple>
         <program_simple id="_0x171ff1e" name="Aktivering af mem timer" icon="_0x7">
            <events id="_0x1720064" name="Hændelser" icon="_0xb" note="Hændelser som starter program">
               <event id="_0x17201c8" name="%P -&gt; ON" icon="_0xc" note="Start program når %P skifter til ON" link1="_0x171d512" method="_0xa"/>
               <event id="_0x17202c8" name="%P -&gt; ON" icon="_0xc" note="Start program når %P skifter til ON" link1="_0x171d412" method="_0xa"/>
            </events>
            <actions id="_0x1720366" name="Kommandoer" icon="_0x8" note="Gruppering af kommandoer som udføres når hændelse er indtruffet" type="_0x2">
               <action id="_0x17204ca" name="Aktiver nedtælling på %P med initial værdi" icon="_0x9" note="Aktiver nedtælling på %P med initial værdi" link1="_0x171de10" method="_0xbe"/>
            </actions>
         </program_simple>
         <program_simple id="_0x172051e" name="Timer for mem afb." icon="_0x7">
            <events id="_0x1720664" name="Hændelser" icon="_0xb" note="Hændelser som starter program">
               <event id="_0x17207c8" name="%P -&gt; 0" icon="_0xc" note="Start program når %P skifter til 0" link1="_0x171de10" method="_0xa"/>
            </events>
            <actions id="_0x1720866" name="Kommandoer" icon="_0x8" note="Gruppering af kommandoer som udføres når hændelse er indtruffet" type="_0x2">
               <action id="_0x17209ca" name="%P = OFF" icon="_0x9" note="Sætter %P til OFF" link1="_0x171d512" method="_0x14"/>
               <action id="_0x1720aca" name="%P = OFF" icon="_0x9" note="Sætter %P til OFF" link1="_0x171d412" method="_0x14"/>
            </actions>
         </program_simple>
         <program_simple id="_0x1720b1e" name="Sluk alt" icon="_0x7">
            <events id="_0x1720c64" name="Hændelser" icon="_0xb" note="Hændelser som starter program">
               <event id="_0x1720dc8" name="%P bliver tilskrevet" icon="_0xc" note="Start program når %P bliver tilskrevet" link1="_0x171d111" method="_0x9b"/>
            </events>
            <actions id="_0x1720e66" name="Kommandoer" icon="_0x8" note="Gruppering af kommandoer som udføres når hændelse er indtruffet" type="_0x2">
               <program_sub id="_0x1720f1f" name="Under program" icon="_0x7">
                  <conditions id="_0x1721065" name="Betingelser" icon="_0x16" note="Gruppering af betingelser til logisk test">
                     <condition id="_0x17211c9" name="%P = ON" icon="_0x1a" note="Betingelse at %P er ON" link1="_0x171d612" method="_0xa"/>
                  </conditions>
                  <actions id="_0x1721266" name="Kommandoer ved betingelser sande" icon="_0x8" note="Gruppering af kommandoer som udføres når betingelser er sande" type="_0x1">
                     <action id="_0x17213ca" name="Aktiver nedtælling på %P med initial værdi" icon="_0x9" note="Aktiver nedtælling på %P med initial værdi" link1="_0x171dd10" method="_0xbe"/>
                     <action id="_0x17214ca" name="%P = OFF" icon="_0x9" note="Sætter %P til OFF" link1="_0x171d612" method="_0x14"/>
                     <action id="_0x17215ca" name="%P = ON" icon="_0x9" note="Sætter %P til ON" link1="_0x171d312" method="_0xa"/>
                     <action id="_0x17216ca" name="Stands tælling på %P" icon="_0x9" note="Standser evt. igangværende optælling eller nedtælling på %P" link1="_0x171d810" method="_0xdc"/>
                     <action id="_0x17275ca" name="%P = OFF" icon="_0x9" note="Sætter %P til OFF" link1="_0x1725b0a" method="_0x14"/>
                  </actions>
                  <actions id="_0x1721766" name="Kommandoer ved betingelser falske" icon="_0x8" note="Gruppering af kommandoer som udføres når betingelser er falske"/>
               </program_sub>
               <action id="_0x17218ca" name="Aktiver nedtælling på %P med initial værdi" icon="_0x9" note="Aktiver nedtælling på %P med initial værdi" link1="_0x171da10" method="_0xbe"/>
            </actions>
         </program_simple>
         <program_simple id="_0x172191e" name="Timer for udgang" icon="_0x7">
            <events id="_0x1721a64" name="Hændelser" icon="_0xb" note="Hændelser som starter program">
               <event id="_0x1721bc8" name="%P -&gt; 0" icon="_0xc" note="Start program når %P skifter til 0" link1="_0x171dd10" method="_0xa"/>
            </events>
            <actions id="_0x1721c66" name="Kommandoer" icon="_0x8" note="Gruppering af kommandoer som udføres når hændelse er indtruffet" type="_0x2">
               <action id="_0x1721dca" name="%P = OFF" icon="_0x9" note="Sætter %P til OFF" link1="_0x171d312" method="_0x14"/>
               <action id="_0x1721eca" name="%P = Initialværdi" icon="_0x9" note="Sætter %P til dens initialværdi" link1="_0x171dd10" method="_0x19"/>
            </actions>
         </program_simple>
         <program_simple id="_0x1721f1e" name="Lysdæmper status" icon="_0x7">
            <events id="_0x1722064" name="Hændelser" icon="_0xb" note="Hændelser som starter program">
               <event id="_0x17221c8" name="%P bliver tilskrevet" icon="_0xc" note="Start program når %P bliver tilskrevet" link1="_0x171d412" method="_0x9b"/>
               <event id="_0x17222c8" name="%P bliver tilskrevet" icon="_0xc" note="Start program når %P bliver tilskrevet" link1="_0x171d512" method="_0x9b"/>
            </events>
            <actions id="_0x1722366" name="Kommandoer" icon="_0x8" note="Gruppering af kommandoer som udføres når hændelse er indtruffet" type="_0x2">
               <action id="_0x17224ca" name="Kip %P" icon="_0x9" note="Sætter %P til modsat værdi af aktuel værdi" link1="_0x171d612" method="_0x23"/>
            </actions>
         </program_simple>
         <program_simple id="_0x172251e" name="Pir" icon="_0x7">
            <events id="_0x1722664" name="Hændelser" icon="_0xb" note="Hændelser som starter program">
               <event id="_0x17227c8" name="%P bliver ændret" icon="_0xc" note="Start program når %P skifter værdi" link1="_0x171ce11" method="_0x96"/>
            </events>
            <actions id="_0x1722866" name="Kommandoer" icon="_0x8" note="Gruppering af kommandoer som udføres når hændelse er indtruffet" type="_0x2">
               <program_sub id="_0x172291f" name="Under program" icon="_0x7">
                  <conditions id="_0x1722a65" name="Betingelser" icon="_0x16" note="Gruppering af betingelser til logisk test">
                     <condition id="_0x1722bc9" name="%P = %S" icon="_0x1a" note="Betingelse at %P er samme som %S" link1="_0x171d90f" link2="_0x1722c0f" method="_0x1e">
                        <resource_enum id="_0x1722c0f" name="Enumerator" typedef="_0x5047" inivalue="_0x5248" icon="_0x22"/>
                     </condition>
                     <condition id="_0x1722dc9" name="%P stoppet" icon="_0x1a" note="Betingelse at %P er stoppet" link1="_0x171da10" method="_0xdc"/>
                     <condition id="_0x17264c9" name="%P = OFF" icon="_0x1a" note="Betingelse at %P er OFF" link1="_0x1725b0a" method="_0x14"/>
                  </conditions>
                  <actions id="_0x1722e66" name="Kommandoer ved betingelser sande" icon="_0x8" note="Gruppering af kommandoer som udføres når betingelser er sande" type="_0x1">
                     <program_sub id="_0x1722f1f" name="Under program" icon="_0x7">
                        <conditions id="_0x1723065" name="Betingelser" icon="_0x16" note="Gruppering af betingelser til logisk test">
                           <condition id="_0x17231c9" name="%P stoppet" icon="_0x1a" note="Betingelse at %P er stoppet" link1="_0x171d810" method="_0xdc"/>
                           <condition id="_0x17232c9" name="%P = OFF" icon="_0x1a" note="Betingelse at %P er OFF" link1="_0x171d612" method="_0x14"/>
                           <condition id="_0x17233c9" name="%P = ON" icon="_0x1a" note="Betingelse at %P er ON" link1="_0x171d011" method="_0xa"/>
                        </conditions>
                        <actions id="_0x1723466" name="Kommandoer ved betingelser sande" icon="_0x8" note="Gruppering af kommandoer som udføres når betingelser er sande" type="_0x1">
                           <program_sub id="_0x172351f" name="Under program" icon="_0x7">
                              <conditions id="_0x1723665" name="Betingelser" icon="_0x16" note="Gruppering af betingelser til logisk test">
                                 <condition id="_0x17237c9" name="%P = ON" icon="_0x1a" note="Betingelse at %P er ON" link1="_0x171cf11" method="_0xa"/>
                              </conditions>
                              <actions id="_0x1723866" name="Kommandoer ved betingelser sande" icon="_0x8" note="Gruppering af kommandoer som udføres når betingelser er sande" type="_0x1">
                                 <action id="_0x17239ca" name="%P = ON" icon="_0x9" note="Sætter %P til ON" link1="_0x171d512" method="_0xa"/>
                              </actions>
                              <actions id="_0x1723a66" name="Kommandoer ved betingelser falske" icon="_0x8" note="Gruppering af kommandoer som udføres når betingelser er falske">
                                 <action id="_0x1723bca" name="%P = ON" icon="_0x9" note="Sætter %P til ON" link1="_0x171d412" method="_0xa"/>
                              </actions>
                           </program_sub>
                        </actions>
                        <actions id="_0x1723c66" name="Kommandoer ved betingelser falske" icon="_0x8" note="Gruppering af kommandoer som udføres når betingelser er falske"/>
                     </program_sub>
                  </actions>
                  <actions id="_0x1723d66" name="Kommandoer ved betingelser falske" icon="_0x8" note="Gruppering af kommandoer som udføres når betingelser er falske">
                     <program_sub id="_0x1723e1f" name="Under program" icon="_0x7">
                        <conditions id="_0x1723f65" name="Betingelser" icon="_0x16" note="Gruppering af betingelser til logisk test">
                           <condition id="_0x17240c9" name="%P = OFF" icon="_0x1a" note="Betingelse at %P er OFF" link1="_0x171d612" method="_0x14"/>
                           <condition id="_0x17241c9" name="%P stoppet" icon="_0x1a" note="Betingelse at %P er stoppet" link1="_0x171d810" method="_0xdc"/>
                           <condition id="_0x17242c9" name="%P stoppet" icon="_0x1a" note="Betingelse at %P er stoppet" link1="_0x171da10" method="_0xdc"/>
                        </conditions>
                        <actions id="_0x1724366" name="Kommandoer ved betingelser sande" icon="_0x8" note="Gruppering af kommandoer som udføres når betingelser er sande" type="_0x1">
                           <program_sub id="_0x172441f" name="Under program" icon="_0x7">
                              <conditions id="_0x1724565" name="Betingelser" icon="_0x16" note="Gruppering af betingelser til logisk test">
                                 <condition id="_0x17246c9" name="%P = ON" icon="_0x1a" note="Betingelse at %P er ON" link1="_0x171cf11" method="_0xa"/>
                              </conditions>
                              <actions id="_0x1724766" name="Kommandoer ved betingelser sande" icon="_0x8" note="Gruppering af kommandoer som udføres når betingelser er sande" type="_0x1">
                                 <action id="_0x17248ca" name="%P = ON" icon="_0x9" note="Sætter %P til ON" link1="_0x171d512" method="_0xa"/>
                              </actions>
                              <actions id="_0x1724966" name="Kommandoer ved betingelser falske" icon="_0x8" note="Gruppering af kommandoer som udføres når betingelser er falske">
                                 <action id="_0x1724aca" name="%P = ON" icon="_0x9" note="Sætter %P til ON" link1="_0x171d412" method="_0xa"/>
                              </actions>
                           </program_sub>
                        </actions>
                        <actions id="_0x1724b66" name="Kommandoer ved betingelser falske" icon="_0x8" note="Gruppering af kommandoer som udføres når betingelser er falske"/>
                     </program_sub>
                  </actions>
               </program_sub>
               <program_sub id="_0x1724c1f" name="Under program" icon="_0x7">
                  <conditions id="_0x1724d65" name="Betingelser" icon="_0x16" note="Gruppering af betingelser til logisk test">
                     <condition id="_0x1724ec9" name="%P = OFF" icon="_0x1a" note="Betingelse at %P er OFF" link1="_0x171ce11" method="_0x14"/>
                     <condition id="_0x1724fc9" name="%P = ON" icon="_0x1a" note="Betingelse at %P er ON" link1="_0x171d612" method="_0xa"/>
                     <condition id="_0x17250c9" name="%P stoppet" icon="_0x1a" note="Betingelse at %P er stoppet" link1="_0x171da10" method="_0xdc"/>
                     <condition id="_0x17266c9" name="%P = OFF" icon="_0x1a" note="Betingelse at %P er OFF" link1="_0x1725b0a" method="_0x14"/>
                  </conditions>
                  <actions id="_0x1725166" name="Kommandoer ved betingelser sande" icon="_0x8" note="Gruppering af kommandoer som udføres når betingelser er sande" type="_0x1">
                     <action id="_0x17252ca" name="Aktiver nedtælling på %P med initial værdi" icon="_0x9" note="Aktiver nedtælling på %P med initial værdi" link1="_0x171d810" method="_0xbe"/>
                  </actions>
                  <actions id="_0x1725366" name="Kommandoer ved betingelser falske" icon="_0x8" note="Gruppering af kommandoer som udføres når betingelser er falske">
                     <action id="_0x17254ca" name="Stands tælling på %P" icon="_0x9" note="Standser evt. igangværende optælling eller nedtælling på %P" link1="_0x171d810" method="_0xdc"/>
                  </actions>
               </program_sub>
            </actions>
         </program_simple>
         <program_simple id="_0x1725c1e" name="Program" icon="_0x7">
            <events id="_0x1725d64" name="Hændelser" icon="_0xb" note="Hændelser som starter program">
               <event id="_0x1726ec8" name="%P bliver tilskrevet" icon="_0xc" note="Start program når %P bliver tilskrevet" link1="_0x171cd11" method="_0x9b"/>
            </events>
            <actions id="_0x1725e66" name="Kommandoer" icon="_0x8" note="Gruppering af kommandoer som udføres når hændelse er indtruffet" type="_0x2">
               <program_sub id="_0x172671f" name="Under program" icon="_0x7">
                  <conditions id="_0x1726865" name="Betingelser" icon="_0x16" note="Gruppering af betingelser til logisk test">
                     <condition id="_0x1726bc9" name="%P = ON" icon="_0x1a" note="Betingelse at %P er ON" link1="_0x171d612" method="_0xa"/>
                  </conditions>
                  <actions id="_0x1726966" name="Kommandoer ved betingelser sande" icon="_0x8" note="Gruppering af kommandoer som udføres når betingelser er sande" type="_0x1">
                     <action id="_0x1726cca" name="%P = ON" icon="_0x9" note="Sætter %P til ON" link1="_0x1725b0a" method="_0xa"/>
                  </actions>
                  <actions id="_0x1726a66" name="Kommandoer ved betingelser falske" icon="_0x8" note="Gruppering af kommandoer som udføres når betingelser er falske">
                     <action id="_0x1726dca" name="%P = OFF" icon="_0x9" note="Sætter %P til OFF" link1="_0x1725b0a" method="_0x14"/>
                  </actions>
               </program_sub>
            </actions>
         </program_simple>
      </programs>
</functionblock>
