New Railway Modellers, the model railway website dedicated to beginners and those returning to the hobby, with basic and advanced model railway information on all aspects of the model railway Hobby.    

Entire Web NRM

Home
Introduction
What train set to buy
Cost
Basic Tools
Base Board
Railway Track
Track Conversion
Building a Layout
Layout Designs
Members Layouts
Electronics
Digital Control (DCC)
Electronic Projects
Scenery
Plastic Kits
Rolling Stock
Maintenance
Service Sheets
Harry Potter
Thomas Tank Engine
7mm Narrow Gauge
Railway Software
Downloads
Photo Gallery
FAQ
Forums
Classified Ads
Railway Dictionary
Competitions
Links / Sponsors
Terms & Conditions
Contacts
     
 

 Scenery

 
Airbrushing
Ballast
Bridges
Buildings
Building Lighting
Grass
Hills
Inclines
Paint Conversion
Rock Faces
Hornby Skaledale
Railway Stations
Trees
Tarmac
Tunnels
Viaduct
Water
Finishing Touches
     

Electronic Projects

Railway Crossing
Building A Signal
Street Lights
     

Rolling Stock

Bachmann Wagons
Hornby Locomotives
Hornby Carriages
Hornby Wagons
Lima Locomotives
Lima Wagons
Loco Modification
Wagon Modification
 

Hornby Range Lists

Hornby Range 2006
Hornby Range 2007
Hornby Range 2008
Hornby Range 2009
Hornby Range 2010
 
 
     

Digital Command Control (DCC) - Decoder Programming

Author "pete12345" (forum member)



Digital Command Control (DCC)
Installing Decoders Decoder Programming Wiring A Layout

Please note: Electronics can be dangerous!! Please follow the instructions provided with any electronic devices. This website cannot be held responsible for injury, howsoever caused from the use of this information. If you are unsure about anything please ask a qualified electrician for help.


Decoder programming

As requested, here’s a how-to on programming decoder CVs
The first thing we need to install, before thinking about programming the decoder, is the programming track. This is a low-powered section of track we use when configuring the decoder. In the event of an incorrect decoder installation, this also does not have enough power to destroy the decoder.

Most command stations will have a separate output for the programming track. For Lenz, the convention is terminals P and Q. The simplest way is to connect these to a spare piece of track, and you’re away. However, it avoids having to pick up the loco if you have a siding which can be switched between the main track or the programming output, the wiring for which is shown below.

This way, you can change the loco’s settings by just driving on to the siding and throwing the switch.

Ok, now we get to the programming itself. I’ll be referring to the procedures with my Lenz Compact, but the principle is exactly the same on all systems. Use your controller’s handbook in conjunction with these instructions.

There are two types of decoder CVs: simple ones which take a decimal value, such as the decoder address, maximum speed etc, and complex ones which use a binary system to turn settings on or off. First let’s cover the simple ones. The one everyone will need to set is the loco address; CV1.

Right, with the loco positioned on the programming track, we enter program mode.

