Trains.com

Subscriber & Member Login

Login, or register today to interact in our online community, comment on articles, receive our newsletter, manage your account online and more!

Program CV198 Bit 3

2380 views
10 replies
1 rating 2 rating 3 rating 4 rating 5 rating
  • Member since
    December 2001
  • From: Trois-Rivieres Quebec Canada
  • 1,063 posts
Posted by jalajoie on Friday, January 18, 2013 9:36 AM

Adding a value of 8 to any CV will always put Bit 3 = 1. The default value of CV198 being 0 (zero) programming a value of CV198=8 will achieve what your are looking for.

Jack W.

Moderator
  • Member since
    June 2003
  • From: Northeast OH
  • 17,249 posts
Posted by tstage on Friday, January 18, 2013 7:57 AM

Rusty,

That's why the manuals for your specific DCC system and decoders are so handy.  Things like advanced consisting and programming Mars lights can appear daunting at first.  However, the manuals - in general - do a pretty respectable job of walking you through the process.  (At least that's the case for my NCE Power Cab.)

The only way I've become "tech-savvy" about anything is from being persistent, willing to try things, and not being afraid of making mistakes.  Asking good questions to the right people helps, too.

Again, you can enjoy DCC's simplicity right out of the box or you can discover it's intricacies to your heart's content and willingness to learn.  The owner's manual is the single best resource for the latter.

Tom

https://tstage9.wixsite.com/nyc-modeling

Time...It marches on...without ever turning around to see if anyone is even keeping in step.

  • Member since
    February 2007
  • 146 posts
Posted by rustycoupler on Friday, January 18, 2013 7:35 AM

Yea i know but to a newcomer it can seem overwelming, i still cant post pictures on here, the manufacturers have to realize that we are all not tech savy. 

Moderator
  • Member since
    June 2003
  • From: Northeast OH
  • 17,249 posts
Posted by tstage on Thursday, January 17, 2013 5:11 PM

rustycoupler

Page 52, i thought this was supposed to be fun.

It is, rusty.  It's really not as difficult as it may appear.  You can keep DCC as simple or make it as complicated as you want.  The beauty is that it works great either way.

Tom

https://tstage9.wixsite.com/nyc-modeling

Time...It marches on...without ever turning around to see if anyone is even keeping in step.

  • Member since
    February 2002
  • From: Reading, PA
  • 30,002 posts
Posted by rrinker on Thursday, January 17, 2013 4:25 PM

 It's like this. Each CV is one byte in the decoder memory, or 8 bits.

If you need to turn on and off 8 different things, you COULD have 8 CVs, each with a value of 0 or 1.

However, that's wasting 7 bits per CV,56 bits total, or 7 whole bytes - 7 CV's worth of data. While we now see out computers with multiple gigabytes of memory in them, the little microcontrollers used in decoders do not have the luxury of making giant inefficient programs just because memory is cheap. It makes a great deal of sense to make those functions map to an individual bit in a single CV. CV29 is the prime standard CV that exhibits this

        --Randy


Modeling the Reading Railroad in the 1950's

 

Visit my web site at www.readingeastpenn.com for construction updates, DCC Info, and more.

  • Member since
    December 2001
  • 1,932 posts
Posted by Stevert on Thursday, January 17, 2013 4:02 PM

tstage
Whenever you starting adjusting "bits", this usually requires you to change a "primary" CV and a "secondary" CV first then you add a value to the current CV value to change the bit.

You're confusing indexed CV's ("primary" CV and one or more associated "secondary" CV's) with a CV that uses a bitmask (add individual "option" values to get the total CV value).

For example, the often-adjusted (and commonly misunderstood) CV29 uses a bitmask, but it isn't an indexed CV.

But if you really want to make it easy, just use JMRI.  No understanding of bitmasks or indexed CV's needed at all - Just select the options you want from plain-language screens, tell it to write your changes, and you're done!

  • Member since
    February 2007
  • 146 posts
Posted by rustycoupler on Thursday, January 17, 2013 3:52 PM

Page 52, i thought this was supposed to be fun.

Moderator
  • Member since
    June 2003
  • From: Northeast OH
  • 17,249 posts
Posted by tstage on Thursday, January 17, 2013 3:14 PM

Rip,

If you haven't already, go to the Soundtraxx website and download their Tsunami Diesel User's Guide as a reference.  I'm assuming you have since you came up with the specific CV and bit that needs changing.

Whenever you starting adjusting "bits", this usually requires you to change a "primary" CV and a "secondary" CV first then you add a value to the current CV value to change the bit.  This is best done in programming mode on your programming track so that you can read/record the values as you change them.

Rip, it looks like according to pg. 52 of the Tsunami manual (under Miscellaneous Features) that you just add the value of "8" to the default value of CV198 to get your automatic brake squeal.  With your locomotive on the programming track, press the PROG/ESC button to enter programming mode.  Programming CVs will be outlined for you in your Power Cab manual.  It's pretty straightforward.

Tom

https://tstage9.wixsite.com/nyc-modeling

Time...It marches on...without ever turning around to see if anyone is even keeping in step.

  • Member since
    May 2010
  • 22 posts
Posted by ripgp30 on Thursday, January 17, 2013 2:15 PM

Hi Tom, I am using the NCE Power CAB

rip

Moderator
  • Member since
    June 2003
  • From: Northeast OH
  • 17,249 posts
Posted by tstage on Thursday, January 17, 2013 12:52 PM

Rip,

First question: Which DCC system are you using?

Tom

https://tstage9.wixsite.com/nyc-modeling

Time...It marches on...without ever turning around to see if anyone is even keeping in step.

  • Member since
    May 2010
  • 22 posts
Program CV198 Bit 3
Posted by ripgp30 on Thursday, January 17, 2013 12:41 PM

I have a Tsunami decoder installed in my SD 70, what I want to do is program CV 198 Bit 3 to enable automatic Brake squeal. The default setting is 0= effect is disabled, I need to change the default setting to 1 = effect enabled. I am completely confused on how to do this.  HELP!!!!!

Thanks

ripgp30

Subscriber & Member Login

Login, or register today to interact in our online community, comment on articles, receive our newsletter, manage your account online and more!

Users Online

There are no community member online

Search the Community

ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT
Model Railroader Newsletter See all
Sign up for our FREE e-newsletter and get model railroad news in your inbox!