Qdecoder Z1 Series User manual

Connections and operating modes of Z1 and ZH1
This manual applies to all standard and all-in-one Qdecoder
of series Z1 and ZH1
Details concerning decoder with 16 terminals are marked with colored
background.
(red/green) at DCC accessory addresses 1 to 4 (8 for Zx-16)
Z1 and ZH1 provide 8 or 16 equal and independently controllable function
outputs. They can be switched on and off with commands from the digital
control unit or with locally connected key buttons.
The decoder uses DC power to switch the connected accessories, regardless
of whether the decoder‘s terminals Trafo are connected to a transformer, a
power supply or the track signal.
The following pictures show the function principle of Z1 and Z1H. On the left
side the power supply and the track terminals and on the other side the
function outputs and the local supply terminals for accessories are depicted.
The Z1 operates a switch between function output and local ground whereas
the ZH1 switches the function output to the local supply. Accessory devices
of the Z1 are connected between function output and local supply, devices
for ZH1 are attached to function output and ground.
Z1
decoder
Trafo
Gleis
=
#
ZH1
decoder
Receiver
Accessory
device
function
output
Trafo
Gleis
=
#
Z1
decoder
Receiver
Accessory
device
Function
output

Connection of accessory devices to the Z1
ÎLight signals, single bulbs and LEDs
The lamps of a light signal are connected to the function outputs A0 to A7
(A15) of the decoder. The blue terminals are used as common return
conductor for the Z1 series. For ZH1 decoder the common return is applied
to the brown ground terminals. For a group of 4 function outputs a blue
and a brown terminal is provided.
Only every second “center terminal” between two function outputs is a
return conductor. The other ones can be used for applying switches, or
permanently switched on lamps
Using light signals with bulbs
dimming the brightness is possible
via programming CV‘s (CV 112, CV
122, ....) or reduce the brightness by
applying resistors.
It is mandatory to connect light
signals with LEDs using additional
resistors. In some cases these resistors are already included in the
signal socket. Operating LEDs without resistors may lead into immediate
destruction of the LEDs and signals.
For light signals with common anode a Z1 decoder is required. Light signals
with a common cathode are operated with a ZH1 decoder. Many light signal
manufacturers ship their models with a common anode.
ÎPermanently switched on lamps and LEDs
between the blue and brown terminals.
ÎTurnouts, relays and semaphore signals
The two coils of magnetic drives are attached to the terminals and
of output groups A0/A1 to A14/A15. Usually the -output switches the
turning track of the turnout, while the straight track switches with the
-output. If the turnout switches not as expected, change the terminals
accordingly. With semaphore signal drives the wire for the „stop“ signal
aspect is connected to the -output. The common return conductor of the
coils is connected to the -terminal. Two output pairs share one common
return. Using a ZH1 decoder the common return is attached to the brown
gorund terminal .
A0 A1 A2 A3 A4 A5 A6 A7
2011
ZH1
1...3 k:
Z1

ÎMotoric turnout drives
Motoric turnout drives can not be controlled by a decoder of the Z1 or ZH1
series. Apply a Z2 series decoder instead.
ÎAdditional key buttons for switching turnouts etc.
Turnouts or semaphore signals can be switched
manually or automatically (train controlled)
by key buttons, reed relays or light barriers
attached in parallel to any function output
terminal. Applying the same principle lamps
or LEDs can be switched on by key buttons
attached in parallel to the function output.
Attach extra key buttons to the brown ground terminals (Z1) or the
blue terminal (ZH1). Do not attach extra key buttons to the track signal
or other power supplys. You risk the destruction of the decoder.
When using additional key buttons we recommend to use turnouts with
limit stop to prevent excessive loads due to long switching pulses.
ÎEvaluation of key buttons etc
Decoder of the all-in-one class are able
to evaluate key button levels or reed
relays for the signal aspect generator.
The devices have to be attached using
Use the Prog button to select one of the following modes for Z1/ZH1:
Command Accessory device Operating mode
1
Turnouts
(no fading)
¼ s pulse length
1 ½ s pulse length
2 1 s pulse length
2 2 s pulse length
3 continous operation
3 Light signals two aspects (red/green)
4 three aspects (red/green/green-yellow)
4 Lightdecoder Ausgänge jeweils einzeln geschaltet
i/Sig 2
A3
W i/Sig 3
A4 A5
W i/Sig 4
A6 A7
2011
Z1
Key button
for drive
Turnout
A0 A1 A2 A3 A4 A5 A6 A7
2011
220 :
Z1
ZH1

The table lists the commands for addresses 1 to 4. If a command with address 5 to
Qdecoder Setup“.
Î
Command 1
,
1
,
2
,
2
,
3
: Turnouts and Semaphore Signals
Turnouts are connected to the decoder as follows:
Wei/Sig 1
A0 A1
Wei/Sig 2
A2 A3
Wei/Sig 3
A4 A5
Wei/Sig 4
A6 A7
2011
Turnout T1
For
ZH1
replace
blue by brown
terminal
Turnout T2 Turnout T
3
Turnout T4
Turnout T8 Turnout T7 Turnout T
6
Turnout T5
Wei/Sig 5
A8
A9
Wei/Sig 6
A10A11
Wei/Sig 7
A12A13
Wei/Sig 8
A14A15
The operating mode „continuous mode“ is suitable for turnouts with limit
stop. Other turnouts require a pulsed mode. Often the shortest pulse
pulse duration.
The duration of the switching pulse is set with the programming command. Use CV3
to CV6 for changing the pulse duration of a pair of function outputs if required. The
pulse duration for A0 independently from A1 (CV127/CV126). (CV137/CV136 for A2,
..., until CV187/CV186 for A7; for Z1-16 until CV277/CV276 for A15) Thus the pulse
button, with the following accessory addresses:
Commands Address to switch
T1 T2 T3 T4 T5 T6 T7 T8
1 1 2 2 3 12345678
5 5 6 6 7 56789101112
+4 / +4
command between 245 and 248, e.g. „246 “ for 1 second pulse duration.
The addresses of the turnouts can be changed using the following CVs:
Accessory addresses
Turnout 1 AS1 = CV1 + 256 * CV9 Turnout 5 AS5 = CV573 + 256 * CV572
Turnout 2 AS2 = CV555 + 256 * CV554 Turnout 6 AS6 = CV579 + 256 * CV578
Turnout 3 AS3 = CV561 + 256 * CV560 Turnout 7 AS7 = CV585 + 256 * CV584
Turnout 4 AS4 = CV567 + 256 * CV566 Turnout 8 AS8 = CV591 + 256 * CV590
and the value 700 - (2 * 256) = 188 into CV566.

Î
Command 3
: Two-Aspect Block Signals (red/green)
The lamps of a block signal are connected to terminals and of an output
pair A0/A1 to A14/A15. The common return conductor of the signal is
attached to the blue terminal of a Z1 or the brown terminal of a ZH1.
The outputs are switched in light signal mode with fading of ¼ second.
Wei/Sig 1
A0 A1
Wei/Sig 2
A2 A3
Wei/Sig 3
A4 A5
Wei/Sig 4
A6 A7
2011
Signal S1 Signal S2
Signal S3
Signal S4
Signal S8 Signal S7
Signal S6
Signal S5
Wei/Sig 5
A8
A9
Wei/Sig 6
A10A11
Wei/Sig 7
A12A13
Wei/Sig 8
A14A15
For
ZH1
replace
blue by brown
terminal
Every signal is switched with one accessory address. The correspondence
variables, like for turnouts, too.
Command to switch
! " # $ %
31 1 2 2 3 3 4 4 5 5 6 6 7 7 8 8
7 5 5 6 6 7 7 8 8 9 9 10 10 11 11 12 12
+4 +4 /
Î
Command 4
: Light Signals with 3 Aspects
A Z1 decoder can control simple three-aspect light signals like Hp signals of
the German railway, Hl main signals without strips, Austrian ÖBB signals or
Swiss-type signals Typ L.
Signal S1 Signal S2 Signal S3
Signal S3
yellow
Signal S4Signal S5
Lamp L6
A8
Wei/Sig 1
A0 A1
Wei/Sig 2
A2 A3
Wei/Sig 3
A4 A5
Wei/Sig 4
A6 A7
2011
Wei/Sig 5
A8
A9
Wei/Sig 6
A10A11
Wei/Sig 7
A12A13
Wei/Sig 8
A14A15
For a ZH1 use the brown terminals instead of the blue ones for the common return.
Every signal corresponds to an accessory address ASignal. In the following
table signal Hp0 is switched by command ASignal , Hp1 by ASignal and Hp2 by
the -command of ASignal+1:

Command to switch
! " L6
41 1 2 3 3 4 5 5 6 7 7 8 9 9 10 111)
8 5 5 6 7 7 8 9 9 10 11 11 12 13 13 14 15
+4 +4 /
1) L6 is switched on by command „11 “ and off with command „11 “.
For a decoder with 8 function outputs the third signals has only two aspects.
The correspondence between adresses and signals can be changed by
programming the following CVs:
&'
Signal 1 AS1 = CV1 + 256 * CV9 Signal 4 AS4 = CV576 + 256 * CV575
Signal 2 AS2 = CV558 + 256 * CV557 Signal 5 AS5 = CV573 + 256 * CV572
Signal 3 AS3 = CV567 + 256 * CV566 Lampe 6 AL6 = CV585 + 256 * CV584
Î
Command 4
: Light Decoder Mode
Every output A0 to A7/A15 is switched on and off with one individual
fading of ¼ second.
Wei/Sig 1
A0 A1
Wei/Sig 2
A2 A3
Wei/Sig 3
A4 A5
Wei/Sig 4
A6 A7
2011
Wei/Sig 5
A8
A9
Wei/Sig 6
A10A11
Wei/Sig 7
A12A13
Wei/Sig 8
A14A15
Lampe L1 L2 L4
L3 L6
L5 L8
L7
L16 L15 L13
L14 L11
L12 L9
L10
For a ZH1 use the brown terminals instead of the blue ones for the common return.
Command to switch on
L1 L2 L3 L4 L5 L6 L7 L8 L9 L10 L11 L12 L13 L14 L15 L16
41 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16
8 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20
+4 +4
The corresponding -command will switch off the lamps.
as described before.
© Copyright Qelectronics GmbH 12/2011

-
uration variables (CVs). For details see folder “Overview on Qdecoder
CVs” or the „Qdecoder Book“.
details please refer to the user guide of your control unit.
One accessory address and one mode CV are assigned to each function
up to 10 other CVs. CVs belonging to the function outputs are listed in the
output for a connected device.
Out-
put
Accessory Address Mode Properties
MSB 1) LSB 2)
A0 CV9 CV 1 CV1 + 256 * CV9 CV550 CV112 - CV121
A1 CV551 CV 552 CV552 + 256 * CV551 CV553 CV122 - CV131
A2 CV554 CV 555 CV555 + 256 * CV554 CV556 CV132 - CV141
A3 CV557 CV 558 CV558 + 256 * CV557 CV559 CV142 - CV151
A4 CV560 CV 561 CV561 + 256 * CV560 CV562 CV152 - CV161
A5 CV563 CV 564 CV564 + 256 * CV563 CV565 CV162 - CV171
A6 CV566 CV 567 CV567 + 256 * CV566 CV568 CV172 - CV181
A7 CV569 CV 570 CV570 + 256 * CV569 CV571 CV182 - CV191
A8 CV572 CV 573 CV573 + 256 * CV572 CV574 CV192 - CV201
A9 CV575 CV 576 CV576 + 256 * CV575 CV577 CV202 - CV211
A10 CV578 CV 579 CV579 + 256 * CV578 CV580 CV212 - CV221
A11 CV581 CV 582 CV582 + 256 * CV581 CV583 CV222 - CV231
A12 CV584 CV 585 CV585 + 256 * CV584 CV586 CV232 - CV241
A13 CV587 CV 588 CV588 + 256 * CV587 CV589 CV242 - CV251
A14 CV590 CV 591 CV591 + 256 * CV590 CV592 CV252 - CV261
A15 CV593 CV 594 CV594 + 256 * CV593 CV595 CV262 - CV271
1) MSB = address / 256
2) LSB = address - (address / 256)
Example: If a three-aspect signals is connected to A5, A6 and A7, CVs

ÎAccessory Adresses
support only a limited range of addresses, often only up to the address 1023.
For the Motorola protocol the address range is even far smaller. Please refer
to the documentation of your control unit for the supported address range.
Examples for accessory addresses (for CV numbers see table on the left):
Accessory address for A0 = 1 : CV9 = 0, CV1 = 1
Accessory address for A0 = 10 : CV9 = 0, CV1 = 10
Accessory address for A1 = 100 : CV551 = 0, CV552 = 100
Accessory address for A2 = 255 : CV554 = 0, CV555 = 255
Accessory address for A0 = 256 : CV9 = 1, CV1 = 0
Accessory address for A3 =1000 : CV557 = 3, CV558 = 232
ÎMode CVs
how many function outputs
are switched together with the output belonging to that CV. For
all the following (belonging) outputs the value “0” has to be set. When
writing values greater than “1” to a Mode CV, automatically all other mode
variables for the other (belonging) function outputs will be set to “0”.
Example: If you write the value “2” to a Mode CV than the mode variable of the subse-
quent output will be set to “0”, if you write the value “3” the two following Mode CVs
will be set to “0”, and so on.
ÎExamples
This chapter presents some examples of useful applications for the Z1/ZH1
Qdecoder series. They give an impression of the enormous diversity of
applications and should provide inspiration for your own ideas.
The symbols used are taken from the folder “Overview on Qdecoder CVs”:
Zeichen Bedeutung Zeichen Bedeutung
ton On time toff Off time
trFade-in time tfFade-out time
nPuls Number of pulses d Dimming
Switch delay
shipped decoders (differences to the default settings).

Example how to “read” the following table: A turnout is connected to two function
outputs („1“ and „2“, which could be any pair of consecutive outputs). The Mode-CV
output „2“ is programmed automatically.
Mode Address
Turnout 12A
Turnout ton = switching puls duration
tr, tf= 0
20-
for the second output is ignored. Opposing to the default settings the switching pulse
duration, the fade-in and fade-out times must be set for both outputs. This requires a
total of 6 to 8 CV write commands in opposite to the simple usage of the programming
button. This, however, will set up all function outputs of the decoder to identical
values (besides the address), which is not always desired.
Mode Address
Block Signal 12A
Signal
No changes required
20-
Three-aspect
Signal
119 ASignal A three-aspect light signal requires the
CV-Mode value = „19“ as an exception.
No further changes required
20-
30-
1 out of 3
lamps active
13A
single
No changes required
20-
30-
Blinking light 1 Ablink on and toff
light
(single)
1A
ton = 1 (1/100 second), tf= 0, tr= 40
Use a bright LED, no light bulb.
Cyclic (Photo)
1A
ton = 1, tf= 0, tr= 40
off (
)
Vapor
discharge lamp
(e.g. street lighting)
1A
lamp
(e.g. 248 for 120 seconds = 2 minutes).
Use a light bulb! A LED will fade-in non-linear.
60 seconds blinking
1A
light ton = toff = 50, npulse = 60
Staircase lighting
1A
light
on and toff, e.g. ton = 1000 (10
seconds), toff = 2000 (20 seconds)

Mode Address
Staircase lighting
(3 times on/off)
1A
Light
on and toff, nPuls = 3
Is switched on and off 3 times
Irregular light
1A
Light ton = 90, toff = 70, tr= 80, tf= 100
Alternating
blinking light
11A
Blink on and toff
Addresses
ABlink
have to be
identical.
21A
Blink
ton, toff same as for 1
nPuls = 128
Alternating
blinking light
(10 times)
11A
Blink on, toff. nPuls = 10
21A
Blink ton, toff same as for 1. nPuls = 138
4 LEDs in
sequence
11A
Light ton = 60, toff = 180
21A
Light ton = 60, toff
31A
Light ton = 60, toff
41A
Light ton = 180, toff = 60, nPuls = 128
3 LEDs in sequence
with time out
11A
Light ton = 60, toff = 180
21A
Light ton = 60, toff
31A
Light ton = 60, toff
3 LEDs
11A
feuer ton = 90, toff = 70, tr= 80, tf= 100, d = 40
21A
feuer ton = 85, toff = 65, tr= 80, tf= 100 , d = 70
31A
feuer ton = 80, taus = 60, tr= 80, tf= 100
Blinking lights at
road works
(asynchronous!)
11A
roadlight ton = 60, toff = 60
21A
roadlight ton = 64, toff = 58
31A
roadlight ton = 67, toff = 63
Illuminated
advertising
11A
Light ton = 200, toff = 60, tr= 130, tf= 10
Cross-fading
illuminated
advertising
11A
Light ton = 60, toff = 120, tr= 60, tf= 60
21A
Light ton = 60, toff = 120, tr= 60, tf
31A
Light ton = 60, toff = 120, tr= 60, tf
This manual suits for next models
1
Other Qdecoder Media Converter manuals