In other languages: Deutsch Français 日本語 Русский Українська 简体中文

Rail chain signal: Difference between revisions

From Official Factorio Wiki
Jump to navigation Jump to search
No edit summary
(Reordering with 1.1)
 
(22 intermediate revisions by 6 users not shown)
Line 2: Line 2:
{{:Infobox:Rail chain signal}}
{{:Infobox:Rail chain signal}}


'''Rail chain signals''' are used for automated transportation on a [[Railway|railway network]]. With rail chain signals, it is possible to use multiple trains on a single track, or multiple rails that intertwine.
'''Rail chain signals''' are used for automated transportation on a [[Railway|railway network]]. With rail chain signals, it is possible to use multiple trains on a single track, or multiple rails that intertwine. Rail chain signals can be used to ensure that trains only enter a crossing if they can also leave it, which ensures that they do not block other traffic by waiting on the crossing. In addition to the explanation on this page, there is also the [[Tutorial:Train_signals|rail signal tutorial]].


== Basic ==
== Basic ==
* The best prerequisite to understand chain signals is to understand [[Rail signal| signal blocks]].
* The best prerequisite to understand chain signals is to understand [[Tutorial:Train_signals#Regular_signals_and_blocks|signal blocks]].
* Rail chain signals are placed like block signals at the right side of a [[Railway#Rail Glossary|segment]].
* Rail chain signals are placed like regular signals at the right side of the railway track. If automated trains are required to drive in both directions on the same track segment, signals need to be added on both sides of the track, opposite each other.
* They work similar to pre-signals in OpenTTD.


== Definition ==
== Definition ==
While normal signal prevents train from entering the occupied block, chain signal prevents train from entering the block also when the exit isn't free. When more exits exist, the one relevant to the train path is taken into account.
Both normal signals and chain signals prevent a train from entering the next block if it is obstructed.  However, a chain signal also looks ahead to the next signal, and turns red if the next signal is red.  In effect, this prevents a train from entering a block if it won't be able to leave. When more than one exits exist, the one where the train is pathing to is considered.
 
== Advanced ==
[[File:railchainsignal_anim.png]]
 
* If the chain signal has only one exit, it doesn't allow the train to enter its block, if the train would have to stop in said block.
* Since trains react to chain signals based on their own path, chain signals before a crossing will not stop trains if the other track's exit is blocked.
* If there are several chain signals before a regular one, a train waits before the first chain signal if the block after the regular signal is occupied.
 
* If a chain signal switches to '''<span style="color:#55FF55">green</span>''', all exits are free.
* If it switches to '''<span style="color:#FFFF55">yellow</span>''', the block is reserved for a train and all other entrance signals of that block turn '''<span style="color:#FF5555">red</span>'''.
* If it switches to '''<span style="color:#FF5555">red</span>''', all exits are occupied.
* If it switches to '''<span style="color:#8888FF">blue</span>''', some but not all exits are free. In this case trains may or may not stop, depending on their path.
* If it is '''<span class="rail-signal-blink">blinking</span>''', it is not on a rail, or unable to divide it into separate blocks.


== Usage examples ==
== Usage examples ==
'''Regular signal compared to a chain signal'''
'''Regular signal compared to a chain signal'''


With a regular signal, the block it guards is empty, so the train can go there.
With a regular signal, the block after it is empty, so the train can go there.
 
[[File:Regular-signals.png|1000px]]
[[File:Regular-signals.png|1000px]]




Chain signal with one exit doesn't allow the train to enter the block, as the exit is occupied.
Chain signal with one exit doesn't allow the train to enter the block, since it can't leave immediately.


[[File:Chain-signal-basic.png|1000px]]
[[File:Chain-signal-basic.png|1000px]]
Line 27: Line 38:
'''Simple example with practical usage'''
'''Simple example with practical usage'''


The chain signal prevents the train from blocking the other route while waiting.
The chain signal prevents the train from blocking the crossing route while waiting.


[[File:Chain-signal-guards-crossroad.png|1000px]]
[[File:Chain-signal-guards-crossroad.png|1000px]]
Line 34: Line 45:
'''Double crossing'''
'''Double crossing'''


Double crossings are the cause of train jams often, as trains tend to get blocked in the middle of the crossing. It can even cause total deadlock, which require manual intervention to fix the problem. With chain signals, the non-blocking rails are still separated, but trains won't stay in the middle of the crossing.
Double crossings are a common cause of train jams, as trains can stop in the middle of the crossing and block everything. It can even cause total deadlock, which require manual intervention to fix the problem. With chain signals, the rails that don't cross are still separated, but trains won't stop in the middle of the crossing.


[[File:Double-crossing.gif|1000px]]
[[File:Double-crossing.gif|1000px]]
Line 42: Line 53:
'''Deadlock prevention'''
'''Deadlock prevention'''


One of the typical situation with train deadlock problem is the usage of single train line for both direction with occasional bypasses. The example of the blocked situation with regular signals.
Another common cause of blockages are bidirectional single track lines with occasional bypasses. Here a train can't enter the line because another train is in it, but that train in turn can't leave the line.


[[File:train-deadlock.png|1000px]]
[[File:train-deadlock.png|1000px]]
Line 51: Line 62:
[[File:chain-signal-prevents-deadlock.png|1000px]]
[[File:chain-signal-prevents-deadlock.png|1000px]]


== History ==
{{history|0.16.0|
* Rail chain signals can be read by the [[circuit network]].}}


== Advanced ==
{{history|0.12.0|
Some good pictures are at the [http://www.factorio.com/blog/post/fff-81 Friday Facts #81] page.
* Introduced}}
 
[[File:railchainsignal_anim.png]]
 
* If the chain signal has only one exit, it doesn't allow the train to enter its block, if the exit block (which has a [[rail signal]]) is occupied.
* If in the block of the chain signal is a crossing, trains that cross the block can pass it, because a train waits before the chain signal, if the exit block isn't free.
* If there are more than one chain signal blocks before a regular block, a train waits before the first chain signal if the regular block isn't free.
 
* If a chain signal switches to '''<span style="color:#55FF55">green</span>''', all exits are free.
* If it switches to '''<span style="color:#FFFF55">yellow</span>''', the block is reserved for a train and the signals of intersection blocks switch to red (like regular signal).
* If it switches to '''<span style="color:#FF5555">red</span>''', no exit is free.
* If it switches to '''<span style="color:#8888FF">blue</span>''', at least one exit is free.


== See also ==
== See also ==
* [[Rail signal]]
* [[Rail signal]]
* [[Railway]]
* [[Railway]]
* [[Tutorial: Train signals]]


{{LogisticsNav}}
{{LogisticsNav}}
{{C|Transport}}
{{C|Railway}}

Latest revision as of 15:19, 19 March 2021

Rail chain signal.png
Rail chain signal

Rail chain signal entity.png

Recipe

Time.png
0.5
+
Electronic circuit.png
1
+
Iron plate.png
5
Rail chain signal.png
1

Total raw

Time.png
1.75
+
Copper plate.png
1.5
+
Iron plate.png
6

Recipe

Time.png
0.5
+
Electronic circuit.png
1
+
Iron plate.png
5
Rail chain signal.png
1

Total raw

Time.png
3
+
Copper plate.png
4
+
Iron plate.png
7

Map color

Health

100

Stack size

50

Mining time

0.1

Prototype type

rail-chain-signal

Internal name

rail-chain-signal

Required technologies

Rail signals (research).png

Produced by

Assembling machine 1.png
Assembling machine 2.png
Assembling machine 3.png
Player.png

Rail chain signals are used for automated transportation on a railway network. With rail chain signals, it is possible to use multiple trains on a single track, or multiple rails that intertwine. Rail chain signals can be used to ensure that trains only enter a crossing if they can also leave it, which ensures that they do not block other traffic by waiting on the crossing. In addition to the explanation on this page, there is also the rail signal tutorial.

Basic

  • The best prerequisite to understand chain signals is to understand signal blocks.
  • Rail chain signals are placed like regular signals at the right side of the railway track. If automated trains are required to drive in both directions on the same track segment, signals need to be added on both sides of the track, opposite each other.

Definition

Both normal signals and chain signals prevent a train from entering the next block if it is obstructed. However, a chain signal also looks ahead to the next signal, and turns red if the next signal is red. In effect, this prevents a train from entering a block if it won't be able to leave. When more than one exits exist, the one where the train is pathing to is considered.

Advanced

Railchainsignal anim.png

  • If the chain signal has only one exit, it doesn't allow the train to enter its block, if the train would have to stop in said block.
  • Since trains react to chain signals based on their own path, chain signals before a crossing will not stop trains if the other track's exit is blocked.
  • If there are several chain signals before a regular one, a train waits before the first chain signal if the block after the regular signal is occupied.
  • If a chain signal switches to green, all exits are free.
  • If it switches to yellow, the block is reserved for a train and all other entrance signals of that block turn red.
  • If it switches to red, all exits are occupied.
  • If it switches to blue, some but not all exits are free. In this case trains may or may not stop, depending on their path.
  • If it is blinking, it is not on a rail, or unable to divide it into separate blocks.

Usage examples

Regular signal compared to a chain signal

With a regular signal, the block after it is empty, so the train can go there. Regular-signals.png


Chain signal with one exit doesn't allow the train to enter the block, since it can't leave immediately.

Chain-signal-basic.png


Simple example with practical usage

The chain signal prevents the train from blocking the crossing route while waiting.

Chain-signal-guards-crossroad.png


Double crossing

Double crossings are a common cause of train jams, as trains can stop in the middle of the crossing and block everything. It can even cause total deadlock, which require manual intervention to fix the problem. With chain signals, the rails that don't cross are still separated, but trains won't stop in the middle of the crossing.

Double-crossing.gif


Deadlock prevention

Another common cause of blockages are bidirectional single track lines with occasional bypasses. Here a train can't enter the line because another train is in it, but that train in turn can't leave the line.

Train-deadlock.png


With chain signals, this problem can be totally avoided by preventing the train from going to the shared section unless it can exit it.

Chain-signal-prevents-deadlock.png

History

See also