Advertisement
Guest User

vcontrold.xml

a guest
Feb 23rd, 2014
1,096
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
XML 16.13 KB | None | 0 0
  1. <?xml version="1.0"?>
  2. <V-Control xmlns:vcontrol="http://www.openv.de/vcontrol">
  3.   <unix>
  4.      <config>
  5.     <serial>
  6.         <!--<tty>/dev/ttySAC1</tty>-->
  7.         <tty>/dev/ttyUSB0</tty>
  8.     </serial>
  9.     <net>
  10.         <port>3002</port>
  11.         <allow ip='127.0.0.1'/>
  12.         <allow ip='192.168.2.0/24'/>
  13.     </net>
  14.     <logging>
  15.         <file>vcontrold.log</file>
  16.         <syslog>n</syslog>
  17.         <debug>n</debug>
  18.     </logging>
  19.     <device ID="20CB"/>
  20.      </config>
  21.   </unix>
  22.   <units>
  23.     <unit name='Temperatur'>
  24.        <abbrev>UT</abbrev>
  25.        <calc get='V/10' set='V*10'/>
  26.        <type>short</type>
  27.        <entity>Grad Celsius</entity>
  28.     </unit>
  29.     <unit name='Temperatur100'>
  30.        <abbrev>UTH</abbrev>
  31.        <calc get='V/100' set='V*100'/>
  32.        <type>short</type>
  33.        <entity>Grad Celsius</entity>
  34.     </unit>
  35.     <unit name='Neigung'>
  36.        <abbrev>UN</abbrev>
  37.        <calc get='V/10' set='V*10'/>
  38.        <type>short</type>
  39.        <entity></entity>
  40.     </unit>
  41.     <unit name='Temperatur 1Byte'>
  42.           <abbrev>UT1</abbrev>
  43.           <calc get='V/2' set='V*2'/>
  44.           <type>char</type>
  45.           <entity>Grad Celsius</entity>
  46.         </unit>
  47.     <unit name='Temperatur 1Byte unsigned'>
  48.           <abbrev>UT1U</abbrev>
  49.           <calc get='V/2' set='V*2'/>
  50.           <type>uchar</type>
  51.           <entity>Grad Celsius</entity>
  52.         </unit>
  53.     <unit name='Temperatur 1Byte ganzzahlig'>
  54.           <abbrev>UTI</abbrev>
  55.           <calc get='V' set='V'/>
  56.           <type>uchar</type>
  57.           <entity>Grad Celsius</entity>
  58.         </unit>
  59.     <unit name='Status'>
  60.        <abbrev>ST</abbrev>
  61.        <calc get='V' set='V'/>
  62.        <type>char</type>
  63.        <entity></entity>
  64.     </unit>
  65.     <unit name='Counter'>
  66.        <abbrev>CO</abbrev>
  67.        <calc get='V' set='V'/>
  68.        <type>int</type>
  69.        <entity></entity>
  70.     </unit>
  71.     <unit name='Volumenstrom'>
  72.        <abbrev>VS</abbrev>
  73.        <calc get='V' set='V'/>
  74.        <type>ushort</type>
  75.        <entity>l/h</entity>
  76.     </unit><unit name='Counter liter'>
  77.        <abbrev>COL</abbrev>
  78.        <calc get='V/1000' set='V*1000'/>
  79.        <type>int</type>
  80.        <entity></entity>
  81.     </unit>
  82.     <unit name='Prozent'>
  83.        <abbrev>PR</abbrev>
  84.        <calc get='V/2' set='V*2'/>
  85.        <type>short</type>
  86.        <entity>%</entity>
  87.     </unit>
  88.     <unit name='Prozent 1 Byte ganzzahlig'>
  89.        <abbrev>PR1</abbrev>
  90.        <calc get='V' set='V'/>
  91.        <type>uchar</type>
  92.        <entity>%</entity>
  93.     </unit>
  94.     <unit name='Prozent zweites Byte ganzzahlig (Pumpe)'>
  95.        <abbrev>PR2</abbrev>
  96.        <calc get='B1' set='B1'/>
  97.        <type>uchar</type>
  98.        <entity>%</entity>
  99.     </unit>
  100.     <unit name='Prozent erstes Byte'>
  101.        <abbrev>PR3</abbrev>
  102.        <calc get='V/2' set='V*2'/>
  103.        <type>uchar</type>
  104.        <entity>%</entity>
  105.     </unit>
  106.     <unit name='CounterS'>
  107.        <abbrev>CS</abbrev>
  108.        <calc get='V/3600' set='V*3600'/>
  109.        <type>uint</type>
  110.        <entity>Stunden</entity>
  111.     </unit>
  112.     <unit name='CycleTime'>
  113.        <abbrev>CT</abbrev>
  114.        <type>cycletime</type>
  115.     </unit>
  116.     <unit name='ReturnStatus'>
  117.        <abbrev>RT</abbrev>
  118.        <type>enum</type>
  119.        <enum bytes='00' text='0'/>
  120.        <enum bytes='01' text='1'/>
  121.        <enum text='NOT OK'/>
  122.     </unit>
  123.     <unit name='BetriebsArt'>
  124.        <abbrev>BA</abbrev>
  125.        <type>enum</type>
  126.        <enum bytes='00' text='WW'/>
  127.        <enum bytes='01' text='RED'/>
  128.        <enum bytes='02' text='NORM'/>
  129.        <enum bytes='04' text='H+WW FS'/>
  130.        <enum bytes='03' text='H+WW'/>
  131.        <enum bytes='05' text='ABSCHALT'/>
  132.        <enum text='UNKNOWN'/>
  133.     </unit>    
  134.      <unit name='SetReturnStatus'>
  135.            <abbrev>SR</abbrev>
  136.            <type>enum</type>
  137.            <enum bytes='00' text='OK'/>
  138.            <enum bytes='05' text='SYNC (NOT OK)'/>
  139.            <enum text='NOT OK'/>
  140.      </unit>
  141.      <unit name='SystemTime'>
  142.        <abbrev>TI</abbrev>
  143.        <type>systime</type>
  144.     </unit>
  145.     <unit name='ErrorState'>
  146.        <abbrev>ES</abbrev>
  147.        <type>errstate</type>
  148.        <enum bytes='00' text='Regelbetrieb (kein Fehler)'/>
  149.        <enum bytes='0F' text='Wartung (fuer Reset Codieradresse 24 auf 0 stellen)'/>
  150.        <enum bytes='10' text='Kurzschluss Aussentemperatursensor'/>
  151.        <enum bytes='18' text='Unterbrechung Aussentemperatursensor'/>
  152.        <enum bytes='20' text='Kurzschluss Vorlauftemperatursensor'/>
  153.        <enum bytes='21' text='Kurzschluss Ruecklauftemperatursensor'/>
  154.        <enum bytes='28' text='Unterbrechung Aussentemperatursensor'/>
  155.        <enum bytes='29' text='Unterbrechung Ruecklauftemperatursensor'/>
  156.        <enum bytes='30' text='Kurzschluss Kesseltemperatursensor'/>
  157.        <enum bytes='38' text='Unterbrechung Kesseltemperatursensor'/>
  158.        <enum bytes='40' text='Kurzschluss Vorlauftemperatursensor M2'/>
  159.        <enum bytes='42' text='Unterbrechung Vorlauftemperatursensor M2'/>
  160.        <enum bytes='50' text='Kurzschluss Speichertemperatursensor'/>
  161.        <enum bytes='58' text='Unterbrechung Speichertemperatursensor'/>
  162.        <enum bytes='92' text='Solar: Kurzschluss Kollektortemperatursensor'/>
  163.        <enum bytes='93' text='Solar: Kurzschluss Sensor S3'/>
  164.        <enum bytes='94' text='Solar: Kurzschluss Speichertemperatursensor'/>
  165.        <enum bytes='9A' text='Solar: Unterbrechung Kollektortemperatursensor'/>
  166.        <enum bytes='9B' text='Solar: Unterbrechung Sensor S3'/>
  167.        <enum bytes='9C' text='Solar: Unterbrechung Speichertemperatursensor'/>
  168.        <enum bytes='9F' text='Solar: Fehlermeldung Solarteil (siehe Solarregler)'/>
  169.        <enum bytes='A7' text='Bedienteil defekt'/>
  170.        <enum bytes='B0' text='Kurzschluss Abgastemperatursensor'/>
  171.        <enum bytes='B1' text='Kommunikationsfehler Bedieneinheit'/>
  172.        <enum bytes='B4' text='Interner Fehler (Elektronik)'/>
  173.        <enum bytes='B5' text='Interner Fehler (Elektronik)'/>
  174.        <enum bytes='B6' text='Ungueltige Hardwarekennung (Elektronik)'/>
  175.        <enum bytes='B7' text='Interner Fehler (Kesselkodierstecker)'/>
  176.        <enum bytes='B8' text='Unterbrechung Abgastemperatursensor'/>
  177.        <enum bytes='B9' text='Interner Fehler (Dateneingabe wiederholen)'/>
  178.        <enum bytes='BA' text='Kommunikationsfehler Erweiterungssatz fuer Mischerkreis M2'/>
  179.        <enum bytes='BC' text='Kommunikationsfehler Fernbedienung Vitorol, Heizkreis M1'/>
  180.        <enum bytes='BD' text='Kommunikationsfehler Fernbedienung Vitorol, Heizkreis M2'/>
  181.        <enum bytes='BE' text='Falsche Codierung Fernbedienung Vitorol'/>
  182.        <enum bytes='C1' text='Externe Sicherheitseinrichtung (Kessel kuehlt aus)'/>
  183.        <enum bytes='C2' text='Kommunikationsfehler Solarregelung'/>
  184.        <enum bytes='C5' text='Kommunikationsfehler drehzahlgeregelte Heizkreispumpe, Heizkreis M1'/>
  185.        <enum bytes='C6' text='Kommunikationsfehler drehzahlgeregelte Heizkreispumpe, Heizkreis M2'/>
  186.        <enum bytes='C7' text='Falsche Codierung der Heizkreispumpe'/>
  187.        <enum bytes='C9' text='Stoermeldeeingang am Schaltmodul-V aktiv'/>
  188.        <enum bytes='CD' text='Kommunikationsfehler Vitocom 100 (KM-BUS)'/>
  189.        <enum bytes='CE' text='Kommunikationsfehler Schaltmodul-V'/>
  190.        <enum bytes='CF' text='Kommunikationsfehler LON Modul'/>
  191.        <enum bytes='D1' text='Brennerstoerung'/>
  192.        <enum bytes='D4' text='Sicherheitstemperaturbegrenzer hat ausgeloest oder Stoermeldemodul nicht richtig gesteckt'/>
  193.        <enum bytes='DA' text='Kurzschluss Raumtemperatursensor, Heizkreis M1'/>
  194.        <enum bytes='DB' text='Kurzschluss Raumtemperatursensor, Heizkreis M2'/>
  195.        <enum bytes='DD' text='Unterbrechung Raumtemperatursensor, Heizkreis M1'/>
  196.        <enum bytes='DE' text='Unterbrechung Raumtemperatursensor, Heizkreis M2'/>
  197.        <enum bytes='E4' text='Fehler Versorgungsspannung'/>
  198.        <enum bytes='E5' text='Interner Fehler (Ionisationselektrode)'/>
  199.        <enum bytes='E6' text='Abgas- / Zuluftsystem verstopft'/>
  200.        <enum bytes='F0' text='Interner Fehler (Regelung tauschen)'/>
  201.        <enum bytes='F1' text='Abgastemperaturbegrenzer ausgeloest'/>
  202.        <enum bytes='F2' text='Temperaturbegrenzer ausgeloest'/>
  203.        <enum bytes='F3' text='Flammensigal beim Brennerstart bereits vorhanden'/>
  204.        <enum bytes='F4' text='Flammensigal nicht vorhanden'/>
  205.        <enum bytes='F7' text='Differenzdrucksensor defekt'/>
  206.        <enum bytes='F8' text='Brennstoffventil schliesst zu spaet'/>
  207.        <enum bytes='F9' text='Geblaesedrehzahl beim Brennerstart zu niedrig'/>
  208.        <enum bytes='FA' text='Geblaesestillstand nicht erreicht'/>
  209.        <enum bytes='FD' text='Fehler Gasfeuerungsautomat'/>
  210.        <enum bytes='FE' text='Starkes Stoerfeld (EMV) in der Naehe oder Elektronik defekt'/>
  211.        <enum bytes='FF' text='Starkes Stoerfeld (EMV) in der Naehe oder interner Fehler'/>
  212.        <enum text='UNKNOWN'/>
  213.     </unit>
  214.     <unit name='DeviceType'>
  215.            <abbrev>DT</abbrev>
  216.            <type>enum</type>
  217.            <enum bytes='20 53 01 2B' text='V200WB2 ID=2053 Protokoll:GWG_VBEM'/>
  218.            <enum bytes='20 98' text='V200KW2 ID=2098 Protokoll:KW'/>
  219.            <enum bytes='20 CB 03 4A 00 00 01 0A' text='VScotHO1 ID=20CB Protokoll:KW,300'/>
  220.            <enum bytes='20 94' text='V200KW1 ID=2094 Protokoll:KW'/>
  221.            <enum text='UNKNOWN'/>
  222.     </unit>
  223.    
  224.     <unit name='Sachnummer'>
  225.            <abbrev>SN</abbrev>
  226.            <type>uint</type>
  227.        <icalc get='((((((((((((B0-48)*10)+(B1-48))*10)+(B2-48))*10)+(B3-48))*10)+(B4-48))*10)+(B5-48))*10)+B6-48'/>
  228.     </unit>
  229.    
  230.     <unit name='Brenner Stunden'>
  231.            <abbrev>BH</abbrev>
  232.            <type>uchar</type>
  233.        <calc get='(B1 * 100)+B0'/>
  234.        <entity>h</entity>
  235.     </unit>
  236.    
  237.    
  238.    
  239.    
  240.     <unit name='ErrorStateGWG'>
  241.        <abbrev>ESG</abbrev>
  242.        <type>enum</type>
  243.        <enum bytes='00' text='Keine Stoerung'/>
  244.        <enum bytes='02' text='Fehler Sicherheitskette'/>
  245.        <enum bytes='04' text='Brennerstoerung 04'/>
  246.        <enum bytes='05' text='Brennerstoerung 05'/>
  247.        <enum bytes='07' text='Brennerstoerung 07'/>
  248.        <enum bytes='08' text='Brennerstoerung 09'/>
  249.        <enum bytes='08' text='Brennerstoerung 09'/>
  250.        <enum bytes='0A' text='Brennerstoerung 10'/>
  251.        <enum  text='UNKNOWN'/>
  252.     </unit>
  253.     <unit name='Bitstatus'>
  254.            <abbrev>BST</abbrev>
  255.            <type>uchar</type>
  256.            <icalc get="(B0 &amp; (0x01&lt;&lt;BP))&gt;&gt; BP"/>
  257.            <enum bytes='00' text='0'/>
  258.            <enum bytes='01' text='1'/>
  259.            <enum text='UNKNOWN'/>
  260.         </unit>
  261.     <unit name='HKP Pumpentyp'>
  262.            <abbrev>HKT</abbrev>
  263.            <type>uchar</type>
  264.            <icalc get="(B0 &amp; (0x01&lt;&lt;BP))&gt;&gt; BP"/>
  265.            <enum bytes='00' text='stufig'/>
  266.            <enum bytes='01' text='drehzahlgeregelt'/>
  267.            <enum text='UNKNOWN'/>
  268.         </unit>
  269.     <unit name='Umschaltventil Stellung'>
  270.        <abbrev>USV</abbrev>
  271.        <type>enum</type>
  272.        <enum bytes='00' text='UNDEV'/>
  273.        <enum bytes='01' text='Heizen'/>
  274.        <enum bytes='02' text='Mittelstellung'/>
  275.        <enum bytes='03' text='Warmwasser'/>
  276.        <enum text='UNKNOWN'/>
  277.     </unit>
  278. </units>
  279.   <protocols>
  280.       <protocol name='P300'>
  281.       <pid>41</pid>
  282.       <macros>
  283.         <macro name='GETADDR'>
  284.             <command>SEND 00 01</command>
  285.         </macro>
  286.         <macro name='SETADDR'>
  287.             <command>SEND 01 F4</command>
  288.         </macro>
  289.       </macros>
  290.       <commands>
  291.         <command name="getaddr">
  292.              <send>GETADDR $addr $hexlen;RECV $len $unit</send>
  293.         </command>
  294.         <command name="setaddr">
  295.              <send>SETADDR $addr $hexlen;SEND BYTES $unit;RECV 1 SR</send>
  296.         </command>
  297.         <command name="gettestaddr">
  298.              <send></send>
  299.         </command>
  300.    
  301.       </commands>
  302.       </protocol>
  303.       <protocol name='KW2'>
  304.       <macros>
  305.         <macro name='SYNC'>
  306.             <command>SEND 04;WAIT 05</command>
  307.         </macro>
  308.         <macro name='GETADDR'>
  309.             <command>SEND 01 F7</command>
  310.         </macro>
  311.         <macro name='SETADDR'>
  312.             <command>SEND 01 F4</command>
  313.         </macro>
  314.       </macros>
  315.       <commands>
  316.         <command name="getaddr">
  317.              <retry>3</retry>
  318.              <recvTimeout>4000</recvTimeout>
  319.              <send>SYNC;GETADDR $addr $hexlen;RECV $len $unit</send>
  320.         </command>
  321.         <command name="setaddr">
  322.              <send>SYNC;SETADDR $addr $hexlen;SEND BYTES $unit;RECV 1 SR</send>
  323.         </command>
  324.         <command name="gettestaddr">
  325.                 <retry>3</retry>
  326.                 <recvTimeout>1500</recvTimeout>
  327.                 <send>SYNC;GETADDR;SEND BYTES;SEND 02;RECV 02</send>
  328.         </command>
  329.  
  330.       </commands>
  331.       </protocol>
  332.       <protocol name='GWG'>
  333.       <macros>
  334.         <macro name='SYNC'>
  335.             <command>SEND 04;WAIT 05</command>
  336.         </macro>
  337.         <macro name='GETADDR'>
  338.             <command>SEND 01 CB</command>
  339.         </macro>
  340.                 <macro name='GETBADDR'>
  341.                     <command>SEND 01 9E</command>
  342.                 </macro>
  343.         <macro name='GETVADDR'>
  344.                     <command>SEND 01 C7</command>
  345.                 </macro>
  346.                 <macro name='GETPADDR'>
  347.                     <command>SEND 01 6E</command>
  348.                 </macro>
  349.                 <macro name='GETEADDR'>
  350.                     <command>SEND 01 AE</command>
  351.                 </macro>
  352.                 <macro name='GETXADDR'>
  353.                     <command>SEND 01 C5</command>
  354.                 </macro>
  355.                 <macro name='GETKMADDR'>
  356.                     <command>SEND 01 43</command>
  357.                 </macro>
  358.       </macros>
  359.       <commands>
  360.         <command name="enable">
  361.              <send></send>
  362.         </command>
  363.         <command name="disable">
  364.              <send></send>
  365.         </command>
  366.  
  367.         <command name="getaddr">
  368.              <retry>3</retry>
  369.              <recvTimeout>4000</recvTimeout>
  370.              <send>SYNC;GETADDR $addr $hexlen 04;RECV $len $unit</send>
  371.         </command>
  372.         <command name="gettestaddr">
  373.              <retry>3</retry>
  374.              <recvTimeout>4000</recvTimeout>
  375.              <send>SYNC;GETADDR;SEND BYTES;SEND 01 04;RECV 1</send>
  376.         </command>
  377.         <command name="getbaddr">
  378.              <retry>3</retry>
  379.              <recvTimeout>4000</recvTimeout>
  380.                      <send>SYNC;GETBADDR $addr $hexlen 04;RECV $len $unit</send>
  381.                 </command>
  382.                 <command name="getbtestaddr">
  383.              <retry>3</retry>
  384.              <recvTimeout>4000</recvTimeout>
  385.                      <send>SYNC;GETBADDR;SEND BYTES;SEND 01 04;RECV 1</send>
  386.                 </command>
  387.                <command name="getpaddr">
  388.              <retry>3</retry>
  389.              <recvTimeout>4000</recvTimeout>
  390.                      <send>SYNC;GETPADDR $addr $hexlen 04;RECV $len $unit</send>
  391.                 </command>
  392.                 <command name="getptestaddr">
  393.              <retry>3</retry>
  394.              <recvTimeout>4000</recvTimeout>
  395.                      <send>SYNC;GETPADDR;SEND BYTES;SEND 01 04;RECV 1</send>
  396.                 </command>
  397.          <command name="getvaddr">
  398.              <retry>3</retry>
  399.              <recvTimeout>4000</recvTimeout>
  400.                      <send>SYNC;GETVADDR $addr $hexlen 04;RECV $len $unit</send>
  401.                 </command>
  402.         <command name="getvtestaddr">
  403.              <retry>3</retry>
  404.              <recvTimeout>4000</recvTimeout>
  405.              <send>SYNC;GETVADDR;SEND BYTES;SEND 01 04;RECV 1</send>
  406.         </command>
  407.          <command name="geteaddr">
  408.              <retry>3</retry>
  409.              <recvTimeout>4000</recvTimeout>
  410.                      <send>SYNC;GETEADDR $addr $hexlen 04;RECV $len $unit</send>
  411.                 </command>
  412.         <command name="getetestaddr">
  413.              <retry>3</retry>
  414.              <recvTimeout>150</recvTimeout>
  415.              <send>SYNC;GETEADDR;SEND BYTES;SEND 01 04;RECV 1</send>
  416.         </command>
  417.          <command name="getxaddr">
  418.              <retry>3</retry>
  419.              <recvTimeout>150</recvTimeout>
  420.                      <send>SYNC;GETXADDR $addr $hexlen 04;RECV $len $unit</send>
  421.                 </command>
  422.         <command name="getxtestaddr">
  423.              <retry>3</retry>
  424.              <recvTimeout>4000</recvTimeout>
  425.              <send>SYNC;GETXADDR;SEND BYTES;SEND 01 04;RECV 1</send>
  426.         </command>
  427.          <command name="getkmaddr">
  428.                      <send>SYNC;GETKMDDR $addr $hexlen 04;RECV $len $unit</send>
  429.              <retry>3</retry>
  430.              <recvTimeout>4000</recvTimeout>
  431.                 </command>
  432.         <command name="getkmtestaddr">
  433.              <retry>3</retry>
  434.              <recvTimeout>4000</recvTimeout>
  435.              <send>SYNC;GETKMADDR;SEND BYTES;SEND 01 04;RECV 1</send>
  436.         </command>
  437.                 <command name="init">
  438.                      <send>SEND 16 00 00;PAUSE 100;SEND 16 00 00;PAUSE 100;SEND 16 00 00;PAUSE 100;SEND 16 00 00;PAUSE 100;SEND 16 00 00;PAUSE 100;SEND 16 00 00;PAUSE 100;SEND 16 00 00;PAUSE 100;SEND 16 00 00;PAUSE 100</send>
  439.                 <retry>3</retry>
  440.         </command>
  441.         <command name="setaddr">
  442.              <send>SYNC;SETADDR $addr $hexlen;SEND BYTES $unit;RECV 1 SR</send>
  443.         </command>
  444.       </commands>
  445.       </protocol>
  446.   </protocols>
  447.   <extern xmlns:xi="http://www.w3.org/2003/XInclude">
  448.      <xi:include href="vito.xml" parse="xml"/>
  449.   </extern>
  450. </V-Control>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement