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 DaleSchultz  
#1 Posted : 08 January 2011 22:39:06(UTC)
DaleSchultz

United States   
Joined: 10/02/2006(UTC)
Posts: 3,997
Some years ago George Senkler and I adapted the instruction we could find on programming an mFx decoder with the Intellibox.

I wrote up how to do it at http://layout.mixmox.com/1/mfx-Intellibox

George has however, 4 Märklin locos with mFx decoders that simply refuse to go into programming mode using the steps we produced. Two locos worked just fine on his system and George brought the errant 4 to my layout today and we got the same results with my Intellibox.

Now having been out of the loop for a few years I am wondering what types of mFx decoders are out there? Did Märklin introduce something to ensure we cannot use the IB to do this?

The instructions with the locos describe the technique of programming the decoders using a 6021 but since George wishes to program addresses above 80 we want an Intellibox solution.

Since Mafi explained that holding down the speed knob on a 6021 was simply sending change direction commands I decided to add mFX decoder programming capabilities to my decoder software and I was hoping to try that out today, but since we could not get the decoders to behave as expected (even manually) it was no test for the software. [The software does all the checking of Special Options and loco protocols for address 80 and the register and new value addresses, sends the direction codes to get into programming mode, and will also send the commands to set the new value.]


Dale
Intellibox + own software, K-Track
My current layout: https://cabin-layout.mixmox.com
Arrival and Departure signs: https://remotesign.mixmox.com
Offline H0  
#2 Posted : 08 January 2011 22:55:07(UTC)
H0


Joined: 16/02/2004(UTC)
Posts: 15,276
Location: DE-NW
There are two types of mfx decoders: those made by ESU (manufacturer ID 151) and those made by ??? (manufacturer ID 151 = TRIX).
I can program both types with the Intellibox following the instructions given on the Uhlenbrock website (with the loco on the programming track using the trick with the Programming menu).

BTW: Address 80 must use Motorola old, other addresses (1 and 57 in your example) can be Motorola new or Motorola old.
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
Offline DaleSchultz  
#3 Posted : 08 January 2011 23:19:18(UTC)
DaleSchultz

United States   
Joined: 10/02/2006(UTC)
Posts: 3,997
thanks Tom

we also tried to read the manufacturer ID using the programming track.

One loco returned 255 and 'pretended' to allow CV writes but was in reality not changing the address.

Two of the others simply refused to respond to reads on the PT.

However, the steps we determined and used before were on the mainline (not the programming track) but are otherwise very similar. We did not try those on the PT track. I need to get him back over here with his errant locos....
Dale
Intellibox + own software, K-Track
My current layout: https://cabin-layout.mixmox.com
Arrival and Departure signs: https://remotesign.mixmox.com
Offline H0  
#4 Posted : 08 January 2011 23:44:19(UTC)
H0


Joined: 16/02/2004(UTC)
Posts: 15,276
Location: DE-NW
Originally Posted by: DaleSchultz Go to Quoted Post
One loco returned 255 and 'pretended' to allow CV writes but was in reality not changing the address.

You need a CS2 to read the manufacturer ID from an mfx decoder.

An ESU mfx decoder exits programming mode when you try to write to CV 80, a "TRIX" mfx decoder will switch to double-blink mode instead.

TRIX mfx decoders support 27 speed steps, ESU mfx decoders support 14 or 28 speed steps.
With ESU decoders speed step 1 is always the same, no matter if you change from 0 to 1 or from 2 to 1.
TRIX decoders will run faster if you turn from 2 down to 1 (using speed step 1.5 internally) than when turning from 0 to 1 (using speed step 1 internally).
This is a way to tell ESU from the new decoders if you cannot enter programming mode.

Do you need information about the programming menu/programming track procedure described on the Uhlenbrock homepage?
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
Offline DaleSchultz  
#5 Posted : 09 January 2011 02:06:48(UTC)
DaleSchultz

United States   
Joined: 10/02/2006(UTC)
Posts: 3,997
Thanks Tom,

Originally Posted by: H0 Go to Quoted Post

An ESU mfx decoder exits programming mode when you try to write to CV 80, a "TRIX" mfx decoder will switch to double-blink mode instead.


yet the method of getting them into programming mode is to send a direction change for address 80 and the method of writing to a CV is to send direction change for address =CV and address=new value.

So if this is true, then this would suggest that as soon as it gets into programming mode, the very next direction change command on address 80 would make it think CV80 is to be written to, and thus it would exit?

I note however that they say the current address or address 80 ! So perhaps ESU ones must use the current address and Trix ones address 80....

Originally Posted by: H0 Go to Quoted Post
Do you need information about the programming menu/programming track procedure described on the Uhlenbrock homepage?

I understand the instructions perfectly thanks, I need to get the mFX locos here again to try them out using the programming track.

I suspect that what they are really doing though, is actually mainline programming and using the PT relay to simply provide power while sending the address 80 direction change commands.

This is the same (in theory) as pushing the loco off the insulated third rail while sending the direction change commands - providing power to the loco so that it gets the direction change very soon after getting power.

What does differ is doing the reset before hand - I wonder if that stops/clears any non Motorola commands going out....

If you have more details anywhere else it would be appreciated though.
Dale
Intellibox + own software, K-Track
My current layout: https://cabin-layout.mixmox.com
Arrival and Departure signs: https://remotesign.mixmox.com
Offline river6109  
#6 Posted : 09 January 2011 03:10:49(UTC)
river6109

Australia   
Joined: 22/01/2009(UTC)
Posts: 14,747
Location: On 1965 Märklin Boulevard just around from Roco Square
Dale,

Slightly off topic

I understand what you are trying to do, (not technically) what benefits do you have using a mfx decoder and is blocked to alter certain CV's from the average user ?
I understand ESU mfx decoders have an open protokol and lets you change the CV's.
mfx technology is to recognize your loco when put onto the track, e.g. loco no, symbol and name & class numbers.

I'm sure most members have enough memory to remember 10 or so locos.
In my situation, over 100 + it becomes a bit of a memory juggle.

The main reasons members buy mfx is:
1.) the loco the like doesn't come with an alternative decoder,
2.) instant recognition
The third option and I think this is your attempt to hack into the mfx decoder to be able to change the CV's as well.
My question is, is it worth in the first place ?

but there are other restrictions, like changing the brightness of lights for instance.

It may take a bit longer with an ESU mfx decoder to actually enter the particular information but the moment you've entered it, it stays there.

John



https://www.youtube.com/river6109
https://www.youtube.com/6109river
5 years in Destruction mode
50 years in Repairing mode
Offline DaleSchultz  
#7 Posted : 09 January 2011 03:36:16(UTC)
DaleSchultz

United States   
Joined: 10/02/2006(UTC)
Posts: 3,997
I decide to look at the instructions that Tom linked to, at the IB even though the locos are not on hand.

It seems that the steps given do not make sense with my IB. (running 1.203 yes its old but I have never needed any of the new stuff)

Quote:
5. Nun rufen Sie den Programmiermodus an der IB auf (nacheinander die Tasten [mode] und [4] betätigen).

Says I should press [mode] and then [4] to enter programming mode.

Well on my IB, pressing mode will cycle through the modes, s88 - programming - keyboard.

Doing this in s88 mode would switch to programming mode and the 4 does nothing.
Doing this in programming mode takes me keyboard mode and then [4] will switch a turnout to red.
Doing this in keyboard mode switches me to s88 mode and I am not sure what [4] does there.

Perhaps there is a special shortcut to programming mode in later versions of the IB software...

So knowing how to get to programming mode by myself, I look at the next step:

Quote:
6. Jetzt die [menu]-Taste betätigen (das Umschalten eines Relais ist deutlich zu hören).


Nope, when my IB is in programming mode, the [menu] key displays a selection of DCC, Selectrix, Uhlenbrock, etc. decoders. It does not switch the PT relay. Anyway, I have SO16=0 to prevent the PT from having track current.

Their step 7 also assumes that pressing the [menu] key again will switch the relay again.

It seems that they have assumed a certain level of IB firmware.
It seems they have assumed that I have the PT set to run track voltage.
It seems they have assumed that the relay is initially on (so they switch it off in step 6)

Meanwhile it seems all this is attempting to do is provide track power while address 80 is repeatedly having its direction changed. This is also achieved by sliding the loco off some masking tape that is isolating the center rail. It is a good idea to use the PT relay and I may alter my software to use that approach and switch the relay off and on using software, once I get a working mfx loco to test stuff.

If anyone can comment on steps 5 and 6 it would be appreciated.
Dale
Intellibox + own software, K-Track
My current layout: https://cabin-layout.mixmox.com
Arrival and Departure signs: https://remotesign.mixmox.com
Offline DaleSchultz  
#8 Posted : 09 January 2011 03:47:40(UTC)
DaleSchultz

United States   
Joined: 10/02/2006(UTC)
Posts: 3,997
Originally Posted by: river6109 Go to Quoted Post
what benefits do you have using a mfx decoder and is blocked to alter certain CV's from the average user ?


I agree 100% John.

