Skip to main content

Does anyone use  Lionel TrainMaster Command Control (TMCC) Software while also using a DZ-2001A?

 

If I plug the computer into the DZ-2001A port, I can control all of my TMCC locos with no problem. However the switches do not respond to the computer commands. The switches do work from my CAB1. The software mimics the CAB1. It seems to me it should work?

 

Last edited by Doug C
Original Post

Replies sorted oldest to newest

CAPPiolt,

 

Thanks for your reply.

 

The DZ-2500's work as intended with the DZ-2001A. The question I have is why don't they work with the computer program.

 

The DZ-2001A has a DB9 port which functions as a pass-through to the Command base. The computer connection to the DZ-2001A will pass through commands to the command base as if they came from a CAB1. But for some reason the switches don't respond.

 

cjack,

 

I'm not using LCS.

 

I have an old (late 90s) TMCC system.

Last edited by Doug C

What computer program? I'm thinking that if you edit the title with the name of it, maybe someone with experience with it will weigh in. It seems that the answer is there. I take it the pass thru is both send and receive...and you are able to run engines with the computer?

Originally Posted by Doug C:

I highlighted the name of the software in bold in the original post. It is sold on the bay.

 

Yes, send and receive, I can run engines with the computer. If you do a search on the bay using the name I highlighted you will find it. Also there is FAQ section as well.

   

 

Oh I see now. It's such a generic name, I thought it a description. So I found it and the user's manual. So you added all your switches with the "Add Device" option in the software. I'm thinking that with the DZ-2500s, you program all the switches Z-stuff wise, but the TMCC software knows nothing about that and you have to program all the switches using "Add Device" in the TMCC software.

Is that something you still have to do?

Originally Posted by cjack:
Originally Posted by Doug C:

I highlighted the name of the software in bold in the original post. It is sold on the bay.

 

Yes, send and receive, I can run engines with the computer. If you do a search on the bay using the name I highlighted you will find it. Also there is FAQ section as well.

   

 

Oh I see now. It's such a generic name, I thought it a description. So I found it and the user's manual. So you added all your switches with the "Add Device" option in the software. I'm thinking that with the DZ-2500s, you program all the switches Z-stuff wise, but the TMCC software knows nothing about that and you have to program all the switches using "Add Device" in the TMCC software.

Is that something you still have to do? Or am I wrong about that?

 

Originally Posted by Doug C:

Yes, I did that. When I click on a switch the LED on the command base will flash but the signal does not get to the DZ-2001A. If I use the CAB1 the command base LED will flash and the DZ-2001A LED also will flash and the switch is thrown.

So...I wonder if a note to the developer would be warranted here. It seems like the software will talk to an SC-1 but not a Z-Stuff address. I am way out of my element here, just wondering...as you are...why a Cab1 can send a command and how could it be different if TMCC Software sent it. Maybe the developer can answer this.

Originally Posted by Doug C:

I exchanged a few emails with the developer. He stated that his software only supports the SC-1. He added that he is not familiar with anything else.

 

I also exchanged emails with Z-Stuff and they stated that they are not familiar with the eTMCC software.

 

So I'm stuck in the middle.

I wonder how/if the LCS works with DZ-2500. Maybe a new topic.

okay I might be way out here but. is the white wire from dz 2001A also connected to a buss wire so the blue wire from each dz 2500 is attached to it?

 

or and this is purely a guess on my part.

 

do you need to not attach computer to the dz2001A but instead use the computer wiring to command base and thus the command is sent from computer to the tmcc base and then into the dz 2001A and out to the corresponding dz 2500 switch machine.

 

also are the dz 2500 set with a switch # 1 2 3 and so on and is the computer software setup to select a switch number to talk to?

 

like cjack way out of my electronic knowledge but am just asking questions so you might see a light come on inside you saying gotcha!!

Originally Posted by StPaul:

okay I might be way out here but. is the white wire from dz 2001A also connected to a buss wire so the blue wire from each dz 2500 is attached to it?

 

or and this is purely a guess on my part.

 

do you need to not attach computer to the dz2001A but instead use the computer wiring to command base and thus the command is sent from computer to the tmcc base and then into the dz 2001A and out to the corresponding dz 2500 switch machine.

 

also are the dz 2500 set with a switch # 1 2 3 and so on and is the computer software setup to select a switch number to talk to?

 

like cjack way out of my electronic knowledge but am just asking questions so you might see a light come on inside you saying gotcha!!

