Welcome to the forum   
Welcome Guest! To enable all features please Login or Register.

Notification

Icon
Error

Share
Options
View
Go to last post in this topic Go to first unread post in this topic
Offline TouchCab  
#1 Posted : 30 December 2011 22:39:36(UTC)
TouchCab

Denmark   
Joined: 04/03/2009(UTC)
Posts: 149
Location: Denmark
Hi all.

One of my friends has a strange problem.

On his layout, he has a locomotive with mfx address 3 and a turnout with DCC address 9.
Whenever he turns on the sound (F1) on the locomotive, the turnout throws. This is reproducible.
The command station is an ECoS, latest software version.

Could this be an mfx/DCC incompatibility, so that the turnout decoder interprets the mfx "F1 ON for mfx loco3"command as a DCC command?

I can't find the mfx track protocol anywhere, so I haven't been able to analyze the track signals in theory.

Edited by user 31 December 2011 02:53:45(UTC)  | Reason: Not specified

Best regards,
Jens
---
This account is no longer active
Offline H0  
#2 Posted : 30 December 2011 23:02:37(UTC)
H0


Joined: 16/02/2004(UTC)
Posts: 15,460
Location: DE-NW
Hi, Jens,

AFAIK mfx was designed to be compatible with DCC. Difficult to say who's to blame: the mfx design, the mfx implementation of the ECoS, or the DCC implementation of the unnamed turnout decoder.

mfx locos receive their addresses automatically, so I presume you do not know if it really is address 3.
With 2048 addresses for accessories, it should be easy to avoid address 9 (but other addresses may also be affected).

Some turnout decoders can be set to MM protocol. This would be an easy workaround.
mfx locos can be run using MM protocol (but normally limited to 9 functions per loco and 27 or 28 speed steps respectively).

I haven't heard of similar problems so far.
Regards
Tom
---
"In all of the gauges, we particularly emphasize a high level of quality, the best possible fidelity to the prototype, and absolute precision. You will see that in all of our products." (from Märklin New Items Brochure 2015, page 1) ROFLBTCUTS
UserPostedImage
thanks 1 user liked this useful post by H0
Offline TouchCab  
#3 Posted : 30 December 2011 23:17:34(UTC)
TouchCab

Denmark   
Joined: 04/03/2009(UTC)
Posts: 149
Location: Denmark
He says the loco is at mfx address 3, so I take his word for it, but hey ...

We know it should be easy to fix by giving the accessory decoder a different address, but it would be nice to know what actually causes the problem: the protocols, the command station or the decoders.
I thought maybe someone has seen something similar, that's all.
Best regards,
Jens
---
This account is no longer active
Offline rjftrains  
#4 Posted : 31 December 2011 02:29:23(UTC)
rjftrains


Joined: 14/12/2011(UTC)
Posts: 58
Location: Katonah, NY
Tom makes a valid point. The "mfx" address is not 3. The "3" is the Marklin / Motorola address. This would be used by a 6021, Intellibox or other controller that is not capable of detecting "mfx" decoders.

Assuming the controller in question (ECoS) is capable of identifying "mfx" decoders (and the ECos is indeed capable of this), then the address being used is the unique "mfx" address. As such, the address of "3" would not be used (or transmitted) in this scenario.

Of course, it would be easy enough to test if this "3" is causing a problem -- just assign the decoder a different Marklin / Motorola address. My money says it won't make any difference.
Robert Frowenfeld
RJFtrains@aol.com
www.RJFtrains.com
914-232-5546
thanks 1 user liked this useful post by rjftrains
Offline arconell  
#5 Posted : 31 December 2011 02:43:26(UTC)
arconell


Joined: 27/07/2010(UTC)
Posts: 174
Location: Kreis Kleve, Germany
Hi Jens,

I don't have an Ecos but when he is sure he runs his loco (a BR03 perhaps?) on Mfx, I agree with Tom, he wouldn't know what the Mfx address really is. However if he runs it in MM mode, it could certainly be 3. Now, interestingly enough, address 9 for points would translate into 3.1 when the Ecos is programmed to use of the 4-points (8 outputs) decoders like the Viessmanns or indeed most others....

