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 einotuominen  
#1 Posted : 11 December 2022 14:00:43(UTC)
einotuominen

Finland   
Joined: 19/09/2022(UTC)
Posts: 459
Location: Kaarina
Hi guys!

I’m planning to build a small yard that will have hump functionality and automatic uncoupling with uncoupler tracks.

The layout is controlled with Rocrail.

Can anyone tell wheter it is best to use m/k83 or m/k84 decoders with the uncoupler tracks in combination with Rocrail?

Can I use Rocrail ”time” settings in Actions to do this with m/k84 or do I have to use 83 in order to make sure the signal is turned of (in case Rocrail fails to turn it off…)?

Also I’m planning to have enter2in contact track right after the uncoupler track to stop the loco at correct position, is this the prefered way? No need to uncouple wagons from wagons, just to uncouple the loco.

Thanks!

-Eino
Offline JohnjeanB  
#2 Posted : 11 December 2022 14:51:07(UTC)
JohnjeanB

France   
Joined: 04/02/2011(UTC)
Posts: 3,563
Location: Paris, France
Hi Eino
Originally Posted by: einotuominen Go to Quoted Post
Can anyone tell wheter it is best to use m/k83 or m/k84 decoders with the uncoupler tracks in combination with Rocrail?

In my opinion, the best is to use a K83. You have multiple possibilities
- when the loco is precisely on the uncoupling track, send a normal activation. Most of times, this will be enough PROVIDED the coupler is not pulling the train (Coupling slack is needed.
- writing a small XML program so activate the uncoupler 2 or 3 times. Activation while the loco is slowly running backwards
- when programming the 60832 to long durations, above 500 mS, it will activate in short bursts.

Using an Uncoupler with a K84 is:
- perfectly possible and safe because they have a thermal protection (cuts by itself when getting hot)
- long activation of uncouplers does not serve any purpose and may interfere with sliders. It is less effective than a small burst of short activation

Here is a video showing loco-specific uncouplings called by XML but can also be traggered by the event recorder if you prefer


What is critical is the location of the sensor starting the uncoupling process
If the used sensor belongs to a block, this will allow to select the appropriate action (Condition loco xyz activates Action xyz uncoupling)
The best is to use a normal block sensor (ENTER or IN) to start the XML program which waits for another decoupler-specific sensor, (precisely located one loco length away from the uncoupler) sensor to activate it. Works every time.
Cheers
Jean
thanks 1 user liked this useful post by JohnjeanB
Offline Goofy  
#3 Posted : 11 December 2022 15:17:48(UTC)
Goofy


Joined: 12/08/2006(UTC)
Posts: 9,277
Some railway modeler use analog untrack coupler by push on the button.
A k83 allows up to 8 untrack coupler.
H0
DCC = Digital Command Control
thanks 1 user liked this useful post by Goofy
Offline einotuominen  
#4 Posted : 11 December 2022 16:25:04(UTC)
einotuominen

Finland   
Joined: 19/09/2022(UTC)
Posts: 459
Location: Kaarina
Originally Posted by: JohnjeanB Go to Quoted Post


- when the loco is precisely on the uncoupling track, send a normal activation. Most of times, this will be enough PROVIDED the coupler is not pulling the train (Coupling slack is needed.
- writing a small XML program so activate the uncoupler 2 or 3 times. Activation while the loco is slowly running backwards

Here is a video showing loco-specific uncouplings called by XML but can also be traggered by the event recorder if you prefer


What is critical is the location of the sensor starting the uncoupling process
If the used sensor belongs to a block, this will allow to select the appropriate action (Condition loco xyz activates Action xyz uncoupling)
The best is to use a normal block sensor (ENTER or IN) to start the XML program which waits for another decoupler-specific sensor, (precisely located one loco length away from the uncoupler) sensor to activate it. Works every time.
Cheers
Jean


Hi Jean,

Here's a picture I try to explain what I'm planning: https://drive.google.com...b84SN8H/view?usp=sharing

Decoder selection is quite clear, I would go with K83.

New questions rise though. There is a little elevation on the yard track towards the bumper. This is only for allowing the wagons to roll off the uncoupled loco-A and couple with different loco-B as explained in the picture above. However after looking at your video, there seems to be no issues with coupling new loco with relex on a flat track... This is really strange to me because not all relex couplers I have, seem to couple easily. Some require several push attempts. Are my couplers defected or have you just found the perfect matches that always work?

Also, if relex couplers need slack, how would it ever work if the wagons are pulling downhill while still coupled to loco-A... On your video this seems to work though on the 3-way switch classification...

The downhill plan is because some trains may be shorter and in my picture the loco-B that is stopped in short block #1, would not be able to couple with the wagons if they are too far away, so the plan is to let the wagons roll to the loco. I actually don't like this. Is there a way I could handle variable length trains and let the loco-B drive to the wagonos?


Goofy, yes, that's why I like the K83 solution better. It will be very cheap.

Thank you!

-Eino



Offline JohnjeanB  
#5 Posted : 11 December 2022 18:10:39(UTC)
JohnjeanB

France   
Joined: 04/02/2011(UTC)
Posts: 3,563
Location: Paris, France
Hi Eino
Originally Posted by: einotuominen Go to Quoted Post
New questions rise though. There is a little elevation on the yard track towards the bumper. This is only for allowing the wagons to roll off the uncoupled loco-A and couple with different loco-B as explained in the picture above. However after looking at your video, there seems to be no issues with coupling new loco with relex on a flat track... This is really strange to me because not all relex couplers I have, seem to couple easily. Some require several push attempts. Are my couplers defected or have you just found the perfect matches that always work?


Here is an example of an uncoupler on top of a hill, letting cars to roll-off.
Incline is 1 to 2% and I added a small cylinder of black foam on top of Märklin rail bumpers to make the collision smooth

So, indeed there in no problem there

Compatibility Relex <--> Short couplings (SC) is limited, especially with old metal relex coupling and definitely not so smooth as with SC.
This has to do with the couplers' height (not as precise as with SC and the SC buckle must be below the Relex buckle).

Note that I had to slightly modify Märklin SC by filing the blade loop so that they never bump on each other to fail the coupling.

Now, all my cars / wagons with relex stay in their boxes and besides they are NOT compatible with new style Telex couplers.
Cheers
Jean

Edited by user 12 December 2022 02:10:59(UTC)  | Reason: Not specified

Offline einotuominen  
#6 Posted : 12 December 2022 16:24:59(UTC)
einotuominen

Finland   
Joined: 19/09/2022(UTC)
Posts: 459
Location: Kaarina
Thanks Jean,

Ok so I’ll at least make sure that the couplings I know are going to be uncoupled with the track, have to be of same type and in perfect shape. I ordered the 7001 aligner tool.

About the XML, I’ve yet to get to know Rocrails implementation, but can you give me an concept of what the file should include? On an abstract level I guest precision moving the loco and triggering the 83 decoder several times?

-Eino
Offline JohnjeanB  
#7 Posted : 12 December 2022 18:53:36(UTC)
JohnjeanB

France   
Joined: 04/02/2011(UTC)
Posts: 3,563
Location: Paris, France
Hi Eino

XML language is not THAT complicated but I am no master at it.
Here is the uncoupling of one specific loco (BR_01_147).

It does many things additional, some of which, you may skip
- Release train: tell Rocrail that the consist of wagons are decoupled (now the train length = the loco length)
- Move loco forwards, slow for a duration of 1 S (1000 mS)
- remove the inertia simulation loco's F4=true (F4 of the loco is active). So that the stopping place is precise
- Do While move loco forwards, slow until sensor fc98=on (occupied) This is to contradict the order sent by the block's Rocrail logic to stop the loco when it reaches the IN sensor)
- set loco in manual mode Not in aquarium mode anymore (<lc id="BR_01_147" cmd="stop"/>)
- stop the loco after a time (loco-specific because not all locos have the same length)
- Do While move loco reverse, slow until sensor fc98=off (free) This is to contradict the order sent by the block's Rocrail logic when the loco reached the IN sensor). Now the loco rear end is almost above the uncoupler (loco stil moving slowly backwards
- 3 uncoupling attempts
- stop the loco
- change the direction back to forwards
- put back the inertia simulation
- start a new ACTION "Start Lok swap 98 Ank.Phase 1" for the next schedule to start

XML uncoupling.png
I hope this helps
Jean
Offline einotuominen  
#8 Posted : 12 December 2022 19:13:26(UTC)
einotuominen

Finland   
Joined: 19/09/2022(UTC)
Posts: 459
Location: Kaarina
Looks good!

There are things like sleep and while -loops in the script. Apparently the script is run in it’s own Thread by the underlying operating system, so I assume this is asynchronous and everything else going on in Rocrail does not halt? (well you wouldn’t have that on your layout, so a bit dumb question BigGrin ).

This inertia control is a new term for me… is it loco decoder specific or is this Rocrail thing for the train weight simulation)?

Luckily I was a software architect for 12 years before completely chaning my profession to something else… I think this will take my small layout to a whole different level in terms of interesting action on the tracks.

Thanks for the example, I wil also share what I come up with, when I get there.

-Eino
Offline JohnjeanB  
#9 Posted : 12 December 2022 21:05:50(UTC)
JohnjeanB

France   
Joined: 04/02/2011(UTC)
Posts: 3,563
Location: Paris, France
Originally Posted by: einotuominen Go to Quoted Post

There are things like sleep and while -loops in the script. Apparently the script is run in it’s own Thread by the underlying operating system, so I assume this is asynchronous and everything else going on in Rocrail does not halt? (well you wouldn’t have that on your layout, so a bit dumb question BigGrin ).

Yes, the XML program competes for resources with the main Rocrail program. The XML program can sometimes contradict the main program and order a loco to run a program instead of stopping because of the IN sensor and the red signal. The sleep command allows to have very precise actions (precise speed control and millisecond timing). So no, the rest of the program does not stop because of the XML one but XML must not try to replicate what the main Rocrail program does

Originally Posted by: einotuominen Go to Quoted Post
This inertia control is a new term for me… is it loco decoder specific or is this Rocrail thing for the train weight simulation)?

