Help with Signals please

lukewc

Member
Trainz-1.jpg


How to put the signals to stop the trains from running into each other?
I have tried the diamond crossing script without success.
I have 12 crossings like this on the total route.

Who has a solution please..?

Thanks Luke
 
How to put the signals to stop the trains from running into each other?
I have tried the diamond crossing script without success.
I have 12 crossings like this on the total route.

Who has a solution please..?

Thanks Luke

The best way to deal with this is


trainz1redem4.jpg


1.to put signals marked by the red rings.(give the names)

2. place 2triggers (be shure the triggers have the right axis, one for each direction, u can "slide" them to see the track they are bound to), then "slide" them in to the middle of the crossing(give triggers names too)

3. download the multiple trigger rule from the DLS.

KUID2: 116387:26:1

4. Add the rule to ur list and add the signals and the triggers to the list in the rule.

5. Adjust the trigger RADIUS to whateve u want (let's say 50 m).IMPORTANT: KEEP THE RADIUS DISTANCE LESS THE THE DISTANCE TO THE SIGNALS. IT'S BEST TO PLACE THE SIGNALS SOME DISTANCE FROM THE CROSSING (ACTUALLY NOT WHERE I'VE MARKED ON THE PIC BELOW!!!) THIS IS NESESSARY TO GIVE THE TRAINS A PROPER DISTANCE TO STOP, u may use 2 signals after each other (the u can use the second as shown on the picture). Example: If u choose the trigger distace to be 100 m, then place the signals at 101 or 102....105 etc...(u can use every value OVER the trigger radius), if u choose a value less than the trigger radius, the train would trigger itself!!! and it cant reach the crossing!!!!



This rule works like this: the first train to enter the area will block other trains from entering it. U may need some testing, and u need more than 1 trigger. But I use this on my projects and it serves my needs of protection around crossings...and in other areas..



I hope u get it right:) ....

cheers

jan
 
Last edited:
Thanks all

Thanks Jankvis for your help.

But I have over 12 diamond crossing like that situation on the layout and I run into troubel. It works fine with one crossing but if I do more then 1 then all the crossings go Red and then trains are not moving anymore and waiting for track clearance.

Now I have been looking at this option:

Crossing04 rule:

ControlDiamCross2004
Inspired from a discussion going on in a thread in the forum (by the way my special thanks to Mr.Den for his clever idea), I decided to write this command that lets a driver to control a diamond crossing with the signals around it and releases the diamond crossing automatically once the entire train leaves a specified trackmark. The setup however requires a little work on the user side. You need to follow the steps below.

place a stretch of track near a diamond crossing. The track must be completely disconnected from the rail network in order to eliminate any conflict.
2) place a trackmark on top of this stretch of track and give a name representative of the diamond crossing

3) place trackmarks around the diamond crossing so that they can be used to release the diamond crossing and reset the signals to automatic states once the entire train leaves one of these trackmarks. These trackmarks can also be used to stop the train and ask permission to control the diamond crossing using this command.

4) place some signals at appropriate places around the diamond crossing.

5) download WorkTable rule (kuid2:131986:230102:3) if you havn't done already and include it in your session. Then open the InputTable rule editor and type the following 'dcross' statement on a new line

dcross, control_name, control_trackmark, release_trackmark, signal_1,signal_2,......

where 'dcross' is a (command) name that can be recognized by the driver command.

crossing04.jpg


Now, can someone explain to me how the command line should like like please?

dcross, control_name, control_trackmark, release_trackmark, signal_1,signal_2,......

My understanding is that with this script, I can controll each Diamond crossing without interfearing with the others.

Thanks,
Lukewc
 
Last edited:
Thanks Jankvis for your help.

But I have over 12 diamond crossing like that situation on the layout and I run into troubel. It works fine with one crossing but if I do more then 1 then all the crossings go Red and then trains are not moving anymore and waiting for track clearance.

Lukewc

Lukewc: did you name the signals, with different names, and tell the triggers to make only those nearest the trigger/junction to go red?
 
Yes I did, but you can' specify a crossing with there signals.
it has only a list of the triggers and all the signals. SO, if the train hits any of the lsted trigger, then all the signals in the list turn red.

My understanding is that with the ControlDiamCross2004, you can specify each diamon crossing, so the work then independently.
 
Yes I did, but you can' specify a crossing with there signals.
it has only a list of the triggers and all the signals. SO, if the train hits any of the lsted trigger, then all the signals in the list turn red.

