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

Rail signal: Difference between revisions

From Official Factorio Wiki
Jump to navigation Jump to search
(New navigation organization)
(Use third-person perspective, move external links to section, replace model railway analogy with concise explanations, update circuit network section)
Line 3: Line 3:
{{:Rail_signal/infobox}}
{{:Rail_signal/infobox}}


'''Rail signals''' are used for automated transportation on a [[railway network]]. With rail signals it is possible to use multiple trains on a single track.
The '''rail signal''' divides rails into ''blocks'' and allows [[diesel locomotive|locomotives]] to react to other locomotives allowing multiple trains use the same rails without colliding. Blocks span all connected rails regardless if a train can actually travel between them.


== Usage ==
[[File:Rail_blocks.png|thumb|Signals dividing rails into blocks. Each block is highlighted with a different color.]]


[[File:Rail blocks.jpg|thumb|300px|A south-bound train line branching off in three directions. Each [[rail signal]] (highlighted red) divides the track into a new block (various colors).]]
== Direction ==
* Place a [[Rail signal]] at the '''right side''' of a segment.
Which block a signal monitors depends on which side of a rail it is placed. When a signal is on the right-hand side of the track it monitors the block in front of it. When placing rail signals the the opposite signal positions will be highlighted in white. If a signal doesn't have a signal opposite of it locomotives will only be allowed to travel in the direction that has a signal on the right-hand side.
* Imagine this signal as a "cut" into the rails which splits the segments before and after this signal in two "blocks".
* If a train stands in any part of a block, the signal '''before''' this block is red.
* No other element can do this cut, which means, that all switches, crossings and so on are part of this block.


