Table of Contents
Programming DCC, CV's
PT = Programming Track, for programming mobile DCC decoders.
This dialog is entirely in English to reduce space.
The default, first in the list, Command Station is used for programming unless another is specified in the Rocrail General settings.
The dialog is simple but capable of doing all programming tasks. You can even save and load all your CV's from previous sessions. It is also possible to edit bit wise CV values. It does not feature a characteristic diagram because most of the decoders will be operated with 128 speed steps which does not support this.
- read/write CV's by name 1-8
- read/write CV's by index
- read/write all CV's as defined in the rocrail.ini: http://www.rocrail.net/doc/rocgui-wrappers/wrapper-en.html#cvconf
- copy CV's from other loc
- save read CV's as part of loc properties
- select a loc from the combobox: all saved values are shown in the table
- export/import CV's from and to a *.CSV file.
- setup a speed curve
- decoder configuration
Some Command Stations need a signal to activate the programming track. Check your CS documentation. Just push the PT button to activate and push it again to deactivate. (Toggle button)
Just put a loco on or connect an accessory decoder to the Programming Track and push the Get/Set you want. The dialog is disabled when a Get or Set is in progress. Select a row from the table to edit the value with the CV bit checkboxes.
Select from the pulldown listbox the Loco you want to program.
The fields of the dialog will then filled with the earlier saved values. (if already which have been stored) See here: Loco dialog 'CV's'.
The value in the CV-Box is copied into the grid.
With the Load button you can get a specified saved CV value. After programming is done you can copy a new single value with the Save button into the grid.
Mass CV programming
With the Read all, Write all and Copy from buttons you can program your new decoder with stored CV's or secure all the CV's from an existing one. With the Copy from the stored values from the selected Loco are preseted form writing them in another decoder.
The Copy from button opens a dialog for selecting a loco from which you want to copy all stored CV's from.
You can write all values to the decoder with the Write all button or selectively Set the values you want.
Direct byte mode is the most common method for programming decoders.
If this option is not set some Command Station will swap to page mode.
POM Programming On the Main
Some Command Stations support POM. Check you CS documention if it does.
Caution: Under certain circumstances you will program all Loco's with the same values on the main track!!!
The address field must be set when using POM.
Saving CV's in this mode is not supported.
Look for POM support here: Supported Control Stations
DCC Accessory programming on the main.
Only available if POM is set.
- OpenDCC Z1
- BiDiB (13730+)
- ECoS (4.2.3) (13974+)
Opens a comma separated value, *.csv, list from file.
The format is: cv, value
Only one pair per line.
1, 11 2, 0 3, 10 4, 10
The file is completely parsed before all values are written to the decoder.
Note: The last CV value is used in case it appears multiple in the imported file.
Saves all cv's in a comma separated value, *.csv, list into a file.
Use L.Addr. to read or write the long decoder address.
If the long address is used depends on bit 5 of CV29:
Set bit 5 of CV29 to '1', or add 32 to the current CV29 value, or use the Config dialog and check the “Extended addressing”.
|addr - 256 * (addr / 256)
|(addr / 256) + 192
Answer No if you want to setup a speed curve without reading out all 28 CV's. (Which can be very time consuming.)
Calculates all speed values lying between step 1 and 28 on linear basis.
Calculates all speed values lying between step 1 and 28 on logarithm basis.
The 28 new values will be written to the decoder.
Activate the curve
If the user defined curved is used depends on bit 4 of CV29:
Set bit 4 of CV29 to '1', or add 16 to the current CV29 value.
Or use the Config dialog and check the "User defined speed curve".
Write the wanted number to setup in the CVnr field before launching this dialog.