Manual
Locomotive decoders
LD-G-32.2 and LD-W-32.2
LD-G-32.2
Item no. 41-01420
Item no. 41-01421
Item no. 41-01422
LD-W-32.2
Item no. 41-02420
Item no. 41-02421
tams elektronik
n n n
DCC MM
English LD-G-32.2 and LD-W-32.2
Contents
1. Getting started............................................................................4
2. Safety instructions.......................................................................6
3. Safe and correct soldering...........................................................9
4. Operation overview...................................................................10
4.1. Modes of operation............................................................10
4.2. Driving of the motor..........................................................12
4.3. Function outputs...............................................................14
4.4. Releasing the functions......................................................15
4.5. Automated processes.........................................................15
4.6. Feedback with RailCom**..................................................16
5. Technical specifications..............................................................17
6. Connections..............................................................................18
6.1. Connector pin assignment LD-G-32.2..................................19
6.2. Connector pin assignment LD-W-32.2.................................20
6.3. Using decoders with interface connectors...........................21
6.4. Use in locomotives with a.c. motor.....................................21
6.5. Mounting decoders without interface..................................22
6.6. Connecting LEDs to the function outputs............................24
6.7. Connecting inductive loads.................................................26
6.8. Connecting accessories via a relay......................................26
6.9. Connecting a buffer capacitor.............................................27
6.10.Fixing the decoder.............................................................27
7. Programming............................................................................28
8. Configuration variables and registers..........................................30
9. Check list for troubleshooting.....................................................41
Page 2
LD-G-32.2 and LD-W-32.2 English
10. Guarantee bond........................................................................43
11. EU declaration of conformity......................................................44
12. Declarations conforming to the WEEE directive...........................44
© 07/2018 Tams Elektronik GmbH
All rights reserved. No part of this publication may be reproduced or
transmitted in any form or by any means, electronic or mechanical,
including photocopying, without prior permission in writing from Tams
Elektronik GmbH.
Subject to technical modification.
The asterisks **
RailCom® is the registered trademark of:
Lenz Elektronik GmbH | Vogelsang 14 | DE-35398 Gießen
To increase the text´s readability we have refrained from refering to
this point in each instance.
This manual mentions the following companies:
Gebr. MÄRKLIN & Cie. GmbH | Stuttgarter Str. 55-57 |DE-73033 Göppingen
Uhlenbrock Elektronik GmbH | Mercatorstraße 6 | DE-46244 Bottrop
Page 3
English LD-G-32.2 and LD-W-32.2
1. Getting started
How to use this manual
This manual gives step-by-step instructions for safe and correct fitting and
connecting of the decoder, and operation. Before you start, we advise you
to read the whole manual, particularly the chapter on safety instructions
and the checklist for trouble shooting. You will then know where to take
care and how to prevent mistakes which take a lot of effort to correct.
Keep this manual safely so that you can solve problems in the future. If
you pass the decoder on to another person, please pass on the manual
with it.
Intended use
The locomotive decoders LD-G-32.2 and LD-W-32.2 are designed to be
operated according to the instructions in this manual in model building,
especially in digital model railroad layouts. Any other use is
inappropriate and invalidates any guarantees.
The locomotive decoders should not be mounted by children under the
age of 14.
Reading, understanding and following the instructions in this manual
are mandatory for the user.
Page 4
LD-G-32.2 and LD-W-32.2 English
Checking the package contents
Please make sure that your package contains:
one or five locomotive decoders, depending on the version with or
without soldered connecting wires resp. with or without interface
connector;
a CD (containing the manual and further information).
N.B. For technical reasons it is possible that the PCB is not completely
inserted. This is not a fault.
Available versions
Connecting wires /
Interface
LD-G-32.2 LD-W-32.2
without wires + +
with wires + +
according to NEM 650 8- pole (NEM 652) –
according to NEM 658 – –
according to NEM 660 – –
Required materials
For mounting and connecting decoders without interface you need:
an electronic soldering iron (max. 30 Watt) or a regulated soldering
iron with a fine tip and a soldering iron stand,
a tip-cleaning sponge,
a heat-resistant mat,
a small side cutter, a wire stripper and a pair of tweezers,
electronic tin solder (0.5 mm diameter).
Page 5
English LD-G-32.2 and LD-W-32.2
In order to connect decoders without interface or soldered connecting
wires you will need wire. Recommended cross sections:
> 0,04 mm² for the connections to the function outputs;
> 0,05 mm² for the connections to the motor and current collectors.
If you want to connect a decoder LD-G-32.2 to an a.c. motor you need:
a load control adapter LRA (item no. 70-02105 or 70-02106) or
a permanent magnet (e.g. item no. 70-04100, 70-04200 or 70-
04300) or
a motor modification set (e.g. item no. 70-40110, 70-40210 or 70-
40310).
In order to bridge short current interruptions you need:
an electrolytic capacitor with a capacity of 100 to 470 µF and a
proof voltage of minimum 35 V.
2. Safety instructions
Caution:
Integrated circuits (ICs) are inserted on the decoder. They are
sensitive to static electricity. Do not touch components without first
discharging yourself. Touching a radiator or other grounded metal part
will discharge you.
Mechanical hazards
Cut wires can have sharp ends and can cause serious injuries. Watch
out for sharp edges when you pick up the PCB.
Visibly damaged parts can cause unpredictable danger. Do not use
damaged parts: recycle and replace them with new ones.
Page 6
LD-G-32.2 and LD-W-32.2 English
Electrical hazards
Touching powered, live components,
touching conducting components which are live due to malfunction,
short circuits and connecting the circuit to another voltage than
specified,
impermissibly high humidity and condensation build up
can cause serious injury due to electrical shock. Take the following
precautions to prevent this danger:
Never perform wiring on a powered module.
Assembling and mounting the kit should only be done in closed,
clean, dry rooms. Beware of humidity.
Only use low power for this module as described in this manual and
only use certified transformers.
Connect transformers and soldering irons only in approved mains
sockets installed by an authorised electrician.
Observe cable diameter requirements.
After condensation build up, allow a minimum of 2 hours for dispersion.
Use only original spare parts if you have to repair the kit or the
ready-built module.
Fire risk
Touching flammable material with a hot soldering iron can cause fire, which
can result in injury or death through burns or suffocation. Connect your
soldering iron or soldering station only when actually needed. Always keep
the soldering iron away from inflammable materials. Use a suitable
soldering iron stand. Never leave a hot soldering iron or station unattended.
Page 7
English LD-G-32.2 and LD-W-32.2
Thermal danger
A hot soldering iron or liquid solder accidentally touching your skin can
cause skin burns. As a precaution:
use a heat-resistant mat during soldering,
always put the hot soldering iron in the soldering iron stand,
point the soldering iron tip carefully when soldering, and
remove liquid solder with a thick wet rag or wet sponge from the
soldering tip.
Dangerous environments
A working area that is too small or cramped is unsuitable and can cause
accidents, fires and injury. Prevent this by working in a clean, dry room
with enough freedom of movement.
Other dangers
Children can cause any of the accidents mentioned above because they
are inattentive and not responsible enough. Children under the age of
14 should not be allowed to work with this kit or the ready-built
module.
Caution:
Little children can swallow small components with sharp edges, with
fatal results! Do not allow components to reach small children.
In schools, training centres, clubs and workshops, assembly must be
supervised by qualified personnel.
In industrial institutions, health and safety regulations applying to
electronic work must be adhered to.
Page 8
LD-G-32.2 and LD-W-32.2 English
3. Safe and correct soldering
Caution:
Incorrect soldering can cause dangers through fires and heat. Avoid
these dangers by reading and following the directions given in the
chapter Safety instructions.
Use a small soldering iron with max. 30 Watt. Keep the soldering tip
clean so the heat of the soldering iron is applied to the solder point
effectively.
Only use electronic tin solder with flux.
When soldering electronic circuits never use soldering-water or
soldering grease. They contain acids that can corrode components
and copper tracks.
Solder quickly: holding the iron on the joints longer than necessary can
destroy components and can damage copper tracks or soldering eyes.
Apply the soldering tip to the soldering spot in such a way that the
wire and the soldering eye are heated at the same time.
Simultaneously add solder (not too much). As soon as the solder
becomes liquid take it away. Hold the soldering tip at the spot for a
few seconds so that the solder flows into the joint, then remove the
soldering iron.
The joint should be held still for about 5 seconds after soldering.
To make a good soldering joint you should use a clean and
unoxidised soldering tip. Clean the soldering tip with a damp piece of
cloth, a damp sponge or a piece of silicon cloth.
After soldering check (preferably with a magnifying glass) tracks for
accidental solder bridges and short circuits. This would cause faulty
operation or, in the worst case, permanent damage. You can remove
excess solder by putting a clean soldering tip on the spot. The solder
will become liquid again and flow from the soldering spot to the
soldering tip.
Page 9
English LD-G-32.2 and LD-W-32.2
4. Operation overview
4.1. Modes of operation
Digital operation
The locomotive decoder is a multiple protocol decoder, that can operate
with and automatically recognise both DCC or Motorola formats.
The number of addresses is dependant on the format being used:
Motorola-Format: 255 addresses,
DCC-Format: 127 Basis-addresses or 10.239 extended addresses.
In the DCC format the decoder can be driven in all speed levels (14, 28
or 128). In the Motorola format the decoder can be driven in 14 or 27
speed levels. Driving all 27 speed levels can be done only with central
units which support this mode (e.g. MasterControl). With central units
which allow 14 speed levels only, it is only possible to select every
second speed level.
Programming the decoders is done:
in Motorola format by setting the registers,
in DCC format by setting the configuration variables (direct
programming, DCC conform) or by POM (programming on main =
main track programming).
Page 10
LD-G-32.2 and LD-W-32.2 English
Analogue mode
The locomotive decoder can also be used in analogue model railway
layouts run with a D.C. speed control, and with restrictions with an A.C.
speed control. When putting the vehicle on the rails the decoder
recognizes automatically if it is run in analogue or digital mode and sets
the corresponding operation mode. The automatic recognition of the
analogue mode can be switched off.
Caution:
Old analogue driving transformers (e.g. models in a blue housing
from Märklin**) are not suitable for use with digital decoders in
analogue operation! These transformers have been designed for the
older supply voltage of 220 V and, due to construction, generate very
high excess voltage impulses when changing the driving direction.
When using them with the modern supply voltage of 230 V too high
excess voltage impulses can occur, damaging electronic parts on the
decoder. For that reason only use driving transformers designed for a
net voltage of 230 V.
Switching the function outputs on or off is not possible in analogue
mode. They can be programmed so that they are either switched on or
off in analogue mode. The effects set for the outputs are active in
analogue mode as well.
Outputs to be switched with F0 are switched on or off in analogue mode
according to the direction of travel. When operated in analogue d.c.
layouts this applies only to lamps or accessories where the return
conductor is connected to the decoder´s common return conductor for all
function outputs.
The decoders´ load control is not active in analogue mode.
Page 11
English LD-G-32.2 and LD-W-32.2
4.2. Driving of the motor
Pulse width modulation
The different decoder types are designed to optimally control their
particular fitting motor types.
Decoder
type
PWM Suitable for coreless
(Faulhaber) motors
LD-G-32.2
32 kHz (fixed) yes
LD-W-32.2 480 or 60 Hz (to be set) no
Load control
The LD-G-32.2 for DC motors has a load control, the LD-W-32.2 for AC
motors do not have this function.
The load control influences the motor voltage to keep the locomotive
with a set speed level at constant velocity, independent of additional
loads (e.g. running up a gradient, coupled carriages).
It is possible to switch on and off the load control by varying a CVvariable of the decoder. The parameters of the load control may be
altered, in order to adapt the decoder to the motor´s individual
characteristics.
Parameters of the load control: The load control is determined by
three parameters which have to be coordinated in order to achieve
optimal driving characteristics. Each of the load control parameters is
assigned to a configuration variable. The parameters are:
KP: The proportional component of the load control ensures the
difference between the set and the present value being as small as
possible. It cannot have the value "0" at any time. This component
affects the basic speed. In case the set value is too small the
locomotive runs too slowly. In case the set value is too high the
locomotive stutters while moving.
Page 12
LD-G-32.2 and LD-W-32.2 English
KI: The integral component of the load control ensures the remaining
difference between the set and the present value is reduced to 0 and so
for the correction of very small divergences. If the set value is too high
the locomotive stutters massively while moving.
KD: The differential component of the load control ensures that the
control is not converted too quickly. Is the set value to low then the
locomotive stutters. If the set value is too high, the locomotive rocks
while moving.
Velocity characteristic
The decoder can be adjusted to the driving characteristics of the motor
and the characteristic speed of the locomotive type, by setting the
starting and maximum velocity. From these two settings the decoder
generates a linear velocity characteristic.
When the speed level mode is set to 28 speed levels, it is possible to
assign any motor voltage to all of the 28 speed levels as an alternative
to the linear velocity characteristic. This allows the programming of a
velocity characteristic which adjusts the individual driving characteristics
of the motor. The set values are saved in the alternative velocity table.
Shunting gear
It is possible to switch into the shunting gear mode via a function key
(in state of delivery F3), when so programmed. In the shunting gear
mode, the velocity of all speed levels is reduced to approx. 50 %
compared to the set velocity.
Acceleration and brake delay
It is possible to program the acceleration and brake delay individually
via the central unit. When so programmed, it can be switched on and
off with a function key (in state of delivery F4).
Page 13
English LD-G-32.2 and LD-W-32.2
Emergency stop
It is possible to carry out an emergeny stop at a change of direction
automatically, when so programmed.
4.3. Function outputs
The decoder has function outputs, which are available to connect
optional accessories (e.g. lighting, smoke generator, sound module,
electric coupling). The accessories´ number and type to be connected
depends on the outputs´number and maximum current as well as on
the maximum total current of the special decoder (see section 5
"Technical specifications").
Effects of the function outputs
It is possible to set the following effects for the function outputs
individually:
Switching on and off depending on the direction of travel.
Flashing and double flashing. Both the frequency and the keying
ratio can be set. E.g. single and double flash lights or strobe lights.
Dimming: Example of use: The electric bulbs of older vehicles made
for analogue operation can be dimmed and thus must not be
exchanged after the mounting of the decoder.
Shunting light: You can program the outputs so that they are switched on
generally during shunting operation (to be switched with F3 or F4). The
dependence on the direction of travel will be nullified for these outputs
during shunting operation.
Page 14
LD-G-32.2 and LD-W-32.2 English
4.4. Releasing the functions
The function outputs can be released by pushing the function keys. The
mapping of the outputs to the function keys and the switching inputs is
arbritary. It is possible to assign several function keys and switching
inputs to one output.
Outputs DCC format MM format
AUX1 to AUX3 F0 to F12 F0 to F4 or
F5 to F9
(= F0 to F4 of a second
decoder address)
4.5. Automated processes
The control software in the locomotive decoder allows you to automate
procedures and to reduce complex processes to one keystroke.
Dimming depending on the velocity
You can automatically switch functions depending on the velocity when
reaching a speed level defined in a CV. You assign an individual voltage
to the function outputs for the ranges of speed levels underneath and
above the defined speed level. This allows for example to switch on and
off the high beam light, to control the cab light or to influence the
intensity of the steam output.
Shunting function
You can assign the shunting gear and the shunting light to the same funtion
key. That way you switch on the shunting light automatically when
switching into the shunting gear (and thus reducing the velocity).
Page 15