The Locos I use have recent decoders (mSD2 and mSD3) with sound and inertia simulation. On the CS, you may adjust the "brake delay" and "acceleration delay". Both play a capital role in controlling the locos. Most modern decoders (ESU, etc) have the equivalent.

Example:
- a loco runs at full speed (V_route) in plain track
- it slows down when entering a station or approaching a red signal (V_mid)
- it stop when reachin the IN sensor of a closed signal (red) v=0

All this would be pretty hugly without the inertia simulation which is NOT provided by Rocrail or any of its equivalents

Jean
thanks 1 user liked this useful post by JohnjeanB
Offline einotuominen  
#10 Posted : 24 February 2023 08:41:11(UTC)
einotuominen

Finland   
Joined: 19/09/2022(UTC)
Posts: 459
Location: Kaarina
Hi,

Thank uou Jean, I've now managed to build several different uncoupling / coupling operations with the XML actions. It's fantasti!

I'll post a YouTube video someday.

-Eino
thanks 3 users liked this useful post by einotuominen
Offline Mark5  
#11 Posted : 01 March 2023 05:07:50(UTC)
Mark5

Canada   
Joined: 29/01/2012(UTC)
Posts: 1,422
Location: Montreal, Canada
Hello Eino,
Would love to see a video and something of a tutorial to set it up.
I have been thinking of getting rid of all my uncoupler tracks since I primarily like running the trains and usually end up coupling manually; the decouplers are so noisy! lol. Plus I like using Telex when we shunt.
Please convince me to love uncoupler rails again.... Wink

