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

Rail chain signal: Difference between revisions

From Official Factorio Wiki
Jump to navigation Jump to search
(Fill 'stackupto')
(Reordering with 1.1)
 
(35 intermediate revisions by 13 users not shown)
Line 1: Line 1:
{{Machinery
{{Languages}}
|health      =80
{{:Infobox:Rail chain signal}}
|stackupto    =50
|input        =time, 0.5 + electronic circuit + iron plate, 5
|raw          =time, 1.8 + iron plate, 6 + copper plate, 1.5
|technologies =rail signals
|producers    =manual + assembling machine 1 + assembling machine 2 + assembling machine 3
}}


'''Rail chain signals''' are used for automated transportation on a [[railway network]]. With rail signals it is possible to use multiple trains on a single track.
'''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 [[Railway/Signal/Block signal|block signals]].
* 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 Glossar|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:Fff-81-regular-signals.jpg]]




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:Fff-81-chain-signal-basic.jpg]]
[[File:Chain-signal-basic.png|1000px]]




'''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:Fff-81-chain-signal-guards-crossroad.jpg]]
[[File:Chain-signal-guards-crossroad.png|1000px]]




'''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:Fff-81-double-crossroad.jpg]]
[[File:Double-crossing.gif|1000px]]




Line 48: 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:Fff-81-train-deadlock.jpg]]
[[File:train-deadlock.png|1000px]]




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


[[File:Fff-81-chain-signal-prevents-deadlock.jpg]]
[[File:chain-signal-prevents-deadlock.png|1000px]]
 
 
== Advanced ==
Some good pictures are at the [http://www.factorio.com/blog/post/fff-81 Friday Facts #81] page.


* If the chain signal has only one exit, it doesn't allow the train to enter it's block, if the exit block (which has a [[Railway/Signal/Block signal|block signal]]) is occupied.
== History ==
* 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.
{{history|0.16.0|
* 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.
* Rail chain signals can be read by the [[circuit network]].}}


* If a chain signal switches to green, all exits are free.
{{history|0.12.0|
* If it switches to blue, at least one exit is free.
* Introduced}}
* If it switches to red, no exit is free.
* If it switches to yellow, the block is reserved for a train and the signals of intersection blocks switch to red (like regular signal).


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


[[Category:Items]]
{{LogisticsNav}}
[[Category:Railway network]]
{{C|Railway}}

Latest revision as of 15:19, 19 March 2021

Rail chain signal.png
Rail chain signal

Rail chain signal entity anim.gif

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

Map color

Health

Quality normal.png 100
Quality uncommon.png 130 Quality rare.png 160
Quality epic.png 190 Quality legendary.png 250

Stack size

50

Rocket capacity

50 (1 stack)

Mining time

0.1

Prototype type

rail-chain-signal

Internal name

rail-chain-signal

Required technologies

Automated rail transportation (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