You're reading ...

Traincontroller 37: Block Occupancy and Release Rules

In the previous video we had a look at how to create flicker free block occupancy with momentary sensors. We used an intermediate switch as a memory for the sensor signal. Once triggered, it stays on, does not flicker. In turn it triggers a Flagman inside the block, which now represents the block occupied status.

We can decide when we want to turn the memory switch off again. I used the stop marker for that. This gives me two advantages:

  1. I can see if a train is driving in the block (status occupied = on) or stands still at the stop marker (status occupied = off).
  2. The block can be released as soon as the train enters the next block, which allows a new train in at quite an early stage (the tail of the train is still in the block when the new train already starts to drive).

I like this early release of blocks, it gives a bit higher throughput of traffic. This depends of course on personal preferences. Let’s have a look at the different Schedule Rules for release of blocks.

We go to the Schedule Properties window, click the Rules tab and scroll down until we find the chapter called ‘Release of Blocks and Routes’.

If we have not yet changed anything, by default this will be ‘At Stop Marker’, which means that the previous block and route are released only when the train has reached the stop marker of the next block. While that is a very safe method (provided your trains are shorter than the blocks), it also is a very slow method. A new train is only allowed into the previous block, when the old train has reached the very end of the next block. This results in low throughput.

A bit more throughput can be gained when the setting is changed into ‘Upon Complete Entry’. This means as much as that TC calculates when the train is completely inside the new block. It does this based on the specified train length and on the calibrated speed profiles, which are both mandatory for this method to work well.

While we can now see a new train start to drive into the previous block a bit sooner … it was still a bit slow to my liking. I went a step further and put the setting on ‘Smart or upon Entry’.

Smart means that the previous block is already released when the train reaches the next block AND when it is NOT occupied. Here comes reason nr 2 above in play: the block is not occupied anymore, since I already turned the occupied status off at the stop marker. So, when the train reaches the next block … the previous block is immediately released, even while the train’s tail may still be in. But that never poses a problem … since it is driving and will drive on to at least the next stop marker … no collision is ever going to happen and throughput is nicely enhanced! Not really prototypical, but more trains drive around this way, in stead of stand still. 🙂

The video shows the difference between the two methods, with live footage of trains on the move.



About RudyB



3 thoughts on “Traincontroller 37: Block Occupancy and Release Rules

  1. Hi Rudy,

    I’m in the USA and I just happened across your blog. Like you, I’m more interested in the electronics/computer side of the hobby. Your tutorials are fantastic! I’m actually considering purchasing Traincontroller for myself after going through some of your tutorials (I haven’t gone through all of them yet, but look forward to it), I think I’m convinced it’s much better than some of the other computer control systems out there.

    A couple years back I purchased a M2 Kato starter track set, a Digitrax Superchief Xtra starter DCC system, but then I got busy with work, so I’ve been holding off on the hobby until now. After installing, I noticed it can interface with Digitrax LocoNet, but I’m trying to determine the best way to interface my Digitrax System to an old laptop, but not so old that it has a DB25 RS232 port. The only thing that Digitrax offers is an old DB25 RS232 MS100 LocoNet interface released in 1996. I’m not sure if USB to RS232 adapters would work with this, but I figured I’d write something on your blog in hopes to hear your thoughts. I wish Digitrax had an Ethernet port like your system.

    Again, great tutorials! I can’t wait to get started playing with it!



    Posted by Tom in Austin, TX, USA | January 8, 2016, 05:16
  2. Really nice and elaborative..Thanks..


    Posted by bottleville | January 2, 2016, 12:34

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

Archive of all posts


%d bloggers like this: