Diesel Version 5:CV 17: Difference between revisions

From Train Control Systems Documentation
Jump to navigation Jump to search
m (added examples)
No edit summary
Line 11: Line 11:
Incrementing CV 17 by 1 will increment the Long Address by 256.  
Incrementing CV 17 by 1 will increment the Long Address by 256.  


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


=== Example 2: ===
====Example 2:====
(CV 17 = 231; CV 18 = 0) Long Address = 9984
(CV 17 = 231; CV 18 = 0) Long Address = 9984
[[Category:Standard CV]]
[[Category:Standard CV]]
[[Category:Addressing]]
[[Category:Addressing]]

Revision as of 20:54, 2 April 2021

Lua error: Internal error: The interpreter exited with status 1.

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