Yes the white wire buss is connected to the switches. Everything works as intended if I use my CAB1. The computer can control engines, but the switches do not work from the computer.

 

Attaching the computer to the DZ-2001A is the same as attaching it to the command base directly. The DZ-2001A ports are common to each other.

 

Computer software is setup for the switches.

Doug C..... here is your answer right from the users manual I found online. for your tmcc software program so unless dz 2500 are connected to the SC-1 apparently it will not function from computer using the dz 2001A.

 

I personally just to see would disable white wire from computer to the data driver just to see if it worked. am sure it wont but sometimes one does get lucky.

and so far all you lost is time and the effort your call.

 

** Operate your accessories and switches [ SC-1 Switch Controller required). **

 

hope the above helps you understand why it doesn't work.

 

that screen shot makes me think of the Train America  computer program.

 

not a bad price for software either. so what are computer requirements out of curiosity.

 

an after thought I wonder if one had the SC-1 if you ran the control wire to change switch from straight to diverging to that white wire of the dz-2001A if then it would work as it seems that the software is setup for the SC-1 only to make that function work?

 

what do you think?

Last edited by StPaul

I don't see why the software won't work as the switch commands are the same no matter how they get sent. I don't have that software yet (have been pondering getting it). My thought is the DZ2001 has an input and an output and if the computer is on the output of the data driver it can't get the commands properly. The data wire driver can get information BACK from the switch machines that can be used by a computer program but the commands can't be sent backwards. I think you're right that the computer has to be connected to the command base and the base to the data driver.

Ron

Well, the Z data driver board is a complete pass thru for the computer to the TMCC Base. And the computer controls the engines but NOT the switches.

The Z data driver has an LED-photo transistor where the diode is sampling the transmitted data and triggering a photo transistor which drives the data line. One can only assume that the transmitted data from the Base which switches the DZ-2500 switches is the same whether you use the CAB1 or the Computer. There is a difference since the Base is receiving the computer command at roughly just before the transmitted data is maybe being output to the Z data driver, whereas in the CAB1 case, there is no received data being input to the base at that instant before transmitting. I wonder how the system responds to a switching route with a delay set to say 1 second.

 

Wild guess here, but hey, maybe someone will pick up on something.

Some thoughts here in no particular order.  I'm not familiar with the z stuff switches or the particular program, so keep that in mind if something is already covered. 

 

1, are the switch machines true rs-232 tolerant?  the port on the computer will send highs at up to 15 volts and lows at up to negative 15 volts as per rs232 spec.  the tmcc base however sends 0 volts and 5 volts logic level signals.  modern serial ports on computers can read these levels just fine, but I'm wondering if the switch machines know what to do with a +/- 15 volt signal.  ( be ware that if the machine was designed specifically to work with tmcc signal, a voltage higher than 5 volts may damage it. ) 

 

2, have you tried operating the switch machines without the tmcc base connected, and reversing the rx/tx wires?  remember transmit on the base is receive on the computer.  

 

3.  you may need a pull up or pull down resistor on the data line, or a signal booster, if the port on your computer is fairly low end.  it may not have enough power to drive the electronics in the switch machine. 

Last edited by JohnGaltLine
Hi Everyone,
 
I am the developer of the software.  By the way it is called "eTrain Command Console" available on ebay.  It strictly sends out TMCC (TMCC1) commands.  I just release a LEGACY version called "eTrain Command Console (L)" also available on ebay.  It will send out LEGACY(TMCC2) commands to LEGACY engines.  You must have the new Lionel LCS SER2 to use the LEGACY version because the Base-1L and LEGACY base cannot except LEGACY commands directly through their serial ports.  It also supports the new Lionel BPC2 controller.
 
Anyway, I think you guys are great trying to help.  This is a great conversation.  So as someone said above "I'm not familiar with the z stuff switches".  All I can do is tell you how my software works.  As was also said above, my software only supports the Lionel SC-1 switch controller and maybe the Lionel ASC (I haven't tried that yet).  The SC-2 doesn't work so well with my software.  My software sends out the bit strings for the switch commands through any COM port of the user's choice, whether is is a DB-9 RS-232 or a USB at 9600, N, 8, 1.  These are the requirements of the TMCC Command Base's serial port.  As you may or may not know, the serial port on the TMCC Command Base can only have data going one direction at a time.  So if it is receiving data from my software it cannot send it out at the same time.  So once the command is received by the TMCC Command Base it is sent through the common rail of the track as it normally would.  The RF signal is then transmitted from the track to the SC-1, which then executes the switch command.
 
In cases where you have other Lionel controllers like the ASC, BPC, TPC, etc... that would normally be connected to the TMCC Command Base's serial port, my software will not work.  This is because what I stated above.  If my software is sending commands into the TMCC Command Base's serial port, it cannot send them out to these other controllers.  So what some of my customers have done is to split the serial cable coming out of their computer.  One is connected to the TMCC Command Base's serial port and the other is connected to whatever Lionel controller they are using and daisy chained from there as they normally would be.
 
I'm not sure how the Z stuff fits into all of this, but I hope this helps.
 
Please let me know if you have any questions.

From a software perspective, there should not be any difference between an SC-1 and an SC-2. If SC-2s are not working reliably, it is usually a an RF signal issue; an earth ground wire in the vicinity of the SC-2 will solve that.

 

 

To connect a computer/microcontroller and a DZ-2001 to a Legacy base, I use the Legacy Y-cable. One end  goes to the computer/microcontroller; the other (normally used to send commands to a TMCC Command Base) connects tot he DZ-2001.

Originally Posted by Professor Chaos:

From a software perspective, there should not be any difference between an SC-1 and an SC-2. If SC-2s are not working reliably, it is usually a an RF signal issue; an earth ground wire in the vicinity of the SC-2 will solve that.

 

 

To connect a computer/microcontroller and a DZ-2001 to a Legacy base, I use the Legacy Y-cable. One end  goes to the computer/microcontroller; the other (normally used to send commands to a TMCC Command Base) connects tot he DZ-2001.

I totally agree, but I have been trying to get my SC-2 to work with my software for 7 years and it just doesn't want to play nice.  I even bought a second SC-2 and that still didn't work. It is not a question of ground or a signal issue since my SC-1 works fine with my software.  I think the issue has something to do with the timing an frequency of the switch commands I am sending out.  I have tried for so many years and tried everything that I have just given up.

Harvey this thread has intrigued me so I bought your Legacy software and the LCS SER2 and cable. I have the Z-stuff data wire driver and 15 switches operating at present without your software or the LCS stuff. So in the next few weeks I'll be able to try this out. I hope it works as I'll hate to change switch machines this late in the game.

Ron 

Originally Posted by Professor Chaos:

From a software perspective, there should not be any difference between an SC-1 and an SC-2. If SC-2s are not working reliably, it is usually a an RF signal issue; an earth ground wire in the vicinity of the SC-2 will solve that.

 

 

To connect a computer/microcontroller and a DZ-2001 to a Legacy base, I use the Legacy Y-cable. One end  goes to the computer/microcontroller; the other (normally used to send commands to a TMCC Command Base) connects tot he DZ-2001.

I had a lot of issues with the sc2 until I connected the U terminal (outside rail connection) to the sc2 com and ran a "earth ground" wire over them. 

Originally Posted by RailfanRon:

Harvey this thread has intrigued me so I bought your Legacy software and the LCS SER2 and cable. I have the Z-stuff data wire driver and 15 switches operating at present without your software or the LCS stuff. So in the next few weeks I'll be able to try this out. I hope it works as I'll hate to change switch machines this late in the game.

Ron 

Thank you for your purchase.  I really appreciate it.  I hope it works too.

Originally Posted by cjack:
Originally Posted by Professor Chaos:

From a software perspective, there should not be any difference between an SC-1 and an SC-2. If SC-2s are not working reliably, it is usually a an RF signal issue; an earth ground wire in the vicinity of the SC-2 will solve that.

 

 

To connect a computer/microcontroller and a DZ-2001 to a Legacy base, I use the Legacy Y-cable. One end  goes to the computer/microcontroller; the other (normally used to send commands to a TMCC Command Base) connects tot he DZ-2001.

I had a lot of issues with the sc2 until I connected the U terminal (outside rail connection) to the sc2 com and ran a "earth ground" wire over them. 

The guy I have been working with from Lionel saw my post and emailed me directly.  He told me exactly how to send out any command to the SC-2.  I made the change in my software and it seems to be working fine.  However, I won't know for sure until next winter when I set up my usual layout.  Right now I just have the minimum set up for development purposes.
Originally Posted by Harvy:
 
I totally agree, but I have been trying to get my SC-2 to work with my software for 7 years and it just doesn't want to play nice.  I even bought a second SC-2 and that still didn't work. It is not a question of ground or a signal issue since my SC-1 works fine with my software.  I think the issue has something to do with the timing an frequency of the switch commands I am sending out.  I have tried for so many years and tried everything that I have just given up.

 

Have you tried an earth ground wire? My SC-2 was very flaky, but then I connected a wire to pin 5 of the command base serial port and looped it once around the SC-2.  It became nearly 100% reliable.

 

 

On the software side (if you're not already doing it) you could repeat the command a few times.  The command base needs repeats to be separated by 30 milliseconds or more.

Originally Posted by Harvy:
The guy I have been working with from Lionel saw my post and emailed me directly.  He told me exactly how to send out any command to the SC-2.  I made the change in my software and it seems to be working fine.  However, I won't know for sure until next winter when I set up my usual layout.  Right now I just have the minimum set up for development purposes.

 

Harvy, what did Lionel recommend?

Originally Posted by Professor Chaos:
Originally Posted by Harvy:
 
I totally agree, but I have been trying to get my SC-2 to work with my software for 7 years and it just doesn't want to play nice.  I even bought a second SC-2 and that still didn't work. It is not a question of ground or a signal issue since my SC-1 works fine with my software.  I think the issue has something to do with the timing an frequency of the switch commands I am sending out.  I have tried for so many years and tried everything that I have just given up.

 

Have you tried an earth ground wire? My SC-2 was very flaky, but then I connected a wire to pin 5 of the command base serial port and looped it once around the SC-2.  It became nearly 100% reliable.

 

 

On the software side (if you're not already doing it) you could repeat the command a few times.  The command base needs repeats to be separated by 30 milliseconds or more.

 

Originally Posted by Professor Chaos:
Originally Posted by Harvy:
The guy I have been working with from Lionel saw my post and emailed me directly.  He told me exactly how to send out any command to the SC-2.  I made the change in my software and it seems to be working fine.  However, I won't know for sure until next winter when I set up my usual layout.  Right now I just have the minimum set up for development purposes.

 

Harvy, what did Lionel recommend?

Yes, I am aware of sending the command multiple times.  Lionel told me to send any command that I am sending to an SC-2 three times separated by 100ms.

Last edited by Harvy
Originally Posted by Professor Chaos:

From a software perspective, there should not be any difference between an SC-1 and an SC-2. If SC-2s are not working reliably, it is usually a an RF signal issue; an earth ground wire in the vicinity of the SC-2 will solve that.

 

 

To connect a computer/microcontroller and a DZ-2001 to a Legacy base, I use the Legacy Y-cable. One end  goes to the computer/microcontroller; the other (normally used to send commands to a TMCC Command Base) connects tot he DZ-2001.

Would this Y-cable work with a TMCC base (not Legacy)? And can you still use the CAB1/CAB2 with this arrangement?

It seems that the software upgrade may have resolved the SC-2 issue.

 

Although I don't use SC-2s, I installed the software upgrade today to see if there would be any change with the DZ-2001A issue. There was not.

 

I may try the Y-cable, but I'm concerned about connecting an RS232 signal directly to the DZ-2001.

Last edited by Doug C
Originally Posted by Doug C:

It seems that the software upgrade may have resolved the SC-2 issue.

 

Although I don't use SC-2s, I installed the software upgrade today to see if there would be any change with the DZ-2001A issue. There was not.

 

I may try the Y-cable, but I'm concerned about connecting an RS232 signal directly to the DZ-2001.

Can you talk to the manufacturer of the DZ-2001A and ask them about connecting a RS-232 signal to it and if the voltage difference would harm it?

I was just reading the below document.

http://z-stuff.net/instruction...Driver%206-14-06.pdf

 

According to what I read it sounds like the DZ-2001A is only designed to receive data from the TMCC Base and send it out the three wires and its other serial port.  It is not designed to accept input from it's other serial port (the one not attached to the TMCC Base) and send the data out the three wires, which is what you are trying to do with my software.  The other serial port is to connect other Lionel controllers like the ASC, BPC, TPC, etc...  I don't think you will ever get my software to work using this configuration.  


I suggest to merge the serial port output of the TMCC Base with the serial output of your computer into the serial port of the DZ-2001A that would normally be connected directly to the TMCC Base.  This way the TMCC Base and your computer are both inputs to the DZ-2001A.  The other serial port on the DZ-2001A is not an input and that is why my software is not working for you.

 
This is just my opinion from my many years of development experience with TMCC and from what I just read.  It sounds like it is as simple as you are using the wrong port on the DZ-2001A to hook up your computer.
 
Even before you merge the two outputs, just try hooking up your computer directly to the DZ-2001A serial port that would normally be connected to the TMCC Base.  Then try to flip your switches with my software.
Last edited by Harvy
Originally Posted by Harvy:
Originally Posted by Doug C:

It seems that the software upgrade may have resolved the SC-2 issue.

 

Although I don't use SC-2s, I installed the software upgrade today to see if there would be any change with the DZ-2001A issue. There was not.

 

I may try the Y-cable, but I'm concerned about connecting an RS232 signal directly to the DZ-2001.

Can you talk to the manufacturer of the DZ-2001A and ask them about connecting a RS-232 signal to it and if the voltage difference would harm it?

I have an email in to Dennis. I hope to hear from him.

Originally Posted by Harvy:

I was just reading the below document.

http://z-stuff.net/instruction...Driver%206-14-06.pdf

 

According to what I read it sounds like the DZ-2001A is only designed to receive data from the TMCC Base and send it out the three wires and its other serial port.  It is not designed to accept input from it's other serial port (the one not attached to the TMCC Base) and send the data out the three wires, which is what you are trying to do with my software.  The other serial port is to connect other Lionel controllers like the ASC, BPC, TPC, etc...  I don't think you will ever get my software to work using this configuration.  

Yes that is correct. Pin 3 (data in to the command base)on the DZ-2001A goes straight through. It does not connect to anything in the DZ-2001A.
I suggest to merge the serial port output of the TMCC Base with the serial output of your computer into the serial port of the DZ-2001A that would normally be connected directly to the TMCC Base.  This way the TMCC Base and your computer are both inputs to the DZ-2001A.  The other serial port on the DZ-2001A is not an input and that is why my software is not working for you.

I plan to try that. I just want to be sure it won't harm the DZ.

 
This is just my opinion from my many years of development experience with TMCC and from what I just read.  It sounds like it is as simple as you are using the wrong port on the DZ-2001A to hook up your computer.
 
Even before you merge the two outputs, just try hooking up your computer directly to the DZ-2001A serial port that would normally be connected to the TMCC Base.  Then try to flip your switches with my software.
I will need to connect pin 3 from the computer to pin 2 input of the DZ. The DZ only uses pin 2 and 5 for switching.

I'll post here the results...

As I said in my previous post the DZ-2001 OUTPUT cannot receive commands it can only send commands to the switch machines. It can however RECEIVE data from the switch machines on position and pass that through to a computer. My parts will be here in a few days to do some testing. I believe you have to connect the computer output to the Legacy Y cable which connects to the command base and the DZ-2001 to the other leg of the Y.

Ron

Originally Posted by RailfanRon:

As I said in my previous post the DZ-2001 OUTPUT cannot receive commands it can only send commands to the switch machines. It can however RECEIVE data from the switch machines on position and pass that through to a computer. My parts will be here in a few days to do some testing. I believe you have to connect the computer output to the Legacy Y cable which connects to the command base and the DZ-2001 to the other leg of the Y.

Ron

Thanks Ron,

 

Yes, I agree. However there are some things to consider. For example, I don't know the pinouts of the legacy Y-cable. A custom cable may need to be made because the pin 3 output from the computer needs to be connected to pin 2 of the DZ-2001 for this to work.

 

Additionally, the computer output is RS232 which is a voltage interface that swings + and - from 0 volts. The Command base output is from 0v to +5v.The DZ may be designed only for this.  A diode may be needed to keep the minus voltage from the DZ.

 

I plan to do some testing of this...

In order to send computer info from pin 3 of the computer output to the data line, there would ideally have to be another isolated diode-photo transistor device (opto coupler) receiving data from pin 3 of the computer output and probably more buffered than the 2001 provides. Maybe a booster amp connected to pin 3 and another 2001 in parallel with the one from pin 2 of the Command Base.

That way the pin 3 data from the computer (a true RS232 output, likely -8 to +8 volts) would not be loaded down by the 2001.

As to hurting the opto coupler in the 2001, the spec sheet says reverse voltage can be up to 6 volts reverse on the diode. The computer output would sit at maybe -8 volts when it is idle. As you probably know the output of the Command Base was 0 to 5 volts, so the pin 2 output from it never goes negative.  If you put a signal diode in series with the pin 3 connection to the pin 2 connection on the 2001, then you would be safer.

On the other hand, the Legacy Base output is also a true RS232 and it's output doesn't hurt the 2001 by everyone's experience, so maybe the diode is not needed.

Add Reply

Post
×
×
×
×
Link copied to your clipboard.
×
×