This repository has been archived by the owner on May 3, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathvcontrold.xml
462 lines (461 loc) · 19.2 KB
/
vcontrold.xml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
<?xml version="1.0"?>
<V-Control xmlns:vcontrol="http://www.openv.de/vcontrol">
<unix>
<config>
<serial>
<tty>/dev/ttyUSB0</tty>
</serial>
<net>
<port>3002</port>
<allow ip='127.0.0.1'/>
</net>
<logging>
<file>vcontrold.log</file>
<syslog>n</syslog>
<debug>n</debug>
</logging>
<device ID="20C8"/>
</config>
</unix>
<units>
<unit name='Temperatur'>
<abbrev>UT</abbrev>
<calc get='V/10' set='V*10'/>
<type>short</type>
<entity>Grad Celsius</entity>
</unit>
<unit name='Temperatur100'>
<abbrev>UTH</abbrev>
<calc get='V/100' set='V*100'/>
<type>short</type>
<entity>Grad Celsius</entity>
</unit>
<unit name='Neigung'>
<abbrev>UN</abbrev>
<calc get='V/10' set='V*10'/>
<type>short</type>
<entity></entity>
</unit>
<unit name='Niveau'>
<abbrev>US</abbrev>
<calc get='V' set='V'/>
<type>short</type>
<entity></entity>
</unit>
<unit name='Temperatur 1Byte'>
<abbrev>UT1</abbrev>
<calc get='V/2' set='V*2'/>
<type>char</type>
<entity>Grad Celsius</entity>
</unit>
<unit name='Temperatur 1Byte unsigned'>
<abbrev>UT1U</abbrev>
<calc get='V/2' set='V*2'/>
<type>uchar</type>
<entity>Grad Celsius</entity>
</unit>
<unit name='Temperatur 1Byte ganzzahlig'>
<abbrev>UTI</abbrev>
<calc get='V' set='V'/>
<type>uchar</type>
<entity>Grad Celsius</entity>
</unit>
<unit name='Leistung Grob 1Byte unsigned'>
<abbrev>UKW1HALF</abbrev>
<calc get='B0/2' set='B0*2'/>
<type>uchar</type>
<entity>%</entity>
</unit>
<unit name='Leistung Fein 1Byte unsigned'>
<abbrev>UKW1</abbrev>
<calc get='V' set='V'/>
<type>uchar</type>
<entity>%</entity>
</unit>
<unit name='Brennerstatus 2. Byte 1Byte unsigned'>
<abbrev>BST2B</abbrev>
<calc get='B1' set='B1'/>
<type>uchar</type>
<entity></entity>
</unit>
<unit name='Brennerstoerung 1Byte unsigned'>
<abbrev>BSTOER</abbrev>
<calc get='V' set='V'/>
<type>uchar</type>
<entity></entity>
</unit>
<unit name='Status'>
<abbrev>ST</abbrev>
<calc get='V' set='V'/>
<type>char</type>
<entity></entity>
</unit>
<unit name='Counter'>
<abbrev>CO</abbrev>
<calc get='V' set='V'/>
<type>int</type>
<entity></entity>
</unit>
<unit name='Volumenstrom'>
<abbrev>VS</abbrev>
<calc get='V' set='V'/>
<type>ushort</type>
<entity>l/h</entity>
</unit>
<unit name='Counter liter'>
<abbrev>COL</abbrev>
<calc get='V/1000' set='V*1000'/>
<type>int</type>
<entity></entity>
</unit>
<unit name='Prozent'>
<abbrev>PR</abbrev>
<calc get='V/2' set='V*2'/>
<type>short</type>
<entity>%</entity>
</unit>
<unit name='Prozent 1 Byte ganzzahlig'>
<abbrev>PR1</abbrev>
<calc get='V' set='V'/>
<type>uchar</type>
<entity>%</entity>
</unit>
<unit name='Prozent zweites Byte ganzzahlig (Pumpe)'>
<abbrev>PR2</abbrev>
<calc get='B1' set='B1'/>
<type>uchar</type>
<entity>%</entity>
</unit>
<unit name='Prozent erstes Byte'>
<abbrev>PR3</abbrev>
<calc get='V/2' set='V*2'/>
<type>uchar</type>
<entity>%</entity>
</unit>
<unit name='CounterS'>
<abbrev>CS</abbrev>
<calc get='V/3600' set='V*3600'/>
<type>uint</type>
<entity>Stunden</entity>
</unit>
<unit name='CycleTime'>
<abbrev>CT</abbrev>
<type>cycletime</type>
</unit>
<unit name='ReturnStatus'>
<abbrev>RT</abbrev>
<type>enum</type>
<enum bytes='00' text='0'/>
<enum bytes='01' text='1'/>
<enum text='NOT OK'/>
</unit>
<unit name='BetriebsArt'>
<abbrev>BA</abbrev>
<type>enum</type>
<enum bytes='00' text='Abschalt'/>
<enum bytes='01' text='Nur WW'/>
<enum bytes='02' text='Heizen + WW'/>
<enum bytes='03' text='Dauernd reduziert'/>
<enum bytes='04' text='Dauernd normal'/>
<enum text='UNKNOWN'/>
</unit>
<unit name='SetReturnStatus'>
<abbrev>SR</abbrev>
<type>enum</type>
<enum bytes='00' text='OK'/>
<enum bytes='05' text='SYNC (NOT OK)'/>
<enum text='NOT OK'/>
</unit>
<unit name='SystemTime'>
<abbrev>TI</abbrev>
<type>systime</type>
</unit>
<unit name='ErrorState'>
<abbrev>ES</abbrev>
<type>errstate</type>
<enum bytes='00' text='Regelbetrieb (kein Fehler)'/>
<enum bytes='0F' text='Wartung (fuer Reset Codieradresse 24 auf 0 stellen)'/>
<enum bytes='10' text='Kurzschluss Aussentemperatursensor'/>
<enum bytes='18' text='Unterbrechung Aussentemperatursensor'/>
<enum bytes='20' text='Kurzschluss Vorlauftemperatursensor HK1/Anlage'/>
<enum bytes='28' text='Unterbrechung Vorlauftemperatursensor HK1/Anlage'/>
<enum bytes='30' text='Kurzschluss Kesseltemperatursensor'/>
<enum bytes='38' text='Unterbrechung Kesseltemperatursensor'/>
<enum bytes='40' text='Kurzschluss Vorlauftemperatursensor Heizkreis2'/>
<enum bytes='48' text='Unterbrechung Vorlauftemperatursensor Heizkreis2'/>
<enum bytes='50' text='Kurzschluss Speichertemperatursensor'/>
<enum bytes='58' text='Unterbrechung Speichertemperatursensor'/>
<enum bytes='92' text='Solar: Kurzschluss Kollektortemperatursensor'/>
<enum bytes='93' text='Solar: Kurzschluss Kollektorruecklauftemp.-Sensor'/>
<enum bytes='94' text='Solar: Kurzschluss Speichertemperatursensor'/>
<enum bytes='9A' text='Solar: Unterbrechung Kollektortemperatursensor'/>
<enum bytes='9B' text='Solar: Unterbrechung Kollektorruecklauftemp.-Sensor'/>
<enum bytes='9C' text='Solar: Unterbrechung Speichertemperatursensor'/>
<enum bytes='9F' text='Solar: allg. Fehlermeldung'/>
<enum bytes='A7' text='Fehler Bedienteil (Uhrenbaustein)'/>
<enum bytes='B0' text='Kurzschluss Abgastemperatursensor'/>
<enum bytes='B1' text='Kommunikationsfehler Bedieneinheit (intern)'/>
<enum bytes='B4' text='Interner Fehler'/>
<enum bytes='B5' text='Interner Fehler'/>
<enum bytes='B7' text='Interner Fehler Kesselschutzcodierkarte'/>
<enum bytes='B8' text='Unterbrechung Abgastemperatursensor'/>
<enum bytes='BA' text='Fehler Mischermodul(KM-Bus)'/>
<enum bytes='BC' text='Fehler Vitotrol Heizkreis1 (KM-Bus)'/>
<enum bytes='BD' text='Fehler Vitotrol Heizkreis2 (KM-Bus)'/>
<enum bytes='BE' text='Fehler Vitotrol Heizkreis3 (KM-Bus)'/>
<enum bytes='BF' text='Falsches LON-Modul'/>
<enum bytes='C2' text='Kommunikationsfehler Solarregelung (KM-Bus)'/>
<enum bytes='C5' text='Fehler drehzahlger. Pumpe Heizkreis1 (KM-Bus)'/>
<enum bytes='C6' text='Fehler drehzahlger. Pumpe Heizkreis2 (KM-Bus)'/>
<enum bytes='C7' text='Fehler drehzahlger. Pumpe Heizkreis3 (KM-Bus)'/>
<enum bytes='CD' text='Kommunikationsfehler Vitocom 300 (KM-Bus)'/>
<enum bytes='CE' text='Kommunikationsfehler Anschlusserweiterung (KM-Bus)'/>
<enum bytes='CF' text='Kommunikationsfehler: LON – Modul zur Reglerkarte'/>
<enum bytes='DA' text='Kurzschluss Raumtemperatursensor Heizkreis1'/>
<enum bytes='DB' text='Kurzschluss Raumtemperatursensor Heizkreis2'/>
<enum bytes='DD' text='Unterbrechung Raumtemperatursensor Heizkreis1'/>
<enum bytes='DE' text='Unterbrechung Raumtemperatursensor Heizkreis2'/>
<enum bytes='E4' text='Fehler Versorgungsspannung'/>
<enum bytes='E5' text='Interner Fehler Feuerungsautomat'/>
<enum bytes='E6' text='Fehler Rueckmeldung oelvorwaermung (bei Vitoplus)'/>
<enum bytes='F0' text='Kommunikationsfehler Feuerungsautomat'/>
<enum bytes='F1' text='Abgastemperaturbegrenzer hat ausgeloest'/>
<enum bytes='F2' text='Temperaturbegrenzer hat ausgeloest'/>
<enum bytes='F3' text='Flammensignal ist bei Brennerstart bereits vorhanden'/>
<enum bytes='F4' text='Flammensignal ist nicht vorhanden'/>
<enum bytes='F5' text='Luftdruckwaechter bei Brennerstart nicht geoeffnet o. bei Erreichen der Zuendlast nicht geschlossen'/>
<enum bytes='F7' text='Luftdrucksensor Fuehlerkurzschluss oder Offsetwert ausserhalb der Toleranz'/>
<enum bytes='F8' text='Brennstoffventil schliesst verspaetet'/>
<enum bytes='F9' text='Geblaesedrehzahl bei Brennerstart zu niedrig'/>
<enum bytes='FA' text='Geblaesedrehzahl bei Brennerstart zu hoch'/>
<enum bytes='FB' text='3x Flammenabruss waehrend des Betriebs'/>
<enum bytes='FD' text='Fehler Feuerungsautomat'/>
<enum bytes='FE' text='Codierstecker defekt oder falsch oder EMV-Stoerung'/>
<enum bytes='FF' text='Interner Fehler'/>
<enum text='UNKNOWN'/>
</unit>
<unit name='DeviceType'>
<abbrev>DT</abbrev>
<type>enum</type>
<enum bytes='20 C8' text='VPlusHO1 ID=20C8 Protokoll:P300'/>
<enum text='UNKNOWN'/>
</unit>
<unit name='Sachnummer'>
<abbrev>SN</abbrev>
<type>uint</type>
<icalc get='((((((((((((B0-48)*10)+(B1-48))*10)+(B2-48))*10)+(B3-48))*10)+(B4-48))*10)+(B5-48))*10)+B6-48'/>
</unit>
<unit name='Brenner Stunden'>
<abbrev>BH</abbrev>
<type>uchar</type>
<calc get='(B1 * 100)+B0'/>
<entity>h</entity>
</unit>
<unit name='ErrorStateGWG'>
<abbrev>ESG</abbrev>
<type>enum</type>
<enum bytes='00' text='Keine Stoerung'/>
<enum bytes='02' text='Fehler Sicherheitskette'/>
<enum bytes='04' text='Brennerstoerung 04'/>
<enum bytes='05' text='Brennerstoerung 05'/>
<enum bytes='07' text='Brennerstoerung 07'/>
<enum bytes='08' text='Brennerstoerung 09'/>
<enum bytes='08' text='Brennerstoerung 09'/>
<enum bytes='0A' text='Brennerstoerung 10'/>
<enum text='UNKNOWN'/>
</unit>
<unit name='Bitstatus'>
<abbrev>BST</abbrev>
<type>uchar</type>
<icalc get="(B0 & (0x01<<BP))>> BP"/>
<enum bytes='00' text='0'/>
<enum bytes='01' text='1'/>
<enum text='UNKNOWN'/>
</unit>
<unit name='HKP Pumpentyp'>
<abbrev>HKT</abbrev>
<type>uchar</type>
<icalc get="(B0 & (0x01<<BP))>> BP"/>
<enum bytes='00' text='stufig'/>
<enum bytes='01' text='drehzahlgeregelt'/>
<enum text='UNKNOWN'/>
</unit>
<unit name='Umschaltventil Stellung'>
<abbrev>USV</abbrev>
<type>enum</type>
<enum bytes='00' text='UNDEV'/>
<enum bytes='01' text='Heizen'/>
<enum bytes='02' text='Mittelstellung'/>
<enum bytes='03' text='Warmwasser'/>
<enum text='UNKNOWN'/>
</unit>
</units>
<protocols>
<protocol name='P300'>
<pid>41</pid>
<macros>
<macro name='GETADDR'>
<command>SEND 00 01</command>
</macro>
<macro name='SETADDR'>
<command>SEND 01 F4</command>
</macro>
</macros>
<commands>
<command name="getaddr">
<send>GETADDR $addr $hexlen;RECV $len $unit</send>
</command>
<command name="setaddr">
<send>SETADDR $addr $hexlen;SEND BYTES $unit;RECV 1 SR</send>
</command>
<command name="gettestaddr">
<send></send>
</command>
</commands>
</protocol>
<protocol name='KW2'>
<macros>
<macro name='SYNC'>
<command>SEND 04;WAIT 05</command>
</macro>
<macro name='GETADDR'>
<command>SEND 01 F7</command>
</macro>
<macro name='SETADDR'>
<command>SEND 01 F4</command>
</macro>
</macros>
<commands>
<command name="getaddr">
<retry>3</retry>
<recvTimeout>4000</recvTimeout>
<send>SYNC;GETADDR $addr $hexlen;RECV $len $unit</send>
</command>
<command name="setaddr">
<send>SYNC;SETADDR $addr $hexlen;SEND BYTES $unit;RECV 1 SR</send>
</command>
<command name="gettestaddr">
<retry>3</retry>
<recvTimeout>1500</recvTimeout>
<send>SYNC;GETADDR;SEND BYTES;SEND 02;RECV 02</send>
</command>
</commands>
</protocol>
<protocol name='GWG'>
<macros>
<macro name='SYNC'>
<command>SEND 04;WAIT 05</command>
</macro>
<macro name='GETADDR'>
<command>SEND 01 CB</command>
</macro>
<macro name='GETBADDR'>
<command>SEND 01 9E</command>
</macro>
<macro name='GETVADDR'>
<command>SEND 01 C7</command>
</macro>
<macro name='GETPADDR'>
<command>SEND 01 6E</command>
</macro>
<macro name='GETEADDR'>
<command>SEND 01 AE</command>
</macro>
<macro name='GETXADDR'>
<command>SEND 01 C5</command>
</macro>
<macro name='GETKMADDR'>
<command>SEND 01 43</command>
</macro>
</macros>
<commands>
<command name="enable">
<send></send>
</command>
<command name="disable">
<send></send>
</command>
<command name="getaddr">
<retry>3</retry>
<recvTimeout>4000</recvTimeout>
<send>SYNC;GETADDR $addr $hexlen 04;RECV $len $unit</send>
</command>
<command name="gettestaddr">
<retry>3</retry>
<recvTimeout>4000</recvTimeout>
<send>SYNC;GETADDR;SEND BYTES;SEND 01 04;RECV 1</send>
</command>
<command name="getbaddr">
<retry>3</retry>
<recvTimeout>4000</recvTimeout>
<send>SYNC;GETBADDR $addr $hexlen 04;RECV $len $unit</send>
</command>
<command name="getbtestaddr">
<retry>3</retry>
<recvTimeout>4000</recvTimeout>
<send>SYNC;GETBADDR;SEND BYTES;SEND 01 04;RECV 1</send>
</command>
<command name="getpaddr">
<retry>3</retry>
<recvTimeout>4000</recvTimeout>
<send>SYNC;GETPADDR $addr $hexlen 04;RECV $len $unit</send>
</command>
<command name="getptestaddr">
<retry>3</retry>
<recvTimeout>4000</recvTimeout>
<send>SYNC;GETPADDR;SEND BYTES;SEND 01 04;RECV 1</send>
</command>
<command name="getvaddr">
<retry>3</retry>
<recvTimeout>4000</recvTimeout>
<send>SYNC;GETVADDR $addr $hexlen 04;RECV $len $unit</send>
</command>
<command name="getvtestaddr">
<retry>3</retry>
<recvTimeout>4000</recvTimeout>
<send>SYNC;GETVADDR;SEND BYTES;SEND 01 04;RECV 1</send>
</command>
<command name="geteaddr">
<retry>3</retry>
<recvTimeout>4000</recvTimeout>
<send>SYNC;GETEADDR $addr $hexlen 04;RECV $len $unit</send>
</command>
<command name="getetestaddr">
<retry>3</retry>
<recvTimeout>150</recvTimeout>
<send>SYNC;GETEADDR;SEND BYTES;SEND 01 04;RECV 1</send>
</command>
<command name="getxaddr">
<retry>3</retry>
<recvTimeout>150</recvTimeout>
<send>SYNC;GETXADDR $addr $hexlen 04;RECV $len $unit</send>
</command>
<command name="getxtestaddr">
<retry>3</retry>
<recvTimeout>4000</recvTimeout>
<send>SYNC;GETXADDR;SEND BYTES;SEND 01 04;RECV 1</send>
</command>
<command name="getkmaddr">
<send>SYNC;GETKMDDR $addr $hexlen 04;RECV $len $unit</send>
<retry>3</retry>
<recvTimeout>4000</recvTimeout>
</command>
<command name="getkmtestaddr">
<retry>3</retry>
<recvTimeout>4000</recvTimeout>
<send>SYNC;GETKMADDR;SEND BYTES;SEND 01 04;RECV 1</send>
</command>
<command name="init">
<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>
<retry>3</retry>
</command>
<command name="setaddr">
<send>SYNC;SETADDR $addr $hexlen;SEND BYTES $unit;RECV 1 SR</send>
</command>
</commands>
</protocol>
</protocols>
<extern xmlns:xi="http://www.w3.org/2003/XInclude">
<xi:include href="vito.xml" parse="xml"/>
</extern>
</V-Control>