· On my controller, programming mode is accessed through the menu.
· Select CV1 and confirm.
· Confirm again to read back the current setting (with a new loco, the address should read back as ‘3’
· Change the address with the +/- keys and confirm again to set the address.
· The display should now read the new setting.

That’s it! Wasn’t that simple? Most of the basic CVs can be programmed in this way. Examples are acceleration delay, braking delay, maximum speed, starting voltage. Even using these, you can set up most of the characteristics of each loco.

Now we move onto the complex CVs. These are for things like setting up lighting effects on the function outputs, and adjusting the decoder’s basic settings.

If you look at the decoder instructions, you will come across something like this:

To the beginner, this looks a bit daunting. How do we work out this lot?!

Well, each ‘bit’ can either be on or off. When it is off, it stands for nothing. When it is on, it stands for a number. What number? Each bit is worth twice the amount of the previous one. So when ‘on’ bit one is worth 1, bit 2=2, bit 3=4, bit 4=8, bit 5=16, bit 6=32 etc. So each decimal number corresponds to a unique combination of ‘on’s and ‘off’s.

Still following this? Don’t worry, I’ll show you an example. Take a look at the table for CV29. Suppose you wanted to set up the decoder with normal direction, 28/128 speed steps, operation on DC, standard speed curve, and with CV1 as the address. This means that bit 2 and 3 are on, while the others are off. This means the number we need to set is 2+4=6. This is the default setting for most decoders.

If you wanted to use a custom speed-curve (set up using other CVs) we need to switch on bit 5. This adds 16 to the number, making it 22.

You can apply this process backwards to work out the current settings. Suppose you had a reading of 5 on CV29. The only way to get this number is 1+4, so bit 1 and bit 3 are on.

This process seems a little complicated just reading it, but it’s a lot easier once you get the hang of it, and is far easier to do than it looks- have a go. The hard part is converting binary to decimal. You can actually use your computer’s calculator to do this if you can’t do it mentally.

One final tip: if you completely screw up the programming of your decoder, entering a certain value (depending on the decoder) in CV8 will reset the decoder to factory settings.


Model Railway Electrics - Power Clip - This page includes how to fit a hornby power clip, and where to put your power clip or power track. Model Railway Electronics - Train Controllers (AC,DC,DCC,PWD) What's the difference Model Railway Electrics - DC Controller - This page describes what dc control is. Its advantages and dis-advantages. R965 and C990 Model Railway Electrics - DCC Control - Digital Command Control (DCC) Model Railway Electrics - Infra-Red Control - (IRC) Infrared Model Railway Electrics - Point Motors Model Railway Electrics - Switches -  switches include  SPDT, DPDT, on-on, on-off, on-off-on, (on)off(on), Toggle switches, slide switches, and push to make switche. Switches can be used to operate model railway signals, model railway point motors, model railway turntable, Model railway Lights, isolating sections, etc Model Railway Electronics - Lights - This page include LED's L.E.D.'s,  filiment lamps and Bi pin lamp. This page discusses their power consumption heat and suitability for common uses. Model Railway Electrics - Arm Signal - How to Automate an Arm Signal R171 & R172 Model Railway Electris - Light Signals - Signal wire diagrams, How do real light signals work? Hornby, Gaugemaster, Build your own Signal - R406 Model Railway Electrics - Build Your Own Railway Signal, This page discusses how you can build your own cheap model railway signal Model Railway Electrics - How to build a working railway crossing Model Railway Electrics - How to build your own street lights Model Railway Electrics - Hornby turntable - Circuit diagram, Wiring diagram, video Model Railway Electrics - Isolating Circuit - What are isolating sections for, Circuit diagram, Build your own isolating section, How to wire isolating sections. Model Railway Electrics - Control Box - How to build a model railway control box to control your signals, points and other model railway electronics.


 

New Modellers Shop - A Model Railway Shop - Stocking model railway wagons, coaches, carriages, electric diesel and steam locomotives, power and control equiptment, point motors, train packs, scenery, signals switches, and much much more. Supplying model products along with reviews and advice.Railway Pictures - Railway photograph gallery covering all areas of railway traction, buildings, and trackwork. Extensive photo library, which is being added to weekly. Upload and share your own images to the site using its inbuilt upload features.Model Scalextric Shop - Slot Car Shop - www.newslotcarmodellers.co.uk - F1, A1, Ralley, Road, Endurance, Touring Cars, Track, Parts, Spares

New Slot Car Modellers - A slotcar website for people new to the hobby. Supplying practical advise and information to slot car modellers and racers as they develop their hobby.New Website Designer - New Website Designer's aim is to give basic practical advice about building your own website. The site takes you step by step through the process of picking your domain name, setting up your hosting, and building your website.milton keynes - your source for everything in milton keynes

 

Model Railway Shop

 

Hornby Model Railway Train Set - Local Freight Train Set - R1085

Hornby Local Freight

Train Set

£42

Hornby Model Railway Train Set - Goods Master Train Set - R1070

Hornby Goods Master Train Set

£74

 
 

 

 

 

Hornby Model Railway Extension Track Pack A - R8221

Hornby Extension Track Pack A

£12.70

Hornby Model Railway Extension Track Pack B - R8222

Hornby Extension Track Pack B

£21.00

Hornby Model Railway Extension Track Pack C - R8223

Hornby Extension Track Pack C

£20.40

Hornby Model Railway Extension Track Pack D - R8224

Hornby Extension Track Pack D

£32.60

Hornby Model Railway Extension Track Pack E - R8225

Hornby Extension Track Pack E

£17.15

Hornby Model Railway Extension Track Pack F - R8226

Hornby Extension Track Pack F

£21.15