v50 Steam/Premium information for editors
  • v50 information can now be added to pages in the main namespace. v0.47 information can still be found in the DF2014 namespace. See here for more details on the new versioning policy.
  • Use this page to report any issues related to the migration.
This notice may be cached—the current version can be found here.

Difference between revisions of "User:MrFake/NStepCyclicRepeater"

From Dwarf Fortress Wiki
Jump to navigation Jump to search
(Created page with '== General ''n''-step Cyclic Repeater == === Layout === Side View {| style="border-spacing: 0" |- | | | |1 | | |2 | | |3 | | | |- | | |{{000}} |{{RT0|*|#F0F}} |{{000}} |{{000}…')
 
Line 1: Line 1:
 
== General ''n''-step Cyclic Repeater ==
 
== General ''n''-step Cyclic Repeater ==
 +
 +
Allows for cyclic pressure plate-based switching and deterministic timing using a robust repeater, for any '''n>1'''.
 +
  
 
=== Layout ===
 
=== Layout ===
Line 92: Line 95:
 
=== Description ===
 
=== Description ===
  
Plate 1 (just left of pump 1) is connected to gear 3.  Plate 2 is connected to gear 4 and so on, wrapping around from the beginning to create a cycle.  Plate '''i''' in an '''n'''-step repeater is connected to gear '''((i+1) mod n)+1'''.
+
Plate 1 (just left of pump 1) is connected to gear 2.  Plate 2 is connected to gear 3 and so on, wrapping around from the beginning to create a cycle--in the layout above, plate 3 is shown connected back to gear 1.  Plate '''i''' in an '''n'''-step repeater is connected to gear '''(i ''mod'' n)+1'''.
  
 
This allows for a sequential repeater with any n steps, where n is an integer greater than 1.
 
This allows for a sequential repeater with any n steps, where n is an integer greater than 1.
Line 295: Line 298:
  
 
The bottom right channel has no plate, so the left pump just passes the water.  Thus, odd steps are allowed, though they add extra ticks for passing the water.
 
The bottom right channel has no plate, so the left pump just passes the water.  Thus, odd steps are allowed, though they add extra ticks for passing the water.
 +
 +
 +
==== 2-step Alternating Repeater ====
 +
 +
See [http://dwarffortresswiki.net/index.php/User:MrFake/TwoStepAlternatingRepeater here] for this special case using a double-pump stack design.

Revision as of 03:19, 7 December 2009

General n-step Cyclic Repeater

Allows for cyclic pressure plate-based switching and deterministic timing using a robust repeater, for any n>1.


Layout

Side View

1 2 3
* * *
... % > % > % > ...
^ ^ ^

Legend

% > pump outputting to the right
^ pressure plate
* gear assembly supplying power
wall


Description

Plate 1 (just left of pump 1) is connected to gear 2. Plate 2 is connected to gear 3 and so on, wrapping around from the beginning to create a cycle--in the layout above, plate 3 is shown connected back to gear 1. Plate i in an n-step repeater is connected to gear (i mod n)+1.

This allows for a sequential repeater with any n steps, where n is an integer greater than 1.


Examples

Legend

% - pump outputting to the right
^ pressure plate
channel with no plate
wall


4-step cyclic repeater

Top Down View

^ % - ^
| %
% |
^ - % ^


6-step cyclic repeater

Top Down View

^ % - ^
| %
% |
^ ^
| %
% |
^ - % ^


3-step cyclic repeater

^ % - ^
| %
% |
^ - %

The bottom right channel has no plate, so the left pump just passes the water. Thus, odd steps are allowed, though they add extra ticks for passing the water.


2-step Alternating Repeater

See here for this special case using a double-pump stack design.