I am building a DCC decoder interface circuit. I need to know the signal codes necessary for manipulating the speed/direction, changing the CV variables, and other functions such as toggling the locomotive lights on and off.
What I know already:
I know how a DCC signal communicates electrically with the decoder (command control uses a PWM system with 58us marks for a 1 and 100us for a 0) and the basic packet format (preamble, address, data, and parity check).
I found a pdf http://www.nmra.org/standards/DCC/standards_rps/S-92-2004-07.pdf that contains a table of codes (see figure 2) for manipulating up to 28 speeds and the signal codes necessary to do it.
Thanks
If I understood the question right, I think the answer is in here:
http://www.nmra.org/standards/DCC/standards_rps/rp921.html
Jeff But it's a dry heat!
I just thought I'd toss in that depending on what you are trying to do it could well have already been done, and can be had for free.
http://jmri.sourceforge.net/
and to interface from the PC to the tracks:
http://bbmgroup.home.comcast.net/sprog/
(that one costs, but it is hardware, so you'd expect it.
I have not used these, but I know that lots of people use DecoderPro (JMRI), and I think SPROG sounds nifty.
Vail and Southwestern RR wrote:If I understood the question right, I think the answer is in here:http://www.nmra.org/standards/DCC/standards_rps/rp921.html