Ron Monk Ron
Hi

I need some help on implementing limited train automation on part of my layout. The overall layout includes a double track loop(main line) but also an end to end line(local line). These two systems interact with each other, eg steam engines for the mainline need to cross the local line to get to and from the turntable.

Basically, I want to automate two trains on the local line. This line has two tracks at each end station but a shared section between them. I would like to have train 1 moving from platform 1, station 1 to platform 1 station 2. Once complete train 2 would then move from platform 2 station 2 to platform 2 station 1 and then reverse the whole thing continuously. That is stage 1.

In stage 2, there is a passing loop half way along the local line, which would allow a third train. The additional complication is where the main line trains, exceptionally, cross the local line. Presumably I would need to pause the local line operation while that happened.

i guess this is too much for the NCE mini panel. My system is an NCE Power cab with DCC Concepts booster and Central for the point control. I don’t want to replace that equipment. So what is the simplest train automation system for that?

Also, presumably, I need train detection to implement that. The track is all complete, wired and working so implementing a block system would be a challenge and I have no experience in doing that.

Any advice would be most welcome. I have searched the web with little success. Thanks.

Reply 0 0
Ron Monk Ron
Thanks Ahjay. Are there any infrared detectors (such as Heathcote) that would also trigger a mini panel?

Ron
Reply 0 0
Robin Sundt Echini
Hi Ron,
If you look at the Forum entry at: https://www.dccconceptsforum.com/post/nce-mini-panel-aiu-automation-10175822?pid=1308909645 then there is quite a detailed explanation of what the Mini Panel can do.
As Ahjay says, the DCC Concepts magnetic detector can trigger any of the Mini Panel options (which acts like a CAB unit) including selecting a loco, setting its speed (which can include stop) and direction, operating any DCC accessories such as points or macros, operating decoder functions (lights, sound etc). You can also tell the unit to wait for a specified period or to wait until it receives an input in the form of something, such as the magnetic detector, a block detector or infra-red detector or even a switch, that shorts a specified input to ground.
Ahjay mentioned that the Cobalt point motors can trigger ABC braking - or they can be made to create a "dead" section of track in front of points set against the engine. Either of these can be used to stop the two engines in the passing loop.
While it is quite easy to get the Mini Panel to slow down the engines and stop them in the loop, the disadvantage of doing that is that you have to specify which engine in the programming - so you have to know which engine is going to arrive first - and then when the engines return, you again have to specify which engine is going to arrive first. It also means that you always have to use the same engines.
By using the Cobalt point motors to stop the engines and (say) using an infra-red detector or block detector one on each arm of the loop wired in series, then the Mini Panel will only be triggered when both trains have arrived - and you can use any pair of engines that you like.
Regards
Robin
Reply 0 0
Ron Monk Ron
Ok Robin, that’s a lot more info than I had thanks. I was planning to use the same pair of engines anyway. I am not so keen on the Zen black decoder option as, firstly, I am inexperienced in messing around with Loco decoders and, secondly, it appears I would loose the Loco sound functionality.

I am wondering whether one of the Heathcote infrared detectors might also do the job instead of the magnetic detector.

Ron
Reply 0 0
Robin Sundt Echini
Hi Ron,
I am not sure if DCC Concepts does an infra-red detector, I am sure that Ahjay will let you know if they do. If not, you could try blocksignalling.co.uk.
If your existing decoders can do ABC braking, then you could use that to stop the engines in the loop.
If you are always going to use the same two engines then it would be possible to write a program that would slow down and stop the engines but, as I said, you would have to know which engine would arrive first in each direction. Possibly, you could also build in the shuttle function. I will give it some thought.
Are the locos DMU or EMUs? Just thinking if there is an engine and carriages you have the problem of which is at the front!
Regards
Robin
Reply 0 0
john whiteside
Hi Ron .
You can i think do all you need to by using the shuttle modules and a few Block detectors to fire Rex .
I`m sure we posted how it was set up on a newsletter i will look tomorrow and report back.
regards.
John.
John Whiteside TMIET
DCC Concepts
Technical / Customer support
Reply 0 0
john whiteside
Hi Ron.
I have found the link to the pages on the newsletter, scroll down towards the bottom of the document.
Please let me know if this is what you are trying to set up. 

Its in the Rex Part 2 Newsletter.

https://www.dccconcepts.com/themencode-pdf-viewer-sc/?tnc_pvfw=ZmlsZT1odHRwczovL3d3dy5kY2Njb25jZXB0cy5jb20vd3AtY29udGVudC91cGxvYWRzLzIwMTkvMTAvUkVWLTQtUkVYLWFuZC1vdGhlci10aGluZ3MtcGFydC0yLnBkZiZzZXR0aW5ncz0xMTExMTExMTExMTExMTExMTAwJmxhbmc9ZW4tVVM=#page=&zoom=auto&pagemode=

Regards.
John. 
John Whiteside TMIET
DCC Concepts
Technical / Customer support
Reply 0 0
Ron Monk Ron
RobinNot bought the engines yet but thinking of Bachmann class 121 single unit DMUs.No I dont think DCC Concepts do an IR detector. I was thinking of the Heathcote range.Ron
Reply 0 0
Robin Sundt Echini

Ron Shuttle 01

As suggestion for using one Mini Panel, six DCC Concepts magnetic detectors and two small magnets to do all the controlling using your existing track and decoders. The magnetic detectors are very easy to fit and they just need two wires each to connect to the Mini Panel. You just drill a 4mm hole in the middle of the track between two sleepers and push the detector up into the hole. Job done. You don't have to change any of your existing wiring and you can use any decoder you want.

Mini Panel Configuration:

Configuration values only need to be changed for the inputs to be treated as continuous memory, flowing from one to the next, as opposed to non-continuous, which executes the four commands in that input block and then stops and for the cells where the Mini Panel will not scan for input.

This means that, if you want to program a series of actions based upon inputs from track detectors, any inputs that you want to have the Mini Panel watch and “read” need to be low numbers (starting from input 1) and any programs that you want to be read in sequence will be higher than that. The values entered into Address 3 (Continuous memory) and address 4 (Disabled inputs) are for “that input and above”. So, in this case, the lowest seven inputs are wired to detectors and so need to be polled by the Mini Panel; inputs (program blocks) 8 and above are for programming and need to flow from one to the other and not be polled.

Configuration.jpg 

There are two points numbered 1 and 2.

Macros are set up on the Power Cab:

Macro 1 = Point 1 Rev, Point 2 Rev – this opens the way for the two DMUs to leave the passing loop.

Macro 2 = Point 1 Normal, Point 2 Normal – this sets the passing loop to await the arrival of the two trains.

While you can address the points individually, I always used macros as it reduces the number of programming steps.

Program Input 1,1 on the Mini Panlel to “Link to 8” - 5,3,8. So, when you short out Input 1 (with a push button), the process will start by jumping to location 8 and away you go!

There are 6 detectors connected to inputs 2 through 7. The easiest is to use DCC Concepts magnetic detectors plus one magnet under the MIDDLE of each DMU unit (so you don’t mind which way it’s going).

Two DMUs here numbered 1 and 2. You should replace these numbers with the DCC addresses of your DMUs. They start at either end of the track with “Forward” running towards the passing loop (you can change this but that is the way its programmed below). To ensure that the right DMU always arrives first you can either vary the length of each end of the track either side of the passing loop or you may have to adjust the speeds and timings so that the right one always arrives first.

The time delays have all been set to 12 seconds (3 blocks of 4 seconds) but can be adjusted as required.

The layout diagram is as follows:

Layout.jpg 

The DCC Concepts magnetic detectors are not expensive and are very easy to fit, so you could easily add another two to slow down the DMUs as they approach the end stations – but for now, this is the program to do everything with your existing decoders. E&OE!!

  Program Part 1.jpg 

Program Part 2.jpg 
Adding another two detectors would mean adjusting the configuration above to add two more inputs and so all the input numbers would go up by two and you would need to add the extra steps, but that is very easy once you get the hang of it.

Look at the forum entry for some tips on programming the input.
Regards
Robin

Reply 0 0
Filbert
With regard to IR v. Magnetic switching.
When my project was started, IR was likely to be the chosen route, and quite some time was spent researching the requirements, and issues of using them. I too was looking at using Heathcote components, but had the time to research quite deeply.
Now, many people use them successfully, but there can be issues when the ambient light conditions can affect their performance, particularly when exhibiting with light variances and frequencies affecting the sensors. Not so bad at home, permanently in one light, mind even levels of daylight can affect them.
I junked a whole system after back-to-back testing of both types.
I can unequivocally state that there is no comparison, magnetic switching is far superior.
In all the development of my system, at no time have l had a missed signal from the magnetic sensors. A far superior system.
Also the installation is so simple, just 2 wires direct [in my case] to the Cobalt ip point motor, connecting across terminals 7 and 9, no further control modules or circuit-boards necessary.
A real KISS result.
The support from DCCconcepts was superb prior to purchase, they were not in the marketplace with their vertical magnetic switch at the time. Subsequently their products were used and are fully endorsed by me.
I have no affiliation other than as a very satisfied customer.
20200918_230145.jpgThe photo above shows one of the switches  installed adjacent to the frog.
Sorry, new phone. Still fighting it.
This is to illustrate an installed magnetic switch for anyone that wondered what they look like, much neater than the old glass vials of yore. 
As far as our needs under discussion, they do exactly the same as an IR installation, but with so much less faff, imho. 
My installation is very specific for me, this only illustrates its particular installation, not a generally recommended one.
It operates a 2 four-wheel railcar shuttle,  longer trains would need different protocols in switching.
I will however try a 122 railcar over the weekend. 


Reply 0 0
Ron Monk Ron
Hi Filbert

That is great - you’ve made the decision for me, thanks.

Regards
Ron
Reply 0 0
Ron Monk Ron
Hi Robin

Thanks for the massive effort. That seems to answer it all for me. I was beginning to make notes along the lines you have developed. You have completed the job for me and satisfied me that the mini panel and magnet detectors are the way to go.

Regards
Ron
Reply 0 0
Ron Monk Ron
Hi Robin

Just one other question - how would I stop the program, say at the end stop it from restarting, when I wanted to return to non-automatic Control?

Regards
Ron
Reply 0 0
Robin Sundt Echini
Hi Ron,
There is a skip command - 5.6.1.X, which skips the next command if input X is grounded. So, if you replace the last two commands 15 1 and 15 2 with three commands:
15.1    5.6.1.X     Skip the next command if input X is grounded.
15.2    5.3.8        Goto Input 8 and start again.
15.3    5.7.1        Terminate program.
You will have to use another input, which means adjusting the configuration and shifting all the program down accordingly - but if you put additional detectors in you will have to do that anyway.
You could then put a normal switch on the new input and when you want the system to stop you can switch this on and short X to ground. The program will then stop when it next reaches the end point.
The are 30 input spaces, so you still have plenty of space and, of course, you can add control of signals into the program as well.
Regards
Robin
Reply 0 0
Ron Monk Ron
That’s great Robin. That completes the job. I will be going that way for automation but it’s not my next project - I like to plan the next but one. Next is installing an ADM turntable.

Will let you know when I complete the automation project. Thanks again for all your help.

Regards
Ron
Reply 0 0
AHJAY
I love the effort that you have all gone to in this thread!

Robin we appreciate it as Minipanel is useful but frustrating to use for new users, and you really have gone the extra mile for Ron. I am sure "our John"  appreciates it too - he is also a "power user" of Minipanel, as well of working with me on a cunning new product with "super-abilites" we are working on :-) :-).

Re IR, we have developed it, yes, but its part of something else... and not yet in production. It IS stable too - pretty well DC-to-daylight" stable in fact, irrrespective of light source. However we DO love the simplicity of the magnet-based system as they just work for everyone... and simplicity really matters for most modellers.

In relation to detection, watch this space. We will have another approach soon too, again extending the abiilities of a common form of detection to make it easier and more useful than all the others.

However - Ron - for this, stay with the magnetics. They really do work perfectly for your application and are also dead simple + very low cost in comparison to other methods.

regards, Ahjay
Reply 0 0
Reply