I am trying to help a friend who has some mFx locos and also a bunch of locos with older Motorola decoders with addresses that cannot be set above 80. So he want to reprogram his mFx decoders to addresses > 80. He runs his layout with an Intellibox so he needs to have unique addresses.

I personally do not have any mFx locos and I have railed against them from when they were first announced. What a silly waste of bidirectional communication... far more useful would be the ability to poll the running loco to find out:

1. Do you have power? (no answer means is has lost contact - what a cool thing that would be)
2. What is your current speed, direction and functions?

Having the loco auto resolve address conflict is something that can take 5 minutes at most and only ever needs to be done once when you acquire a new loco... I cannot understand why people retro install mFx decoders - a task that would take longer than setting the address.. not to mention the additional cost. And after all that it sounds as if the registration turnout out to take some minutes each time every time the layout is powered up... huh !

As you say, I think these were acquired only because they were in locos he liked.
Dale
Intellibox + own software, K-Track
My current layout: https://cabin-layout.mixmox.com
Arrival and Departure signs: https://remotesign.mixmox.com
Offline H0  
#9 Posted : 09 January 2011 10:08:24(UTC)
H0


Joined: 16/02/2004(UTC)
Posts: 15,276
Location: DE-NW
Originally Posted by: DaleSchultz Go to Quoted Post
What does differ is doing the reset before hand - I wonder if that stops/clears any non Motorola commands going out....

The IB starts with a blank refresh buffer, sending out no other loco commands than address 80. Maybe this is the essential difference.

Both address 80 and current address should work for both types of mfx decoders.
I always use address 80 coz that one is set to "Motorola old" permanently. Rarely the first attempt fails and I simply try again.

Your conclusions are correct: they use the programming track relay to provide power to the loco at a later stage.
[Menu][4] is a shortcut to get to programming mode, so I presume it's a new feature your software doesn't have yet (1.55 and 2.00 are available for download, but 2.00 should require a registration key to install - 1.55 is free for all).

Pushing the loco onto the track is theoretically the same, but may be slightly different practically if transmission errors occur.
For mfx decoders the main track is used for programming.
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
Offline H0  
#10 Posted : 09 January 2011 10:19:30(UTC)
H0


Joined: 16/02/2004(UTC)
Posts: 15,276
Location: DE-NW
Originally Posted by: river6109 Go to Quoted Post
The main reasons members buy mfx is:
1.) the loco the like doesn't come with an alternative decoder,
2.) instant recognition
The third option and I think this is your attempt to hack into the mfx decoder to be able to change the CV's as well.
My question is, is it worth in the first place?
but there are other restrictions, like changing the brightness of lights for instance.

IB users can easily change the CVs of non-mfx decoders (MM/DCC decoders) using the programming menu (reading and writing CVs); with mfx decoders they must use a funny procedure to get the loco into programming mode on the main track (only few CVs can be changed, none can be read).

mfx decoders have no advantages for users of CU 6021 or Intellibox, but many drawbacks. So for many users "1." is the reason for buying mfx decoders.
Those users can achieve more if they buy locos with ESU decoders (from Roco, Fleischmann, Brawa, Mehano, Liliput, Hornby, ...). Brightness of lights can be changed with those.
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
Offline perz  
#11 Posted : 10 January 2011 00:01:52(UTC)
perz

Sweden   
Joined: 12/01/2002(UTC)
Posts: 2,578
Location: Sweden
I have made a few observations regarding programming of mfx decoders:

1. There are three different ways of sending a direction change:
a) old Motorola direction change commmand
b) Explicit new Motorola direction change command (two versions: forward and backward)
c) New Motorola speed+direction command.

I know that c) won't work for programming. b) works, but you need to change the direction (i.e. alternate between the "forward" and "backward" command). I haven't tested a) for programming. Maybe your IB is configured in a way that uses a) or c) for direction change.

2. The non-ESU decoders may not recognize Motorola commands immediately if they were running mfx or analog last time. This may cause them to not respond to programming. This is cured by running them with Motorola commands with their current address for a few seconds. I have not observed this problem with ESU decoders.

Also generally it seems to be more difficult to get the non-ESU decoders into programming mode. But I have never experienced that it has been impossible. I have just had to apply 2) above and try several times to get it to work.
Offline DaleSchultz  
#12 Posted : 10 January 2011 00:08:01(UTC)
DaleSchultz

United States   
Joined: 10/02/2006(UTC)
Posts: 3,997
Thanks Per, some good info....
Dale
Intellibox + own software, K-Track
My current layout: https://cabin-layout.mixmox.com
Arrival and Departure signs: https://remotesign.mixmox.com
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-2024, Yet Another Forum.NET
This page was generated in 0.602 seconds.