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}…')
 
 
(4 intermediate revisions by 2 users not shown)
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 266: Line 269:
 
|-
 
|-
 
|{{CCC}}
 
|{{CCC}}
|{{RT0|<nowiki>|</nowiki>|#0F0}}
+
|{{RT0|<nowiki>|</nowiki>|#F00}}
 
|{{CCC}}
 
|{{CCC}}
 
|{{CCC}}
 
|{{CCC}}
Line 273: Line 276:
 
|-
 
|-
 
|{{CCC}}
 
|{{CCC}}
|{{RT0|%|#0F0}}
+
|{{RT0|%|#F00}}
 
|{{CCC}}
 
|{{CCC}}
 
|{{CCC}}
 
|{{CCC}}
Line 281: Line 284:
 
|{{CCC}}
 
|{{CCC}}
 
|{{RT0|^|#00F}}
 
|{{RT0|^|#00F}}
|{{RT0|-|#F00}}
+
|{{RT0|-|#0F0}}
|{{RT0|%|#F00}}
+
|{{RT0|%|#0F0}}
 
|{{000}}
 
|{{000}}
 
|{{CCC}}
 
|{{CCC}}
Line 294: Line 297:
 
|}
 
|}
  
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 bottom pump just passes the water.  Thus, odd steps are allowed. The gear assembly above the bottom pump can optionally be attached to a lever so that the repeater can be switched off and return to a known state.
 +
 
 +
==== 2-step Alternating Repeater ====
 +
 
 +
See [[User:MrFake/TwoStepAlternatingRepeater|this page]] for this special case using a double-pump stack design.

Latest revision as of 20:01, 24 October 2011

General n-step Cyclic Repeater[edit]

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


Layout[edit]

Side View

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

Legend

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


Description[edit]

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[edit]

Legend

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


4-step cyclic repeater[edit]

Top Down View

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


6-step cyclic repeater[edit]

Top Down View

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


3-step cyclic repeater[edit]

^ % - ^
| %
% |
^ - %

The bottom right channel has no plate, so the bottom pump just passes the water. Thus, odd steps are allowed. The gear assembly above the bottom pump can optionally be attached to a lever so that the repeater can be switched off and return to a known state.

2-step Alternating Repeater[edit]

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