Originally Posted by: einotuominen Go to Quoted Post
Hi,

Thank uou Jean, I've now managed to build several different uncoupling / coupling operations with the XML actions. It's fantasti!

I'll post a YouTube video someday.

-Eino


DB DR FS NS SNCF c. 1950-65, fan of station architecture esp. from 1920-70.
In single point perspective, where do track lines meet?
Offline einotuominen  
#12 Posted : 01 March 2023 09:16:29(UTC)
einotuominen

Finland   
Joined: 19/09/2022(UTC)
Posts: 459
Location: Kaarina
Originally Posted by: Mark5 Go to Quoted Post
Hello Eino,
Would love to see a video and something of a tutorial to set it up.
I have been thinking of getting rid of all my uncoupler tracks since I primarily like running the trains and usually end up coupling manually; the decouplers are so noisy! lol. Plus I like using Telex when we shunt.
Please convince me to love uncoupler rails again.... Wink





Hi Mark,
I'm planning on creating a video of this, even a tutorial and it will be in english (or a series "how I built my layout", though my layout is still under construction)! Thanks to Jean and Martti!

However, the (un)coupling mechanism most likely will not matter that much, wheter it is uncoupler track or telex... I don't have telex myself, but I guess precission is even more important there. However my short experience on precission work with Rocrail has shown, that it can be super precise.

So you are running Rocrail, right?

-Eino
thanks 1 user liked this useful post by einotuominen
Offline Mark5  
#13 Posted : 01 March 2023 19:15:57(UTC)
Mark5

Canada   
Joined: 29/01/2012(UTC)
Posts: 1,422
Location: Montreal, Canada
Hi Eino,
I have been working hard at the literature and reading all I can about it when I have time.
As soon as I get the right wallwart for my stand alone (intranet) router to connect my CS3 to the computer I will be trying to set things up for tests on a simple layout. I am excited by the possibilities, so lets see if I can get my head around it. Trying to par down the simultaneous projects and still have family and work life.
- Mark

Originally Posted by: einotuominen Go to Quoted Post


Hi Mark,
[.....]
So you are running Rocrail, right?

-Eino


DB DR FS NS SNCF c. 1950-65, fan of station architecture esp. from 1920-70.
In single point perspective, where do track lines meet?
thanks 1 user liked this useful post by Mark5
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.431 seconds.