25
Decimal to Binary Primer
Setting CV’s
Setting the CV’s requires knowledge of conversion between binary
and decimal. The following examples demonstrates the conversion
process from binary to decimal after determining which bits in a CV
need to be “1” and which needs to be “0”. The tables are also useful
for converting binary to decimal.
Reading CV’s
The tables are also useful for converting decimal to binary when
reading the CV’s in service mode. After reading the CV, use the
tables to determine which bits are “1” and which bits are “0”. Once
the bit patterns are identified, find the CV in this manual to
determine what functions are controlled by the bits.
Bit 7
Bit 0
2
7
2
6
2
5
2
4
2
3
2
2
2
1
2
0
128 64 32 16 8 4 2 1
Consider a binary number 10001011
128+0+0+0+8+0+2+1=139
Consider a binary number 00011101
0+0+0+16+8+4+0+1=29
CVxx read is 39. Table lookup is: 00100111
Содержание Paragon 4
Страница 1: ...Release 1 14 Firmware 25 0 Paragon 4 Steam Technical Reference Manual ...
Страница 3: ...3 Please Note CV defaults will vary between locomotives ...
Страница 12: ...12 226 Control Two 0 227 Control Three 2 228 DCC Start Up Timer 1 ...
Страница 217: ...217 A shut down F9 turns the smoke unit off User must manually turn back on or power up follows bit D7 ...