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 Gregor  
#1 Posted : 22 August 2005 22:02:17(UTC)
Gregor

Netherlands   
Joined: 17/04/2003(UTC)
Posts: 997
Location: Netherlands
Hi all,

To set the address of an mfx decoder using a 6021, the following link tells us what to do:http://www.maerklin.de/faqdata/...en_mfx_Loks_mit_6021.pdf

Now, I don't have a 6021, I have homemade software that sends directly the digital commands to the track.

Does anyone know what kind of commands are sent to the track, when pressing <stop> and <go> simultaneously ? Or is there someone with a scope who can capture the digital trace in such an event ?

In case all else fails, is there someone with a 6021 living close to Roermond, NL ???

Best regards,
Gregor
Offline perz  
#2 Posted : 22 August 2005 23:01:45(UTC)
perz

Sweden   
Joined: 12/01/2002(UTC)
Posts: 2,578
Location: Sweden
Pressing "stop" and "go" at the same time causes the 6021 to reset and remove all loks from the "refresh list". After pressing the two buttons the 6021 is either in a "reset&off" state or a "reset&on" state.
If it is in the "reset&off" state the power is already off so step 2 in the instructions will have no effect. If it is in the "reset&on" state it continuously sends the "idle" message which is in trinary form:

open open open open 0 0 0 0 0

or in binary form:

101010100000000000

I do not think the idle message is the essential thing. The important thing is to empty the refresh list so that no other loco addresses are sent that could disturb the programming. But I do not know for sure, I have no mfx products to test with. Anyway, my home made equipment could program a LokPilot decoder and I think the mfx decoders work the same.
Offline digilox1  
#3 Posted : 22 August 2005 23:19:08(UTC)
digilox1


Joined: 28/05/2003(UTC)
Posts: 719
Location: ,
Gregor, all,

http://home.arcor.de/nil...ojekte_e.html#e_Projekt7

This fellow, Nils Koerber has done a sniffing program, that`s downloadable for free (or 1.30 Euros?) from the "elektor" site.

So somebody with the suitable equipment (6021 + ...) might download
the programm and mail you their findings:

http://www.elektor.de/De...p;group=<< empty >>&PN=On&SearchText=
This link is copied from the German version of their site

The Dutch "elektuur" homepage, also available in French, English and German:
http://www.elektuur.nl/

Regards,
Manfred



Offline perz  
#4 Posted : 23 August 2005 00:20:33(UTC)
perz

Sweden   
Joined: 12/01/2002(UTC)
Posts: 2,578
Location: Sweden
The 6021 behaviour is already thoroughly investigated by e.g. Andrea Scorzoni, see http://spazioinwind.libe...it/scorzoni/motorola.htm. No need to spend too much time on it yourself.

I mainly referred his findings, but I made a measurement with an oscilloscope myself to be really sure before I posted my previous answer.
Offline steventrain  
#5 Posted : 23 August 2005 23:40:41(UTC)
steventrain

United Kingdom   
Joined: 21/10/2004(UTC)
Posts: 31,697
Location: United Kingdom
Great links,Thanks.
Large Marklinist 3- Rails Layout with CS2/MS2/Boosters/C-track/favorites Electric class E03/BR103, E18/E118, E94, Crocodiles/Steam BR01, BR03, BR05, BR23, BR44, BR50, Big Boy.
Offline Gregor  
#6 Posted : 24 August 2005 00:55:07(UTC)
Gregor

Netherlands   
Joined: 17/04/2003(UTC)
Posts: 997
Location: Netherlands
Thank you all, let's see how it works out after I will have installed my mfx decoder.

Earlier attempts to program a TAMS decoder failed. According to the instructions, the decoder would enter programming mode when the 6021 <reverse> button was pressed for a number of seconds, but when I sent this command repeatedly in a row, nothing happened. Maybe my interval differs from that from the 6021. I stopped trying when I found out it was a lousy decoder anyway....

Best regards,
Gregor
Offline perz  
#7 Posted : 24 August 2005 22:31:06(UTC)
perz

Sweden   
Joined: 12/01/2002(UTC)
Posts: 2,578
Location: Sweden
Gregor,
there are different ways of sending the direction change command.

- Old Motorola direction change command
- Mixed mode absolute direction change command
- Absolute direction speed 0 command

I think you need to send one of the two first types to get into programming mode. Sending the third alternative alone did not work with a LokPilot at least. It worked with the "Mixed mode absolute direction change" command alone with LokPilot.

See Andrea Scorzoni's documentation for explanation of the different commands. There is also described how the 6021 sends it.
Offline Gregor  
#8 Posted : 29 August 2005 23:40:59(UTC)
Gregor

Netherlands   
Joined: 17/04/2003(UTC)
Posts: 997
Location: Netherlands
Can't get it to work in any of the modes [:(!][V]

Maybe it is because I use Edits Pro. The controller has connections for 8 handheld controls. It might scan the (unused) controls, and send the commands to the track, thus disturbing the programming sequence.

What is the sense in pressing <go> and <reverse> simultaneously ? I would guess that it is to make sure that the first command received after power-on is a reverse command. Or does the 6021 issue a special command in such case ???

On these occasions I hate electronics. You just can't see what is going on...

Gregor
Offline perz  
#9 Posted : 30 August 2005 01:36:34(UTC)
perz

Sweden   
Joined: 12/01/2002(UTC)
Posts: 2,578
Location: Sweden
Quote:
[size=1" face="Verdana" id="quote]quote:What is the sense in pressing <go> and <reverse> simultaneously ? I would guess that it is to make sure that the first command received after power-on is a reverse command. Or does the 6021 issue a special command in such case ???


It is to make sure the first command after the power on is the reverse command.
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.356 seconds.