Results 1 to 7 of 7

Thread: Turning off a code

  1. #1
    Join Date
    Dec 2016
    Location
    Grass Valley CA, USA
    Posts
    92
    Thanks
    0
    Thanked 25 Times in 14 Posts
    Mentioned
    5 Post(s)
    Tagged
    0 Thread(s)

    Default Turning off a code

    Suppose I have a function key, let's say "9" just for grins, programmed to a decoder that turns on the street lights. I press 9 and lo and behold, the lights come on. The question i have before I start setting stuff up, how do I turn the lights off? IF I press "9" again, is it a toggle function (i.e. press 9 on, press 9 off, press 9 on, press 9 off, and so on)?

    I'm just PRESUMING that the first press causes a code on the tracks, but does that code continuously repeat, or is it a one-shot, one code burst per press?

    Thanks,

    Jim

  2. #2
    Join Date
    Jan 2010
    Location
    Chester.SC
    Posts
    307
    Thanks
    0
    Thanked 215 Times in 128 Posts
    Mentioned
    3 Post(s)
    Tagged
    0 Thread(s)

    Default

    Jim,
    a couple of things.On a Digitrax system function key are latching or non-latching. F0 is a latching key F2 is a non-latching key, what that means is the function being controlled is on (energized) until the key is pressed again for a latching key.
    A non-latching key only turns on the function while the button is pressed as soon as the key is released the function is turned off. A decoder (sound) will blow horn when F2 is pressed, F0 will turn lights on and will remain on until F0 is pressed again.
    So the answer to turning lights of is to press the function key again (latching key). On a Digitrax system the decoder address is assigned to a slot and is continuously refreshed.

    Doug

  3. #3
    Join Date
    Jan 2012
    Posts
    1,123
    Thanks
    1,535
    Thanked 1,351 Times in 595 Posts
    Mentioned
    32 Post(s)
    Tagged
    0 Thread(s)

    Default

    On the DCC side (the data flowing on the track) the code is continuously repeated (although most command stations these days prioritize and send emergency stop first, then speed and direction changes, then function changes, and only then do they start repeating unchanged old codes)

    On the throttle bus (loconet or whatever) that can be different - afair for loconet, data is only sent when something has changed.

    Heiko

  4. #4
    Join Date
    Apr 2014
    Location
    southeast michigan
    Posts
    1,017
    Thanks
    446
    Thanked 1,158 Times in 462 Posts
    Mentioned
    31 Post(s)
    Tagged
    0 Thread(s)

    Default

    You can apparently program a function to be latching or momentary. http://www.digitrax.com/tsd/KB730/dt...ng-or-non-lat/

  5. #5
    Join Date
    Dec 2016
    Location
    Grass Valley CA, USA
    Posts
    92
    Thanks
    0
    Thanked 25 Times in 14 Posts
    Mentioned
    5 Post(s)
    Tagged
    0 Thread(s)

    Default

    Sorry, guys, so far no cigars (except for Bill Clinton) I have an MRC supply, not a Digitrax. They say NOTHING about setting it latching or momentary. And even though I bought it a few months ago, evidently it is now an orphan. I'll try MRC customer support, but so far they have been less than helpful with a couple of other questions.

    Thanks,

    Jim

  6. #6
    Join Date
    Feb 2013
    Location
    Colorado Springs, CO, US of A
    Posts
    1,623
    Thanks
    3,254
    Thanked 2,259 Times in 927 Posts
    Mentioned
    46 Post(s)
    Tagged
    0 Thread(s)

    Default

    Probably not helpful at this point, but sometimes hearing about different systems can give some insight.

    On the Roco Z21 system the operator chooses whether each function is operated by a "switch" (on/off, such as lights or running sounds), or a "pushbutton" (momentary contact, like a horn), or for a set amount of time.

    On the switch, one touch turns on and the next touch turns off. The pushbutton sets a programmed sound in motion,such as a station announcement, with no need to hold the button down.
    Cheers!
    Gordon
    Rheinland Bayern Bahn
    http://www.nscale.net/forums/showthr...4-x-9-5-layout

  7. #7
    Join Date
    Dec 2003
    Location
    Columbus,OH, USA
    Posts
    3,252
    Thanks
    79
    Thanked 1,568 Times in 910 Posts
    Mentioned
    44 Post(s)
    Tagged
    0 Thread(s)

    Default

    Quote Originally Posted by jweir43 View Post
    Suppose I have a function key, let's say "9" just for grins, programmed to a decoder that turns on the street lights. I press 9 and lo and behold, the lights come on. The question i have before I start setting stuff up, how do I turn the lights off? IF I press "9" again, is it a toggle function (i.e. press 9 on, press 9 off, press 9 on, press 9 off, and so on)?
    My question would be why are you using a mobile decoder for this instead of an accessory decoder?

    I'm just PRESUMING that the first press causes a code on the tracks, but does that code continuously repeat, or is it a one-shot, one code burst per press?
    For mobile decoders, the command periodically sends the decoder status information. This is what let’s you take a locomotive off the track and put it back on and keep the headlights on. This status is repeated for every decoder the system is currently controlling. The controller toggles the state. When the system supports latching, the state changes with each press. When the system supports momentary, the state changes once on button press and again either on button release or after a short timer expires.

    For accessory decoders, you can effectively think of the commands being one code per press and not repeating ( or at least only repeating a single digit number of times ).
    For decoder installation and JMRI services, please visit http://www.bentraildigital.com
    For n-scale intermodal information, please visit http://nscaleintermodal.com

Similar Threads

  1. Turning Star
    By VSneader2 in forum Layouts, Design, & Planning.
    Replies: 25
    Last Post: 20th Mar 2015, 07:59 AM
  2. Prototypical turning speeds?
    By themikepeng in forum Trackage
    Replies: 4
    Last Post: 10th Jul 2013, 02:05 AM
  3. Turning the Tables
    By bachin in forum Layouts, Design, & Planning.
    Replies: 5
    Last Post: 28th Jun 2006, 07:13 PM
  4. Turning down wheel flanges
    By thirdrail in forum General Rail Discussion
    Replies: 23
    Last Post: 7th Feb 2006, 08:06 AM
  5. Turning the Tables?
    By ClassC in forum General Wiring
    Replies: 5
    Last Post: 3rd Feb 2005, 05:02 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •