¿ªÔÆÌåÓý

Locked Re: DS51K1 turnout decoder - detection


 

Rizwan,

Although I don¡¯t have a Pi-SProg or the accessory decoder in question, I think I know the procedure. ?It may work and it may not but it might be worth a try. ?The following assumes that JMRI is able to talk to the layout using the Pi-SProg.
  1. Start PanelPro.
  2. Verify the connection prefix by going to "Preferences >> Connections". ?It is probably ¡°S¡±.
  3. From the main PP menu, go to Tools >> Power Control.
  4. Set Layout power OFF.
  5. Attach the yellow wire to the same rail as the black wire.
  6. Return to the Power Control window and Set Layout Power ON.
  7. Go to Tools >> Tables >> Turnouts
  8. Click on Add.
  9. Make sure that the System Connection is set to the Pi-SProg.
  10. Enter the desired number for the turnout in the Hardware Address field, such as 123.
  11. Enter the desired user name in the User Name field. ?This is usually something that makes sense on the layout, such as a station name, etc.
  12. Click on Create. ?This will create a turnout table entry which will most likely be ST123 with the entered user name.
  13. The turnout state will be Unknown. ?Click on the state button.
  14. Return to the Power Control window and Set Layout Power OFF.
  15. Remove the Yellow wire.
  16. Return to the Power Control window and Set Layout Power ON.
  17. Return to the Turnout table.
  18. If everything worked, as you click on the turnout state button, the turnout should move between closed and thrown.
  19. If the turnout is moving opposite of what you want, swap the orange and gray wires.
  20. From the main PP window select Panels >> Store Panels.
  21. Provide a file name for saving the current configuration.
  22. When you resume PanelPro later, use Panels >> Open Panels to re-load the configuration which now contains your first turnout.
  23. As additional turnouts (and other related changes) are made, remember to save the changes before quitting JMRI.
Steps 1-6 get the accessory decoder into programming mode.
Steps 7-13 create a turnout entry and sends it to the accessory decoder. ?This sets the address.
Steps 14-16 exits programming mode.


Dave Sand



On May 26, 2019, at 8:02 PM, Robert Schworm <rkschworm@...> wrote:


Have you read down thru here - - -

I personallyy run NCE. ?Also do a google search for your decoder and see what is discussed.

so ?- with your Digitrax system - are you able to throw your turnouts thru this decoder as properly connected?

Are you able to set the address on this decoder - it may be sitting at address 3 if nmra compliant out of the box.

Get digitrax talking to it first and then expand to jmri.

My understanding is that in panel pro preferences, the jmri should start up and connect to digitrax thru a setting. ?If this is in place and you then create a?turnout table, the system name will have the proper prefix to be recognized by the digitrax booster station. ?If you modify the system name, you will?throw off digitrax from recognizing the point. ?also if you create "internal" points, nothing will be sent out over serial.

Can that switch decoder be set up to have a loco address or an accessory address? ?I believe you want it to be an accessory.
Bob

On Sun, May 26, 2019 at 8:39 PM Dave Heap <dgheap@...> wrote:
Rizwan,

> On 27 May 2019, at 10:05 AM,?rizimine@...?wrote:
>?
> Thanks for that. So, what you are saying is that if my connection was right, my turnout would have a DCC hardware address. Is that correct? Is it?true that DS51K1 wouldn't be programmable like other decoders (read and write CV values)? Jay mentioned it is so but I am confused. Is it true that?all DCC decoders will have a default address?

All DCC decoders will have a default address when shipped. NMRA Standard S9.2.2 says that a bare unfitted loco decoder should have short?address 3 as the default when sold. But that doesn't apply to decoder-fitted locos sold by OEMs and doesn't apply to accessory decoders.

The procedure for setting address of an accessory decoder varies from decoder to decoder, so you need to follow the specific instructions for that?decoder. In many cases that involves setting into programming mode by jumper or pushbutton and then sending an accessory throw command by?JMRI or your DCC system. The decoder is listening for the first accessory throw command and adopts that.

Whether you can program CVs in a decoder (program track read/write/blind, accessory Program on Main,...) depends on decoder brand and model.?JMRI has definitions for programming in correct mode of some accessory decoders that support CV programming (e.g. ESU SwitchPilot series) but?not a huge number have been written, partly due to complexities.

Dave in Australia




Join [email protected] to automatically receive all group messages.