My understanding is that with the ControlDiamCross2004, you can specify each diamon crossing, so the work then independently.

I hope I got this right.....but u just add one more rule for each crossing !!!! then u can have hundreds or thousands of them.

Use one rule for each crossing!! thats it. Like I said, I have plenty of them.. I hope theese pics clear things out:

crossing3red1ng9.jpg


I use the 2 triggers to protect this crossing, the signals protecting it is outside this picture (at 115 m. and above). When a train sets it's path and "open" the crossing the triggers (set to 100 m. radius) will detect the approuching train and set the 3 signals outside (1 of the tracks is one way and not in conflict with the crossing, else I would have 4)

Here is one more situation:

crossing3bredtz6.jpg


And here is a situation where I use this rule. It's the good old Garsdale. I have implementet heavy traffic to Garsdale in my experimental map..so I needed to block other trains from entering the station:

crossing3credpt6.jpg


And finally my "favorite tool" the track scanner. The track scanner measure the EXACT distance between 2 point, handy when placing out signals and triggers:

crossing3dvd9.jpg



I hope theese pics helps u....:)

(thanks 2 imagehack for hosting....,pictures tell more than 1000 words (hopefully:rolleyes: )

cheers

Jan
 
Last edited:
Thanks Jankvis for your help.

But I have over 12 diamond crossing like that situation on the layout and I run into troubel. It works fine with one crossing but if I do more then 1 then all the crossings go Red and then trains are not moving anymore and waiting for track clearance.

Now I have been looking at this option:

Crossing04 rule:

ControlDiamCross2004
Inspired from a discussion going on in a thread in the forum (by the way my special thanks to Mr.Den for his clever idea), I decided to write this command that lets a driver to control a diamond crossing with the signals around it and releases the diamond crossing automatically once the entire train leaves a specified trackmark. The setup however requires a little work on the user side. You need to follow the steps below.

place a stretch of track near a diamond crossing. The track must be completely disconnected from the rail network in order to eliminate any conflict.
2) place a trackmark on top of this stretch of track and give a name representative of the diamond crossing

3) place trackmarks around the diamond crossing so that they can be used to release the diamond crossing and reset the signals to automatic states once the entire train leaves one of these trackmarks. These trackmarks can also be used to stop the train and ask permission to control the diamond crossing using this command.

4) place some signals at appropriate places around the diamond crossing.

5) download WorkTable rule (kuid2:131986:230102:3) if you havn't done already and include it in your session. Then open the InputTable rule editor and type the following 'dcross' statement on a new line

dcross, control_name, control_trackmark, release_trackmark, signal_1,signal_2,......

where 'dcross' is a (command) name that can be recognized by the driver command.

crossing04.jpg


Now, can someone explain to me how the command line should like like please?

dcross, control_name, control_trackmark, release_trackmark, signal_1,signal_2,......

My understanding is that with this script, I can controll each Diamond crossing without interfearing with the others.

Thanks,
Lukewc


Ok,

dcross:
this is a code for the use of the worktable rule only and precedes all crossing statements.

control_name:
This is a name you give for a particular direction of crossing this diamond (This name will also appear in the Driver Command, so it should be something like East, West etc.)

control_trackmark:
This is the name of the trackmark on the piece of loose track. (in your case "crossing", but it must be unique for each diamond crossing.

release_trackmark:
This is the name of the trackmark that releases the signals after the train has passed.(in your case if the train tavels from tm1 to tm3 then release_track mark would be tm3)

signal_1, signal_2..... :
These are the names of all the signals to be switched to red for this direction of crossing.

So using the names shown on the screenie above, and naming this diamond "Diamond1" and the direction "East", the first entry in the worktable would be as follows:

dcross,Diamond1,East,crossing,tm3,signal_1,signal_2,signal_3

(where signal_1,_2, and _3 are all the signals not facing the train)

For each diamond there must be 4 entries in the worktable (East, West, North and South in this case), each with their appropriate signal names.

To use the Driver command, issue the following commands:

1. drive via trackmark tm1
2. ControlDiamondCross + East
3. (your next command)

cheers,
andyz

edit: spelling
 
Last edited:
Thanks for the help

diamond-ex.jpg


Thanks for your help, Jan, Andyz and Fec210

I have now implicated the solution from Jan, the

ControlDiamCross2004

Used at 6 important crossings and working perfect now!
By the way I am using TRS2006.

This was the best solution to control the Diamond Crossings.

Thanks,
Luke
 
Last edited:
Back
Top