'''Pictures say more than thousands words: [http://imgur.com/a/zG13U#0 A guide on how to place signals].
== States ==
Rail signals have four states:
; Green
: The monitored block is empty
; Orange
: A train is not able to stop before the monitored block and will pass the signal. The [[debug mode|debug option]] <code>show_train_stop_point</code> can be used to see the distance locomotives need to stop.
; Red
: The monitored block is not empty or another signal monitoring it is orange.
; Blinking
: The signal is not on a rail or the monitored block is also the block before the signal


== The model railway understanding ==
When a signal is red locomotives will stop before it. A [[rail chain signal]] can be used to make locomotives stop earlier.


Imagine that block signals works like in a '''model railway'''. The basics of this principle is as follows:
== Circuit network ==
[[File:Rail_signal_circuit_network_gui.png|thumb|The interface for configuring a circuit network connection for a rail signal.]]
A circuit network condition can be configured that when true will make the rail signal red.


* The rails (left and right) can conduct electrical current (they are made out of steel).
A rail signal can also output three different signals depending on if it is in its green, orange or red state. If a rail signal is red because of a circuit network condition the rail signal won't output a circuit network signal.
* The train connects the left and right rail of a railway and works so as a conductor between the left and right rail.
* The signal puts a small current into one rail.
* If the train stands on the rail this voltage is also on the other rail. There is a connection between left and right rail.
* Can also be imagined that a small amount of electricity flows.
* The signal knows then: "Train on my block" and the signal goes '''red'''.


Now again to the definition of a block and segment:
== Creating pass-by stations ==
Rail signals can be used to create pass-by stations. Pass-by stations can enable more traffic on a single, long rail and can be creating by splitting a single rail into two rails parallel to each other. One of the split rails should have rail signals at the beginning and end on the right-hand side going forward and the other should have rail signals at the beginning and end on the right-hand side going backward.


* Segment: a single path of continuous track, a track between intersections or switches. You can see the number of the current segment when hovering the segment.
== See also ==
* Block: a set of segments (or one segment). Every connected segment belongs to one block, no matter if a train can drive on it or not, and no matter, if it can be driven only in one direction (for example a joining switch: the other segment of the switch belongs to the same block!). You can see the current block numbers of a rail piece in the info section.
 
Going back to the model railway example, this means:
 
* Every signal makes a "cut" into the rails.
* This cut splits one segment into two.
* And this stops also the electricity from flowing from block to block. In other words: '''Only segments inside a block are "connected"'''. The electricity can flow into every segment of the block, but not in any other segment/block.
* This is also true, '''even if the train could not reach this segment, because it is in the wrong direction!'''
 
In other words: If there is no signal, then the segments are connected. Only signals split that connection!
 
== Other mechanics ==
 
=== Yellow lamp ===
 
The signal looks into it's forward direction (the next block). If there is a connection (a train on it!) then it switches to red.
 
This is how it switches to yellow:
* The train needs some distance to stop. You can see this distance by going into the [[Debug mode]] and turn on "show_train_stop_point". You see: With increasing speed, this distance gets longer.
** All signals in the direction of the train path within this distance are switches to yellow (first come, first serve)
** Yellow signals "connect" the two sides of the track, exactly like, if there is a train on it.
** That switches all other '''incoming signals''' into that block to red...
 
=== Pass-by stations ===
 
* To enable more traffic on a long single-track, you need to create pass-by stations: Split the one-way track into a two-way track for the minimum length of the longest train. One way signals route the trains on one track per direction. For each track one-way-signals must be placed at the begin and end of each of the two pass-by-tracks.
* If you have enough pass-by-stations, you can connect them and have a two-way-track.
* Don't forget to leave a space of one track (~2 tiles) between parallel tracks. This will allow merging the tracks together if necessary.
 
=== Circuit control ===
 
The [[circuit network]] can be used to control switches, by disabling and enabling them. Trains will not pass through a disabled signal.
 
==See also==
* [[Rail chain signal]]
* [[Rail chain signal]]
* [[Railway network]]
* [[Railway]]
* [[Train]]
* [[Train]]


=== External info ===
== External links ==
 
* [http://imgur.com/a/zG13U#0 Tutorial image album on rail signals]
Some other games and real life have similar train mechanics to factorio, studying these may help when understanding trains.
* [http://wiki.openttd.org/Signals#Block_signals Block signals in the game OpenTTD]
 
* [http://en.wikipedia.org/wiki/Railway_signalling#Block_signalling Block signals in real life]
* You can refer directly to the [http://wiki.openttd.org/Signals#Block_signals Block Signals in OpenTTD].
* A [https://forums.factorio.com/viewtopic.php?f=18&t=3811#p28310 good explanation] about what blocks are.
* And in [http://en.wikipedia.org/wiki/Railway_signalling#Block_signalling Wikipedia].


{{LogisticsNav}}
{{LogisticsNav}}

Revision as of 16:14, 25 January 2017


Rail signal/infobox

The rail signal divides rails into blocks and allows locomotives to react to other locomotives allowing multiple trains use the same rails without colliding. Blocks span all connected rails regardless if a train can actually travel between them.

Signals dividing rails into blocks. Each block is highlighted with a different color.

Direction

Which block a signal monitors depends on which side of a rail it is placed. When a signal is on the right-hand side of the track it monitors the block in front of it. When placing rail signals the the opposite signal positions will be highlighted in white. If a signal doesn't have a signal opposite of it locomotives will only be allowed to travel in the direction that has a signal on the right-hand side.

States

Rail signals have four states:

Green
The monitored block is empty
Orange
A train is not able to stop before the monitored block and will pass the signal. The debug option show_train_stop_point can be used to see the distance locomotives need to stop.
Red
The monitored block is not empty or another signal monitoring it is orange.
Blinking
The signal is not on a rail or the monitored block is also the block before the signal

When a signal is red locomotives will stop before it. A rail chain signal can be used to make locomotives stop earlier.

Circuit network

The interface for configuring a circuit network connection for a rail signal.

A circuit network condition can be configured that when true will make the rail signal red.

A rail signal can also output three different signals depending on if it is in its green, orange or red state. If a rail signal is red because of a circuit network condition the rail signal won't output a circuit network signal.

Creating pass-by stations

Rail signals can be used to create pass-by stations. Pass-by stations can enable more traffic on a single, long rail and can be creating by splitting a single rail into two rails parallel to each other. One of the split rails should have rail signals at the beginning and end on the right-hand side going forward and the other should have rail signals at the beginning and end on the right-hand side going backward.

See also

External links