I do know that when running a multi-protocol setup you are well advised to not use the same addresses in DCC and in MM simultaneously but that would only be true between loco decoders, and may be also between point decoders but not between a loco and a point decoder, the format for addressing points is completely different from the loco decoder format in both MM and DCC.

Mysterious!

Best regards, Robert
thanks 1 user liked this useful post by arconell
Offline TouchCab  
#6 Posted : 31 December 2011 02:45:14(UTC)
TouchCab

Denmark   
Joined: 04/03/2009(UTC)
Posts: 149
Location: Denmark
Okay - thanks. That goes to show how little I know about mfx.
We'll have a go at it and see what changes.

Thanks, both. I'll be back.

Edit: Oops, we posted at the same time - Thanks all
Actually it's a BR80.
Best regards,
Jens
---
This account is no longer active
Offline perz  
#7 Posted : 31 December 2011 15:03:57(UTC)
perz

Sweden   
Joined: 12/01/2002(UTC)
Posts: 2,578
Location: Sweden
Originally Posted by: TouchCab Go to Quoted Post

I can't find the mfx track protocol anywhere

http://www.alice-dsl.net/mue473/mfxmenue.htm

Unfortunately only in German.
thanks 1 user liked this useful post by perz
Offline perz  
#8 Posted : 31 December 2011 15:31:05(UTC)
perz

Sweden   
Joined: 12/01/2002(UTC)
Posts: 2,578
Location: Sweden
DCC and mfx signalling looks rather similar. DCC uses pulses of 58 and 100 microseconds, mfx uses pulses of 50 and 100 microseconds. A 50 microsecond pulse could be interpreted as a 58 microsecond pulse and vice versa, even if it is outside of the specifications for the respective protocols.

What should stop the protocols from getting confused with eachother is:

- The DCC message starts with a 14 bit preamble consisting of only "1"s. No decoder is allowed to accept a message with less than 10 preamble "1" bits.

- The mfx protocol has a rule that forbids more than 8 "1"s in a row, so that it can not look like the start of a DCC package.

- Th mfx protocol has a "code violation" pattern that indicates the start of a message. This kind of pattern is never sent with DCC.

- A DCC message has an 8-bit checksum at the end. Messages with wrong checksum should be discarded by the decoder.

- An mfx message has an 8-bit CRC at the end. Messages with wrong CRC should be discarded by the decoder.

If the decoder does its job properly there should be no risk for mixing it up. But if you make a sloppy decoder implementation you can certainly get interference.
thanks 1 user liked this useful post by perz
H0
Offline TouchCab  
#9 Posted : 31 December 2011 15:50:06(UTC)
TouchCab

Denmark   
Joined: 04/03/2009(UTC)
Posts: 149
Location: Denmark
Originally Posted by: perz Go to Quoted Post
Originally Posted by: TouchCab Go to Quoted Post

I can't find the mfx track protocol anywhere

http://www.alice-dsl.net/mue473/mfxmenue.htm

Unfortunately only in German.


Thank you perz.
Absolutely perfect Cool
Best regards,
Jens
---
This account is no longer active
Offline TouchCab  
#10 Posted : 31 December 2011 15:52:56(UTC)
TouchCab

Denmark   
Joined: 04/03/2009(UTC)
Posts: 149
Location: Denmark
I would expect the protocols had some means to avoid confusion, and sure enough - like you explain - they do.
I'm sure that in the end it will turn out to be a user error ... Blushing
Best regards,
Jens
---
This account is no longer active
Offline dntower85  
#11 Posted : 01 January 2012 02:49:24(UTC)
dntower85

United States   
Joined: 08/01/2006(UTC)
Posts: 2,218
Location: Shady Shores, TX - USA
Wow I just had my Michelin rail bus start running backwards when I hit some of the sound functions on my br 64. The bus has a digitrax dcc decoder in it. I was just about to post a new post on this problem.
DT
Now powered by ECoS II unit#2, RocRail
era - some time in the future when the space time continuum is disrupted and ICE 3 Trains run on the same rails as the Adler and BR18's.
Offline kgsjoqvist  
#12 Posted : 03 January 2012 14:57:31(UTC)
kgsjoqvist

Sweden   
Joined: 04/06/2002(UTC)
Posts: 754
Location: Täby
If the DCC accessory decoder is programmable, it may have been programmed by accident. Maybe?
K-G / H0 and Z model train user
Offline GSRR  
#13 Posted : 03 January 2012 16:07:28(UTC)
GSRR

United States   
Joined: 01/03/2009(UTC)
Posts: 1,339
Location: USA
Jens,

The version in use by the ECoS is 3.4.3 correct? Is the the turnout configured with an ESU SwitchPilot to a Viessmann decoder / motor or a typical Maerklin decoder / motor setup? Is RailCom active or disabled?



r/Thomas


ETE UserPostedImage ECoS iTrain TouchCab C-Gleis German Era Id & IIIb USA Era IIIb SBB Era III SJ Era IV GC Era V
Offline TouchCab  
#14 Posted : 03 January 2012 18:15:09(UTC)
TouchCab

Denmark   
Joined: 04/03/2009(UTC)
Posts: 149
Location: Denmark
I believe the version is correct, yes.
It's a Märklin loco and a ESU SwitchPilot accessory decoder. No Viessmann stuff nearby. With the SwitchPilot address changed, the problem is gone.

Here, however, is an explanation (in German) of why this may happen if the DCC accessory decoder is not prepared to handle and ignore an mfx signal:
http://s1gf.de/thread.php?threadid=10384

The essence, as I understand it, is that an mfx "one" bit has both positive and negative edges in a period. If a DCC decoder only sees the positive edge (which is only necessary in DCC), then it may interpret the mfx preamble as a sequence of zeros and act accordingly.
Now, I still haven't analyzed this properly, but given the very good explanation and the fact that the problem is gone at my friends', I'll let it rest here.

Happy new year everyone Smile
Best regards,
Jens
---
This account is no longer active
thanks 1 user liked this useful post by TouchCab
Offline GSRR  
#15 Posted : 03 January 2012 18:34:56(UTC)
GSRR

United States   
Joined: 01/03/2009(UTC)
Posts: 1,339
Location: USA
Originally Posted by: TouchCab Go to Quoted Post
I believe the version is correct, yes.
It's a Märklin loco and a ESU SwitchPilot accessory decoder. No Viessmann stuff nearby. With the SwitchPilot address changed, the problem is gone.

Here, however, is an explanation (in German) of why this may happen if the DCC accessory decoder is not prepared to handle and ignore an mfx signal:
http://s1gf.de/thread.php?threadid=10384

The essence, as I understand it, is that an mfx "one" bit has both positive and negative edges in a period. If a DCC decoder only sees the positive edge (which is only necessary in DCC), then it may interpret the mfx preamble as a sequence of zeros and act accordingly.
Now, I still haven't analyzed this properly, but given the very good explanation and the fact that the problem is gone at my friends', I'll let it rest here.

Happy new year everyone Smile



Jens,

Thank you for posting the solution, and the added information. When you can ask your friend if RailCom is enabled?


r/Thomas

ETE UserPostedImage ECoS iTrain TouchCab C-Gleis German Era Id & IIIb USA Era IIIb SBB Era III SJ Era IV GC Era V
Offline TouchCab  
#16 Posted : 03 January 2012 23:55:47(UTC)
TouchCab

Denmark   
Joined: 04/03/2009(UTC)
Posts: 149
Location: Denmark
I have asked.
RailCom is not enabled
Best regards,
Jens
---
This account is no longer active
thanks 1 user liked this useful post by TouchCab
Users browsing this topic
Guest
Forum Jump  
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.

| Powered by YAF.NET | YAF.NET © 2003-2025, Yet Another Forum.NET
This page was generated in 0.557 seconds.