<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://dwarffortresswiki.org/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Gnidan</id>
	<title>Dwarf Fortress Wiki - User contributions [en]</title>
	<link rel="self" type="application/atom+xml" href="https://dwarffortresswiki.org/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Gnidan"/>
	<link rel="alternate" type="text/html" href="https://dwarffortresswiki.org/index.php/Special:Contributions/Gnidan"/>
	<updated>2026-05-23T01:11:11Z</updated>
	<subtitle>User contributions</subtitle>
	<generator>MediaWiki 1.35.11</generator>
	<entry>
		<id>https://dwarffortresswiki.org/index.php?title=User:Gnidan&amp;diff=232406</id>
		<title>User:Gnidan</title>
		<link rel="alternate" type="text/html" href="https://dwarffortresswiki.org/index.php?title=User:Gnidan&amp;diff=232406"/>
		<updated>2017-08-17T20:14:48Z</updated>

		<summary type="html">&lt;p&gt;Gnidan: Add link to original forum thread&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Minecart Routing ==&lt;br /&gt;
&lt;br /&gt;
[[File:Minecart-routing.gif]]&lt;br /&gt;
&lt;br /&gt;
===Overview===&lt;br /&gt;
&lt;br /&gt;
I've come up with a scheme for getting minecarts to travel from a source to destination automatically using shared track. The scheme ultimately keeps careful control of individual sections of shared track so that only one minecart can be on a single piece of shared track at a given time. Through carefully timed access, a signaling scheme, and stateful record-keeping of how far each minecart is along its way to its destination, I have been able to create a fully automated minecart router.&lt;br /&gt;
&lt;br /&gt;
'''Ref:''' [http://www.bay12forums.com/smf/index.php?topic=155397.0 ''Original forum thread'']&lt;br /&gt;
&lt;br /&gt;
===Shared Track===&lt;br /&gt;
&lt;br /&gt;
The design for a segment of shared track comprises two inbound tracks, each with a pressure plate, roller, and door, joining into a single outbound track.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
{{diagram|spaces=yes|\&lt;br /&gt;
&lt;br /&gt;
...══[#F0F]^[#FFF]╟+╗ ╔+[#FFF]╢[#F0F]^══...&lt;br /&gt;
        ╔═╝&lt;br /&gt;
        ║&lt;br /&gt;
        ║&lt;br /&gt;
        .&lt;br /&gt;
        .&lt;br /&gt;
        .&lt;br /&gt;
        (to either a pressure plate or another shared track)&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
The pressure plates are used to trigger arrival signals, and the doors should be linked to open when the shared track becomes available for that minecart (release). The following track circuit design controls this behavior.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===Track Circuit for dual wait/release setups.===&lt;br /&gt;
&lt;br /&gt;
The track circuit here is set up to make each arriving minecart wait until the track is empty (and possibly wait until the other side has released and cleared the track, should both carts start waiting at the same time.)&lt;br /&gt;
&lt;br /&gt;
====Design====&lt;br /&gt;
&lt;br /&gt;
The track circuit is designed to use signals for input/output. Internally, the circuit comprises 5 &amp;quot;Newton's Cradle&amp;quot; bits. The pressure plates for these bits are linked to internal gear assemblies, which function as logic gates to emit signals as output. Three of the bits get set one way from an input signal, and unset via internal mechanisms. Two of the bits are entirely controlled internally and used for timing.&lt;br /&gt;
&lt;br /&gt;
To clarify the design of the track circuit, there are four logic conditions that can cause the circuit to change/emit signals:&lt;br /&gt;
&lt;br /&gt;
; The track is not in use and the left entrance is &amp;quot;waiting&amp;quot;&lt;br /&gt;
: Sets ''waiting&amp;lt;sub&amp;gt;left&amp;lt;/sub&amp;gt;'' to false, sets ''releasing&amp;lt;sub&amp;gt;left&amp;lt;/sub&amp;gt;'' to true, sets ''track in use'', and signals ''release&amp;lt;sub&amp;gt;left&amp;lt;/sub&amp;gt;''&lt;br /&gt;
; The track is not in use and the right entrance is &amp;quot;waiting&amp;quot; and the left entrance is not&lt;br /&gt;
: Sets ''waiting&amp;lt;sub&amp;gt;right&amp;lt;/left&amp;gt;'' to false, sets ''releasing&amp;lt;sub&amp;gt;right&amp;lt;/left&amp;gt;'' to true, sets ''track in use'', and signals ''release&amp;lt;sub&amp;gt;right&amp;lt;/sub&amp;gt;''&lt;br /&gt;
;The ''releasing&amp;lt;sub&amp;gt;left&amp;lt;/sub&amp;gt;'' bit is finished being set&lt;br /&gt;
: Unset ''releasing&amp;lt;sub&amp;gt;left&amp;lt;/sub&amp;gt;'' and signal ''clear&amp;lt;sub&amp;gt;left&amp;lt;/sub&amp;gt;'' &lt;br /&gt;
; The ''releasing&amp;lt;sub&amp;gt;right&amp;lt;/sub&amp;gt;'' bit is finished being set&lt;br /&gt;
: Unset ''releasing&amp;lt;sub&amp;gt;right&amp;lt;/sub&amp;gt;'' and signal ''clear&amp;lt;sub&amp;gt;right&amp;lt;/sub&amp;gt;''&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
====Track====&lt;br /&gt;
{{diagram|spaces=yes|newlines=yes|\&lt;br /&gt;
  O             O&lt;br /&gt;
  ╥☼O╞═╡O O╞═╡O☼╥&lt;br /&gt;
  ║│ ☼─☼   ☼─☼ │║&lt;br /&gt;
  ╨☼O  │   │  O☼╨&lt;br /&gt;
  O│╥──☼─☼─☼──╥│O&lt;br /&gt;
   │║    │    ║│&lt;br /&gt;
   │║    │    ║│&lt;br /&gt;
   ☼╨──☼─☼☼☼─☼╨☼&lt;br /&gt;
   │O  ☼───☼ │O&lt;br /&gt;
  O╞══╡O╞══╡O╞══╡O&lt;br /&gt;
      ☼ ☼       ☼&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
====Furniture====&lt;br /&gt;
{{diagram|spaces=yes|newlines=yes|\&lt;br /&gt;
  O             O&lt;br /&gt;
  ╤☼O╟^╢O O╟^╢O☼╤&lt;br /&gt;
  ^[#8B4513]│ ☼[#8B4513]─☼   ☼[#8B4513]─☼ [#8B4513]│^&lt;br /&gt;
  ╨☼O  [#8B4513]│   [#8B4513]│  O☼╨&lt;br /&gt;
  O[#8B4513]│╤[#8B4513]─[#8B4513]─[#0FF]☼[#8B4513]─[#FFF]☼[#8B4513]─[#FF0]☼[#8B4513]─[#8B4513]─╤[#8B4513]│O&lt;br /&gt;
   [#8B4513]│[#0FF]^    [#8B4513]│    [#FF0]^[#8B4513]│&lt;br /&gt;
   [#8B4513]│║    │    ║[#8B4513]│&lt;br /&gt;
   ☼╧[#8B4513]─[#8B4513]─[#F0F]☼[#8B4513]─[#0F0]☼[#00F]☼[#F0F]☼[#8B4513]─☼╧☼&lt;br /&gt;
   [#8B4513]│O  ☼[#8B4513]─[#8B4513]─[#8B4513]─☼ [#8B4513]│O&lt;br /&gt;
  O╟[#F0F]^═╢O╟═[#0F0]^╢O╟[#00F]^═╢O&lt;br /&gt;
      ☼ ☼       ☼&lt;br /&gt;
- bit linkages to inner gear assemblies shown&lt;br /&gt;
- [#FFF]☼ denotes power input&lt;br /&gt;
- Right-hand side [#F0F]☼ should be disengaged.&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
This diagram shows the linkages from the 5 bits to the internal gear assemblies that use them as logic gates. The pressure plates with a given color should be linked to the gear assembly/assemblies with matching color. Note that a temporary lever will have to be hooked up to the right-most purple bit, and pulled, so that the gear assembly starts disengaged.&lt;br /&gt;
&lt;br /&gt;
These linkages should be done before the minecarts are placed.&lt;br /&gt;
&lt;br /&gt;
====Minecarts====&lt;br /&gt;
&lt;br /&gt;
{{diagram|spaces=yes|newlines=yes|\&lt;br /&gt;
  O             O&lt;br /&gt;
  ■☼O■^╢O O■^╢O☼■&lt;br /&gt;
  ^│           │^&lt;br /&gt;
  ╧☼O         O☼╧&lt;br /&gt;
  O│╤──☼─☼─☼──╤│O&lt;br /&gt;
   │■    │    ■│&lt;br /&gt;
   │║    │    ║│&lt;br /&gt;
   ☼■──☼─☼☼☼─☼■☼&lt;br /&gt;
   │O  ☼───☼ │O&lt;br /&gt;
  O╟■═■O╟■^■O╟■═■O&lt;br /&gt;
      ☼ ☼       ☼&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==== Input/Output Signals ====&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''Output signals mean an ''on'' signal followed by an ''off'' signal later. Input signals can be disengaged gear assemblies or power applied briefly. (See [[Minecart_logic#Techniques_and_Circuits]])'''&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Output signals: ''releasing&amp;lt;sub&amp;gt;left&amp;lt;/sub&amp;gt;'', ''clear&amp;lt;sub&amp;gt;left&amp;lt;/sub&amp;gt;'', ''clear&amp;lt;sub&amp;gt;right&amp;lt;/sub&amp;gt;'', ''releasing&amp;lt;sub&amp;gt;right''&lt;br /&gt;
{{diagram|spaces=yes|newlines=yes|\&lt;br /&gt;
  O             O&lt;br /&gt;
  ■☼O■[#F0F]^╢O O■[#F0F]^╢O☼■&lt;br /&gt;
  [#F0F]^│           │[#F0F]^&lt;br /&gt;
  ╧☼O         O☼╧&lt;br /&gt;
  O│╤──☼─☼─☼──╤│O&lt;br /&gt;
   │■    │    ■│&lt;br /&gt;
   │║    │    ║│&lt;br /&gt;
   ☼■──☼─☼☼☼─☼■☼&lt;br /&gt;
   │O  ☼───☼ │O&lt;br /&gt;
  O╟■═■O╟■^■O╟■═■O&lt;br /&gt;
      [#F0F]☼ [#F0F]☼     [#F0F]☼&lt;br /&gt;
}}&lt;br /&gt;
Input Signals: ''arriving&amp;lt;sub&amp;gt;left&amp;lt;/sub&amp;gt;'', ''empty'', and ''arriving&amp;lt;sub&amp;gt;right&amp;lt;/sub&amp;gt;''&lt;br /&gt;
&lt;br /&gt;
; ''arriving&amp;lt;sub&amp;gt;left&amp;lt;/sub&amp;gt;''&lt;br /&gt;
: Notifies the circuit that a track is waiting to merge from the left entrance.&lt;br /&gt;
&lt;br /&gt;
; ''arriving&amp;lt;sub&amp;gt;right&amp;lt;/sub&amp;gt;''&lt;br /&gt;
: Notifies the circuit that a track is waiting to merge from the right entrance.&lt;br /&gt;
&lt;br /&gt;
; ''empty''&lt;br /&gt;
: Notifies the circuit that the shared track is no longer in use.&lt;br /&gt;
&lt;br /&gt;
; ''releasing&amp;lt;sub&amp;gt;left&amp;lt;/sub&amp;gt;''&lt;br /&gt;
: Sent when the left entrance gains access to the shared track.&lt;br /&gt;
&lt;br /&gt;
; ''releasing&amp;lt;sub&amp;gt;right&amp;lt;/sub&amp;gt;''&lt;br /&gt;
: Sent when the right entrance gains access to the shared track.&lt;br /&gt;
&lt;br /&gt;
; ''clear&amp;lt;sub&amp;gt;left&amp;lt;/sub&amp;gt;''&lt;br /&gt;
: Sent when the left entrance circuitry has reset and is able to receive another cart.&lt;br /&gt;
&lt;br /&gt;
; ''clear&amp;lt;sub&amp;gt;right&amp;lt;/sub&amp;gt;''&lt;br /&gt;
: Sent when the right entrance circuitry has reset and is able to receive another cart&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
''The basic idea is that an arriving cart sends a signal; this sets the waiting bit. If the waiting bit is set, and the track is not in use, the release signal is sent, and the release bit is set. When the release bit is finished being set, a circuit trips, the release bit is unset, and the clear signal goes out.''&lt;br /&gt;
&lt;br /&gt;
====Hookup====&lt;br /&gt;
&lt;br /&gt;
The track circuit controls access for two entrances onto the shared track. Call one entrance ''left'' and one entrance ''right''. On each side, there should be a roller/mechanism-operated door setup restricting  access to the merge. In front of the roller should be a pressure plate to signal a minecart has &amp;quot;arrived&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
* Link the two arrival pressure plates to ''arriving&amp;lt;sub&amp;gt;left&amp;lt;/sub&amp;gt;'' and ''arriving&amp;lt;sub&amp;gt;right&amp;lt;/sub&amp;gt;'', respectively&lt;br /&gt;
* Link output pressure plates ''releasing&amp;lt;sub&amp;gt;left&amp;lt;/sub&amp;gt;'' and ''releasing&amp;lt;sub&amp;gt;right&amp;lt;/sub&amp;gt;'' to the door part of the roller/door setup.&lt;br /&gt;
* Link some signal to ''empty''. This can either be a pressure plate at the far end of the track, or,&lt;br /&gt;
* If a shared track segment leads into another shared track segment as either the left or right arrival point, use either the ''clear&amp;lt;sub&amp;gt;left&amp;lt;/sub&amp;gt;'' or ''clear&amp;lt;sub&amp;gt;right&amp;lt;/sub&amp;gt;'' output signal to notify the preceding track that it is ''empty''&lt;br /&gt;
&lt;br /&gt;
===Route Circuit===&lt;br /&gt;
&lt;br /&gt;
A route represents a single minecart that travels one way from source to destination. Route circuits have ''n'' bits, where ''n'' is the number of shared track segments the route travels on between its source and destination.&lt;br /&gt;
&lt;br /&gt;
The following diagram is for an example a two-track route circuit. For routes that cover more than two shared tracks, simply add more middle layers.&lt;br /&gt;
{{diagram|spaces=yes|\&lt;br /&gt;
P──☼     &amp;lt;-- Initial release (sets first track bit)&lt;br /&gt;
  O■[#FF0]^■╢O&lt;br /&gt;
     ☼☼&lt;br /&gt;
P─☼[#FF0]☼─☼  &amp;lt;-- Second track release triggers if and only if first track bit is active &lt;br /&gt;
  O■^■╢O&lt;br /&gt;
      │&lt;br /&gt;
P─☼───☼  &amp;lt;-- Reset signal from pressure plate at destination clears last track bit&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
The idea is that the track circuit ''release&amp;lt;sub&amp;gt;dir&amp;lt;/sub&amp;gt;'' signals notify all appropriate routes via linkages. Each route keeps track of where it is, so that ''release'' signals are ignored unless the minecart released is on the route in question. Appropriate bit pressure plates are then linked to gear assemblies controlling rollers. Route bits turn on the rollers that get the minecart to the correct destination!&lt;/div&gt;</summary>
		<author><name>Gnidan</name></author>
	</entry>
	<entry>
		<id>https://dwarffortresswiki.org/index.php?title=User:Gnidan&amp;diff=232405</id>
		<title>User:Gnidan</title>
		<link rel="alternate" type="text/html" href="https://dwarffortresswiki.org/index.php?title=User:Gnidan&amp;diff=232405"/>
		<updated>2017-08-17T20:12:28Z</updated>

		<summary type="html">&lt;p&gt;Gnidan: Add GIF&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Minecart Routing ==&lt;br /&gt;
&lt;br /&gt;
[[File:Minecart-routing.gif]]&lt;br /&gt;
&lt;br /&gt;
===Overview===&lt;br /&gt;
&lt;br /&gt;
I've come up with a scheme for getting minecarts to travel from a source to destination automatically using shared track. The scheme ultimately keeps careful control of individual sections of shared track so that only one minecart can be on a single piece of shared track at a given time. Through carefully timed access, a signaling scheme, and stateful record-keeping of how far each minecart is along its way to its destination, I have been able to create a fully automated minecart router.&lt;br /&gt;
&lt;br /&gt;
===Shared Track===&lt;br /&gt;
&lt;br /&gt;
The design for a segment of shared track comprises two inbound tracks, each with a pressure plate, roller, and door, joining into a single outbound track.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
{{diagram|spaces=yes|\&lt;br /&gt;
&lt;br /&gt;
...══[#F0F]^[#FFF]╟+╗ ╔+[#FFF]╢[#F0F]^══...&lt;br /&gt;
        ╔═╝&lt;br /&gt;
        ║&lt;br /&gt;
        ║&lt;br /&gt;
        .&lt;br /&gt;
        .&lt;br /&gt;
        .&lt;br /&gt;
        (to either a pressure plate or another shared track)&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
The pressure plates are used to trigger arrival signals, and the doors should be linked to open when the shared track becomes available for that minecart (release). The following track circuit design controls this behavior.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===Track Circuit for dual wait/release setups.===&lt;br /&gt;
&lt;br /&gt;
The track circuit here is set up to make each arriving minecart wait until the track is empty (and possibly wait until the other side has released and cleared the track, should both carts start waiting at the same time.)&lt;br /&gt;
&lt;br /&gt;
====Design====&lt;br /&gt;
&lt;br /&gt;
The track circuit is designed to use signals for input/output. Internally, the circuit comprises 5 &amp;quot;Newton's Cradle&amp;quot; bits. The pressure plates for these bits are linked to internal gear assemblies, which function as logic gates to emit signals as output. Three of the bits get set one way from an input signal, and unset via internal mechanisms. Two of the bits are entirely controlled internally and used for timing.&lt;br /&gt;
&lt;br /&gt;
To clarify the design of the track circuit, there are four logic conditions that can cause the circuit to change/emit signals:&lt;br /&gt;
&lt;br /&gt;
; The track is not in use and the left entrance is &amp;quot;waiting&amp;quot;&lt;br /&gt;
: Sets ''waiting&amp;lt;sub&amp;gt;left&amp;lt;/sub&amp;gt;'' to false, sets ''releasing&amp;lt;sub&amp;gt;left&amp;lt;/sub&amp;gt;'' to true, sets ''track in use'', and signals ''release&amp;lt;sub&amp;gt;left&amp;lt;/sub&amp;gt;''&lt;br /&gt;
; The track is not in use and the right entrance is &amp;quot;waiting&amp;quot; and the left entrance is not&lt;br /&gt;
: Sets ''waiting&amp;lt;sub&amp;gt;right&amp;lt;/left&amp;gt;'' to false, sets ''releasing&amp;lt;sub&amp;gt;right&amp;lt;/left&amp;gt;'' to true, sets ''track in use'', and signals ''release&amp;lt;sub&amp;gt;right&amp;lt;/sub&amp;gt;''&lt;br /&gt;
;The ''releasing&amp;lt;sub&amp;gt;left&amp;lt;/sub&amp;gt;'' bit is finished being set&lt;br /&gt;
: Unset ''releasing&amp;lt;sub&amp;gt;left&amp;lt;/sub&amp;gt;'' and signal ''clear&amp;lt;sub&amp;gt;left&amp;lt;/sub&amp;gt;'' &lt;br /&gt;
; The ''releasing&amp;lt;sub&amp;gt;right&amp;lt;/sub&amp;gt;'' bit is finished being set&lt;br /&gt;
: Unset ''releasing&amp;lt;sub&amp;gt;right&amp;lt;/sub&amp;gt;'' and signal ''clear&amp;lt;sub&amp;gt;right&amp;lt;/sub&amp;gt;''&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
====Track====&lt;br /&gt;
{{diagram|spaces=yes|newlines=yes|\&lt;br /&gt;
  O             O&lt;br /&gt;
  ╥☼O╞═╡O O╞═╡O☼╥&lt;br /&gt;
  ║│ ☼─☼   ☼─☼ │║&lt;br /&gt;
  ╨☼O  │   │  O☼╨&lt;br /&gt;
  O│╥──☼─☼─☼──╥│O&lt;br /&gt;
   │║    │    ║│&lt;br /&gt;
   │║    │    ║│&lt;br /&gt;
   ☼╨──☼─☼☼☼─☼╨☼&lt;br /&gt;
   │O  ☼───☼ │O&lt;br /&gt;
  O╞══╡O╞══╡O╞══╡O&lt;br /&gt;
      ☼ ☼       ☼&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
====Furniture====&lt;br /&gt;
{{diagram|spaces=yes|newlines=yes|\&lt;br /&gt;
  O             O&lt;br /&gt;
  ╤☼O╟^╢O O╟^╢O☼╤&lt;br /&gt;
  ^[#8B4513]│ ☼[#8B4513]─☼   ☼[#8B4513]─☼ [#8B4513]│^&lt;br /&gt;
  ╨☼O  [#8B4513]│   [#8B4513]│  O☼╨&lt;br /&gt;
  O[#8B4513]│╤[#8B4513]─[#8B4513]─[#0FF]☼[#8B4513]─[#FFF]☼[#8B4513]─[#FF0]☼[#8B4513]─[#8B4513]─╤[#8B4513]│O&lt;br /&gt;
   [#8B4513]│[#0FF]^    [#8B4513]│    [#FF0]^[#8B4513]│&lt;br /&gt;
   [#8B4513]│║    │    ║[#8B4513]│&lt;br /&gt;
   ☼╧[#8B4513]─[#8B4513]─[#F0F]☼[#8B4513]─[#0F0]☼[#00F]☼[#F0F]☼[#8B4513]─☼╧☼&lt;br /&gt;
   [#8B4513]│O  ☼[#8B4513]─[#8B4513]─[#8B4513]─☼ [#8B4513]│O&lt;br /&gt;
  O╟[#F0F]^═╢O╟═[#0F0]^╢O╟[#00F]^═╢O&lt;br /&gt;
      ☼ ☼       ☼&lt;br /&gt;
- bit linkages to inner gear assemblies shown&lt;br /&gt;
- [#FFF]☼ denotes power input&lt;br /&gt;
- Right-hand side [#F0F]☼ should be disengaged.&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
This diagram shows the linkages from the 5 bits to the internal gear assemblies that use them as logic gates. The pressure plates with a given color should be linked to the gear assembly/assemblies with matching color. Note that a temporary lever will have to be hooked up to the right-most purple bit, and pulled, so that the gear assembly starts disengaged.&lt;br /&gt;
&lt;br /&gt;
These linkages should be done before the minecarts are placed.&lt;br /&gt;
&lt;br /&gt;
====Minecarts====&lt;br /&gt;
&lt;br /&gt;
{{diagram|spaces=yes|newlines=yes|\&lt;br /&gt;
  O             O&lt;br /&gt;
  ■☼O■^╢O O■^╢O☼■&lt;br /&gt;
  ^│           │^&lt;br /&gt;
  ╧☼O         O☼╧&lt;br /&gt;
  O│╤──☼─☼─☼──╤│O&lt;br /&gt;
   │■    │    ■│&lt;br /&gt;
   │║    │    ║│&lt;br /&gt;
   ☼■──☼─☼☼☼─☼■☼&lt;br /&gt;
   │O  ☼───☼ │O&lt;br /&gt;
  O╟■═■O╟■^■O╟■═■O&lt;br /&gt;
      ☼ ☼       ☼&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==== Input/Output Signals ====&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''Output signals mean an ''on'' signal followed by an ''off'' signal later. Input signals can be disengaged gear assemblies or power applied briefly. (See [[Minecart_logic#Techniques_and_Circuits]])'''&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Output signals: ''releasing&amp;lt;sub&amp;gt;left&amp;lt;/sub&amp;gt;'', ''clear&amp;lt;sub&amp;gt;left&amp;lt;/sub&amp;gt;'', ''clear&amp;lt;sub&amp;gt;right&amp;lt;/sub&amp;gt;'', ''releasing&amp;lt;sub&amp;gt;right''&lt;br /&gt;
{{diagram|spaces=yes|newlines=yes|\&lt;br /&gt;
  O             O&lt;br /&gt;
  ■☼O■[#F0F]^╢O O■[#F0F]^╢O☼■&lt;br /&gt;
  [#F0F]^│           │[#F0F]^&lt;br /&gt;
  ╧☼O         O☼╧&lt;br /&gt;
  O│╤──☼─☼─☼──╤│O&lt;br /&gt;
   │■    │    ■│&lt;br /&gt;
   │║    │    ║│&lt;br /&gt;
   ☼■──☼─☼☼☼─☼■☼&lt;br /&gt;
   │O  ☼───☼ │O&lt;br /&gt;
  O╟■═■O╟■^■O╟■═■O&lt;br /&gt;
      [#F0F]☼ [#F0F]☼     [#F0F]☼&lt;br /&gt;
}}&lt;br /&gt;
Input Signals: ''arriving&amp;lt;sub&amp;gt;left&amp;lt;/sub&amp;gt;'', ''empty'', and ''arriving&amp;lt;sub&amp;gt;right&amp;lt;/sub&amp;gt;''&lt;br /&gt;
&lt;br /&gt;
; ''arriving&amp;lt;sub&amp;gt;left&amp;lt;/sub&amp;gt;''&lt;br /&gt;
: Notifies the circuit that a track is waiting to merge from the left entrance.&lt;br /&gt;
&lt;br /&gt;
; ''arriving&amp;lt;sub&amp;gt;right&amp;lt;/sub&amp;gt;''&lt;br /&gt;
: Notifies the circuit that a track is waiting to merge from the right entrance.&lt;br /&gt;
&lt;br /&gt;
; ''empty''&lt;br /&gt;
: Notifies the circuit that the shared track is no longer in use.&lt;br /&gt;
&lt;br /&gt;
; ''releasing&amp;lt;sub&amp;gt;left&amp;lt;/sub&amp;gt;''&lt;br /&gt;
: Sent when the left entrance gains access to the shared track.&lt;br /&gt;
&lt;br /&gt;
; ''releasing&amp;lt;sub&amp;gt;right&amp;lt;/sub&amp;gt;''&lt;br /&gt;
: Sent when the right entrance gains access to the shared track.&lt;br /&gt;
&lt;br /&gt;
; ''clear&amp;lt;sub&amp;gt;left&amp;lt;/sub&amp;gt;''&lt;br /&gt;
: Sent when the left entrance circuitry has reset and is able to receive another cart.&lt;br /&gt;
&lt;br /&gt;
; ''clear&amp;lt;sub&amp;gt;right&amp;lt;/sub&amp;gt;''&lt;br /&gt;
: Sent when the right entrance circuitry has reset and is able to receive another cart&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
''The basic idea is that an arriving cart sends a signal; this sets the waiting bit. If the waiting bit is set, and the track is not in use, the release signal is sent, and the release bit is set. When the release bit is finished being set, a circuit trips, the release bit is unset, and the clear signal goes out.''&lt;br /&gt;
&lt;br /&gt;
====Hookup====&lt;br /&gt;
&lt;br /&gt;
The track circuit controls access for two entrances onto the shared track. Call one entrance ''left'' and one entrance ''right''. On each side, there should be a roller/mechanism-operated door setup restricting  access to the merge. In front of the roller should be a pressure plate to signal a minecart has &amp;quot;arrived&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
* Link the two arrival pressure plates to ''arriving&amp;lt;sub&amp;gt;left&amp;lt;/sub&amp;gt;'' and ''arriving&amp;lt;sub&amp;gt;right&amp;lt;/sub&amp;gt;'', respectively&lt;br /&gt;
* Link output pressure plates ''releasing&amp;lt;sub&amp;gt;left&amp;lt;/sub&amp;gt;'' and ''releasing&amp;lt;sub&amp;gt;right&amp;lt;/sub&amp;gt;'' to the door part of the roller/door setup.&lt;br /&gt;
* Link some signal to ''empty''. This can either be a pressure plate at the far end of the track, or,&lt;br /&gt;
* If a shared track segment leads into another shared track segment as either the left or right arrival point, use either the ''clear&amp;lt;sub&amp;gt;left&amp;lt;/sub&amp;gt;'' or ''clear&amp;lt;sub&amp;gt;right&amp;lt;/sub&amp;gt;'' output signal to notify the preceding track that it is ''empty''&lt;br /&gt;
&lt;br /&gt;
===Route Circuit===&lt;br /&gt;
&lt;br /&gt;
A route represents a single minecart that travels one way from source to destination. Route circuits have ''n'' bits, where ''n'' is the number of shared track segments the route travels on between its source and destination.&lt;br /&gt;
&lt;br /&gt;
The following diagram is for an example a two-track route circuit. For routes that cover more than two shared tracks, simply add more middle layers.&lt;br /&gt;
{{diagram|spaces=yes|\&lt;br /&gt;
P──☼     &amp;lt;-- Initial release (sets first track bit)&lt;br /&gt;
  O■[#FF0]^■╢O&lt;br /&gt;
     ☼☼&lt;br /&gt;
P─☼[#FF0]☼─☼  &amp;lt;-- Second track release triggers if and only if first track bit is active &lt;br /&gt;
  O■^■╢O&lt;br /&gt;
      │&lt;br /&gt;
P─☼───☼  &amp;lt;-- Reset signal from pressure plate at destination clears last track bit&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
The idea is that the track circuit ''release&amp;lt;sub&amp;gt;dir&amp;lt;/sub&amp;gt;'' signals notify all appropriate routes via linkages. Each route keeps track of where it is, so that ''release'' signals are ignored unless the minecart released is on the route in question. Appropriate bit pressure plates are then linked to gear assemblies controlling rollers. Route bits turn on the rollers that get the minecart to the correct destination!&lt;/div&gt;</summary>
		<author><name>Gnidan</name></author>
	</entry>
	<entry>
		<id>https://dwarffortresswiki.org/index.php?title=File:Minecart-routing.gif&amp;diff=232404</id>
		<title>File:Minecart-routing.gif</title>
		<link rel="alternate" type="text/html" href="https://dwarffortresswiki.org/index.php?title=File:Minecart-routing.gif&amp;diff=232404"/>
		<updated>2017-08-17T20:11:26Z</updated>

		<summary type="html">&lt;p&gt;Gnidan: Small GIF of Minecart routing system: follows a minecart as it arrives at shared track, waits to enter, then gets routed out of shared track to correct destination. Full size image available at http://i.imgur.com/nC3dfLK.gifv&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Summary ==&lt;br /&gt;
Small GIF of Minecart routing system: follows a minecart as it arrives at shared track, waits to enter, then gets routed out of shared track to correct destination. Full size image available at http://i.imgur.com/nC3dfLK.gifv&lt;br /&gt;
== Licensing ==&lt;br /&gt;
{{self|cc-zero}}&lt;/div&gt;</summary>
		<author><name>Gnidan</name></author>
	</entry>
	<entry>
		<id>https://dwarffortresswiki.org/index.php?title=User:Gnidan&amp;diff=223162</id>
		<title>User:Gnidan</title>
		<link rel="alternate" type="text/html" href="https://dwarffortresswiki.org/index.php?title=User:Gnidan&amp;diff=223162"/>
		<updated>2016-01-31T06:00:04Z</updated>

		<summary type="html">&lt;p&gt;Gnidan: /* Furniture */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Minecart Routing ==&lt;br /&gt;
&lt;br /&gt;
===Overview===&lt;br /&gt;
&lt;br /&gt;
I've come up with a scheme for getting minecarts to travel from a source to destination automatically using shared track. The scheme ultimately keeps careful control of individual sections of shared track so that only one minecart can be on a single piece of shared track at a given time. Through carefully timed access, a signaling scheme, and stateful record-keeping of how far each minecart is along its way to its destination, I have been able to create a fully automated minecart router.&lt;br /&gt;
&lt;br /&gt;
===Shared Track===&lt;br /&gt;
&lt;br /&gt;
The design for a segment of shared track comprises two inbound tracks, each with a pressure plate, roller, and door, joining into a single outbound track.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
{{diagram|spaces=yes|\&lt;br /&gt;
&lt;br /&gt;
...══[#F0F]^[#FFF]╟+╗ ╔+[#FFF]╢[#F0F]^══...&lt;br /&gt;
        ╔═╝&lt;br /&gt;
        ║&lt;br /&gt;
        ║&lt;br /&gt;
        .&lt;br /&gt;
        .&lt;br /&gt;
        .&lt;br /&gt;
        (to either a pressure plate or another shared track)&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
The pressure plates are used to trigger arrival signals, and the doors should be linked to open when the shared track becomes available for that minecart (release). The following track circuit design controls this behavior.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===Track Circuit for dual wait/release setups.===&lt;br /&gt;
&lt;br /&gt;
The track circuit here is set up to make each arriving minecart wait until the track is empty (and possibly wait until the other side has released and cleared the track, should both carts start waiting at the same time.)&lt;br /&gt;
&lt;br /&gt;
====Design====&lt;br /&gt;
&lt;br /&gt;
The track circuit is designed to use signals for input/output. Internally, the circuit comprises 5 &amp;quot;Newton's Cradle&amp;quot; bits. The pressure plates for these bits are linked to internal gear assemblies, which function as logic gates to emit signals as output. Three of the bits get set one way from an input signal, and unset via internal mechanisms. Two of the bits are entirely controlled internally and used for timing.&lt;br /&gt;
&lt;br /&gt;
To clarify the design of the track circuit, there are four logic conditions that can cause the circuit to change/emit signals:&lt;br /&gt;
&lt;br /&gt;
; The track is not in use and the left entrance is &amp;quot;waiting&amp;quot;&lt;br /&gt;
: Sets ''waiting&amp;lt;sub&amp;gt;left&amp;lt;/sub&amp;gt;'' to false, sets ''releasing&amp;lt;sub&amp;gt;left&amp;lt;/sub&amp;gt;'' to true, sets ''track in use'', and signals ''release&amp;lt;sub&amp;gt;left&amp;lt;/sub&amp;gt;''&lt;br /&gt;
; The track is not in use and the right entrance is &amp;quot;waiting&amp;quot; and the left entrance is not&lt;br /&gt;
: Sets ''waiting&amp;lt;sub&amp;gt;right&amp;lt;/left&amp;gt;'' to false, sets ''releasing&amp;lt;sub&amp;gt;right&amp;lt;/left&amp;gt;'' to true, sets ''track in use'', and signals ''release&amp;lt;sub&amp;gt;right&amp;lt;/sub&amp;gt;''&lt;br /&gt;
;The ''releasing&amp;lt;sub&amp;gt;left&amp;lt;/sub&amp;gt;'' bit is finished being set&lt;br /&gt;
: Unset ''releasing&amp;lt;sub&amp;gt;left&amp;lt;/sub&amp;gt;'' and signal ''clear&amp;lt;sub&amp;gt;left&amp;lt;/sub&amp;gt;'' &lt;br /&gt;
; The ''releasing&amp;lt;sub&amp;gt;right&amp;lt;/sub&amp;gt;'' bit is finished being set&lt;br /&gt;
: Unset ''releasing&amp;lt;sub&amp;gt;right&amp;lt;/sub&amp;gt;'' and signal ''clear&amp;lt;sub&amp;gt;right&amp;lt;/sub&amp;gt;''&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
====Track====&lt;br /&gt;
{{diagram|spaces=yes|newlines=yes|\&lt;br /&gt;
  O             O&lt;br /&gt;
  ╥☼O╞═╡O O╞═╡O☼╥&lt;br /&gt;
  ║│ ☼─☼   ☼─☼ │║&lt;br /&gt;
  ╨☼O  │   │  O☼╨&lt;br /&gt;
  O│╥──☼─☼─☼──╥│O&lt;br /&gt;
   │║    │    ║│&lt;br /&gt;
   │║    │    ║│&lt;br /&gt;
   ☼╨──☼─☼☼☼─☼╨☼&lt;br /&gt;
   │O  ☼───☼ │O&lt;br /&gt;
  O╞══╡O╞══╡O╞══╡O&lt;br /&gt;
      ☼ ☼       ☼&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
====Furniture====&lt;br /&gt;
{{diagram|spaces=yes|newlines=yes|\&lt;br /&gt;
  O             O&lt;br /&gt;
  ╤☼O╟^╢O O╟^╢O☼╤&lt;br /&gt;
  ^[#8B4513]│ ☼[#8B4513]─☼   ☼[#8B4513]─☼ [#8B4513]│^&lt;br /&gt;
  ╨☼O  [#8B4513]│   [#8B4513]│  O☼╨&lt;br /&gt;
  O[#8B4513]│╤[#8B4513]─[#8B4513]─[#0FF]☼[#8B4513]─[#FFF]☼[#8B4513]─[#FF0]☼[#8B4513]─[#8B4513]─╤[#8B4513]│O&lt;br /&gt;
   [#8B4513]│[#0FF]^    [#8B4513]│    [#FF0]^[#8B4513]│&lt;br /&gt;
   [#8B4513]│║    │    ║[#8B4513]│&lt;br /&gt;
   ☼╧[#8B4513]─[#8B4513]─[#F0F]☼[#8B4513]─[#0F0]☼[#00F]☼[#F0F]☼[#8B4513]─☼╧☼&lt;br /&gt;
   [#8B4513]│O  ☼[#8B4513]─[#8B4513]─[#8B4513]─☼ [#8B4513]│O&lt;br /&gt;
  O╟[#F0F]^═╢O╟═[#0F0]^╢O╟[#00F]^═╢O&lt;br /&gt;
      ☼ ☼       ☼&lt;br /&gt;
- bit linkages to inner gear assemblies shown&lt;br /&gt;
- [#FFF]☼ denotes power input&lt;br /&gt;
- Right-hand side [#F0F]☼ should be disengaged.&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
This diagram shows the linkages from the 5 bits to the internal gear assemblies that use them as logic gates. The pressure plates with a given color should be linked to the gear assembly/assemblies with matching color. Note that a temporary lever will have to be hooked up to the right-most purple bit, and pulled, so that the gear assembly starts disengaged.&lt;br /&gt;
&lt;br /&gt;
These linkages should be done before the minecarts are placed.&lt;br /&gt;
&lt;br /&gt;
====Minecarts====&lt;br /&gt;
&lt;br /&gt;
{{diagram|spaces=yes|newlines=yes|\&lt;br /&gt;
  O             O&lt;br /&gt;
  ■☼O■^╢O O■^╢O☼■&lt;br /&gt;
  ^│           │^&lt;br /&gt;
  ╧☼O         O☼╧&lt;br /&gt;
  O│╤──☼─☼─☼──╤│O&lt;br /&gt;
   │■    │    ■│&lt;br /&gt;
   │║    │    ║│&lt;br /&gt;
   ☼■──☼─☼☼☼─☼■☼&lt;br /&gt;
   │O  ☼───☼ │O&lt;br /&gt;
  O╟■═■O╟■^■O╟■═■O&lt;br /&gt;
      ☼ ☼       ☼&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==== Input/Output Signals ====&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''Output signals mean an ''on'' signal followed by an ''off'' signal later. Input signals can be disengaged gear assemblies or power applied briefly. (See [[Minecart_logic#Techniques_and_Circuits]])'''&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Output signals: ''releasing&amp;lt;sub&amp;gt;left&amp;lt;/sub&amp;gt;'', ''clear&amp;lt;sub&amp;gt;left&amp;lt;/sub&amp;gt;'', ''clear&amp;lt;sub&amp;gt;right&amp;lt;/sub&amp;gt;'', ''releasing&amp;lt;sub&amp;gt;right''&lt;br /&gt;
{{diagram|spaces=yes|newlines=yes|\&lt;br /&gt;
  O             O&lt;br /&gt;
  ■☼O■[#F0F]^╢O O■[#F0F]^╢O☼■&lt;br /&gt;
  [#F0F]^│           │[#F0F]^&lt;br /&gt;
  ╧☼O         O☼╧&lt;br /&gt;
  O│╤──☼─☼─☼──╤│O&lt;br /&gt;
   │■    │    ■│&lt;br /&gt;
   │║    │    ║│&lt;br /&gt;
   ☼■──☼─☼☼☼─☼■☼&lt;br /&gt;
   │O  ☼───☼ │O&lt;br /&gt;
  O╟■═■O╟■^■O╟■═■O&lt;br /&gt;
      [#F0F]☼ [#F0F]☼     [#F0F]☼&lt;br /&gt;
}}&lt;br /&gt;
Input Signals: ''arriving&amp;lt;sub&amp;gt;left&amp;lt;/sub&amp;gt;'', ''empty'', and ''arriving&amp;lt;sub&amp;gt;right&amp;lt;/sub&amp;gt;''&lt;br /&gt;
&lt;br /&gt;
; ''arriving&amp;lt;sub&amp;gt;left&amp;lt;/sub&amp;gt;''&lt;br /&gt;
: Notifies the circuit that a track is waiting to merge from the left entrance.&lt;br /&gt;
&lt;br /&gt;
; ''arriving&amp;lt;sub&amp;gt;right&amp;lt;/sub&amp;gt;''&lt;br /&gt;
: Notifies the circuit that a track is waiting to merge from the right entrance.&lt;br /&gt;
&lt;br /&gt;
; ''empty''&lt;br /&gt;
: Notifies the circuit that the shared track is no longer in use.&lt;br /&gt;
&lt;br /&gt;
; ''releasing&amp;lt;sub&amp;gt;left&amp;lt;/sub&amp;gt;''&lt;br /&gt;
: Sent when the left entrance gains access to the shared track.&lt;br /&gt;
&lt;br /&gt;
; ''releasing&amp;lt;sub&amp;gt;right&amp;lt;/sub&amp;gt;''&lt;br /&gt;
: Sent when the right entrance gains access to the shared track.&lt;br /&gt;
&lt;br /&gt;
; ''clear&amp;lt;sub&amp;gt;left&amp;lt;/sub&amp;gt;''&lt;br /&gt;
: Sent when the left entrance circuitry has reset and is able to receive another cart.&lt;br /&gt;
&lt;br /&gt;
; ''clear&amp;lt;sub&amp;gt;right&amp;lt;/sub&amp;gt;''&lt;br /&gt;
: Sent when the right entrance circuitry has reset and is able to receive another cart&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
''The basic idea is that an arriving cart sends a signal; this sets the waiting bit. If the waiting bit is set, and the track is not in use, the release signal is sent, and the release bit is set. When the release bit is finished being set, a circuit trips, the release bit is unset, and the clear signal goes out.''&lt;br /&gt;
&lt;br /&gt;
====Hookup====&lt;br /&gt;
&lt;br /&gt;
The track circuit controls access for two entrances onto the shared track. Call one entrance ''left'' and one entrance ''right''. On each side, there should be a roller/mechanism-operated door setup restricting  access to the merge. In front of the roller should be a pressure plate to signal a minecart has &amp;quot;arrived&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
* Link the two arrival pressure plates to ''arriving&amp;lt;sub&amp;gt;left&amp;lt;/sub&amp;gt;'' and ''arriving&amp;lt;sub&amp;gt;right&amp;lt;/sub&amp;gt;'', respectively&lt;br /&gt;
* Link output pressure plates ''releasing&amp;lt;sub&amp;gt;left&amp;lt;/sub&amp;gt;'' and ''releasing&amp;lt;sub&amp;gt;right&amp;lt;/sub&amp;gt;'' to the door part of the roller/door setup.&lt;br /&gt;
* Link some signal to ''empty''. This can either be a pressure plate at the far end of the track, or,&lt;br /&gt;
* If a shared track segment leads into another shared track segment as either the left or right arrival point, use either the ''clear&amp;lt;sub&amp;gt;left&amp;lt;/sub&amp;gt;'' or ''clear&amp;lt;sub&amp;gt;right&amp;lt;/sub&amp;gt;'' output signal to notify the preceding track that it is ''empty''&lt;br /&gt;
&lt;br /&gt;
===Route Circuit===&lt;br /&gt;
&lt;br /&gt;
A route represents a single minecart that travels one way from source to destination. Route circuits have ''n'' bits, where ''n'' is the number of shared track segments the route travels on between its source and destination.&lt;br /&gt;
&lt;br /&gt;
The following diagram is for an example a two-track route circuit. For routes that cover more than two shared tracks, simply add more middle layers.&lt;br /&gt;
{{diagram|spaces=yes|\&lt;br /&gt;
P──☼     &amp;lt;-- Initial release (sets first track bit)&lt;br /&gt;
  O■[#FF0]^■╢O&lt;br /&gt;
     ☼☼&lt;br /&gt;
P─☼[#FF0]☼─☼  &amp;lt;-- Second track release triggers if and only if first track bit is active &lt;br /&gt;
  O■^■╢O&lt;br /&gt;
      │&lt;br /&gt;
P─☼───☼  &amp;lt;-- Reset signal from pressure plate at destination clears last track bit&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
The idea is that the track circuit ''release&amp;lt;sub&amp;gt;dir&amp;lt;/sub&amp;gt;'' signals notify all appropriate routes via linkages. Each route keeps track of where it is, so that ''release'' signals are ignored unless the minecart released is on the route in question. Appropriate bit pressure plates are then linked to gear assemblies controlling rollers. Route bits turn on the rollers that get the minecart to the correct destination!&lt;/div&gt;</summary>
		<author><name>Gnidan</name></author>
	</entry>
	<entry>
		<id>https://dwarffortresswiki.org/index.php?title=User:Gnidan&amp;diff=223161</id>
		<title>User:Gnidan</title>
		<link rel="alternate" type="text/html" href="https://dwarffortresswiki.org/index.php?title=User:Gnidan&amp;diff=223161"/>
		<updated>2016-01-31T04:54:02Z</updated>

		<summary type="html">&lt;p&gt;Gnidan: /* Track Circuit for dual wait/release setups. */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Minecart Routing ==&lt;br /&gt;
&lt;br /&gt;
===Overview===&lt;br /&gt;
&lt;br /&gt;
I've come up with a scheme for getting minecarts to travel from a source to destination automatically using shared track. The scheme ultimately keeps careful control of individual sections of shared track so that only one minecart can be on a single piece of shared track at a given time. Through carefully timed access, a signaling scheme, and stateful record-keeping of how far each minecart is along its way to its destination, I have been able to create a fully automated minecart router.&lt;br /&gt;
&lt;br /&gt;
===Shared Track===&lt;br /&gt;
&lt;br /&gt;
The design for a segment of shared track comprises two inbound tracks, each with a pressure plate, roller, and door, joining into a single outbound track.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
{{diagram|spaces=yes|\&lt;br /&gt;
&lt;br /&gt;
...══[#F0F]^[#FFF]╟+╗ ╔+[#FFF]╢[#F0F]^══...&lt;br /&gt;
        ╔═╝&lt;br /&gt;
        ║&lt;br /&gt;
        ║&lt;br /&gt;
        .&lt;br /&gt;
        .&lt;br /&gt;
        .&lt;br /&gt;
        (to either a pressure plate or another shared track)&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
The pressure plates are used to trigger arrival signals, and the doors should be linked to open when the shared track becomes available for that minecart (release). The following track circuit design controls this behavior.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===Track Circuit for dual wait/release setups.===&lt;br /&gt;
&lt;br /&gt;
The track circuit here is set up to make each arriving minecart wait until the track is empty (and possibly wait until the other side has released and cleared the track, should both carts start waiting at the same time.)&lt;br /&gt;
&lt;br /&gt;
====Design====&lt;br /&gt;
&lt;br /&gt;
The track circuit is designed to use signals for input/output. Internally, the circuit comprises 5 &amp;quot;Newton's Cradle&amp;quot; bits. The pressure plates for these bits are linked to internal gear assemblies, which function as logic gates to emit signals as output. Three of the bits get set one way from an input signal, and unset via internal mechanisms. Two of the bits are entirely controlled internally and used for timing.&lt;br /&gt;
&lt;br /&gt;
To clarify the design of the track circuit, there are four logic conditions that can cause the circuit to change/emit signals:&lt;br /&gt;
&lt;br /&gt;
; The track is not in use and the left entrance is &amp;quot;waiting&amp;quot;&lt;br /&gt;
: Sets ''waiting&amp;lt;sub&amp;gt;left&amp;lt;/sub&amp;gt;'' to false, sets ''releasing&amp;lt;sub&amp;gt;left&amp;lt;/sub&amp;gt;'' to true, sets ''track in use'', and signals ''release&amp;lt;sub&amp;gt;left&amp;lt;/sub&amp;gt;''&lt;br /&gt;
; The track is not in use and the right entrance is &amp;quot;waiting&amp;quot; and the left entrance is not&lt;br /&gt;
: Sets ''waiting&amp;lt;sub&amp;gt;right&amp;lt;/left&amp;gt;'' to false, sets ''releasing&amp;lt;sub&amp;gt;right&amp;lt;/left&amp;gt;'' to true, sets ''track in use'', and signals ''release&amp;lt;sub&amp;gt;right&amp;lt;/sub&amp;gt;''&lt;br /&gt;
;The ''releasing&amp;lt;sub&amp;gt;left&amp;lt;/sub&amp;gt;'' bit is finished being set&lt;br /&gt;
: Unset ''releasing&amp;lt;sub&amp;gt;left&amp;lt;/sub&amp;gt;'' and signal ''clear&amp;lt;sub&amp;gt;left&amp;lt;/sub&amp;gt;'' &lt;br /&gt;
; The ''releasing&amp;lt;sub&amp;gt;right&amp;lt;/sub&amp;gt;'' bit is finished being set&lt;br /&gt;
: Unset ''releasing&amp;lt;sub&amp;gt;right&amp;lt;/sub&amp;gt;'' and signal ''clear&amp;lt;sub&amp;gt;right&amp;lt;/sub&amp;gt;''&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
====Track====&lt;br /&gt;
{{diagram|spaces=yes|newlines=yes|\&lt;br /&gt;
  O             O&lt;br /&gt;
  ╥☼O╞═╡O O╞═╡O☼╥&lt;br /&gt;
  ║│ ☼─☼   ☼─☼ │║&lt;br /&gt;
  ╨☼O  │   │  O☼╨&lt;br /&gt;
  O│╥──☼─☼─☼──╥│O&lt;br /&gt;
   │║    │    ║│&lt;br /&gt;
   │║    │    ║│&lt;br /&gt;
   ☼╨──☼─☼☼☼─☼╨☼&lt;br /&gt;
   │O  ☼───☼ │O&lt;br /&gt;
  O╞══╡O╞══╡O╞══╡O&lt;br /&gt;
      ☼ ☼       ☼&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
====Furniture====&lt;br /&gt;
{{diagram|spaces=yes|newlines=yes|\&lt;br /&gt;
  O             O&lt;br /&gt;
  ╤☼O╟^╢O O╟^╢O☼╤&lt;br /&gt;
  ^[#8B4513]│ ☼[#8B4513]─☼   ☼[#8B4513]─☼ [#8B4513]│^&lt;br /&gt;
  ╨☼O  [#8B4513]│   [#8B4513]│  O☼╨&lt;br /&gt;
  O[#8B4513]│╤[#8B4513]─[#8B4513]─[#0FF]☼[#8B4513]─[#FFF]☼[#8B4513]─[#FF0]☼[#8B4513]─[#8B4513]─╤[#8B4513]│O&lt;br /&gt;
   [#8B4513]│[#0FF]^    [#8B4513]│    [#FF0]^[#8B4513]│&lt;br /&gt;
   [#8B4513]│║    │    ║[#8B4513]│&lt;br /&gt;
   ☼╧[#8B4513]─[#8B4513]─[#F0F]☼[#8B4513]─[#0F0]☼[#00F]☼[#F0F]☼[#8B4513]─☼╧☼&lt;br /&gt;
   [#8B4513]│O  ☼[#8B4513]─[#8B4513]─[#8B4513]─☼ [#8B4513]│O&lt;br /&gt;
  O╟[#F0F]^═╢O╟═[#0F0]^╢O╟[#00F]^═╢O&lt;br /&gt;
      ☼ ☼       ☼&lt;br /&gt;
- bit linkages to inner gear assemblies shown&lt;br /&gt;
- [#FFF]☼ denotes power input&lt;br /&gt;
- Right-hand side [#F0F]☼ should be disengaged.&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
This diagram shows the linkages from the 5 bits to the internal gear assemblies that use them as logic gates. The pressure plates with a given color should be linked to the gear assembly/assemblies with matching color. Note that a temporary lever will have to be hooked up to the right-most purple bit, and pulled, so that the bit starts disengaged.&lt;br /&gt;
&lt;br /&gt;
These linkages should be done before the minecarts are placed.&lt;br /&gt;
&lt;br /&gt;
====Minecarts====&lt;br /&gt;
&lt;br /&gt;
{{diagram|spaces=yes|newlines=yes|\&lt;br /&gt;
  O             O&lt;br /&gt;
  ■☼O■^╢O O■^╢O☼■&lt;br /&gt;
  ^│           │^&lt;br /&gt;
  ╧☼O         O☼╧&lt;br /&gt;
  O│╤──☼─☼─☼──╤│O&lt;br /&gt;
   │■    │    ■│&lt;br /&gt;
   │║    │    ║│&lt;br /&gt;
   ☼■──☼─☼☼☼─☼■☼&lt;br /&gt;
   │O  ☼───☼ │O&lt;br /&gt;
  O╟■═■O╟■^■O╟■═■O&lt;br /&gt;
      ☼ ☼       ☼&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==== Input/Output Signals ====&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''Output signals mean an ''on'' signal followed by an ''off'' signal later. Input signals can be disengaged gear assemblies or power applied briefly. (See [[Minecart_logic#Techniques_and_Circuits]])'''&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Output signals: ''releasing&amp;lt;sub&amp;gt;left&amp;lt;/sub&amp;gt;'', ''clear&amp;lt;sub&amp;gt;left&amp;lt;/sub&amp;gt;'', ''clear&amp;lt;sub&amp;gt;right&amp;lt;/sub&amp;gt;'', ''releasing&amp;lt;sub&amp;gt;right''&lt;br /&gt;
{{diagram|spaces=yes|newlines=yes|\&lt;br /&gt;
  O             O&lt;br /&gt;
  ■☼O■[#F0F]^╢O O■[#F0F]^╢O☼■&lt;br /&gt;
  [#F0F]^│           │[#F0F]^&lt;br /&gt;
  ╧☼O         O☼╧&lt;br /&gt;
  O│╤──☼─☼─☼──╤│O&lt;br /&gt;
   │■    │    ■│&lt;br /&gt;
   │║    │    ║│&lt;br /&gt;
   ☼■──☼─☼☼☼─☼■☼&lt;br /&gt;
   │O  ☼───☼ │O&lt;br /&gt;
  O╟■═■O╟■^■O╟■═■O&lt;br /&gt;
      [#F0F]☼ [#F0F]☼     [#F0F]☼&lt;br /&gt;
}}&lt;br /&gt;
Input Signals: ''arriving&amp;lt;sub&amp;gt;left&amp;lt;/sub&amp;gt;'', ''empty'', and ''arriving&amp;lt;sub&amp;gt;right&amp;lt;/sub&amp;gt;''&lt;br /&gt;
&lt;br /&gt;
; ''arriving&amp;lt;sub&amp;gt;left&amp;lt;/sub&amp;gt;''&lt;br /&gt;
: Notifies the circuit that a track is waiting to merge from the left entrance.&lt;br /&gt;
&lt;br /&gt;
; ''arriving&amp;lt;sub&amp;gt;right&amp;lt;/sub&amp;gt;''&lt;br /&gt;
: Notifies the circuit that a track is waiting to merge from the right entrance.&lt;br /&gt;
&lt;br /&gt;
; ''empty''&lt;br /&gt;
: Notifies the circuit that the shared track is no longer in use.&lt;br /&gt;
&lt;br /&gt;
; ''releasing&amp;lt;sub&amp;gt;left&amp;lt;/sub&amp;gt;''&lt;br /&gt;
: Sent when the left entrance gains access to the shared track.&lt;br /&gt;
&lt;br /&gt;
; ''releasing&amp;lt;sub&amp;gt;right&amp;lt;/sub&amp;gt;''&lt;br /&gt;
: Sent when the right entrance gains access to the shared track.&lt;br /&gt;
&lt;br /&gt;
; ''clear&amp;lt;sub&amp;gt;left&amp;lt;/sub&amp;gt;''&lt;br /&gt;
: Sent when the left entrance circuitry has reset and is able to receive another cart.&lt;br /&gt;
&lt;br /&gt;
; ''clear&amp;lt;sub&amp;gt;right&amp;lt;/sub&amp;gt;''&lt;br /&gt;
: Sent when the right entrance circuitry has reset and is able to receive another cart&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
''The basic idea is that an arriving cart sends a signal; this sets the waiting bit. If the waiting bit is set, and the track is not in use, the release signal is sent, and the release bit is set. When the release bit is finished being set, a circuit trips, the release bit is unset, and the clear signal goes out.''&lt;br /&gt;
&lt;br /&gt;
====Hookup====&lt;br /&gt;
&lt;br /&gt;
The track circuit controls access for two entrances onto the shared track. Call one entrance ''left'' and one entrance ''right''. On each side, there should be a roller/mechanism-operated door setup restricting  access to the merge. In front of the roller should be a pressure plate to signal a minecart has &amp;quot;arrived&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
* Link the two arrival pressure plates to ''arriving&amp;lt;sub&amp;gt;left&amp;lt;/sub&amp;gt;'' and ''arriving&amp;lt;sub&amp;gt;right&amp;lt;/sub&amp;gt;'', respectively&lt;br /&gt;
* Link output pressure plates ''releasing&amp;lt;sub&amp;gt;left&amp;lt;/sub&amp;gt;'' and ''releasing&amp;lt;sub&amp;gt;right&amp;lt;/sub&amp;gt;'' to the door part of the roller/door setup.&lt;br /&gt;
* Link some signal to ''empty''. This can either be a pressure plate at the far end of the track, or,&lt;br /&gt;
* If a shared track segment leads into another shared track segment as either the left or right arrival point, use either the ''clear&amp;lt;sub&amp;gt;left&amp;lt;/sub&amp;gt;'' or ''clear&amp;lt;sub&amp;gt;right&amp;lt;/sub&amp;gt;'' output signal to notify the preceding track that it is ''empty''&lt;br /&gt;
&lt;br /&gt;
===Route Circuit===&lt;br /&gt;
&lt;br /&gt;
A route represents a single minecart that travels one way from source to destination. Route circuits have ''n'' bits, where ''n'' is the number of shared track segments the route travels on between its source and destination.&lt;br /&gt;
&lt;br /&gt;
The following diagram is for an example a two-track route circuit. For routes that cover more than two shared tracks, simply add more middle layers.&lt;br /&gt;
{{diagram|spaces=yes|\&lt;br /&gt;
P──☼     &amp;lt;-- Initial release (sets first track bit)&lt;br /&gt;
  O■[#FF0]^■╢O&lt;br /&gt;
     ☼☼&lt;br /&gt;
P─☼[#FF0]☼─☼  &amp;lt;-- Second track release triggers if and only if first track bit is active &lt;br /&gt;
  O■^■╢O&lt;br /&gt;
      │&lt;br /&gt;
P─☼───☼  &amp;lt;-- Reset signal from pressure plate at destination clears last track bit&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
The idea is that the track circuit ''release&amp;lt;sub&amp;gt;dir&amp;lt;/sub&amp;gt;'' signals notify all appropriate routes via linkages. Each route keeps track of where it is, so that ''release'' signals are ignored unless the minecart released is on the route in question. Appropriate bit pressure plates are then linked to gear assemblies controlling rollers. Route bits turn on the rollers that get the minecart to the correct destination!&lt;/div&gt;</summary>
		<author><name>Gnidan</name></author>
	</entry>
	<entry>
		<id>https://dwarffortresswiki.org/index.php?title=User:Gnidan&amp;diff=223057</id>
		<title>User:Gnidan</title>
		<link rel="alternate" type="text/html" href="https://dwarffortresswiki.org/index.php?title=User:Gnidan&amp;diff=223057"/>
		<updated>2016-01-27T16:24:38Z</updated>

		<summary type="html">&lt;p&gt;Gnidan: /* Furniture */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Minecart Routing ==&lt;br /&gt;
&lt;br /&gt;
===Overview===&lt;br /&gt;
&lt;br /&gt;
I've come up with a scheme for getting minecarts to travel from a source to destination automatically using shared track. The scheme ultimately keeps careful control of individual sections of shared track so that only one minecart can be on a single piece of shared track at a given time. Through carefully timed access, a signaling scheme, and stateful record-keeping of how far each minecart is along its way to its destination, I have been able to create a fully automated minecart router.&lt;br /&gt;
&lt;br /&gt;
===Shared Track===&lt;br /&gt;
&lt;br /&gt;
The design for a segment of shared track comprises two inbound tracks, each with a pressure plate, roller, and door, joining into a single outbound track.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
{{diagram|spaces=yes|\&lt;br /&gt;
&lt;br /&gt;
...══[#F0F]^[#FFF]╟+╗ ╔+[#FFF]╢[#F0F]^══...&lt;br /&gt;
        ╔═╝&lt;br /&gt;
        ║&lt;br /&gt;
        ║&lt;br /&gt;
        .&lt;br /&gt;
        .&lt;br /&gt;
        .&lt;br /&gt;
        (to either a pressure plate or another shared track)&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
The pressure plates are used to trigger arrival signals, and the doors should be linked to open when the shared track becomes available for that minecart (release). The following track circuit design controls this behavior.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===Track Circuit for dual wait/release setups.===&lt;br /&gt;
&lt;br /&gt;
The track circuit here is set up to make each arriving minecart wait until the track is empty (and possibly wait until the other side has released and cleared the track, should both carts start waiting at the same time.)&lt;br /&gt;
&lt;br /&gt;
====Track====&lt;br /&gt;
{{diagram|spaces=yes|newlines=yes|\&lt;br /&gt;
  O             O&lt;br /&gt;
  ╥☼O╞═╡O O╞═╡O☼╥&lt;br /&gt;
  ║│ ☼─☼   ☼─☼ │║&lt;br /&gt;
  ╨☼O  │   │  O☼╨&lt;br /&gt;
  O│╥──☼─☼─☼──╥│O&lt;br /&gt;
   │║    │    ║│&lt;br /&gt;
   │║    │    ║│&lt;br /&gt;
   ☼╨──☼─☼☼☼─☼╨☼&lt;br /&gt;
   │O  ☼───☼ │O&lt;br /&gt;
  O╞══╡O╞══╡O╞══╡O&lt;br /&gt;
      ☼ ☼       ☼&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
====Furniture====&lt;br /&gt;
{{diagram|spaces=yes|newlines=yes|\&lt;br /&gt;
  O             O&lt;br /&gt;
  ╤☼O╟^╢O O╟^╢O☼╤&lt;br /&gt;
  ^[#8B4513]│ ☼[#8B4513]─☼   ☼[#8B4513]─☼ [#8B4513]│^&lt;br /&gt;
  ╨☼O  [#8B4513]│   [#8B4513]│  O☼╨&lt;br /&gt;
  O[#8B4513]│╤[#8B4513]─[#8B4513]─[#0FF]☼[#8B4513]─[#FFF]☼[#8B4513]─[#FF0]☼[#8B4513]─[#8B4513]─╤[#8B4513]│O&lt;br /&gt;
   [#8B4513]│[#0FF]^    [#8B4513]│    [#FF0]^[#8B4513]│&lt;br /&gt;
   [#8B4513]│║    │    ║[#8B4513]│&lt;br /&gt;
   ☼╧[#8B4513]─[#8B4513]─[#F0F]☼[#8B4513]─[#0F0]☼[#00F]☼[#F0F]☼[#8B4513]─☼╧☼&lt;br /&gt;
   [#8B4513]│O  ☼[#8B4513]─[#8B4513]─[#8B4513]─☼ [#8B4513]│O&lt;br /&gt;
  O╟[#F0F]^═╢O╟═[#0F0]^╢O╟[#00F]^═╢O&lt;br /&gt;
      ☼ ☼       ☼&lt;br /&gt;
- bit linkages to inner gear assemblies shown&lt;br /&gt;
- [#FFF]☼ denotes power input&lt;br /&gt;
- Right-hand side [#F0F]☼ should be disengaged.&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
====Minecarts====&lt;br /&gt;
&lt;br /&gt;
{{diagram|spaces=yes|newlines=yes|\&lt;br /&gt;
  O             O&lt;br /&gt;
  ■☼O■^╢O O■^╢O☼■&lt;br /&gt;
  ^│           │^&lt;br /&gt;
  ╧☼O         O☼╧&lt;br /&gt;
  O│╤──☼─☼─☼──╤│O&lt;br /&gt;
   │■    │    ■│&lt;br /&gt;
   │║    │    ║│&lt;br /&gt;
   ☼■──☼─☼☼☼─☼■☼&lt;br /&gt;
   │O  ☼───☼ │O&lt;br /&gt;
  O╟■═■O╟■^■O╟■═■O&lt;br /&gt;
      ☼ ☼       ☼&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==== Input/Output Signals ====&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''Output signals mean an ''on'' signal followed by an ''off'' signal later. Input signals can be disengaged gear assemblies or power applied briefly. (See [[Minecart_logic#Techniques_and_Circuits]])'''&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Output signals: ''releasing&amp;lt;sub&amp;gt;left&amp;lt;/sub&amp;gt;'', ''clear&amp;lt;sub&amp;gt;left&amp;lt;/sub&amp;gt;'', ''clear&amp;lt;sub&amp;gt;right&amp;lt;/sub&amp;gt;'', ''releasing&amp;lt;sub&amp;gt;right''&lt;br /&gt;
{{diagram|spaces=yes|newlines=yes|\&lt;br /&gt;
  O             O&lt;br /&gt;
  ■☼O■[#F0F]^╢O O■[#F0F]^╢O☼■&lt;br /&gt;
  [#F0F]^│           │[#F0F]^&lt;br /&gt;
  ╧☼O         O☼╧&lt;br /&gt;
  O│╤──☼─☼─☼──╤│O&lt;br /&gt;
   │■    │    ■│&lt;br /&gt;
   │║    │    ║│&lt;br /&gt;
   ☼■──☼─☼☼☼─☼■☼&lt;br /&gt;
   │O  ☼───☼ │O&lt;br /&gt;
  O╟■═■O╟■^■O╟■═■O&lt;br /&gt;
      [#F0F]☼ [#F0F]☼     [#F0F]☼&lt;br /&gt;
}}&lt;br /&gt;
Input Signals: ''arriving&amp;lt;sub&amp;gt;left&amp;lt;/sub&amp;gt;'', ''empty'', and ''arriving&amp;lt;sub&amp;gt;right&amp;lt;/sub&amp;gt;''&lt;br /&gt;
&lt;br /&gt;
; ''arriving&amp;lt;sub&amp;gt;left&amp;lt;/sub&amp;gt;''&lt;br /&gt;
: Notifies the circuit that a track is waiting to merge from the left entrance.&lt;br /&gt;
&lt;br /&gt;
; ''arriving&amp;lt;sub&amp;gt;right&amp;lt;/sub&amp;gt;''&lt;br /&gt;
: Notifies the circuit that a track is waiting to merge from the right entrance.&lt;br /&gt;
&lt;br /&gt;
; ''empty''&lt;br /&gt;
: Notifies the circuit that the shared track is no longer in use.&lt;br /&gt;
&lt;br /&gt;
; ''releasing&amp;lt;sub&amp;gt;left&amp;lt;/sub&amp;gt;''&lt;br /&gt;
: Sent when the left entrance gains access to the shared track.&lt;br /&gt;
&lt;br /&gt;
; ''releasing&amp;lt;sub&amp;gt;right&amp;lt;/sub&amp;gt;''&lt;br /&gt;
: Sent when the right entrance gains access to the shared track.&lt;br /&gt;
&lt;br /&gt;
; ''clear&amp;lt;sub&amp;gt;left&amp;lt;/sub&amp;gt;''&lt;br /&gt;
: Sent when the left entrance circuitry has reset and is able to receive another cart.&lt;br /&gt;
&lt;br /&gt;
; ''clear&amp;lt;sub&amp;gt;right&amp;lt;/sub&amp;gt;''&lt;br /&gt;
: Sent when the right entrance circuitry has reset and is able to receive another cart&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
''The basic idea is that an arriving cart sends a signal; this sets the waiting bit. If the waiting bit is set, and the track is not in use, the release signal is sent, and the release bit is set. When the release bit is finished being set, a circuit trips, the release bit is unset, and the clear signal goes out.''&lt;br /&gt;
&lt;br /&gt;
====Hookup====&lt;br /&gt;
&lt;br /&gt;
The track circuit controls access for two entrances onto the shared track. Call one entrance ''left'' and one entrance ''right''. On each side, there should be a roller/mechanism-operated door setup restricting  access to the merge. In front of the roller should be a pressure plate to signal a minecart has &amp;quot;arrived&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
* Link the two arrival pressure plates to ''arriving&amp;lt;sub&amp;gt;left&amp;lt;/sub&amp;gt;'' and ''arriving&amp;lt;sub&amp;gt;right&amp;lt;/sub&amp;gt;'', respectively&lt;br /&gt;
* Link output pressure plates ''releasing&amp;lt;sub&amp;gt;left&amp;lt;/sub&amp;gt;'' and ''releasing&amp;lt;sub&amp;gt;right&amp;lt;/sub&amp;gt;'' to the door part of the roller/door setup.&lt;br /&gt;
* Link some signal to ''empty''. This can either be a pressure plate at the far end of the track, or,&lt;br /&gt;
* If a shared track segment leads into another shared track segment as either the left or right arrival point, use either the ''clear&amp;lt;sub&amp;gt;left&amp;lt;/sub&amp;gt;'' or ''clear&amp;lt;sub&amp;gt;right&amp;lt;/sub&amp;gt;'' output signal to notify the preceding track that it is ''empty''&lt;br /&gt;
&lt;br /&gt;
===Route Circuit===&lt;br /&gt;
&lt;br /&gt;
A route represents a single minecart that travels one way from source to destination. Route circuits have ''n'' bits, where ''n'' is the number of shared track segments the route travels on between its source and destination.&lt;br /&gt;
&lt;br /&gt;
The following diagram is for an example a two-track route circuit. For routes that cover more than two shared tracks, simply add more middle layers.&lt;br /&gt;
{{diagram|spaces=yes|\&lt;br /&gt;
P──☼     &amp;lt;-- Initial release (sets first track bit)&lt;br /&gt;
  O■[#FF0]^■╢O&lt;br /&gt;
     ☼☼&lt;br /&gt;
P─☼[#FF0]☼─☼  &amp;lt;-- Second track release triggers if and only if first track bit is active &lt;br /&gt;
  O■^■╢O&lt;br /&gt;
      │&lt;br /&gt;
P─☼───☼  &amp;lt;-- Reset signal from pressure plate at destination clears last track bit&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
The idea is that the track circuit ''release&amp;lt;sub&amp;gt;dir&amp;lt;/sub&amp;gt;'' signals notify all appropriate routes via linkages. Each route keeps track of where it is, so that ''release'' signals are ignored unless the minecart released is on the route in question. Appropriate bit pressure plates are then linked to gear assemblies controlling rollers. Route bits turn on the rollers that get the minecart to the correct destination!&lt;/div&gt;</summary>
		<author><name>Gnidan</name></author>
	</entry>
	<entry>
		<id>https://dwarffortresswiki.org/index.php?title=User:Gnidan&amp;diff=223056</id>
		<title>User:Gnidan</title>
		<link rel="alternate" type="text/html" href="https://dwarffortresswiki.org/index.php?title=User:Gnidan&amp;diff=223056"/>
		<updated>2016-01-27T16:22:55Z</updated>

		<summary type="html">&lt;p&gt;Gnidan: /* Furniture */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Minecart Routing ==&lt;br /&gt;
&lt;br /&gt;
===Overview===&lt;br /&gt;
&lt;br /&gt;
I've come up with a scheme for getting minecarts to travel from a source to destination automatically using shared track. The scheme ultimately keeps careful control of individual sections of shared track so that only one minecart can be on a single piece of shared track at a given time. Through carefully timed access, a signaling scheme, and stateful record-keeping of how far each minecart is along its way to its destination, I have been able to create a fully automated minecart router.&lt;br /&gt;
&lt;br /&gt;
===Shared Track===&lt;br /&gt;
&lt;br /&gt;
The design for a segment of shared track comprises two inbound tracks, each with a pressure plate, roller, and door, joining into a single outbound track.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
{{diagram|spaces=yes|\&lt;br /&gt;
&lt;br /&gt;
...══[#F0F]^[#FFF]╟+╗ ╔+[#FFF]╢[#F0F]^══...&lt;br /&gt;
        ╔═╝&lt;br /&gt;
        ║&lt;br /&gt;
        ║&lt;br /&gt;
        .&lt;br /&gt;
        .&lt;br /&gt;
        .&lt;br /&gt;
        (to either a pressure plate or another shared track)&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
The pressure plates are used to trigger arrival signals, and the doors should be linked to open when the shared track becomes available for that minecart (release). The following track circuit design controls this behavior.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===Track Circuit for dual wait/release setups.===&lt;br /&gt;
&lt;br /&gt;
The track circuit here is set up to make each arriving minecart wait until the track is empty (and possibly wait until the other side has released and cleared the track, should both carts start waiting at the same time.)&lt;br /&gt;
&lt;br /&gt;
====Track====&lt;br /&gt;
{{diagram|spaces=yes|newlines=yes|\&lt;br /&gt;
  O             O&lt;br /&gt;
  ╥☼O╞═╡O O╞═╡O☼╥&lt;br /&gt;
  ║│ ☼─☼   ☼─☼ │║&lt;br /&gt;
  ╨☼O  │   │  O☼╨&lt;br /&gt;
  O│╥──☼─☼─☼──╥│O&lt;br /&gt;
   │║    │    ║│&lt;br /&gt;
   │║    │    ║│&lt;br /&gt;
   ☼╨──☼─☼☼☼─☼╨☼&lt;br /&gt;
   │O  ☼───☼ │O&lt;br /&gt;
  O╞══╡O╞══╡O╞══╡O&lt;br /&gt;
      ☼ ☼       ☼&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
====Furniture====&lt;br /&gt;
{{diagram|spaces=yes|newlines=yes|\&lt;br /&gt;
  O             O&lt;br /&gt;
  ╤☼O╟^╢O O╟^╢O☼╤&lt;br /&gt;
  ^[#8B4513]│ ☼  ^[#8B4513]─☼   ☼  ^[#8B4513]─☼ [#8B4513]│^&lt;br /&gt;
  ╨☼O    ^[#8B4513]│     ^[#8B4513]│  O☼╨&lt;br /&gt;
  O[#8B4513]│╤[#8B4513]─[#8B4513]─[#0FF]☼[#8B4513]─[#FFF]☼[#8B4513]─[#FF0]☼[#8B4513]─[#8B4513]─╤[#8B4513]│O&lt;br /&gt;
   [#8B4513]│[#0FF]^    [#8B4513]│    [#FF0]^[#8B4513]│&lt;br /&gt;
   [#8B4513]│║    │    ║[#8B4513]│&lt;br /&gt;
   ☼╧[#8B4513]─[#8B4513]─[#F0F]☼[#8B4513]─[#0F0]☼[#00F]☼[#F0F]☼[#8B4513]─☼╧☼&lt;br /&gt;
   [#8B4513]│O  ☼[#8B4513]─[#8B4513]─[#8B4513]─☼ [#8B4513]│O&lt;br /&gt;
  O╟[#F0F]^═╢O╟═[#0F0]^╢O╟[#00F]^═╢O&lt;br /&gt;
      ☼ ☼       ☼&lt;br /&gt;
- bit linkages to inner gear assemblies shown&lt;br /&gt;
- [#FFF]☼ denotes power input&lt;br /&gt;
- Right-hand side [#F0F]☼ should be disengaged.&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
====Minecarts====&lt;br /&gt;
&lt;br /&gt;
{{diagram|spaces=yes|newlines=yes|\&lt;br /&gt;
  O             O&lt;br /&gt;
  ■☼O■^╢O O■^╢O☼■&lt;br /&gt;
  ^│           │^&lt;br /&gt;
  ╧☼O         O☼╧&lt;br /&gt;
  O│╤──☼─☼─☼──╤│O&lt;br /&gt;
   │■    │    ■│&lt;br /&gt;
   │║    │    ║│&lt;br /&gt;
   ☼■──☼─☼☼☼─☼■☼&lt;br /&gt;
   │O  ☼───☼ │O&lt;br /&gt;
  O╟■═■O╟■^■O╟■═■O&lt;br /&gt;
      ☼ ☼       ☼&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==== Input/Output Signals ====&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''Output signals mean an ''on'' signal followed by an ''off'' signal later. Input signals can be disengaged gear assemblies or power applied briefly. (See [[Minecart_logic#Techniques_and_Circuits]])'''&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Output signals: ''releasing&amp;lt;sub&amp;gt;left&amp;lt;/sub&amp;gt;'', ''clear&amp;lt;sub&amp;gt;left&amp;lt;/sub&amp;gt;'', ''clear&amp;lt;sub&amp;gt;right&amp;lt;/sub&amp;gt;'', ''releasing&amp;lt;sub&amp;gt;right''&lt;br /&gt;
{{diagram|spaces=yes|newlines=yes|\&lt;br /&gt;
  O             O&lt;br /&gt;
  ■☼O■[#F0F]^╢O O■[#F0F]^╢O☼■&lt;br /&gt;
  [#F0F]^│           │[#F0F]^&lt;br /&gt;
  ╧☼O         O☼╧&lt;br /&gt;
  O│╤──☼─☼─☼──╤│O&lt;br /&gt;
   │■    │    ■│&lt;br /&gt;
   │║    │    ║│&lt;br /&gt;
   ☼■──☼─☼☼☼─☼■☼&lt;br /&gt;
   │O  ☼───☼ │O&lt;br /&gt;
  O╟■═■O╟■^■O╟■═■O&lt;br /&gt;
      [#F0F]☼ [#F0F]☼     [#F0F]☼&lt;br /&gt;
}}&lt;br /&gt;
Input Signals: ''arriving&amp;lt;sub&amp;gt;left&amp;lt;/sub&amp;gt;'', ''empty'', and ''arriving&amp;lt;sub&amp;gt;right&amp;lt;/sub&amp;gt;''&lt;br /&gt;
&lt;br /&gt;
; ''arriving&amp;lt;sub&amp;gt;left&amp;lt;/sub&amp;gt;''&lt;br /&gt;
: Notifies the circuit that a track is waiting to merge from the left entrance.&lt;br /&gt;
&lt;br /&gt;
; ''arriving&amp;lt;sub&amp;gt;right&amp;lt;/sub&amp;gt;''&lt;br /&gt;
: Notifies the circuit that a track is waiting to merge from the right entrance.&lt;br /&gt;
&lt;br /&gt;
; ''empty''&lt;br /&gt;
: Notifies the circuit that the shared track is no longer in use.&lt;br /&gt;
&lt;br /&gt;
; ''releasing&amp;lt;sub&amp;gt;left&amp;lt;/sub&amp;gt;''&lt;br /&gt;
: Sent when the left entrance gains access to the shared track.&lt;br /&gt;
&lt;br /&gt;
; ''releasing&amp;lt;sub&amp;gt;right&amp;lt;/sub&amp;gt;''&lt;br /&gt;
: Sent when the right entrance gains access to the shared track.&lt;br /&gt;
&lt;br /&gt;
; ''clear&amp;lt;sub&amp;gt;left&amp;lt;/sub&amp;gt;''&lt;br /&gt;
: Sent when the left entrance circuitry has reset and is able to receive another cart.&lt;br /&gt;
&lt;br /&gt;
; ''clear&amp;lt;sub&amp;gt;right&amp;lt;/sub&amp;gt;''&lt;br /&gt;
: Sent when the right entrance circuitry has reset and is able to receive another cart&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
''The basic idea is that an arriving cart sends a signal; this sets the waiting bit. If the waiting bit is set, and the track is not in use, the release signal is sent, and the release bit is set. When the release bit is finished being set, a circuit trips, the release bit is unset, and the clear signal goes out.''&lt;br /&gt;
&lt;br /&gt;
====Hookup====&lt;br /&gt;
&lt;br /&gt;
The track circuit controls access for two entrances onto the shared track. Call one entrance ''left'' and one entrance ''right''. On each side, there should be a roller/mechanism-operated door setup restricting  access to the merge. In front of the roller should be a pressure plate to signal a minecart has &amp;quot;arrived&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
* Link the two arrival pressure plates to ''arriving&amp;lt;sub&amp;gt;left&amp;lt;/sub&amp;gt;'' and ''arriving&amp;lt;sub&amp;gt;right&amp;lt;/sub&amp;gt;'', respectively&lt;br /&gt;
* Link output pressure plates ''releasing&amp;lt;sub&amp;gt;left&amp;lt;/sub&amp;gt;'' and ''releasing&amp;lt;sub&amp;gt;right&amp;lt;/sub&amp;gt;'' to the door part of the roller/door setup.&lt;br /&gt;
* Link some signal to ''empty''. This can either be a pressure plate at the far end of the track, or,&lt;br /&gt;
* If a shared track segment leads into another shared track segment as either the left or right arrival point, use either the ''clear&amp;lt;sub&amp;gt;left&amp;lt;/sub&amp;gt;'' or ''clear&amp;lt;sub&amp;gt;right&amp;lt;/sub&amp;gt;'' output signal to notify the preceding track that it is ''empty''&lt;br /&gt;
&lt;br /&gt;
===Route Circuit===&lt;br /&gt;
&lt;br /&gt;
A route represents a single minecart that travels one way from source to destination. Route circuits have ''n'' bits, where ''n'' is the number of shared track segments the route travels on between its source and destination.&lt;br /&gt;
&lt;br /&gt;
The following diagram is for an example a two-track route circuit. For routes that cover more than two shared tracks, simply add more middle layers.&lt;br /&gt;
{{diagram|spaces=yes|\&lt;br /&gt;
P──☼     &amp;lt;-- Initial release (sets first track bit)&lt;br /&gt;
  O■[#FF0]^■╢O&lt;br /&gt;
     ☼☼&lt;br /&gt;
P─☼[#FF0]☼─☼  &amp;lt;-- Second track release triggers if and only if first track bit is active &lt;br /&gt;
  O■^■╢O&lt;br /&gt;
      │&lt;br /&gt;
P─☼───☼  &amp;lt;-- Reset signal from pressure plate at destination clears last track bit&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
The idea is that the track circuit ''release&amp;lt;sub&amp;gt;dir&amp;lt;/sub&amp;gt;'' signals notify all appropriate routes via linkages. Each route keeps track of where it is, so that ''release'' signals are ignored unless the minecart released is on the route in question. Appropriate bit pressure plates are then linked to gear assemblies controlling rollers. Route bits turn on the rollers that get the minecart to the correct destination!&lt;/div&gt;</summary>
		<author><name>Gnidan</name></author>
	</entry>
	<entry>
		<id>https://dwarffortresswiki.org/index.php?title=User:Gnidan&amp;diff=223055</id>
		<title>User:Gnidan</title>
		<link rel="alternate" type="text/html" href="https://dwarffortresswiki.org/index.php?title=User:Gnidan&amp;diff=223055"/>
		<updated>2016-01-27T16:22:32Z</updated>

		<summary type="html">&lt;p&gt;Gnidan: /* Furniture */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Minecart Routing ==&lt;br /&gt;
&lt;br /&gt;
===Overview===&lt;br /&gt;
&lt;br /&gt;
I've come up with a scheme for getting minecarts to travel from a source to destination automatically using shared track. The scheme ultimately keeps careful control of individual sections of shared track so that only one minecart can be on a single piece of shared track at a given time. Through carefully timed access, a signaling scheme, and stateful record-keeping of how far each minecart is along its way to its destination, I have been able to create a fully automated minecart router.&lt;br /&gt;
&lt;br /&gt;
===Shared Track===&lt;br /&gt;
&lt;br /&gt;
The design for a segment of shared track comprises two inbound tracks, each with a pressure plate, roller, and door, joining into a single outbound track.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
{{diagram|spaces=yes|\&lt;br /&gt;
&lt;br /&gt;
...══[#F0F]^[#FFF]╟+╗ ╔+[#FFF]╢[#F0F]^══...&lt;br /&gt;
        ╔═╝&lt;br /&gt;
        ║&lt;br /&gt;
        ║&lt;br /&gt;
        .&lt;br /&gt;
        .&lt;br /&gt;
        .&lt;br /&gt;
        (to either a pressure plate or another shared track)&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
The pressure plates are used to trigger arrival signals, and the doors should be linked to open when the shared track becomes available for that minecart (release). The following track circuit design controls this behavior.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===Track Circuit for dual wait/release setups.===&lt;br /&gt;
&lt;br /&gt;
The track circuit here is set up to make each arriving minecart wait until the track is empty (and possibly wait until the other side has released and cleared the track, should both carts start waiting at the same time.)&lt;br /&gt;
&lt;br /&gt;
====Track====&lt;br /&gt;
{{diagram|spaces=yes|newlines=yes|\&lt;br /&gt;
  O             O&lt;br /&gt;
  ╥☼O╞═╡O O╞═╡O☼╥&lt;br /&gt;
  ║│ ☼─☼   ☼─☼ │║&lt;br /&gt;
  ╨☼O  │   │  O☼╨&lt;br /&gt;
  O│╥──☼─☼─☼──╥│O&lt;br /&gt;
   │║    │    ║│&lt;br /&gt;
   │║    │    ║│&lt;br /&gt;
   ☼╨──☼─☼☼☼─☼╨☼&lt;br /&gt;
   │O  ☼───☼ │O&lt;br /&gt;
  O╞══╡O╞══╡O╞══╡O&lt;br /&gt;
      ☼ ☼       ☼&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
====Furniture====&lt;br /&gt;
{{diagram|spaces=yes|newlines=yes|\&lt;br /&gt;
  O             O&lt;br /&gt;
  ╤☼O╟^╢O O╟^╢O☼╤&lt;br /&gt;
  ^[#8B4513]│ ☼─☼   ☼─☼ [#8B4513]│^&lt;br /&gt;
  ╨☼O  │   │  O☼╨&lt;br /&gt;
  O[#8B4513]│╤[#8B4513]─[#8B4513]─[#0FF]☼[#8B4513]─[#FFF]☼[#8B4513]─[#FF0]☼[#8B4513]─[#8B4513]─╤[#8B4513]│O&lt;br /&gt;
   [#8B4513]│[#0FF]^    [#8B4513]│    [#FF0]^[#8B4513]│&lt;br /&gt;
   [#8B4513]│║    │    ║[#8B4513]│&lt;br /&gt;
   ☼╧[#8B4513]─[#8B4513]─[#F0F]☼[#8B4513]─[#0F0]☼[#00F]☼[#F0F]☼[#8B4513]─☼╧☼&lt;br /&gt;
   [#8B4513]│O  ☼[#8B4513]─[#8B4513]─[#8B4513]─☼ [#8B4513]│O&lt;br /&gt;
  O╟[#F0F]^═╢O╟═[#0F0]^╢O╟[#00F]^═╢O&lt;br /&gt;
      ☼ ☼       ☼&lt;br /&gt;
- bit linkages to inner gear assemblies shown&lt;br /&gt;
- [#FFF]☼ denotes power input&lt;br /&gt;
- Right-hand side [#F0F]☼ should be disengaged.&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
====Minecarts====&lt;br /&gt;
&lt;br /&gt;
{{diagram|spaces=yes|newlines=yes|\&lt;br /&gt;
  O             O&lt;br /&gt;
  ■☼O■^╢O O■^╢O☼■&lt;br /&gt;
  ^│           │^&lt;br /&gt;
  ╧☼O         O☼╧&lt;br /&gt;
  O│╤──☼─☼─☼──╤│O&lt;br /&gt;
   │■    │    ■│&lt;br /&gt;
   │║    │    ║│&lt;br /&gt;
   ☼■──☼─☼☼☼─☼■☼&lt;br /&gt;
   │O  ☼───☼ │O&lt;br /&gt;
  O╟■═■O╟■^■O╟■═■O&lt;br /&gt;
      ☼ ☼       ☼&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==== Input/Output Signals ====&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''Output signals mean an ''on'' signal followed by an ''off'' signal later. Input signals can be disengaged gear assemblies or power applied briefly. (See [[Minecart_logic#Techniques_and_Circuits]])'''&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Output signals: ''releasing&amp;lt;sub&amp;gt;left&amp;lt;/sub&amp;gt;'', ''clear&amp;lt;sub&amp;gt;left&amp;lt;/sub&amp;gt;'', ''clear&amp;lt;sub&amp;gt;right&amp;lt;/sub&amp;gt;'', ''releasing&amp;lt;sub&amp;gt;right''&lt;br /&gt;
{{diagram|spaces=yes|newlines=yes|\&lt;br /&gt;
  O             O&lt;br /&gt;
  ■☼O■[#F0F]^╢O O■[#F0F]^╢O☼■&lt;br /&gt;
  [#F0F]^│           │[#F0F]^&lt;br /&gt;
  ╧☼O         O☼╧&lt;br /&gt;
  O│╤──☼─☼─☼──╤│O&lt;br /&gt;
   │■    │    ■│&lt;br /&gt;
   │║    │    ║│&lt;br /&gt;
   ☼■──☼─☼☼☼─☼■☼&lt;br /&gt;
   │O  ☼───☼ │O&lt;br /&gt;
  O╟■═■O╟■^■O╟■═■O&lt;br /&gt;
      [#F0F]☼ [#F0F]☼     [#F0F]☼&lt;br /&gt;
}}&lt;br /&gt;
Input Signals: ''arriving&amp;lt;sub&amp;gt;left&amp;lt;/sub&amp;gt;'', ''empty'', and ''arriving&amp;lt;sub&amp;gt;right&amp;lt;/sub&amp;gt;''&lt;br /&gt;
&lt;br /&gt;
; ''arriving&amp;lt;sub&amp;gt;left&amp;lt;/sub&amp;gt;''&lt;br /&gt;
: Notifies the circuit that a track is waiting to merge from the left entrance.&lt;br /&gt;
&lt;br /&gt;
; ''arriving&amp;lt;sub&amp;gt;right&amp;lt;/sub&amp;gt;''&lt;br /&gt;
: Notifies the circuit that a track is waiting to merge from the right entrance.&lt;br /&gt;
&lt;br /&gt;
; ''empty''&lt;br /&gt;
: Notifies the circuit that the shared track is no longer in use.&lt;br /&gt;
&lt;br /&gt;
; ''releasing&amp;lt;sub&amp;gt;left&amp;lt;/sub&amp;gt;''&lt;br /&gt;
: Sent when the left entrance gains access to the shared track.&lt;br /&gt;
&lt;br /&gt;
; ''releasing&amp;lt;sub&amp;gt;right&amp;lt;/sub&amp;gt;''&lt;br /&gt;
: Sent when the right entrance gains access to the shared track.&lt;br /&gt;
&lt;br /&gt;
; ''clear&amp;lt;sub&amp;gt;left&amp;lt;/sub&amp;gt;''&lt;br /&gt;
: Sent when the left entrance circuitry has reset and is able to receive another cart.&lt;br /&gt;
&lt;br /&gt;
; ''clear&amp;lt;sub&amp;gt;right&amp;lt;/sub&amp;gt;''&lt;br /&gt;
: Sent when the right entrance circuitry has reset and is able to receive another cart&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
''The basic idea is that an arriving cart sends a signal; this sets the waiting bit. If the waiting bit is set, and the track is not in use, the release signal is sent, and the release bit is set. When the release bit is finished being set, a circuit trips, the release bit is unset, and the clear signal goes out.''&lt;br /&gt;
&lt;br /&gt;
====Hookup====&lt;br /&gt;
&lt;br /&gt;
The track circuit controls access for two entrances onto the shared track. Call one entrance ''left'' and one entrance ''right''. On each side, there should be a roller/mechanism-operated door setup restricting  access to the merge. In front of the roller should be a pressure plate to signal a minecart has &amp;quot;arrived&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
* Link the two arrival pressure plates to ''arriving&amp;lt;sub&amp;gt;left&amp;lt;/sub&amp;gt;'' and ''arriving&amp;lt;sub&amp;gt;right&amp;lt;/sub&amp;gt;'', respectively&lt;br /&gt;
* Link output pressure plates ''releasing&amp;lt;sub&amp;gt;left&amp;lt;/sub&amp;gt;'' and ''releasing&amp;lt;sub&amp;gt;right&amp;lt;/sub&amp;gt;'' to the door part of the roller/door setup.&lt;br /&gt;
* Link some signal to ''empty''. This can either be a pressure plate at the far end of the track, or,&lt;br /&gt;
* If a shared track segment leads into another shared track segment as either the left or right arrival point, use either the ''clear&amp;lt;sub&amp;gt;left&amp;lt;/sub&amp;gt;'' or ''clear&amp;lt;sub&amp;gt;right&amp;lt;/sub&amp;gt;'' output signal to notify the preceding track that it is ''empty''&lt;br /&gt;
&lt;br /&gt;
===Route Circuit===&lt;br /&gt;
&lt;br /&gt;
A route represents a single minecart that travels one way from source to destination. Route circuits have ''n'' bits, where ''n'' is the number of shared track segments the route travels on between its source and destination.&lt;br /&gt;
&lt;br /&gt;
The following diagram is for an example a two-track route circuit. For routes that cover more than two shared tracks, simply add more middle layers.&lt;br /&gt;
{{diagram|spaces=yes|\&lt;br /&gt;
P──☼     &amp;lt;-- Initial release (sets first track bit)&lt;br /&gt;
  O■[#FF0]^■╢O&lt;br /&gt;
     ☼☼&lt;br /&gt;
P─☼[#FF0]☼─☼  &amp;lt;-- Second track release triggers if and only if first track bit is active &lt;br /&gt;
  O■^■╢O&lt;br /&gt;
      │&lt;br /&gt;
P─☼───☼  &amp;lt;-- Reset signal from pressure plate at destination clears last track bit&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
The idea is that the track circuit ''release&amp;lt;sub&amp;gt;dir&amp;lt;/sub&amp;gt;'' signals notify all appropriate routes via linkages. Each route keeps track of where it is, so that ''release'' signals are ignored unless the minecart released is on the route in question. Appropriate bit pressure plates are then linked to gear assemblies controlling rollers. Route bits turn on the rollers that get the minecart to the correct destination!&lt;/div&gt;</summary>
		<author><name>Gnidan</name></author>
	</entry>
	<entry>
		<id>https://dwarffortresswiki.org/index.php?title=User:Gnidan&amp;diff=223054</id>
		<title>User:Gnidan</title>
		<link rel="alternate" type="text/html" href="https://dwarffortresswiki.org/index.php?title=User:Gnidan&amp;diff=223054"/>
		<updated>2016-01-27T16:21:17Z</updated>

		<summary type="html">&lt;p&gt;Gnidan: /* Track */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Minecart Routing ==&lt;br /&gt;
&lt;br /&gt;
===Overview===&lt;br /&gt;
&lt;br /&gt;
I've come up with a scheme for getting minecarts to travel from a source to destination automatically using shared track. The scheme ultimately keeps careful control of individual sections of shared track so that only one minecart can be on a single piece of shared track at a given time. Through carefully timed access, a signaling scheme, and stateful record-keeping of how far each minecart is along its way to its destination, I have been able to create a fully automated minecart router.&lt;br /&gt;
&lt;br /&gt;
===Shared Track===&lt;br /&gt;
&lt;br /&gt;
The design for a segment of shared track comprises two inbound tracks, each with a pressure plate, roller, and door, joining into a single outbound track.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
{{diagram|spaces=yes|\&lt;br /&gt;
&lt;br /&gt;
...══[#F0F]^[#FFF]╟+╗ ╔+[#FFF]╢[#F0F]^══...&lt;br /&gt;
        ╔═╝&lt;br /&gt;
        ║&lt;br /&gt;
        ║&lt;br /&gt;
        .&lt;br /&gt;
        .&lt;br /&gt;
        .&lt;br /&gt;
        (to either a pressure plate or another shared track)&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
The pressure plates are used to trigger arrival signals, and the doors should be linked to open when the shared track becomes available for that minecart (release). The following track circuit design controls this behavior.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===Track Circuit for dual wait/release setups.===&lt;br /&gt;
&lt;br /&gt;
The track circuit here is set up to make each arriving minecart wait until the track is empty (and possibly wait until the other side has released and cleared the track, should both carts start waiting at the same time.)&lt;br /&gt;
&lt;br /&gt;
====Track====&lt;br /&gt;
{{diagram|spaces=yes|newlines=yes|\&lt;br /&gt;
  O             O&lt;br /&gt;
  ╥☼O╞═╡O O╞═╡O☼╥&lt;br /&gt;
  ║│ ☼─☼   ☼─☼ │║&lt;br /&gt;
  ╨☼O  │   │  O☼╨&lt;br /&gt;
  O│╥──☼─☼─☼──╥│O&lt;br /&gt;
   │║    │    ║│&lt;br /&gt;
   │║    │    ║│&lt;br /&gt;
   ☼╨──☼─☼☼☼─☼╨☼&lt;br /&gt;
   │O  ☼───☼ │O&lt;br /&gt;
  O╞══╡O╞══╡O╞══╡O&lt;br /&gt;
      ☼ ☼       ☼&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
====Furniture====&lt;br /&gt;
{{diagram|spaces=yes|newlines=yes|\&lt;br /&gt;
  O             O&lt;br /&gt;
  ╤☼O╟^╢O O╟^╢O☼╤&lt;br /&gt;
  ^[#8B4513]│           [#8B4513]│^&lt;br /&gt;
  ╧☼O         O☼╧&lt;br /&gt;
  O[#8B4513]│╤[#8B4513]─[#8B4513]─[#0FF]☼[#8B4513]─[#FFF]☼[#8B4513]─[#FF0]☼[#8B4513]─[#8B4513]─╤[#8B4513]│O&lt;br /&gt;
   [#8B4513]│[#0FF]^    [#8B4513]│    [#FF0]^[#8B4513]│&lt;br /&gt;
   [#8B4513]│║    │    ║[#8B4513]│&lt;br /&gt;
   ☼╧[#8B4513]─[#8B4513]─[#F0F]☼[#8B4513]─[#0F0]☼[#00F]☼[#F0F]☼[#8B4513]─☼╧☼&lt;br /&gt;
   [#8B4513]│O  ☼[#8B4513]─[#8B4513]─[#8B4513]─☼ [#8B4513]│O&lt;br /&gt;
  O╟[#F0F]^═╢O╟═[#0F0]^╢O╟[#00F]^═╢O&lt;br /&gt;
      ☼ ☼       ☼&lt;br /&gt;
- bit linkages to inner gear assemblies shown&lt;br /&gt;
- [#FFF]☼ denotes power input&lt;br /&gt;
- Right-hand side [#F0F]☼ should be disengaged.&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
====Minecarts====&lt;br /&gt;
&lt;br /&gt;
{{diagram|spaces=yes|newlines=yes|\&lt;br /&gt;
  O             O&lt;br /&gt;
  ■☼O■^╢O O■^╢O☼■&lt;br /&gt;
  ^│           │^&lt;br /&gt;
  ╧☼O         O☼╧&lt;br /&gt;
  O│╤──☼─☼─☼──╤│O&lt;br /&gt;
   │■    │    ■│&lt;br /&gt;
   │║    │    ║│&lt;br /&gt;
   ☼■──☼─☼☼☼─☼■☼&lt;br /&gt;
   │O  ☼───☼ │O&lt;br /&gt;
  O╟■═■O╟■^■O╟■═■O&lt;br /&gt;
      ☼ ☼       ☼&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==== Input/Output Signals ====&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''Output signals mean an ''on'' signal followed by an ''off'' signal later. Input signals can be disengaged gear assemblies or power applied briefly. (See [[Minecart_logic#Techniques_and_Circuits]])'''&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Output signals: ''releasing&amp;lt;sub&amp;gt;left&amp;lt;/sub&amp;gt;'', ''clear&amp;lt;sub&amp;gt;left&amp;lt;/sub&amp;gt;'', ''clear&amp;lt;sub&amp;gt;right&amp;lt;/sub&amp;gt;'', ''releasing&amp;lt;sub&amp;gt;right''&lt;br /&gt;
{{diagram|spaces=yes|newlines=yes|\&lt;br /&gt;
  O             O&lt;br /&gt;
  ■☼O■[#F0F]^╢O O■[#F0F]^╢O☼■&lt;br /&gt;
  [#F0F]^│           │[#F0F]^&lt;br /&gt;
  ╧☼O         O☼╧&lt;br /&gt;
  O│╤──☼─☼─☼──╤│O&lt;br /&gt;
   │■    │    ■│&lt;br /&gt;
   │║    │    ║│&lt;br /&gt;
   ☼■──☼─☼☼☼─☼■☼&lt;br /&gt;
   │O  ☼───☼ │O&lt;br /&gt;
  O╟■═■O╟■^■O╟■═■O&lt;br /&gt;
      [#F0F]☼ [#F0F]☼     [#F0F]☼&lt;br /&gt;
}}&lt;br /&gt;
Input Signals: ''arriving&amp;lt;sub&amp;gt;left&amp;lt;/sub&amp;gt;'', ''empty'', and ''arriving&amp;lt;sub&amp;gt;right&amp;lt;/sub&amp;gt;''&lt;br /&gt;
&lt;br /&gt;
; ''arriving&amp;lt;sub&amp;gt;left&amp;lt;/sub&amp;gt;''&lt;br /&gt;
: Notifies the circuit that a track is waiting to merge from the left entrance.&lt;br /&gt;
&lt;br /&gt;
; ''arriving&amp;lt;sub&amp;gt;right&amp;lt;/sub&amp;gt;''&lt;br /&gt;
: Notifies the circuit that a track is waiting to merge from the right entrance.&lt;br /&gt;
&lt;br /&gt;
; ''empty''&lt;br /&gt;
: Notifies the circuit that the shared track is no longer in use.&lt;br /&gt;
&lt;br /&gt;
; ''releasing&amp;lt;sub&amp;gt;left&amp;lt;/sub&amp;gt;''&lt;br /&gt;
: Sent when the left entrance gains access to the shared track.&lt;br /&gt;
&lt;br /&gt;
; ''releasing&amp;lt;sub&amp;gt;right&amp;lt;/sub&amp;gt;''&lt;br /&gt;
: Sent when the right entrance gains access to the shared track.&lt;br /&gt;
&lt;br /&gt;
; ''clear&amp;lt;sub&amp;gt;left&amp;lt;/sub&amp;gt;''&lt;br /&gt;
: Sent when the left entrance circuitry has reset and is able to receive another cart.&lt;br /&gt;
&lt;br /&gt;
; ''clear&amp;lt;sub&amp;gt;right&amp;lt;/sub&amp;gt;''&lt;br /&gt;
: Sent when the right entrance circuitry has reset and is able to receive another cart&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
''The basic idea is that an arriving cart sends a signal; this sets the waiting bit. If the waiting bit is set, and the track is not in use, the release signal is sent, and the release bit is set. When the release bit is finished being set, a circuit trips, the release bit is unset, and the clear signal goes out.''&lt;br /&gt;
&lt;br /&gt;
====Hookup====&lt;br /&gt;
&lt;br /&gt;
The track circuit controls access for two entrances onto the shared track. Call one entrance ''left'' and one entrance ''right''. On each side, there should be a roller/mechanism-operated door setup restricting  access to the merge. In front of the roller should be a pressure plate to signal a minecart has &amp;quot;arrived&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
* Link the two arrival pressure plates to ''arriving&amp;lt;sub&amp;gt;left&amp;lt;/sub&amp;gt;'' and ''arriving&amp;lt;sub&amp;gt;right&amp;lt;/sub&amp;gt;'', respectively&lt;br /&gt;
* Link output pressure plates ''releasing&amp;lt;sub&amp;gt;left&amp;lt;/sub&amp;gt;'' and ''releasing&amp;lt;sub&amp;gt;right&amp;lt;/sub&amp;gt;'' to the door part of the roller/door setup.&lt;br /&gt;
* Link some signal to ''empty''. This can either be a pressure plate at the far end of the track, or,&lt;br /&gt;
* If a shared track segment leads into another shared track segment as either the left or right arrival point, use either the ''clear&amp;lt;sub&amp;gt;left&amp;lt;/sub&amp;gt;'' or ''clear&amp;lt;sub&amp;gt;right&amp;lt;/sub&amp;gt;'' output signal to notify the preceding track that it is ''empty''&lt;br /&gt;
&lt;br /&gt;
===Route Circuit===&lt;br /&gt;
&lt;br /&gt;
A route represents a single minecart that travels one way from source to destination. Route circuits have ''n'' bits, where ''n'' is the number of shared track segments the route travels on between its source and destination.&lt;br /&gt;
&lt;br /&gt;
The following diagram is for an example a two-track route circuit. For routes that cover more than two shared tracks, simply add more middle layers.&lt;br /&gt;
{{diagram|spaces=yes|\&lt;br /&gt;
P──☼     &amp;lt;-- Initial release (sets first track bit)&lt;br /&gt;
  O■[#FF0]^■╢O&lt;br /&gt;
     ☼☼&lt;br /&gt;
P─☼[#FF0]☼─☼  &amp;lt;-- Second track release triggers if and only if first track bit is active &lt;br /&gt;
  O■^■╢O&lt;br /&gt;
      │&lt;br /&gt;
P─☼───☼  &amp;lt;-- Reset signal from pressure plate at destination clears last track bit&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
The idea is that the track circuit ''release&amp;lt;sub&amp;gt;dir&amp;lt;/sub&amp;gt;'' signals notify all appropriate routes via linkages. Each route keeps track of where it is, so that ''release'' signals are ignored unless the minecart released is on the route in question. Appropriate bit pressure plates are then linked to gear assemblies controlling rollers. Route bits turn on the rollers that get the minecart to the correct destination!&lt;/div&gt;</summary>
		<author><name>Gnidan</name></author>
	</entry>
	<entry>
		<id>https://dwarffortresswiki.org/index.php?title=User:Gnidan&amp;diff=223036</id>
		<title>User:Gnidan</title>
		<link rel="alternate" type="text/html" href="https://dwarffortresswiki.org/index.php?title=User:Gnidan&amp;diff=223036"/>
		<updated>2016-01-27T08:51:02Z</updated>

		<summary type="html">&lt;p&gt;Gnidan: /* Route Circuit */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Minecart Routing ==&lt;br /&gt;
&lt;br /&gt;
===Overview===&lt;br /&gt;
&lt;br /&gt;
I've come up with a scheme for getting minecarts to travel from a source to destination automatically using shared track. The scheme ultimately keeps careful control of individual sections of shared track so that only one minecart can be on a single piece of shared track at a given time. Through carefully timed access, a signaling scheme, and stateful record-keeping of how far each minecart is along its way to its destination, I have been able to create a fully automated minecart router.&lt;br /&gt;
&lt;br /&gt;
===Shared Track===&lt;br /&gt;
&lt;br /&gt;
The design for a segment of shared track comprises two inbound tracks, each with a pressure plate, roller, and door, joining into a single outbound track.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
{{diagram|spaces=yes|\&lt;br /&gt;
&lt;br /&gt;
...══[#F0F]^[#FFF]╟+╗ ╔+[#FFF]╢[#F0F]^══...&lt;br /&gt;
        ╔═╝&lt;br /&gt;
        ║&lt;br /&gt;
        ║&lt;br /&gt;
        .&lt;br /&gt;
        .&lt;br /&gt;
        .&lt;br /&gt;
        (to either a pressure plate or another shared track)&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
The pressure plates are used to trigger arrival signals, and the doors should be linked to open when the shared track becomes available for that minecart (release). The following track circuit design controls this behavior.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===Track Circuit for dual wait/release setups.===&lt;br /&gt;
&lt;br /&gt;
The track circuit here is set up to make each arriving minecart wait until the track is empty (and possibly wait until the other side has released and cleared the track, should both carts start waiting at the same time.)&lt;br /&gt;
&lt;br /&gt;
====Track====&lt;br /&gt;
{{diagram|spaces=yes|newlines=yes|\&lt;br /&gt;
  O             O&lt;br /&gt;
  ╥☼O╞═╡O O╞═╡O☼╥&lt;br /&gt;
  ║│           │║&lt;br /&gt;
  ╨☼O         O☼╨&lt;br /&gt;
  O│╥──☼─☼─☼──╥│O&lt;br /&gt;
   │║    │    ║│&lt;br /&gt;
   │║    │    ║│&lt;br /&gt;
   ☼╨──☼─☼☼☼─☼╨☼&lt;br /&gt;
   │O  ☼───☼ │O&lt;br /&gt;
  O╞══╡O╞══╡O╞══╡O&lt;br /&gt;
      ☼ ☼       ☼&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
====Furniture====&lt;br /&gt;
{{diagram|spaces=yes|newlines=yes|\&lt;br /&gt;
  O             O&lt;br /&gt;
  ╤☼O╟^╢O O╟^╢O☼╤&lt;br /&gt;
  ^[#8B4513]│           [#8B4513]│^&lt;br /&gt;
  ╧☼O         O☼╧&lt;br /&gt;
  O[#8B4513]│╤[#8B4513]─[#8B4513]─[#0FF]☼[#8B4513]─[#FFF]☼[#8B4513]─[#FF0]☼[#8B4513]─[#8B4513]─╤[#8B4513]│O&lt;br /&gt;
   [#8B4513]│[#0FF]^    [#8B4513]│    [#FF0]^[#8B4513]│&lt;br /&gt;
   [#8B4513]│║    │    ║[#8B4513]│&lt;br /&gt;
   ☼╧[#8B4513]─[#8B4513]─[#F0F]☼[#8B4513]─[#0F0]☼[#00F]☼[#F0F]☼[#8B4513]─☼╧☼&lt;br /&gt;
   [#8B4513]│O  ☼[#8B4513]─[#8B4513]─[#8B4513]─☼ [#8B4513]│O&lt;br /&gt;
  O╟[#F0F]^═╢O╟═[#0F0]^╢O╟[#00F]^═╢O&lt;br /&gt;
      ☼ ☼       ☼&lt;br /&gt;
- bit linkages to inner gear assemblies shown&lt;br /&gt;
- [#FFF]☼ denotes power input&lt;br /&gt;
- Right-hand side [#F0F]☼ should be disengaged.&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
====Minecarts====&lt;br /&gt;
&lt;br /&gt;
{{diagram|spaces=yes|newlines=yes|\&lt;br /&gt;
  O             O&lt;br /&gt;
  ■☼O■^╢O O■^╢O☼■&lt;br /&gt;
  ^│           │^&lt;br /&gt;
  ╧☼O         O☼╧&lt;br /&gt;
  O│╤──☼─☼─☼──╤│O&lt;br /&gt;
   │■    │    ■│&lt;br /&gt;
   │║    │    ║│&lt;br /&gt;
   ☼■──☼─☼☼☼─☼■☼&lt;br /&gt;
   │O  ☼───☼ │O&lt;br /&gt;
  O╟■═■O╟■^■O╟■═■O&lt;br /&gt;
      ☼ ☼       ☼&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==== Input/Output Signals ====&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''Output signals mean an ''on'' signal followed by an ''off'' signal later. Input signals can be disengaged gear assemblies or power applied briefly. (See [[Minecart_logic#Techniques_and_Circuits]])'''&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Output signals: ''releasing&amp;lt;sub&amp;gt;left&amp;lt;/sub&amp;gt;'', ''clear&amp;lt;sub&amp;gt;left&amp;lt;/sub&amp;gt;'', ''clear&amp;lt;sub&amp;gt;right&amp;lt;/sub&amp;gt;'', ''releasing&amp;lt;sub&amp;gt;right''&lt;br /&gt;
{{diagram|spaces=yes|newlines=yes|\&lt;br /&gt;
  O             O&lt;br /&gt;
  ■☼O■[#F0F]^╢O O■[#F0F]^╢O☼■&lt;br /&gt;
  [#F0F]^│           │[#F0F]^&lt;br /&gt;
  ╧☼O         O☼╧&lt;br /&gt;
  O│╤──☼─☼─☼──╤│O&lt;br /&gt;
   │■    │    ■│&lt;br /&gt;
   │║    │    ║│&lt;br /&gt;
   ☼■──☼─☼☼☼─☼■☼&lt;br /&gt;
   │O  ☼───☼ │O&lt;br /&gt;
  O╟■═■O╟■^■O╟■═■O&lt;br /&gt;
      [#F0F]☼ [#F0F]☼     [#F0F]☼&lt;br /&gt;
}}&lt;br /&gt;
Input Signals: ''arriving&amp;lt;sub&amp;gt;left&amp;lt;/sub&amp;gt;'', ''empty'', and ''arriving&amp;lt;sub&amp;gt;right&amp;lt;/sub&amp;gt;''&lt;br /&gt;
&lt;br /&gt;
; ''arriving&amp;lt;sub&amp;gt;left&amp;lt;/sub&amp;gt;''&lt;br /&gt;
: Notifies the circuit that a track is waiting to merge from the left entrance.&lt;br /&gt;
&lt;br /&gt;
; ''arriving&amp;lt;sub&amp;gt;right&amp;lt;/sub&amp;gt;''&lt;br /&gt;
: Notifies the circuit that a track is waiting to merge from the right entrance.&lt;br /&gt;
&lt;br /&gt;
; ''empty''&lt;br /&gt;
: Notifies the circuit that the shared track is no longer in use.&lt;br /&gt;
&lt;br /&gt;
; ''releasing&amp;lt;sub&amp;gt;left&amp;lt;/sub&amp;gt;''&lt;br /&gt;
: Sent when the left entrance gains access to the shared track.&lt;br /&gt;
&lt;br /&gt;
; ''releasing&amp;lt;sub&amp;gt;right&amp;lt;/sub&amp;gt;''&lt;br /&gt;
: Sent when the right entrance gains access to the shared track.&lt;br /&gt;
&lt;br /&gt;
; ''clear&amp;lt;sub&amp;gt;left&amp;lt;/sub&amp;gt;''&lt;br /&gt;
: Sent when the left entrance circuitry has reset and is able to receive another cart.&lt;br /&gt;
&lt;br /&gt;
; ''clear&amp;lt;sub&amp;gt;right&amp;lt;/sub&amp;gt;''&lt;br /&gt;
: Sent when the right entrance circuitry has reset and is able to receive another cart&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
''The basic idea is that an arriving cart sends a signal; this sets the waiting bit. If the waiting bit is set, and the track is not in use, the release signal is sent, and the release bit is set. When the release bit is finished being set, a circuit trips, the release bit is unset, and the clear signal goes out.''&lt;br /&gt;
&lt;br /&gt;
====Hookup====&lt;br /&gt;
&lt;br /&gt;
The track circuit controls access for two entrances onto the shared track. Call one entrance ''left'' and one entrance ''right''. On each side, there should be a roller/mechanism-operated door setup restricting  access to the merge. In front of the roller should be a pressure plate to signal a minecart has &amp;quot;arrived&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
* Link the two arrival pressure plates to ''arriving&amp;lt;sub&amp;gt;left&amp;lt;/sub&amp;gt;'' and ''arriving&amp;lt;sub&amp;gt;right&amp;lt;/sub&amp;gt;'', respectively&lt;br /&gt;
* Link output pressure plates ''releasing&amp;lt;sub&amp;gt;left&amp;lt;/sub&amp;gt;'' and ''releasing&amp;lt;sub&amp;gt;right&amp;lt;/sub&amp;gt;'' to the door part of the roller/door setup.&lt;br /&gt;
* Link some signal to ''empty''. This can either be a pressure plate at the far end of the track, or,&lt;br /&gt;
* If a shared track segment leads into another shared track segment as either the left or right arrival point, use either the ''clear&amp;lt;sub&amp;gt;left&amp;lt;/sub&amp;gt;'' or ''clear&amp;lt;sub&amp;gt;right&amp;lt;/sub&amp;gt;'' output signal to notify the preceding track that it is ''empty''&lt;br /&gt;
&lt;br /&gt;
===Route Circuit===&lt;br /&gt;
&lt;br /&gt;
A route represents a single minecart that travels one way from source to destination. Route circuits have ''n'' bits, where ''n'' is the number of shared track segments the route travels on between its source and destination.&lt;br /&gt;
&lt;br /&gt;
The following diagram is for an example a two-track route circuit. For routes that cover more than two shared tracks, simply add more middle layers.&lt;br /&gt;
{{diagram|spaces=yes|\&lt;br /&gt;
P──☼     &amp;lt;-- Initial release (sets first track bit)&lt;br /&gt;
  O■[#FF0]^■╢O&lt;br /&gt;
     ☼☼&lt;br /&gt;
P─☼[#FF0]☼─☼  &amp;lt;-- Second track release triggers if and only if first track bit is active &lt;br /&gt;
  O■^■╢O&lt;br /&gt;
      │&lt;br /&gt;
P─☼───☼  &amp;lt;-- Reset signal from pressure plate at destination clears last track bit&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
The idea is that the track circuit ''release&amp;lt;sub&amp;gt;dir&amp;lt;/sub&amp;gt;'' signals notify all appropriate routes via linkages. Each route keeps track of where it is, so that ''release'' signals are ignored unless the minecart released is on the route in question. Appropriate bit pressure plates are then linked to gear assemblies controlling rollers. Route bits turn on the rollers that get the minecart to the correct destination!&lt;/div&gt;</summary>
		<author><name>Gnidan</name></author>
	</entry>
	<entry>
		<id>https://dwarffortresswiki.org/index.php?title=User:Gnidan&amp;diff=223030</id>
		<title>User:Gnidan</title>
		<link rel="alternate" type="text/html" href="https://dwarffortresswiki.org/index.php?title=User:Gnidan&amp;diff=223030"/>
		<updated>2016-01-27T08:22:45Z</updated>

		<summary type="html">&lt;p&gt;Gnidan: /* Minecart Routing */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Minecart Routing ==&lt;br /&gt;
&lt;br /&gt;
===Overview===&lt;br /&gt;
&lt;br /&gt;
I've come up with a scheme for getting minecarts to travel from a source to destination automatically using shared track. The scheme ultimately keeps careful control of individual sections of shared track so that only one minecart can be on a single piece of shared track at a given time. Through carefully timed access, a signaling scheme, and stateful record-keeping of how far each minecart is along its way to its destination, I have been able to create a fully automated minecart router.&lt;br /&gt;
&lt;br /&gt;
===Shared Track===&lt;br /&gt;
&lt;br /&gt;
The design for a segment of shared track comprises two inbound tracks, each with a pressure plate, roller, and door, joining into a single outbound track.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
{{diagram|spaces=yes|\&lt;br /&gt;
&lt;br /&gt;
...══[#F0F]^[#FFF]╟+╗ ╔+[#FFF]╢[#F0F]^══...&lt;br /&gt;
        ╔═╝&lt;br /&gt;
        ║&lt;br /&gt;
        ║&lt;br /&gt;
        .&lt;br /&gt;
        .&lt;br /&gt;
        .&lt;br /&gt;
        (to either a pressure plate or another shared track)&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
The pressure plates are used to trigger arrival signals, and the doors should be linked to open when the shared track becomes available for that minecart (release). The following track circuit design controls this behavior.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===Track Circuit for dual wait/release setups.===&lt;br /&gt;
&lt;br /&gt;
The track circuit here is set up to make each arriving minecart wait until the track is empty (and possibly wait until the other side has released and cleared the track, should both carts start waiting at the same time.)&lt;br /&gt;
&lt;br /&gt;
====Track====&lt;br /&gt;
{{diagram|spaces=yes|newlines=yes|\&lt;br /&gt;
  O             O&lt;br /&gt;
  ╥☼O╞═╡O O╞═╡O☼╥&lt;br /&gt;
  ║│           │║&lt;br /&gt;
  ╨☼O         O☼╨&lt;br /&gt;
  O│╥──☼─☼─☼──╥│O&lt;br /&gt;
   │║    │    ║│&lt;br /&gt;
   │║    │    ║│&lt;br /&gt;
   ☼╨──☼─☼☼☼─☼╨☼&lt;br /&gt;
   │O  ☼───☼ │O&lt;br /&gt;
  O╞══╡O╞══╡O╞══╡O&lt;br /&gt;
      ☼ ☼       ☼&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
====Furniture====&lt;br /&gt;
{{diagram|spaces=yes|newlines=yes|\&lt;br /&gt;
  O             O&lt;br /&gt;
  ╤☼O╟^╢O O╟^╢O☼╤&lt;br /&gt;
  ^[#8B4513]│           [#8B4513]│^&lt;br /&gt;
  ╧☼O         O☼╧&lt;br /&gt;
  O[#8B4513]│╤[#8B4513]─[#8B4513]─[#0FF]☼[#8B4513]─[#FFF]☼[#8B4513]─[#FF0]☼[#8B4513]─[#8B4513]─╤[#8B4513]│O&lt;br /&gt;
   [#8B4513]│[#0FF]^    [#8B4513]│    [#FF0]^[#8B4513]│&lt;br /&gt;
   [#8B4513]│║    │    ║[#8B4513]│&lt;br /&gt;
   ☼╧[#8B4513]─[#8B4513]─[#F0F]☼[#8B4513]─[#0F0]☼[#00F]☼[#F0F]☼[#8B4513]─☼╧☼&lt;br /&gt;
   [#8B4513]│O  ☼[#8B4513]─[#8B4513]─[#8B4513]─☼ [#8B4513]│O&lt;br /&gt;
  O╟[#F0F]^═╢O╟═[#0F0]^╢O╟[#00F]^═╢O&lt;br /&gt;
      ☼ ☼       ☼&lt;br /&gt;
- bit linkages to inner gear assemblies shown&lt;br /&gt;
- [#FFF]☼ denotes power input&lt;br /&gt;
- Right-hand side [#F0F]☼ should be disengaged.&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
====Minecarts====&lt;br /&gt;
&lt;br /&gt;
{{diagram|spaces=yes|newlines=yes|\&lt;br /&gt;
  O             O&lt;br /&gt;
  ■☼O■^╢O O■^╢O☼■&lt;br /&gt;
  ^│           │^&lt;br /&gt;
  ╧☼O         O☼╧&lt;br /&gt;
  O│╤──☼─☼─☼──╤│O&lt;br /&gt;
   │■    │    ■│&lt;br /&gt;
   │║    │    ║│&lt;br /&gt;
   ☼■──☼─☼☼☼─☼■☼&lt;br /&gt;
   │O  ☼───☼ │O&lt;br /&gt;
  O╟■═■O╟■^■O╟■═■O&lt;br /&gt;
      ☼ ☼       ☼&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==== Input/Output Signals ====&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''Output signals mean an ''on'' signal followed by an ''off'' signal later. Input signals can be disengaged gear assemblies or power applied briefly. (See [[Minecart_logic#Techniques_and_Circuits]])'''&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Output signals: ''releasing&amp;lt;sub&amp;gt;left&amp;lt;/sub&amp;gt;'', ''clear&amp;lt;sub&amp;gt;left&amp;lt;/sub&amp;gt;'', ''clear&amp;lt;sub&amp;gt;right&amp;lt;/sub&amp;gt;'', ''releasing&amp;lt;sub&amp;gt;right''&lt;br /&gt;
{{diagram|spaces=yes|newlines=yes|\&lt;br /&gt;
  O             O&lt;br /&gt;
  ■☼O■[#F0F]^╢O O■[#F0F]^╢O☼■&lt;br /&gt;
  [#F0F]^│           │[#F0F]^&lt;br /&gt;
  ╧☼O         O☼╧&lt;br /&gt;
  O│╤──☼─☼─☼──╤│O&lt;br /&gt;
   │■    │    ■│&lt;br /&gt;
   │║    │    ║│&lt;br /&gt;
   ☼■──☼─☼☼☼─☼■☼&lt;br /&gt;
   │O  ☼───☼ │O&lt;br /&gt;
  O╟■═■O╟■^■O╟■═■O&lt;br /&gt;
      [#F0F]☼ [#F0F]☼     [#F0F]☼&lt;br /&gt;
}}&lt;br /&gt;
Input Signals: ''arriving&amp;lt;sub&amp;gt;left&amp;lt;/sub&amp;gt;'', ''empty'', and ''arriving&amp;lt;sub&amp;gt;right&amp;lt;/sub&amp;gt;''&lt;br /&gt;
&lt;br /&gt;
; ''arriving&amp;lt;sub&amp;gt;left&amp;lt;/sub&amp;gt;''&lt;br /&gt;
: Notifies the circuit that a track is waiting to merge from the left entrance.&lt;br /&gt;
&lt;br /&gt;
; ''arriving&amp;lt;sub&amp;gt;right&amp;lt;/sub&amp;gt;''&lt;br /&gt;
: Notifies the circuit that a track is waiting to merge from the right entrance.&lt;br /&gt;
&lt;br /&gt;
; ''empty''&lt;br /&gt;
: Notifies the circuit that the shared track is no longer in use.&lt;br /&gt;
&lt;br /&gt;
; ''releasing&amp;lt;sub&amp;gt;left&amp;lt;/sub&amp;gt;''&lt;br /&gt;
: Sent when the left entrance gains access to the shared track.&lt;br /&gt;
&lt;br /&gt;
; ''releasing&amp;lt;sub&amp;gt;right&amp;lt;/sub&amp;gt;''&lt;br /&gt;
: Sent when the right entrance gains access to the shared track.&lt;br /&gt;
&lt;br /&gt;
; ''clear&amp;lt;sub&amp;gt;left&amp;lt;/sub&amp;gt;''&lt;br /&gt;
: Sent when the left entrance circuitry has reset and is able to receive another cart.&lt;br /&gt;
&lt;br /&gt;
; ''clear&amp;lt;sub&amp;gt;right&amp;lt;/sub&amp;gt;''&lt;br /&gt;
: Sent when the right entrance circuitry has reset and is able to receive another cart&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
''The basic idea is that an arriving cart sends a signal; this sets the waiting bit. If the waiting bit is set, and the track is not in use, the release signal is sent, and the release bit is set. When the release bit is finished being set, a circuit trips, the release bit is unset, and the clear signal goes out.''&lt;br /&gt;
&lt;br /&gt;
====Hookup====&lt;br /&gt;
&lt;br /&gt;
The track circuit controls access for two entrances onto the shared track. Call one entrance ''left'' and one entrance ''right''. On each side, there should be a roller/mechanism-operated door setup restricting  access to the merge. In front of the roller should be a pressure plate to signal a minecart has &amp;quot;arrived&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
* Link the two arrival pressure plates to ''arriving&amp;lt;sub&amp;gt;left&amp;lt;/sub&amp;gt;'' and ''arriving&amp;lt;sub&amp;gt;right&amp;lt;/sub&amp;gt;'', respectively&lt;br /&gt;
* Link output pressure plates ''releasing&amp;lt;sub&amp;gt;left&amp;lt;/sub&amp;gt;'' and ''releasing&amp;lt;sub&amp;gt;right&amp;lt;/sub&amp;gt;'' to the door part of the roller/door setup.&lt;br /&gt;
* Link some signal to ''empty''. This can either be a pressure plate at the far end of the track, or,&lt;br /&gt;
* If a shared track segment leads into another shared track segment as either the left or right arrival point, use either the ''clear&amp;lt;sub&amp;gt;left&amp;lt;/sub&amp;gt;'' or ''clear&amp;lt;sub&amp;gt;right&amp;lt;/sub&amp;gt;'' output signal to notify the preceding track that it is ''empty''&lt;br /&gt;
&lt;br /&gt;
===Route Circuit===&lt;br /&gt;
&lt;br /&gt;
A route represents a single minecart that travels one way from source to destination. Route circuits have ''n'' bits, where ''n'' is the number of shared track segments the route travels on between its source and destination.&lt;br /&gt;
&lt;br /&gt;
The following diagrams are for an example a two-track route circuit. For routes that cover more than two shared tracks, simply add more middle layers.&lt;br /&gt;
{{diagram|spaces=yes|\&lt;br /&gt;
P──☼     &amp;lt;-- Initial release (sets first track bit)&lt;br /&gt;
  O■[#FF0]^■╢O&lt;br /&gt;
     ☼☼&lt;br /&gt;
P─☼[#FF0]☼─☼  &amp;lt;-- Second track release triggers if and only if first track bit is active &lt;br /&gt;
  O■^■╢O&lt;br /&gt;
      │&lt;br /&gt;
P─☼───☼  &amp;lt;-- Reset signal from pressure plate at destination clears last track bit&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
The idea is that the track circuit ''release&amp;lt;sub&amp;gt;dir&amp;lt;/sub&amp;gt;'' signals notify all appropriate routes via linkages. Each route keeps track of where it is, so that ''release'' signals are ignored unless the minecart released is on the route in question. Appropriate bit pressure plates are then linked to gear assemblies controlling rollers. Route bits turn on the rollers that get the minecart to the correct destination!&lt;/div&gt;</summary>
		<author><name>Gnidan</name></author>
	</entry>
	<entry>
		<id>https://dwarffortresswiki.org/index.php?title=User:Gnidan&amp;diff=223027</id>
		<title>User:Gnidan</title>
		<link rel="alternate" type="text/html" href="https://dwarffortresswiki.org/index.php?title=User:Gnidan&amp;diff=223027"/>
		<updated>2016-01-27T03:57:43Z</updated>

		<summary type="html">&lt;p&gt;Gnidan: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Minecart Routing ==&lt;br /&gt;
&lt;br /&gt;
===Track Circuit for dual wait/release setups.===&lt;br /&gt;
&lt;br /&gt;
====Track====&lt;br /&gt;
{{diagram|spaces=yes|newlines=yes|\&lt;br /&gt;
  O             O&lt;br /&gt;
  ╥☼O╞═╡O O╞═╡O☼╥&lt;br /&gt;
  ║│           │║&lt;br /&gt;
  ╨☼O         O☼╨&lt;br /&gt;
  O│╥──☼─☼─☼──╥│O&lt;br /&gt;
   │║    │    ║│&lt;br /&gt;
   │║    │    ║│&lt;br /&gt;
   ☼╨──☼─☼☼☼─☼╨☼&lt;br /&gt;
   │O  ☼───☼ │O&lt;br /&gt;
  O╞══╡O╞══╡O╞══╡O&lt;br /&gt;
      ☼ ☼       ☼&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
====Furniture====&lt;br /&gt;
{{diagram|spaces=yes|newlines=yes|\&lt;br /&gt;
  O             O&lt;br /&gt;
  ╤☼O╟^╢O O╟^╢O☼╤&lt;br /&gt;
  ^[#8B4513]│           [#8B4513]│^&lt;br /&gt;
  ╧☼O         O☼╧&lt;br /&gt;
  O[#8B4513]│╤[#8B4513]─[#8B4513]─[#0FF]☼[#8B4513]─[#FFF]☼[#8B4513]─[#FF0]☼[#8B4513]─[#8B4513]─╤[#8B4513]│O&lt;br /&gt;
   [#8B4513]│[#0FF]^    [#8B4513]│    [#FF0]^[#8B4513]│&lt;br /&gt;
   [#8B4513]│║    │    ║[#8B4513]│&lt;br /&gt;
   ☼╧[#8B4513]─[#8B4513]─[#F0F]☼[#8B4513]─[#0F0]☼[#00F]☼[#F0F]☼[#8B4513]─☼╧☼&lt;br /&gt;
   [#8B4513]│O  ☼[#8B4513]─[#8B4513]─[#8B4513]─☼ [#8B4513]│O&lt;br /&gt;
  O╟[#F0F]^═╢O╟═[#0F0]^╢O╟[#00F]^═╢O&lt;br /&gt;
      ☼ ☼       ☼&lt;br /&gt;
- bit linkages to inner gear assemblies shown&lt;br /&gt;
- [#FFF]☼ denotes power input&lt;br /&gt;
- Right-hand side [#F0F]☼ should be disengaged.&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
====Minecarts====&lt;br /&gt;
&lt;br /&gt;
{{diagram|spaces=yes|newlines=yes|\&lt;br /&gt;
  O             O&lt;br /&gt;
  ■☼O■^╢O O■^╢O☼■&lt;br /&gt;
  ^│           │^&lt;br /&gt;
  ╧☼O         O☼╧&lt;br /&gt;
  O│╤──☼─☼─☼──╤│O&lt;br /&gt;
   │■    │    ■│&lt;br /&gt;
   │║    │    ║│&lt;br /&gt;
   ☼■──☼─☼☼☼─☼■☼&lt;br /&gt;
   │O  ☼───☼ │O&lt;br /&gt;
  O╟■═■O╟■^■O╟■═■O&lt;br /&gt;
      ☼ ☼       ☼&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==== Input/Output Signals ====&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''Output signals mean an ''on'' signal followed by an ''off'' signal later. Input signals can be disengaged gear assemblies or power applied briefly. (See [[Minecart_logic#Techniques_and_Circuits]])'''&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Output signals: ''releasing&amp;lt;sub&amp;gt;left&amp;lt;/sub&amp;gt;'', ''clear&amp;lt;sub&amp;gt;left&amp;lt;/sub&amp;gt;'', ''clear&amp;lt;sub&amp;gt;right&amp;lt;/sub&amp;gt;'', ''releasing&amp;lt;sub&amp;gt;right''&lt;br /&gt;
{{diagram|spaces=yes|newlines=yes|\&lt;br /&gt;
  O             O&lt;br /&gt;
  ■☼O■[#F0F]^╢O O■[#F0F]^╢O☼■&lt;br /&gt;
  [#F0F]^│           │[#F0F]^&lt;br /&gt;
  ╧☼O         O☼╧&lt;br /&gt;
  O│╤──☼─☼─☼──╤│O&lt;br /&gt;
   │■    │    ■│&lt;br /&gt;
   │║    │    ║│&lt;br /&gt;
   ☼■──☼─☼☼☼─☼■☼&lt;br /&gt;
   │O  ☼───☼ │O&lt;br /&gt;
  O╟■═■O╟■^■O╟■═■O&lt;br /&gt;
      [#F0F]☼ [#F0F]☼     [#F0F]☼&lt;br /&gt;
}}&lt;br /&gt;
Input Signals: ''arriving&amp;lt;sub&amp;gt;left&amp;lt;/sub&amp;gt;'', ''empty'', and ''arriving&amp;lt;sub&amp;gt;right&amp;lt;/sub&amp;gt;''&lt;br /&gt;
&lt;br /&gt;
; ''arriving&amp;lt;sub&amp;gt;left&amp;lt;/sub&amp;gt;''&lt;br /&gt;
: Notifies the circuit that a track is waiting to merge from the left entrance.&lt;br /&gt;
&lt;br /&gt;
; ''arriving&amp;lt;sub&amp;gt;right&amp;lt;/sub&amp;gt;''&lt;br /&gt;
: Notifies the circuit that a track is waiting to merge from the right entrance.&lt;br /&gt;
&lt;br /&gt;
; ''empty''&lt;br /&gt;
: Notifies the circuit that the shared track is no longer in use.&lt;br /&gt;
&lt;br /&gt;
; ''releasing&amp;lt;sub&amp;gt;left&amp;lt;/sub&amp;gt;''&lt;br /&gt;
: Sent when the left entrance gains access to the shared track.&lt;br /&gt;
&lt;br /&gt;
; ''releasing&amp;lt;sub&amp;gt;right&amp;lt;/sub&amp;gt;''&lt;br /&gt;
: Sent when the right entrance gains access to the shared track.&lt;br /&gt;
&lt;br /&gt;
; ''clear&amp;lt;sub&amp;gt;left&amp;lt;/sub&amp;gt;''&lt;br /&gt;
: Sent when the left entrance circuitry has reset and is able to receive another cart.&lt;br /&gt;
&lt;br /&gt;
; ''clear&amp;lt;sub&amp;gt;right&amp;lt;/sub&amp;gt;''&lt;br /&gt;
: Sent when the right entrance circuitry has reset and is able to receive another cart&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
====Hookup====&lt;br /&gt;
&lt;br /&gt;
The track circuit controls access for two entrances onto the shared track. Call one entrance ''left'' and one entrance ''right''. On each side, there should be a roller/mechanism-operated door setup restricting  access to the merge. In front of the roller should be a pressure plate to signal a minecart has &amp;quot;arrived&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
* Link the two arrival pressure plates to ''arriving&amp;lt;sub&amp;gt;left&amp;lt;/sub&amp;gt;'' and ''arriving&amp;lt;sub&amp;gt;right&amp;lt;/sub&amp;gt;'', respectively&lt;br /&gt;
* Link output pressure plates ''releasing&amp;lt;sub&amp;gt;left&amp;lt;/sub&amp;gt;'' and ''releasing&amp;lt;sub&amp;gt;right&amp;lt;/sub&amp;gt;'' to the door part of the roller/door setup.&lt;br /&gt;
* Link some signal to ''empty''. This can either be a pressure plate at the far end of the track, or,&lt;br /&gt;
* If a shared track segment leads into another shared track segment as either the left or right arrival point, use either the ''clear&amp;lt;sub&amp;gt;left&amp;lt;/sub&amp;gt;'' or ''clear&amp;lt;sub&amp;gt;right&amp;lt;/sub&amp;gt;'' output signal to notify the preceding track that it is ''empty''&lt;/div&gt;</summary>
		<author><name>Gnidan</name></author>
	</entry>
	<entry>
		<id>https://dwarffortresswiki.org/index.php?title=User:Gnidan&amp;diff=223026</id>
		<title>User:Gnidan</title>
		<link rel="alternate" type="text/html" href="https://dwarffortresswiki.org/index.php?title=User:Gnidan&amp;diff=223026"/>
		<updated>2016-01-27T03:54:17Z</updated>

		<summary type="html">&lt;p&gt;Gnidan: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Minecart Routing ==&lt;br /&gt;
&lt;br /&gt;
===Track Circuit for dual wait/release setups.===&lt;br /&gt;
&lt;br /&gt;
====Track====&lt;br /&gt;
{{diagram|spaces=yes|newlines=yes|\&lt;br /&gt;
  O             O&lt;br /&gt;
  ╥☼O╞═╡O O╞═╡O☼╥&lt;br /&gt;
  ║│           │║&lt;br /&gt;
  ╨☼O         O☼╨&lt;br /&gt;
  O│╥──☼─☼─☼──╥│O&lt;br /&gt;
   │║    │    ║│&lt;br /&gt;
   │║    │    ║│&lt;br /&gt;
   ☼╨──☼─☼☼☼─☼╨☼&lt;br /&gt;
   │O  ☼───☼ │O&lt;br /&gt;
  O╞══╡O╞══╡O╞══╡O&lt;br /&gt;
      ☼ ☼       ☼&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
====Furniture====&lt;br /&gt;
{{diagram|spaces=yes|newlines=yes|\&lt;br /&gt;
  O             O&lt;br /&gt;
  ╤☼O╟^╢O O╟^╢O☼╤&lt;br /&gt;
  ^[#8B4513]│           [#8B4513]│^&lt;br /&gt;
  ╧☼O         O☼╧&lt;br /&gt;
  O[#8B4513]│╤[#8B4513]─[#8B4513]─[#0FF]☼[#8B4513]─[#FFF]☼[#8B4513]─[#FF0]☼[#8B4513]─[#8B4513]─╤[#8B4513]│O&lt;br /&gt;
   [#8B4513]│[#0FF]^    [#8B4513]│    [#FF0]^[#8B4513]│&lt;br /&gt;
   [#8B4513]│║    │    ║[#8B4513]│&lt;br /&gt;
   ☼╧[#8B4513]─[#8B4513]─[#F0F]☼[#8B4513]─[#0F0]☼[#00F]☼[#F0F]☼[#8B4513]─☼╧☼&lt;br /&gt;
   [#8B4513]│O  ☼[#8B4513]─[#8B4513]─[#8B4513]─☼ [#8B4513]│O&lt;br /&gt;
  O╟[#F0F]^═╢O╟═[#0F0]^╢O╟[#00F]^═╢O&lt;br /&gt;
      ☼ ☼       ☼&lt;br /&gt;
- bit linkages to inner gear assemblies shown&lt;br /&gt;
- [#FFF]☼ denotes power input&lt;br /&gt;
- Right-hand side [#F0F]☼ should be disengaged.&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
====Minecarts====&lt;br /&gt;
&lt;br /&gt;
{{diagram|spaces=yes|newlines=yes|\&lt;br /&gt;
  O             O&lt;br /&gt;
  ■☼O■^╢O O■^╢O☼■&lt;br /&gt;
  ^│           │^&lt;br /&gt;
  ╧☼O         O☼╧&lt;br /&gt;
  O│╤──☼─☼─☼──╤│O&lt;br /&gt;
   │■    │    ■│&lt;br /&gt;
   │║    │    ║│&lt;br /&gt;
   ☼■──☼─☼☼☼─☼■☼&lt;br /&gt;
   │O  ☼───☼ │O&lt;br /&gt;
  O╟■═■O╟■^■O╟■═■O&lt;br /&gt;
      ☼ ☼       ☼&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==== Input/Output Signals ====&lt;br /&gt;
&lt;br /&gt;
Output signals: ''releasing&amp;lt;sub&amp;gt;left&amp;lt;/sub&amp;gt;'', ''clear&amp;lt;sub&amp;gt;left&amp;lt;/sub&amp;gt;'', ''clear&amp;lt;sub&amp;gt;right&amp;lt;/sub&amp;gt;'', ''releasing&amp;lt;sub&amp;gt;right''&lt;br /&gt;
{{diagram|spaces=yes|newlines=yes|\&lt;br /&gt;
  O             O&lt;br /&gt;
  ■☼O■[#F0F]^╢O O■[#F0F]^╢O☼■&lt;br /&gt;
  [#F0F]^│           │[#F0F]^&lt;br /&gt;
  ╧☼O         O☼╧&lt;br /&gt;
  O│╤──☼─☼─☼──╤│O&lt;br /&gt;
   │■    │    ■│&lt;br /&gt;
   │║    │    ║│&lt;br /&gt;
   ☼■──☼─☼☼☼─☼■☼&lt;br /&gt;
   │O  ☼───☼ │O&lt;br /&gt;
  O╟■═■O╟■^■O╟■═■O&lt;br /&gt;
      [#F0F]☼ [#F0F]☼     [#F0F]☼&lt;br /&gt;
}}&lt;br /&gt;
Input Signals: ''arriving&amp;lt;sub&amp;gt;left&amp;lt;/sub&amp;gt;'', ''empty'', and ''arriving&amp;lt;sub&amp;gt;right&amp;lt;/sub&amp;gt;''&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''Output signals mean an ''on'' signal followed by an ''off'' signal later. Input signals can be disengaged gear assemblies or power applied briefly. (See [[Minecart_logic#Techniques_and_Circuits]]'''&lt;br /&gt;
&amp;lt;dl&amp;gt;&lt;br /&gt;
  &amp;lt;dt&amp;gt;''arriving&amp;lt;sub&amp;gt;left&amp;lt;/sub&amp;gt;''&lt;br /&gt;
   &amp;lt;dd&amp;gt;Notifies the circuit that a track is waiting to merge from the left entrance.&lt;br /&gt;
&lt;br /&gt;
  &amp;lt;dt&amp;gt;''arriving&amp;lt;sub&amp;gt;right&amp;lt;/sub&amp;gt;''&lt;br /&gt;
   &amp;lt;dd&amp;gt;Notifies the circuit that a track is waiting to merge from the right entrance.&lt;br /&gt;
&lt;br /&gt;
  &amp;lt;dt&amp;gt;''empty''&lt;br /&gt;
   &amp;lt;dd&amp;gt;Notifies the circuit that the shared track is no longer in use.&lt;br /&gt;
&lt;br /&gt;
  &amp;lt;dt&amp;gt;''releasing&amp;lt;sub&amp;gt;left&amp;lt;/sub&amp;gt;''&lt;br /&gt;
   &amp;lt;dd&amp;gt;Sent when the left entrance gains access to the shared track.&lt;br /&gt;
&lt;br /&gt;
  &amp;lt;dt&amp;gt;''releasing&amp;lt;sub&amp;gt;right&amp;lt;/sub&amp;gt;''&lt;br /&gt;
   &amp;lt;dd&amp;gt;Sent when the right entrance gains access to the shared track.&lt;br /&gt;
&lt;br /&gt;
  &amp;lt;dt&amp;gt;''clear&amp;lt;sub&amp;gt;left&amp;lt;/sub&amp;gt;''&lt;br /&gt;
   &amp;lt;dd&amp;gt;Sent when the left entrance circuitry has reset and is able to receive another cart.&lt;br /&gt;
&lt;br /&gt;
  &amp;lt;dt&amp;gt;''clear&amp;lt;sub&amp;gt;right&amp;lt;/sub&amp;gt;''&lt;br /&gt;
   &amp;lt;dd&amp;gt;Sent when the right entrance circuitry has reset and is able to receive another cart&lt;br /&gt;
 &lt;br /&gt;
&amp;lt;/dl&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
====Hookup====&lt;br /&gt;
&lt;br /&gt;
The track circuit controls access for two entrances onto the shared track. Call one entrance ''left'' and one entrance ''right''. On each side, there should be a roller/mechanism-operated door setup restricting  access to the merge. In front of the roller should be a pressure plate to signal a minecart has &amp;quot;arrived&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
* Link the two arrival pressure plates to ''arriving&amp;lt;sub&amp;gt;left&amp;lt;/sub&amp;gt;'' and ''arriving&amp;lt;sub&amp;gt;right&amp;lt;/sub&amp;gt;'', respectively&lt;br /&gt;
* Link output pressure plates ''releasing&amp;lt;sub&amp;gt;left&amp;lt;/sub&amp;gt;'' and ''releasing&amp;lt;sub&amp;gt;right&amp;lt;/sub&amp;gt;'' to the door part of the roller/door setup.&lt;br /&gt;
* Link some signal to ''empty''. This can either be a pressure plate at the far end of the track, or,&lt;br /&gt;
* If a shared track segment leads into another shared track segment as either the left or right arrival point, use either the ''clear&amp;lt;sub&amp;gt;left&amp;lt;/sub&amp;gt;'' or ''clear&amp;lt;sub&amp;gt;right&amp;lt;/sub&amp;gt;'' output signal to notify the preceding track that it is ''empty''&lt;/div&gt;</summary>
		<author><name>Gnidan</name></author>
	</entry>
	<entry>
		<id>https://dwarffortresswiki.org/index.php?title=User:Gnidan&amp;diff=223025</id>
		<title>User:Gnidan</title>
		<link rel="alternate" type="text/html" href="https://dwarffortresswiki.org/index.php?title=User:Gnidan&amp;diff=223025"/>
		<updated>2016-01-27T03:50:13Z</updated>

		<summary type="html">&lt;p&gt;Gnidan: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;br /&gt;
== Minecart Routing ==&lt;br /&gt;
&lt;br /&gt;
===Track Circuit for dual wait/release setups.===&lt;br /&gt;
&lt;br /&gt;
====Track====&lt;br /&gt;
{{diagram|spaces=yes|newlines=yes|\&lt;br /&gt;
  O             O&lt;br /&gt;
  ╥☼O╞═╡O O╞═╡O☼╥&lt;br /&gt;
  ║│           │║&lt;br /&gt;
  ╨☼O         O☼╨&lt;br /&gt;
  O│╥──☼─☼─☼──╥│O&lt;br /&gt;
   │║    │    ║│&lt;br /&gt;
   │║    │    ║│&lt;br /&gt;
   ☼╨──☼─☼☼☼─☼╨☼&lt;br /&gt;
   │O  ☼───☼ │O&lt;br /&gt;
  O╞══╡O╞══╡O╞══╡O&lt;br /&gt;
      ☼ ☼       ☼&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
====Furniture====&lt;br /&gt;
{{diagram|spaces=yes|newlines=yes|\&lt;br /&gt;
  O             O&lt;br /&gt;
  ╤☼O╟^╢O O╟^╢O☼╤&lt;br /&gt;
  ^[#8B4513]│           [#8B4513]│^&lt;br /&gt;
  ╧☼O         O☼╧&lt;br /&gt;
  O[#8B4513]│╤[#8B4513]─[#8B4513]─[#0FF]☼[#8B4513]─[#FFF]☼[#8B4513]─[#FF0]☼[#8B4513]─[#8B4513]─╤[#8B4513]│O&lt;br /&gt;
   [#8B4513]│[#0FF]^    [#8B4513]│    [#FF0]^[#8B4513]│&lt;br /&gt;
   [#8B4513]│║    │    ║[#8B4513]│&lt;br /&gt;
   ☼╧[#8B4513]─[#8B4513]─[#F0F]☼[#8B4513]─[#0F0]☼[#00F]☼[#F0F]☼[#8B4513]─☼╧☼&lt;br /&gt;
   [#8B4513]│O  ☼[#8B4513]─[#8B4513]─[#8B4513]─☼ [#8B4513]│O&lt;br /&gt;
  O╟[#F0F]^═╢O╟═[#0F0]^╢O╟[#00F]^═╢O&lt;br /&gt;
      ☼ ☼       ☼&lt;br /&gt;
- bit linkages to inner gear assemblies shown&lt;br /&gt;
- [#FFF]☼ denotes power input&lt;br /&gt;
- Right-hand side [#F0F]☼ should be disengaged.&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
====Minecarts====&lt;br /&gt;
&lt;br /&gt;
{{diagram|spaces=yes|newlines=yes|\&lt;br /&gt;
  O             O&lt;br /&gt;
  ■☼O■^╢O O■^╢O☼■&lt;br /&gt;
  ^│           │^&lt;br /&gt;
  ╧☼O         O☼╧&lt;br /&gt;
  O│╤──☼─☼─☼──╤│O&lt;br /&gt;
   │■    │    ■│&lt;br /&gt;
   │║    │    ║│&lt;br /&gt;
   ☼■──☼─☼☼☼─☼■☼&lt;br /&gt;
   │O  ☼───☼ │O&lt;br /&gt;
  O╟■═■O╟■^■O╟■═■O&lt;br /&gt;
      ☼ ☼       ☼&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==== Input/Output Signals ====&lt;br /&gt;
&lt;br /&gt;
Output signals: ''releasing&amp;lt;sub&amp;gt;left&amp;lt;/sub&amp;gt;'', ''clear&amp;lt;sub&amp;gt;left&amp;lt;/sub&amp;gt;'', ''clear&amp;lt;sub&amp;gt;right&amp;lt;/sub&amp;gt;'', ''releasing&amp;lt;sub&amp;gt;right''&lt;br /&gt;
{{diagram|spaces=yes|newlines=yes|\&lt;br /&gt;
  O             O&lt;br /&gt;
  ■☼O■[#F0F]^╢O O■[#F0F]^╢O☼■&lt;br /&gt;
  [#F0F]^│           │[#F0F]^&lt;br /&gt;
  ╧☼O         O☼╧&lt;br /&gt;
  O│╤──☼─☼─☼──╤│O&lt;br /&gt;
   │■    │    ■│&lt;br /&gt;
   │║    │    ║│&lt;br /&gt;
   ☼■──☼─☼☼☼─☼■☼&lt;br /&gt;
   │O  ☼───☼ │O&lt;br /&gt;
  O╟■═■O╟■^■O╟■═■O&lt;br /&gt;
      [#F0F]☼ [#F0F]☼     [#F0F]☼&lt;br /&gt;
}}&lt;br /&gt;
Input Signals: ''arriving&amp;lt;sub&amp;gt;left&amp;lt;/sub&amp;gt;'', ''empty'', and ''arriving&amp;lt;sub&amp;gt;right&amp;lt;/sub&amp;gt;''&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''Signals in all cases mean an ''on'' signal followed by an ''off'' signal later.'''&lt;br /&gt;
&amp;lt;dl&amp;gt;&lt;br /&gt;
  &amp;lt;dt&amp;gt;''arriving&amp;lt;sub&amp;gt;left&amp;lt;/sub&amp;gt;''&lt;br /&gt;
   &amp;lt;dd&amp;gt;Notifies the circuit that a track is waiting to merge from the left entrance.&lt;br /&gt;
&lt;br /&gt;
  &amp;lt;dt&amp;gt;''empty''&lt;br /&gt;
   &amp;lt;dd&amp;gt;Notifies the circuit that the shared track is no longer in use.&lt;br /&gt;
&lt;br /&gt;
  &amp;lt;dt&amp;gt;''arriving&amp;lt;sub&amp;gt;right&amp;lt;/sub&amp;gt;''&lt;br /&gt;
   &amp;lt;dd&amp;gt;Notifies the circuit that a track is waiting to merge from the right entrance.&lt;br /&gt;
&lt;br /&gt;
  &amp;lt;dt&amp;gt;''releasing&amp;lt;sub&amp;gt;left&amp;lt;/sub&amp;gt;''&lt;br /&gt;
   &amp;lt;dd&amp;gt;Sent when the left entrance gains access to the shared track.&lt;br /&gt;
&lt;br /&gt;
  &amp;lt;dt&amp;gt;''releasing&amp;lt;sub&amp;gt;right&amp;lt;/sub&amp;gt;''&lt;br /&gt;
   &amp;lt;dd&amp;gt;Sent when the right entrance gains access to the shared track.&lt;br /&gt;
&lt;br /&gt;
  &amp;lt;dt&amp;gt;''clear&amp;lt;sub&amp;gt;left&amp;lt;/sub&amp;gt;''&lt;br /&gt;
   &amp;lt;dd&amp;gt;Sent when the left entrance circuitry has reset and is able to receive another cart.&lt;br /&gt;
&lt;br /&gt;
  &amp;lt;dt&amp;gt;''clear&amp;lt;sub&amp;gt;right&amp;lt;/sub&amp;gt;''&lt;br /&gt;
   &amp;lt;dd&amp;gt;Sent when the right entrance circuitry has reset and is able to receive another cart&lt;br /&gt;
 &lt;br /&gt;
&amp;lt;/dl&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
====Hookup====&lt;br /&gt;
&lt;br /&gt;
The track circuit controls access for two entrances onto the shared track. Call one entrance ''left'' and one entrance ''right''. On each side, there should be a roller/mechanism-operated door setup restricting  access to the merge. In front of the roller should be a pressure plate to signal a minecart has &amp;quot;arrived&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
* Link the two arrival pressure plates to ''arriving&amp;lt;sub&amp;gt;left&amp;lt;/sub&amp;gt;'' and ''arriving&amp;lt;sub&amp;gt;right&amp;lt;/sub&amp;gt;'', respectively&lt;br /&gt;
* Link output pressure plates ''releasing&amp;lt;sub&amp;gt;left&amp;lt;/sub&amp;gt;'' and ''releasing&amp;lt;sub&amp;gt;right&amp;lt;/sub&amp;gt;'' to the door part of the roller/door setup.&lt;br /&gt;
* Link some signal to ''empty''. This can either be a pressure plate at the far end of the track, or,&lt;br /&gt;
* If a shared track segment leads into another shared track segment as either the left or right arrival point, use either the ''clear&amp;lt;sub&amp;gt;left&amp;lt;/sub&amp;gt;'' or ''clear&amp;lt;sub&amp;gt;right&amp;lt;/sub&amp;gt;'' output signal to notify the preceding track that it is ''empty''&lt;/div&gt;</summary>
		<author><name>Gnidan</name></author>
	</entry>
	<entry>
		<id>https://dwarffortresswiki.org/index.php?title=User:Gnidan&amp;diff=223021</id>
		<title>User:Gnidan</title>
		<link rel="alternate" type="text/html" href="https://dwarffortresswiki.org/index.php?title=User:Gnidan&amp;diff=223021"/>
		<updated>2016-01-27T03:29:05Z</updated>

		<summary type="html">&lt;p&gt;Gnidan: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;br /&gt;
== Minecart Routing ==&lt;br /&gt;
&lt;br /&gt;
===Track Circuit for dual wait/release setups.===&lt;br /&gt;
&lt;br /&gt;
====Track====&lt;br /&gt;
{{diagram|spaces=yes|newlines=yes|\&lt;br /&gt;
  O             O&lt;br /&gt;
  ╥☼O╞═╡O O╞═╡O☼╥&lt;br /&gt;
  ║│           │║&lt;br /&gt;
  ╨☼O         O☼╨&lt;br /&gt;
  O│╥──☼─☼─☼──╥│O&lt;br /&gt;
   │║    │    ║│&lt;br /&gt;
   │║    │    ║│&lt;br /&gt;
   ☼╨──☼─☼☼☼─☼╨☼&lt;br /&gt;
   │O  ☼───☼ │O&lt;br /&gt;
  O╞══╡O╞══╡O╞══╡O&lt;br /&gt;
      ☼ ☼       ☼&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
====Furniture====&lt;br /&gt;
{{diagram|spaces=yes|newlines=yes|\&lt;br /&gt;
  O             O&lt;br /&gt;
  ╤☼O╟^╢O O╟^╢O☼╤&lt;br /&gt;
  ^[#8B4513]│           [#8B4513]│^&lt;br /&gt;
  ╧☼O         O☼╧&lt;br /&gt;
  O[#8B4513]│╤[#8B4513]─[#8B4513]─[#0FF]☼[#8B4513]─[#FFF]☼[#8B4513]─[#FF0]☼[#8B4513]─[#8B4513]─╤[#8B4513]│O&lt;br /&gt;
   [#8B4513]│[#0FF]^    [#8B4513]│    [#FF0]^[#8B4513]│&lt;br /&gt;
   [#8B4513]│║    │    ║[#8B4513]│&lt;br /&gt;
   ☼╧[#8B4513]─[#8B4513]─[#F0F]☼[#8B4513]─[#0F0]☼[#00F]☼[#F0F]☼[#8B4513]─☼╧☼&lt;br /&gt;
   [#8B4513]│O  ☼[#8B4513]─[#8B4513]─[#8B4513]─☼ [#8B4513]│O&lt;br /&gt;
  O╟[#F0F]^═╢O╟═[#0F0]^╢O╟[#00F]^═╢O&lt;br /&gt;
      ☼ ☼       ☼&lt;br /&gt;
- bit linkages to inner gear assemblies shown&lt;br /&gt;
- [#FFF]☼ denotes power input&lt;br /&gt;
- Right-hand side [#F0F]☼ should be disengaged.&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
====Minecarts====&lt;br /&gt;
&lt;br /&gt;
{{diagram|spaces=yes|newlines=yes|\&lt;br /&gt;
  O             O&lt;br /&gt;
  ■☼O■^╢O O■^╢O☼■&lt;br /&gt;
  ^│           │^&lt;br /&gt;
  ╧☼O         O☼╧&lt;br /&gt;
  O│╤──☼─☼─☼──╤│O&lt;br /&gt;
   │■    │    ■│&lt;br /&gt;
   │║    │    ║│&lt;br /&gt;
   ☼■──☼─☼☼☼─☼■☼&lt;br /&gt;
   │O  ☼───☼ │O&lt;br /&gt;
  O╟■═■O╟■^■O╟■═■O&lt;br /&gt;
      ☼ ☼       ☼&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==== Input/Output Signals ====&lt;br /&gt;
&lt;br /&gt;
Output signals: ''release&amp;lt;sub&amp;gt;left&amp;lt;/sub&amp;gt;'', ''clear&amp;lt;sub&amp;gt;left&amp;lt;/sub&amp;gt;'', ''clear&amp;lt;sub&amp;gt;right&amp;lt;/sub&amp;gt;'', ''release&amp;lt;sub&amp;gt;right''&lt;br /&gt;
{{diagram|spaces=yes|newlines=yes|\&lt;br /&gt;
  O             O&lt;br /&gt;
  ■☼O■[#F0F]^╢O O■[#F0F]^╢O☼■&lt;br /&gt;
  [#F0F]^│           │[#F0F]^&lt;br /&gt;
  ╧☼O         O☼╧&lt;br /&gt;
  O│╤──☼─☼─☼──╤│O&lt;br /&gt;
   │■    │    ■│&lt;br /&gt;
   │║    │    ║│&lt;br /&gt;
   ☼■──☼─☼☼☼─☼■☼&lt;br /&gt;
   │O  ☼───☼ │O&lt;br /&gt;
  O╟■═■O╟■^■O╟■═■O&lt;br /&gt;
      [#F0F]☼ [#F0F]☼     [#F0F]☼&lt;br /&gt;
}}&lt;br /&gt;
Input Signals: ''arriving&amp;lt;sub&amp;gt;left&amp;lt;/sub&amp;gt;'', ''clear'', and ''arriving&amp;lt;sub&amp;gt;right&amp;lt;/sub&amp;gt;''&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
====Hookup====&lt;br /&gt;
&lt;br /&gt;
The track circuit controls access for two entrances onto the shared track. Call one entrance ''left'' and one entrance ''right''. On each side, there should be a roller/mechanism-operated door setup restricting  access to the merge. In front of the roller should be a pressure plate to signal a minecart has &amp;quot;arrived&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
- Link the two arrival pressure plates to ''arriving&amp;lt;sub&amp;gt;left&amp;lt;/sub&amp;gt;'' and ''arriving&amp;lt;sub&amp;gt;right&amp;lt;/sub&amp;gt;'', respectively&lt;br /&gt;
- Link output pressure plates ''release&amp;lt;sub&amp;gt;left&amp;lt;/sub&amp;gt;'' and ''release&amp;lt;sub&amp;gt;right&amp;lt;/sub&amp;gt;'' to the door part of the roller/door setup.&lt;br /&gt;
- Link some signal to ''clear''. This can either be a pressure plate at the far end of the track, or,&lt;br /&gt;
- If a shared track segment leads into another shared track segment as either the left or right arrival point, use either the ''clear&amp;lt;sub&amp;gt;left&amp;lt;/sub&amp;gt;'' or ''clear&amp;lt;sub&amp;gt;right&amp;lt;/sub&amp;gt;'' output signal to notify the preceding track that it is ''clear''&lt;/div&gt;</summary>
		<author><name>Gnidan</name></author>
	</entry>
	<entry>
		<id>https://dwarffortresswiki.org/index.php?title=User:Gnidan&amp;diff=223019</id>
		<title>User:Gnidan</title>
		<link rel="alternate" type="text/html" href="https://dwarffortresswiki.org/index.php?title=User:Gnidan&amp;diff=223019"/>
		<updated>2016-01-27T03:03:17Z</updated>

		<summary type="html">&lt;p&gt;Gnidan: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;br /&gt;
== Minecart Routing ==&lt;br /&gt;
&lt;br /&gt;
Track Circuit for dual wait/release setups.&lt;br /&gt;
{{diagram|spaces=yes|\&lt;br /&gt;
  O             O&lt;br /&gt;
  ╥☼O╞═╡O O╞═╡O☼╥&lt;br /&gt;
  ║│           │║&lt;br /&gt;
  ╨☼O         O☼╨&lt;br /&gt;
  O│╥──☼─☼─☼──╥│O&lt;br /&gt;
   │║    │    ║│&lt;br /&gt;
   │║    │    ║│&lt;br /&gt;
   ☼╨──☼─☼☼☼─☼╨☼&lt;br /&gt;
   │O  ☼───☼ │O&lt;br /&gt;
  O╞══╡O╞══╡O╞══╡O&lt;br /&gt;
      ☼ ☼       ☼&lt;br /&gt;
track&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
  O             O&lt;br /&gt;
  ╤☼O╞^╡O O╞^╡O☼╤&lt;br /&gt;
  ^│           │^&lt;br /&gt;
  ╧☼O         O☼╧&lt;br /&gt;
  O│╤──[#0FF]☼─[#FFF]☼─[#FF0]☼──╤│O&lt;br /&gt;
   │[#0FF]^    │    [#FF0]^│&lt;br /&gt;
   │║    │    ║│&lt;br /&gt;
   ☼╧──[#F0F]☼─[#0F0]☼[#00F]☼[#F0F]☼─☼╧☼&lt;br /&gt;
   │O  ☼───☼ │O&lt;br /&gt;
  O╟[#F0F]^═╢O╟═[#0F0]^╢O╟[#00F]^═╢O&lt;br /&gt;
      ☼ ☼       ☼&lt;br /&gt;
furniture (bit linkages to inner gear assemblies shown, [#FFF]☼ denotes power input; right-hand side [#F0F]☼ should be disengaged.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
  O             O&lt;br /&gt;
  ■☼O■^╡O O■^╡O☼■&lt;br /&gt;
  ^│           │^&lt;br /&gt;
  ╧☼O         O☼╧&lt;br /&gt;
  O│╤──☼─☼─☼──╤│O&lt;br /&gt;
   │■    │    ■│&lt;br /&gt;
   │║    │    ║│&lt;br /&gt;
   ☼■──☼─☼☼☼─☼■☼&lt;br /&gt;
   │O  ☼───☼ │O&lt;br /&gt;
  O╟■═■O╟■^■O╟■═■O&lt;br /&gt;
      ☼ ☼       ☼&lt;br /&gt;
minecart&lt;br /&gt;
}}&lt;/div&gt;</summary>
		<author><name>Gnidan</name></author>
	</entry>
	<entry>
		<id>https://dwarffortresswiki.org/index.php?title=User:Gnidan&amp;diff=223017</id>
		<title>User:Gnidan</title>
		<link rel="alternate" type="text/html" href="https://dwarffortresswiki.org/index.php?title=User:Gnidan&amp;diff=223017"/>
		<updated>2016-01-27T02:51:42Z</updated>

		<summary type="html">&lt;p&gt;Gnidan: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;br /&gt;
== Minecart Routing ==&lt;br /&gt;
&lt;br /&gt;
Track Circuit for dual wait/release setups.&lt;br /&gt;
{{diagram|spaces=yes|\&lt;br /&gt;
  O             O&lt;br /&gt;
  ╥☼O╞═╡O O╞═╡O☼╥&lt;br /&gt;
  ║│           │║&lt;br /&gt;
  ╨☼O         O☼╨&lt;br /&gt;
  O│╥──☼─☼─☼──╥│O&lt;br /&gt;
   │║    │    ║│&lt;br /&gt;
   │║    │    ║│&lt;br /&gt;
   ☼╨  ☼─☼☼☼─☼╨☼&lt;br /&gt;
   │O  ☼───☼ │O&lt;br /&gt;
  O╞══╡O╞══╡O╞══╡O&lt;br /&gt;
      ☼ ☼       ☼&lt;br /&gt;
track&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
  O             O&lt;br /&gt;
  ╤☼O╞^╡O O╞^╡O☼╤&lt;br /&gt;
  ^│           │^&lt;br /&gt;
  ╧☼O         O☼╧&lt;br /&gt;
  O│╤──☼─☼─☼──╤│O&lt;br /&gt;
   │^    │    ^│&lt;br /&gt;
   │║    │    ║│&lt;br /&gt;
   ☼╧  ☼─☼☼☼─☼╧☼&lt;br /&gt;
   │O  ☼───☼ │O&lt;br /&gt;
  O╟^═╢O╟═^╢O╟^═╢O&lt;br /&gt;
      ☼ ☼       ☼&lt;br /&gt;
furniture&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
  O             O&lt;br /&gt;
  ■☼O■^╡O O■^╡O☼■&lt;br /&gt;
  ^│           │^&lt;br /&gt;
  ╧☼O         O☼╧&lt;br /&gt;
  O│╤──☼─☼─☼──╤│O&lt;br /&gt;
   │■    │    ■│&lt;br /&gt;
   │║    │    ║│&lt;br /&gt;
   ☼■  ☼─☼☼☼─☼■☼&lt;br /&gt;
   │O  ☼───☼ │O&lt;br /&gt;
  O╟■═■O╟■^■O╟■═■O&lt;br /&gt;
      ☼ ☼       ☼&lt;br /&gt;
minecart&lt;br /&gt;
}}&lt;/div&gt;</summary>
		<author><name>Gnidan</name></author>
	</entry>
</feed>