
| Decoder for Atlas N Scale |
|
| 14 |
| |
| Example: Calculating the Default Value for CV29 |
|
|
| ||
|
|
|
|
|
| |
|
|
| Bit | Decimal | Decimal | |
| From the definition of CV29 given in Table |
| Number | Equivalent | Values for | |
| 1, we see that the default values of bits 1 |
|
|
| CV | |
|
|
|
| Calculation | ||
| and 2 are binary 1s; whereas, all other bits |
|
|
| ||
|
| 0 | 1 |
|
| |
| in CV29 have a default value of binary 0. |
|
|
| ||
|
| 1 | 2 | 2 |
| |
| To compute the decimal equivalent default |
|
| |||
| value of CV29, simply write in the |
| 2 | 4 | 4 |
|
| rightmost column of this table the number |
| 3 | 8 |
|
|
| "2" for bit 1 and the number "4" for bit 2. |
|
|
|
|
|
|
| 4 | 16 |
|
| |
| Then add up all the |
|
|
| ||
|
| 5 | 32 |
|
| |
| you have entered into this rightmost |
|
|
| ||
|
| 6 | 64 |
|
| |
| column. Since the sum of these numbers |
|
|
| ||
| is 6, the decimal number to be |
| 7 | 128 |
|
|
| programmed into CV29 is 6. |
|
|
|
|
|
|
|
|
| SUM: | 6 |
|
|
|
|
|
|
|
|
Atlas Model Railroad Co., Inc.