/
TAMS_FD-R_Basic3.xml
554 lines (554 loc) · 21.5 KB
/
TAMS_FD-R_Basic3.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
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
<?xml version="1.0" encoding="utf-8"?>
<?xml-stylesheet type="text/xsl" href="../XSLT/decoder.xsl"?>
<!-- Copyright (C) JMRI 2006 All rights reserved -->
<!-- -->
<!-- JMRI is free software; you can redistribute it and/or modify it under -->
<!-- the terms of version 2 of the GNU General Public License as published -->
<!-- by the Free Software Foundation. See the "COPYING" file for a copy -->
<!-- of this license. -->
<!-- -->
<!-- JMRI is distributed in the hope that it will be useful, but WITHOUT -->
<!-- ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or -->
<!-- FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License -->
<!-- for more details. -->
<decoder-config xmlns:xi="http://www.w3.org/2001/XInclude" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" showEmptyPanes="no" xsi:noNamespaceSchemaLocation="http://jmri.org/xml/schema/decoder.xsd">
<version version="1" author="Pierre Billon" lastUpdated="20211002"/>
<!-- 1 Creation
Based on FD-R basic 2 latest definition
-->
<decoder>
<family name="Function decoders (FD)" mfg="Tams Elektronik GmbH">
<model model="FD-R Basic 3" numOuts="24" numFns="58" productID="FD-R-B3">
<output name="1" label="F0f|Front light" maxcurrent="300mA"/>
<output name="2" label="F0r|Rear light" maxcurrent="300mA"/>
<output name="3" label="AUX 3" maxcurrent="100mA"/>
<output name="4" label="AUX 4" maxcurrent="100mA"/>
<size length="13" width="9.5" height="3.5" units="mm"/>
<protocols>
<protocol>dcc</protocol>
<protocol>motorola</protocol>
</protocols>
</model>
</family>
<programming direct="yes" paged="yes" register="yes" ops="yes"/>
<variables>
<!-- Calls to std NMRA templates (not in original LD-G-32.xml file) -->
<xi:include href="http://jmri.org/xml/decoders/nmra/shortAndLongAddress.xml"/>
<xi:include href="http://jmri.org/xml/decoders/nmra/cv29speedSteps.xml"/>
<xi:include href="http://jmri.org/xml/decoders/nmra/cv29direction.xml"/>
<xi:include href="http://jmri.org/xml/decoders/nmra/cv29analog.xml"/>
<xi:include href="http://jmri.org/xml/decoders/nmra/mfgVersionId.xml"/>
<xi:include href="http://jmri.org/xml/decoders/nmra/analogModeFunction.xml"/>
<!-- Consist address (consist direction bit 7 not supported) -->
<xi:include href="http://jmri.org/xml/decoders/nmra/consistAddr.xml"/>
<!-- Definitions for Tams-Elektronik function mapping according to RCN-227 -->
<xi:include href="http://jmri.org/xml/decoders/tams/rcn277mapping.xml"/>
<!-- Definitions for Railcom/Motorola Panel -->
<variable item="Enable RailCom" CV="29" mask="XXXXVXXX" default="1">
<xi:include href="http://jmri.org/xml/decoders/parts/enum-disabledEnabled.xml"/>
<label>Enable RailCom</label>
<label xml:lang="fr">RailCom</label>
<label xml:lang="de">RailCom</label>
<label xml:lang="it">Abilita RailCom</label>
</variable>
<variable item="Feedback on canal 1" CV="28" mask="XXXXXXXV" default="1">
<xi:include href="http://jmri.org/xml/decoders/parts/enum-disabledEnabled.xml"/>
<label>Feedback on canal 1</label>
<label xml:lang="fr">Feedback sur canal 1</label>
<label xml:lang="de">Kanal 1</label>
</variable>
<variable item="Feedback on canal 2" CV="28" mask="XXXXXXVX" default="1">
<xi:include href="http://jmri.org/xml/decoders/parts/enum-disabledEnabled.xml"/>
<label>Feedback on canal 2</label>
<label xml:lang="fr">Feedback sur canal 2</label>
<label xml:lang="de">Kanal 2</label>
</variable>
<variable item="Dynamic canal assignment" CV="28" mask="XXXXXVXX" default="0">
<xi:include href="http://jmri.org/xml/decoders/parts/enum-disabledEnabled.xml"/>
<label>Dynamic canal assignment</label>
<label xml:lang="fr">Canal feedback dynamique</label>
<label xml:lang="de">Anwendung dynamischer Kanal 1</label>
</variable>
<variable item="Enable RailCom QOS (Quality Of Service)" CV="10" mask="XXXXXXXV" default="1">
<xi:include href="http://jmri.org/xml/decoders/parts/enum-disabledEnabled.xml"/>
<label>Enable RailCom QOS (Quality Of Service)</label>
<label xml:lang="fr">Récupération de la qualité de réception Railcom</label>
<label xml:lang="de">Dynamische RailCom-Informationen (Empfangsstatistik)</label>
</variable>
<!-- Definitions for Direction dependant controls -->
<variable item="AUX 2 direction mode" CV="53" mask="XXXXXXVV" tooltip="CV53 Bits 0-1">
<enumVal>
<enumChoice choice="Non Directional" value="0">
<choice>Non Directional</choice>
<choice xml:lang="fr">Pas d'influence</choice>
<choice xml:lang="de">Richtungsunabhängig</choice>
</enumChoice>
<enumChoice choice="Inactive in Reverse" value="1">
<choice>Inactive in Reverse</choice>
<choice xml:lang="fr">Inactif en marche arrière</choice>
<choice xml:lang="de">Rückwärts aus</choice>
</enumChoice>
<enumChoice choice="Inactive in Forward" value="2">
<choice>Inactive in Forward</choice>
<choice xml:lang="fr">Inactif en marche avant</choice>
<choice xml:lang="de">Vorwärts aus</choice>
</enumChoice>
</enumVal>
<label>AUX 2 direction mode</label>
<label xml:lang="fr">AUX 2 influence du sens de la marche</label>
<label xml:lang="de">AUX 2 Richtungsabhängigkeit</label>
</variable>
<variable item="AUX 1 direction mode" CV="54" mask="XXXXXXVV" tooltip="CV54 Bits 0-1">
<enumVal>
<enumChoice choice="Non Directional" value="0">
<choice>Non Directional</choice>
<choice xml:lang="fr">Pas d'influence</choice>
<choice xml:lang="de">Richtungsunabhängig</choice>
</enumChoice>
<enumChoice choice="Inactive in Reverse" value="1">
<choice>Inactive in Reverse</choice>
<choice xml:lang="fr">Inactif en marche arrière</choice>
<choice xml:lang="de">Rückwärts aus</choice>
</enumChoice>
<enumChoice choice="Inactive in Forward" value="2">
<choice>Inactive in Forward</choice>
<choice xml:lang="fr">Inactif en marche avant</choice>
<choice xml:lang="de">Vorwärts aus</choice>
</enumChoice>
</enumVal>
<label>AUX 1 direction mode</label>
<label xml:lang="fr">AUX 1 influence du sens de la marche</label>
<label xml:lang="de">AUX 1 Richtungsabhängigkeit</label>
</variable>
<variable item="AUX 3 direction mode" CV="55" mask="XXXXXXVV" tooltip="CV55 Bits 0-1">
<enumVal>
<enumChoice choice="Non Directional" value="0">
<choice>Non Directional</choice>
<choice xml:lang="fr">Pas d'influence</choice>
<choice xml:lang="de">Richtungsunabhängig</choice>
</enumChoice>
<enumChoice choice="Inactive in Reverse" value="1">
<choice>Inactive in Reverse</choice>
<choice xml:lang="fr">Inactif en marche arrière</choice>
<choice xml:lang="de">Rückwärts aus</choice>
</enumChoice>
<enumChoice choice="Inactive in Forward" value="2">
<choice>Inactive in Forward</choice>
<choice xml:lang="fr">Inactif en marche avant</choice>
<choice xml:lang="de">Vorwärts aus</choice>
</enumChoice>
</enumVal>
<label>AUX 3 direction mode</label>
<label xml:lang="fr">AUX 3 influence du sens de la marche</label>
<label xml:lang="de">AUX 3 Richtungsabhängigkeit</label>
</variable>
<!-- Shunting lights with F3 or F4 (FD-R Basic)-->
<variable item="AUX 2 shunting light with F3" CV="53" mask="XXXVXXXX" default="0" tooltip="CV53 Bit 4">
<xi:include href="http://jmri.org/xml/decoders/parts/enum-OffOn.xml"/>
<label>AUX 2 shunting light with F3</label>
<label xml:lang="fr">AUX 2 feux de manoeuvre avec F3</label>
<label xml:lang="de">AUX 2 Rangierlicht mit F3</label>
</variable>
<variable item="AUX 2 shunting light with F4" CV="53" mask="XXVXXXXX" default="0" tooltip="CV53 Bit 5">
<xi:include href="http://jmri.org/xml/decoders/parts/enum-OffOn.xml"/>
<label>AUX 2 shunting light with F4</label>
<label xml:lang="fr">AUX 2 feux de manoeuvre avec F4</label>
<label xml:lang="de">AUX 2 Rangierlicht mit F4</label>
</variable>
<variable item="AUX 1 shunting light with F3" CV="54" mask="XXXVXXXX" default="0" tooltip="CV54 Bit 4">
<xi:include href="http://jmri.org/xml/decoders/parts/enum-OffOn.xml"/>
<label>AUX 1 shunting light with F3</label>
<label xml:lang="fr">AUX 1 feux de manoeuvre avec F3</label>
<label xml:lang="de">AUX 1 Rangierlicht mit F3</label>
</variable>
<variable item="AUX 1 shunting light with F4" CV="54" mask="XXVXXXXX" default="0" tooltip="CV54 Bit 5">
<xi:include href="http://jmri.org/xml/decoders/parts/enum-OffOn.xml"/>
<label>AUX 1 shunting light with F4</label>
<label xml:lang="fr">AUX 1 feux de manoeuvre avec F4</label>
<label xml:lang="de">AUX 1 Rangierlicht mit F4</label>
</variable>
<variable item="AUX 3 shunting light with F3" CV="55" mask="XXXVXXXX" default="0" tooltip="CV55 Bit 4">
<xi:include href="http://jmri.org/xml/decoders/parts/enum-OffOn.xml"/>
<label>AUX 3 shunting light with F3</label>
<label xml:lang="fr">AUX 3 feux de manoeuvre avec F3</label>
<label xml:lang="de">AUX 3 Rangierlicht mit F3</label>
</variable>
<variable item="AUX 3 shunting light with F4" CV="55" mask="XXVXXXXX" default="0" tooltip="CV55 Bit 5">
<xi:include href="http://jmri.org/xml/decoders/parts/enum-OffOn.xml"/>
<label>AUX 3 shunting light with F4</label>
<label xml:lang="fr">AUX 3 feux de manoeuvre avec F4</label>
<label xml:lang="de">AUX 3 Rangierlicht mit F4</label>
</variable>
<!-- Definitions for Dimming FD-R basic 2 -->
<variable item="AUX 2 Dim" CV="49" default="64" tooltip="CV49">
<decVal min="1" max="64"/>
<label>AUX 2 Dim</label>
</variable>
<variable item="AUX 1 Dim" CV="50" default="64" tooltip="CV50">
<decVal min="1" max="64"/>
<label>AUX 1 Dim</label>
</variable>
<variable item="AUX 3 Dim" CV="51" default="64" tooltip="CV51">
<decVal min="1" max="64"/>
<label>AUX 3 Dim</label>
</variable>
<!-- Output mode definitions for FD-R-Basic -->
<variable item="AUX 2 before ON phase" CV="58" tooltip="CV58" default="255">
<decVal min="0" max="255"/>
<label>AUX 2 before ON phase</label>
<label xml:lang="fr">AUX 2 phase avant ON</label>
<label xml:lang="de">AUX 2 Dauer bis zum Einschalten</label>
</variable>
<variable item="AUX 2 ON phase" CV="61" tooltip="CV61" default="0">
<decVal min="0" max="255"/>
<label>AUX 2 ON phase</label>
<label xml:lang="fr">AUX 2 phase ON</label>
<label xml:lang="de">AUX 2 Dauer Ein innerhalb einer Phase</label>
</variable>
<variable item="AUX 1 before ON phase" CV="59" tooltip="CV59" default="255">
<decVal min="0" max="255"/>
<label>AUX 1 before ON phase</label>
<label xml:lang="fr">AUX 1 phase avant ON</label>
<label xml:lang="de">AUX 1 Dauer bis zum Einschalten</label>
</variable>
<variable item="AUX 1 ON phase" CV="62" tooltip="CV62" default="0">
<decVal min="0" max="255"/>
<label>AUX 1 ON phase</label>
<label xml:lang="fr">AUX 1 phase ON</label>
<label xml:lang="de">AUX 1 Dauer Ein innerhalb einer Phase</label>
</variable>
<variable item="AUX 3 before ON phase" CV="60" tooltip="CV60" default="255">
<decVal min="0" max="255"/>
<label>AUX 3 before ON phase</label>
<label xml:lang="fr">AUX 3 phase avant ON</label>
<label xml:lang="de">AUX 3 Dauer bis zum Einschalten</label>
</variable>
<variable item="AUX 3 ON phase" CV="63" tooltip="CV63" default="0">
<decVal min="0" max="255"/>
<label>AUX 3 ON phase</label>
<label xml:lang="fr">AUX 3 phase ON</label>
<label xml:lang="de">AUX 3 Dauer Ein innerhalb einer Phase</label>
</variable>
<!-- Flash frequency configuration -->
<variable item="Common flashing frequency" CV="9" tooltip="CV9 (0: high, 255: low)" default="0">
<decVal min="0" max="255"/>
<label>Common flashing frequency</label>
<label xml:lang="fr">Fréquence de clignotement commune</label>
<label xml:lang="de">Gemeinsame Blinkfrequenz</label>
</variable>
</variables>
<resets>
<factReset label="Reset All CVs" CV="8" default="8">
<label xml:lang="it">Reset delle CV ai valori di fabbrica</label>
</factReset>
</resets>
</decoder>
<!-- RailComconfiguration -->
<pane>
<column>
<display item="Enable RailCom" label="RailCom"/>
<label>
<text> </text>
</label>
<display item="Feedback on canal 1"/>
<label>
<text> </text>
</label>
<display item="Feedback on canal 2"/>
<label>
<text> </text>
</label>
<display item="Dynamic canal assignment"/>
<label>
<text> </text>
</label>
<display item="Enable RailCom QOS (Quality Of Service)"/>
<label>
<text> </text>
</label>
<label>
<text> </text>
</label>
</column>
<name>RailCom</name>
</pane>
<!-- RailCom configuration -->
<!-- Direction control -->
<pane>
<column>
<label>
<text> </text>
</label>
<label>
<text> </text>
</label>
<row>
<column>
<row>
<column>
<label>
<text> </text>
</label>
<display item="AUX 1 direction mode"/>
<label>
<text> </text>
</label>
</column>
<column>
<label>
<text> </text>
</label>
</column>
<column>
<label>
<text> </text>
</label>
<label>
<text>AUX 1 shunting light with </text>
<text xml:lang="fr">AUX 1 feux de manoeuvre avec </text>
<text xml:lang="de">AUX 1 Rangierlicht mit </text>
</label>
<label>
<text> </text>
</label>
</column>
<column>
<row>
<display item="AUX 1 shunting light with F3" format="checkbox" layout="above" label="F3"/>
<display item="AUX 1 shunting light with F4" format="checkbox" layout="above" label="F4"/>
</row>
<label>
<text> </text>
</label>
</column>
</row>
<row>
<column>
<row>
<display item="AUX 1 Dim"/>
<label>
<text> </text>
</label>
<display item="AUX 1 Dim" label="" format="hslider"/>
</row>
</column>
<column>
<label>
<text> </text>
</label>
</column>
<column>
<row>
<display item="AUX 1 before ON phase"/>
<label>
<text> </text>
</label>
<display item="AUX 1 before ON phase" label="" format="hslider"/>
</row>
<row>
<display item="AUX 1 ON phase"/>
<label>
<text> </text>
</label>
<display item="AUX 1 ON phase" label="" format="hslider"/>
</row>
</column>
</row>
</column>
</row>
<label>
<text> </text>
</label>
<label>
<text> </text>
</label>
<separator/>
<label>
<text> </text>
</label>
<row>
<column>
<row>
<column>
<label>
<text> </text>
</label>
<display item="AUX 2 direction mode"/>
<label>
<text> </text>
</label>
</column>
<column>
<label>
<text> </text>
</label>
</column>
<column>
<label>
<text> </text>
</label>
<label>
<text>AUX 2 shunting light with </text>
<text xml:lang="fr">AUX 2 feux de manoeuvre avec </text>
<text xml:lang="de">AUX 2 Rangierlicht mit </text>
</label>
<label>
<text> </text>
</label>
</column>
<column>
<row>
<display item="AUX 2 shunting light with F3" format="checkbox" layout="above" label="F3"/>
<display item="AUX 2 shunting light with F4" format="checkbox" layout="above" label="F4"/>
</row>
<label>
<text> </text>
</label>
</column>
</row>
<row>
<column>
<row>
<display item="AUX 2 Dim"/>
<label>
<text> </text>
</label>
<display item="AUX 2 Dim" label="" format="hslider"/>
</row>
</column>
<column>
<label>
<text> </text>
</label>
</column>
<column>
<row>
<display item="AUX 2 before ON phase"/>
<label>
<text> </text>
</label>
<display item="AUX 2 before ON phase" label="" format="hslider"/>
</row>
<row>
<display item="AUX 2 ON phase"/>
<label>
<text> </text>
</label>
<display item="AUX 2 ON phase" label="" format="hslider"/>
</row>
</column>
</row>
</column>
</row>
<label>
<text> </text>
</label>
<label>
<text> </text>
</label>
<separator/>
<label>
<text> </text>
</label>
<row>
<column>
<row>
<column>
<label>
<text> </text>
</label>
<display item="AUX 3 direction mode"/>
<label>
<text> </text>
</label>
</column>
<column>
<label>
<text> </text>
</label>
</column>
<column>
<label>
<text> </text>
</label>
<label>
<text>AUX 3 shunting light with </text>
<text xml:lang="fr">AUX 3 feux de manoeuvre avec </text>
<text xml:lang="de">AUX 3 Rangierlicht mit </text>
</label>
<label>
<text> </text>
</label>
</column>
<column>
<row>
<display item="AUX 3 shunting light with F3" format="checkbox" layout="above" label="F3"/>
<display item="AUX 3 shunting light with F4" format="checkbox" layout="above" label="F4"/>
</row>
<label>
<text> </text>
</label>
</column>
</row>
<row>
<column>
<row>
<display item="AUX 3 Dim"/>
<label>
<text> </text>
</label>
<display item="AUX 3 Dim" label="" format="hslider"/>
</row>
</column>
<column>
<label>
<text> </text>
</label>
</column>
<column>
<row>
<display item="AUX 3 before ON phase"/>
<label>
<text> </text>
</label>
<display item="AUX 3 before ON phase" label="" format="hslider"/>
</row>
<row>
<display item="AUX 3 ON phase"/>
<label>
<text> </text>
</label>
<display item="AUX 3 ON phase" label="" format="hslider"/>
</row>
</column>
</row>
</column>
</row>
<label>
<text> </text>
</label>
<label>
<text> </text>
</label>
<separator/>
<label>
<text> </text>
</label>
<label>
<text> </text>
</label>
<row>
<display item="Common flashing frequency"/>
<!-- FD-R Basic -->
<label>
<text> </text>
</label>
<display item="Common flashing frequency" label="" format="hslider"/>
</row>
<label>
<text> </text>
</label>
</column>
<name>AUX</name>
</pane>
</decoder-config>