User Tools

Site Tools


pt-en

Differences

This shows you the differences between two versions of the page.


pt-en [2018/11/12 08:56] (current) – created - external edit 127.0.0.1
Line 1: Line 1:
 +======Programming DCC, CV's======
 +[[:english#rocgui_viewer|{{  :viewer.png}}]][[:english|{{  :rocrail-logo-35.png}}]]
 +[[:english|Content]] -> [[:english#rocview|Rocview]] -> [[:english#programming_dialogs|Programming]] -> **Mobile Decoders**\\
 +  * **[[:pt-en|Programming Tab]]** | [[:rocpro-en|RocPro]]
 +   
 +
 +// \\ // \\
 +
 +**PT = Programming Track**, for programming mobile DCC decoders.\\ 
 +//This dialog is entirely in English to reduce space.// \\  
 +
 +
 + \\
 +===== IID =====
 +The default, first in the list, Command Station is used for programming unless another is specified in the Rocrail **[[rocrailini-gen-en#pt_iid|General]]** settings.\\
 +
 + \\
 +=====PT Dialog=====
 +{{:rocview:pt-dialog-en.png}}\\
 +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.\\
 + \\
 +
 +=====Features=====
 +  * 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
 +
 + \\
 +=====PT=====
 +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)
 +
 + \\
 +=====Loosly programming=====
 +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.
 +
 + \\
 +=====Binded programming=====
 +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: __**[[loc-cv-en|Loco dialog 'CV's']]**__. \\
 +===SaveAll===
 +All __**[[:rocgui-pt-en#cv|CV values]]**__ in the grid are saved in the loco properties.\\
 +After a restart they will be showed in the __**[[loc-cv-en|Loco dialog 'CV's']]**__ and can also be modified.\\ 
 +===Copy===
 +The value in the CV-Box is copied into the grid.\\
 +===Load===
 +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=====
 +===Read/Write all===
 +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.
 + \\
 +
 +===Copy From===
 +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=====
 +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=====
 +**"OPS Mode"**\\
 +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: [[controllers-en|Supported Control Stations]]\\
 +
 +====Acc====
 +DCC Accessory programming on the main.\\
 +Only available if POM is set.\\
 +===Supported CS===
 +  * OpenDCC Z1
 +  * BiDiB (13730+)
 +  * ECoS (4.2.3) (13974+)
 + \\
 +
 +=====Manufacturer ID=====
 +{{:manuid_xs.png}}\\
 +After reading the Manufacturer ID, the manufacturer name will be available as tool tip.\\
 +
 + \\
 +
 +===== Import =====
 +Opens a **comma separated value**, *.csv, list from file.\\
 +The format is: cv, value\\
 +Only one pair per line.\\
 +Example:\\
 +<code>
 +1, 11
 +2, 0
 +3, 10
 +4, 10
 +</code>
 +
 +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.
 + \\
 +
 +===== Export =====
 +Saves all cv's in a **comma separated value**, *.csv, list into a file.\\
 +
 + \\
 +===== Long Address =====
 +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 [[pt-en#config|Config dialog]] and check the **“Extended addressing”**.\\
 + \\
 +
 +| CV18 | addr - 256 * (addr / 256) |
 +| CV17 | (addr / 256) + 192 | \\
 +
 +  
 + \\
 +
 +===== V curve =====
 +{{:speed-curve-question.png}}\\
 +
 +Answer **No** if you want to setup a speed curve without reading out all 28 CV's. (Which can be very time consuming.)\\
 + \\ 
 +
 +|{{:speed-curve-lin-en.png?400}}|{{:speed-curve-log-en.png?400}}|
 +|  linearized  |  logarithmized  |\\
 +
 + \\
 +=== Linearize ===
 +Calculates all speed values lying between step 1 and 28 on linear basis.\\
 +
 + \\
 +=== Logarithmize ===
 +Calculates all speed values lying between step 1 and 28 on logarithm basis.\\
 +
 + \\
 +=== OK ===
 +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 [[pt-en#config|Config dialog]] and check the **"User defined speed curve"**.\\
 +
 +
 + \\
 +
 +===== Config =====
 +{{:decconfig-dlg-en.png}}\\
 +CV 29 can be setup by dialog because the meaning of the bits are standardized by the NMRA.\\
 +The dialog text is self explaining, but read the decoder manual at any doubt before proceeding.\\
 + 
 + \\
 +
 +===== FX =====
 +This is for setting up light effects in Digitrax mobile decoders. \\
 +See chapter 6.10 "Special Light Effects" of the Digitrax "Mobile Decoder Manual".\\ 
 +{{:fx-setup-en.png}}\\
 +
 +Write the wanted number to setup in the CVnr field before launching this dialog.\\
 +
 +====Function====
 +^ Function ^ CV number ^
 +| F0 Fwd | 49 |
 +| F0 Rev | 50 |
 +| F1 | 51 |
 +| F2 | 52 |
 +| F3 | 113 |
 +| F4 | 114 |
 +| F5 | 115 |
 +| F6 | 116 |