FREMO Interlocking
FStw -> Subsystems -> Wattenscheider Decoder
|
28.09.2007 |
SV Description for generic use
This Chapter describes the Usage of the SV Configuration Variables.
Some SV Variables require special values, that are described later.
10 | PCB Type | RO |
11 | Software Version | RO |
SV 10 and 11 are Read Only. They identify the Board and
the used Software Version.
Do not change!
The Reset Byte is used to reset the SVs to default values.
The Reset Byte has to be 0x55h. If another value is written, all SVs
are reseted by the software!
See Table XY for Configuration.
If the Decoder is unsed for solenoid motors, this Fuse
selects, if the Output is switched off after the
switch operation or if the output is poweres all the time.
This Register configures the time in seconds, a switch operation
enables the output, if SV 14 is enabled.
Defines the initial state of the Decoder.
Default is 0/Stop.
See table at "States".
17 |
Output Inversion Fuse |
RW |
Inverts the Pins of all Outputs.
20 - 21 |
LotusNet Adress of Element 1 |
RW |
The LocoNet Adress is calculated with SV20 x 100 + SV21
e.g. LN Adress 4711: SV20 = 47, SV21 = 11
22 - 23 |
LotusNet Adress of Element 2 |
RW |
The LocoNet Adress is calculated with SV22 x 100 + SV23
24 - 25 |
LotusNet Adress of Element 3 |
RW |
The LocoNet Adress is calculated with SV25 x 100 + SV24
26 - 27 |
LotusNet Adress of Element 4 |
RW |
The LocoNet Adress is calculated with SV26 x 100 + SV27
28 - 29 |
LotusNet Adress of Element 5 |
RW |
The LocoNet Adress is calculated with SV28 x 100 + SV29
30 - 31 |
LotusNet Adress of Element 6 |
RW |
The LocoNet Adress is calculated with SV30 x 100 + SV31
32 - 33 |
LotusNet Adress of Element 7 |
RW |
The LocoNet Adress is calculated with SV32 x 100 + SV33
34 - 35 |
LotusNet Adress of Element 8 |
RW |
The LocoNet Adress is calculated with SV34 x 100 + SV35
36 - 37 |
LotusNet Adress of Input 1 |
RW |
The LocoNet Adress is calculated with SV36 x 100 + SV37
38 - 39 |
LotusNet Adress of Input 2 |
RW |
The LocoNet Adress is calculated with SV38 x 100 + SV39
40 - 41 |
LotusNet Adress of Input 3 |
RW |
The LocoNet Adress is calculated with SV40 x 100 + SV41
42 - 43 |
LotusNet Adress of Input 4 |
RW |
The LocoNet Adress is calculated with SV42 x 100 + SV43
45 |
Input Configuration |
RW |
Bitmap to configure the usage of the 4 Inputs
BIT 0 - Send OPC_INPUT_REP on every state change
BIT 1 - not used
BIT 2 - not used
BIT 3 - Input N controlls outputs like an OPC_SW_REQ on address index N
BIT 4 - Strong filter for transition from low to high
BIT 5 - Strong filter for transition from high to low
BIT 6 - not used
BIT 7 - not used
50 - 52 |
Servo 1 Configuration |
RW |
SV 50 - Servo End MIN ( 0 ... MAX - 1)
SV 51 - Servo End MAX ( MIN + 1 ... 255)
SV 52 - Servo Step, Speed of Servo
54 - 56 |
Servo 2 Configuration |
RW |
See Servo 1 Configuration
58 - 60 |
Servo 3 Configuration |
RW |
See Servo 1 Configuration
62 - 64 |
Servo 4 Configuration |
RW |
See Servo 1 Configuration
66 - 68 |
Servo 5 Configuration |
RW |
See Servo 1 Configuration
70 - 72 |
Servo 6 Configuration |
RW |
See Servo 1 Configuration
SOFTWARE TYPES
0 | Test Mode |
1 | Switch, 4 Turnouts with 2 Pins |
2 | Switch, 2 Turnouts with 2x2 Pins (2 Pins coupled) |
9 | Servo, 6 Servos |
10 | Servo, Analog Mode |
20 | Light Signals, Generic |
STATES
0 | Stop / Straight / Closed |
1 | Stop and Substitution Signal |
2 | Stop and Emergency Red 1 |
3 | Stop and Emergency Red 2 |
4 | Go / Diverging / Open |
5 | Go KS Signal, Next Signal Stop |
6 | Go KS Signal, Next Signal Slow |
7 | Go KS Signal, Next Signal Go |
8 | Go, Vmax = 10km/h |
9 | Go, Vmax = 20km/h |
10 | Go, Vmax = 30km/h |
11 | Go, Vmax = 40km/h |
12 | Go, Vmax = 50km/h |
13 | Go, Vmax = 60km/h |
14 | Go, Vmax = 70km/h |
15 | Go, Vmax = 80km/h |
16 | Go, Vmax = 100km/h |
17 | Go, Vmax = 110km/h |
18 | Go, Vmax = 120km/h |
19 | Stop at Shunting Signal ( use 0 instead!) |
20 | Go at Shunting Signal |
21 | Signal Dead |
22 | Signal Dead, Zs1 |
31 | "Kennlicht" |
|