Difference between revisions of "Diesel Version 5:CV 17"

From Train Control Systems Documentation
Jump to navigation Jump to search
m (added examples)
Line 6: Line 6:
 
}}
 
}}
  
== NMRA CV 17 - Extended Address (High Byte) ==
+
==NMRA CV 17 - Extended Address (High Byte)==
 
The Extended Address is the locomotives address when the decoder is set up for extended addressing (indicated by a value of "1" in bit location 5 of CV#29). CV#17 contains the most significant bits of the two byte address and must have a value between (192) 11000000 and (231) 11100111, inclusive, in order for this two byte address to be valid. CV 18 contains the least significant bits of the address and may contain any value.  
 
The Extended Address is the locomotives address when the decoder is set up for extended addressing (indicated by a value of "1" in bit location 5 of CV#29). CV#17 contains the most significant bits of the two byte address and must have a value between (192) 11000000 and (231) 11100111, inclusive, in order for this two byte address to be valid. CV 18 contains the least significant bits of the address and may contain any value.  
  
 +
Incrementing CV 17 by 1 will increment the Long Address by 256.
 +
 +
=== Example 1: ===
 +
(CV 17 = 193; CV 18 = 0) Long Address = 0256
 +
 +
=== Example 2: ===
 +
(CV 17 = 231; CV 18 = 0) Long Address = 9984
 
[[Category:Standard CV]]
 
[[Category:Standard CV]]
 
[[Category:Addressing]]
 
[[Category:Addressing]]

Revision as of 20:53, 2 April 2021

CV 17
Extended Address (High Byte)
Range of Values0-255
Accepted Values192-231
Default Value192

NMRA CV 17 - Extended Address (High Byte)

The Extended Address is the locomotives address when the decoder is set up for extended addressing (indicated by a value of "1" in bit location 5 of CV#29). CV#17 contains the most significant bits of the two byte address and must have a value between (192) 11000000 and (231) 11100111, inclusive, in order for this two byte address to be valid. CV 18 contains the least significant bits of the address and may contain any value.

Incrementing CV 17 by 1 will increment the Long Address by 256.

Example 1:

(CV 17 = 193; CV 18 = 0) Long Address = 0256

Example 2:

(CV 17 = 231; CV 18 = 0) Long Address = 9984