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.

Editing User:Hussell/Repeater

Jump to navigation Jump to search

Warning: You are not logged in.
Your IP address will be recorded in this page's edit history.


The edit can be undone. Please check the comparison below to verify that this is what you want to do, and then save the changes below to finish undoing the edit.

Latest revision Your text
Line 1: Line 1:
==101 Step Repeater==
 
 
 
{|
 
{|
 
|-
 
|-
Line 105: Line 103:
  
 
That last requirement may seem a little odd. Here's what you need to know: every turn, screw pumps attempt to pump water in the order ''opposite'' to the order they were built in. If a [[Screw_pump#Pumping_up_multiple_levels|pump stack]] is built from bottom to top, it will pump water one level per step. But if it's built from top to bottom, it will pump water from the bottom to the top in ''one step''. In particular, any pressure plates on the intermediate levels will ''not'' be activated. This is how this design gets around the fact that the lower screw pump continues to pump for 50 steps after the lower gear is deactivated.
 
That last requirement may seem a little odd. Here's what you need to know: every turn, screw pumps attempt to pump water in the order ''opposite'' to the order they were built in. If a [[Screw_pump#Pumping_up_multiple_levels|pump stack]] is built from bottom to top, it will pump water one level per step. But if it's built from top to bottom, it will pump water from the bottom to the top in ''one step''. In particular, any pressure plates on the intermediate levels will ''not'' be activated. This is how this design gets around the fact that the lower screw pump continues to pump for 50 steps after the lower gear is deactivated.
 +
 +
You can check the order in which your screw pumps were built on the {{k|r}}ooms page. Just {{k|PgUp}} until you find the screw pumps, then check the last two on the list. If the lower screw pump isn't last on the list, just deconstruct and reconstruct it.
  
 
Why is the plate 2-7? I use a pond zone to put water into the Z-level -1 pit. Screw pumps ignore 1/7 water, but pump 2/7 water completely, so 2 is the minimum amount of water needed to run this machine. Up to 7 will also work, but isn't required. More than 7 may cause spillage, depending on where the accessible spaces are. I have no idea what will happen if there's more than 7 water and no place for it to flow to, but the device will almost certainly malfunction.
 
Why is the plate 2-7? I use a pond zone to put water into the Z-level -1 pit. Screw pumps ignore 1/7 water, but pump 2/7 water completely, so 2 is the minimum amount of water needed to run this machine. Up to 7 will also work, but isn't required. More than 7 may cause spillage, depending on where the accessible spaces are. I have no idea what will happen if there's more than 7 water and no place for it to flow to, but the device will almost certainly malfunction.
  
Testing reveals that the build order of ''all'' the components is important. If the pressure plate is built before the hatch and/or gear, there will be a one step delay between the pressure plate sending a signal and the hatch and/or gear reacting. If the gear is built before the lower screw pump, there will be a one step delay between the gear and pump gaining power and the water being pumped. You want to build things in this order: upper pump, lower pump, gear and hatch, pressure plate. If you do that, you get the following cycle:
+
  Step 1: water in pit, lower gear active, hatch closed (CLOSE signal sent)
 
+
  Step 2: water on plate, lower gear active, hatch closed
  Step 1: water in pit, lower gear inactive, hatch open
 
  Step 2: water on plate, lower gear active, hatch closed (CLOSE signal sent)
 
 
  Step 3: water in shaft, lower gear inactive, hatch open (OPEN signal sent)
 
  Step 3: water in shaft, lower gear inactive, hatch open (OPEN signal sent)
 
  Step 52: lower pump pumps nothing this step, water soon rests in pit
 
  Step 52: lower pump pumps nothing this step, water soon rests in pit
  Step 102: water in pit, lower gear inactive, hatch open
+
  Step 103: water in pit, lower gear active, hatch closed (CLOSE signal sent)
  Step 103: water on plate, lower gear active, hatch closed (CLOSE signal sent)
+
  Step 104: water on plate, lower gear active, hatch closed
  Step 104: water in shaft, lower gear inactive, hatch open (OPEN signal sent)
+
  Step 105: water in shaft, lower gear inactive, hatch open (OPEN signal sent)
  
So: a 101 step cycle. During 100 of these steps, the hatch is open and the lower gear is inactive. The CLOSE signal is sent and the water is pumped onto the pressure plate at the beginning of the 101st step, and the OPEN signal is sent at the beginning of the 102nd step, which is also the first of the 100 steps during which the hatch is open. Although the lower gear is inactive for 100 steps, the lower pump continues pumping for 50 steps, but the water never touches the plate while the hatch is open if you've constructed the pumps in the correct order. If the other parts are constructed in the wrong order, you'll get a 102 or 103 step cycle.
+
So: a 102 step cycle. During 100 of these steps, the hatch is open and the lower gear is inactive. The CLOSE signal is sent at the beginning of the 101st step, the water is on the pressure plate during the 102nd step, and the OPEN signal is sent at the beginning of the 103rd step, which is also the first of the 100 steps during which the hatch is open. Although the lower gear is inactive for 100 steps, the lower pump continues pumping for 50 steps, but the water never touches the plate while the hatch is open if you've constructed the pumps in the correct order.
  
I believe this is the fastest repeater possible with pressure plates. Best of all, it doesn't require pressurized water, so there's no danger of flooding your fortress. There may be a simpler design, though. This one requires two screw pumps (2 blocks, 2 pipe sections/tubes, and 2 enormous corkscrews), two gears, a pressure plate, and two linkages (7 mechanisms), plus at least 2 mechanisms to link the output to something. 30 power plus however much is needed by the axle is required, so it could be powered by a single windmill, possibly on the surface directly above the upper gear. In any event, at least 3 logs will also be needed (for a waterwheel), and possibly more (4 for a windmill, plus some for axles).
+
I believe this is the fastest or almost the fastest repeater possible with pressure plates. Best of all, it doesn't require pressurized water, so there's no danger of flooding your fortress. There may be a simpler design, though. This one requires two screw pumps (2 blocks, 2 pipe sections/tubes, and 2 enormous corkscrews), two gears, a pressure plate, and two linkages (7 mechanisms), plus at least 2 mechanisms to link the output to something. 30 power plus however much is needed by the axle is required, so it could be powered by a single windmill, possibly on the surface directly above the upper gear. In any event, at least 3 logs will also be needed (for a waterwheel), and possibly more (4 for a windmill, plus some for axles).
  
  
==The Quest for a Fast Repeater==
+
=The Quest for a Fast Repeater=
  
 
These are the designs I tried that did '''not''' work. I preserve them here in the hopes that someone may learn from my mistakes.
 
These are the designs I tried that did '''not''' work. I preserve them here in the hopes that someone may learn from my mistakes.
  
 
The goal was to invent a device that triggered a pressure plate in a regular cycle, with no time variability, and a period faster than the standard [[Repeater]], which sends an OPEN signal once every 302 steps and a CLOSE signal on the 201st step, plus a small and variable delay caused by the time the water takes to drain away from the pressure plate.
 
The goal was to invent a device that triggered a pressure plate in a regular cycle, with no time variability, and a period faster than the standard [[Repeater]], which sends an OPEN signal once every 302 steps and a CLOSE signal on the 201st step, plus a small and variable delay caused by the time the water takes to drain away from the pressure plate.
 
===First Design===
 
  
 
This was my first quick design for a door-based repeater:
 
This was my first quick design for a door-based repeater:
Line 159: Line 155:
 
Little-known fact: pressure plates react instantly when their ON condition is met, but require 100 continuous steps of OFF conditions before sending an OFF signal. So the design above doesn't work as desired, because the red plate doesn't close the red door fast enough.
 
Little-known fact: pressure plates react instantly when their ON condition is met, but require 100 continuous steps of OFF conditions before sending an OFF signal. So the design above doesn't work as desired, because the red plate doesn't close the red door fast enough.
  
===Second Design===
 
  
 
This was my second design, using a hatch, and requiring a drainage system:
 
This was my second design, using a hatch, and requiring a drainage system:
Line 190: Line 185:
 
Actually, the fastest repeater I know of (and the easiest to set up) is "Pull the lever" on infinite repeat. I get about 1 pull every 5 or 6 steps with a perfectly agile dwarf, meaning one OPEN signal every 10-12 steps. Too bad it requires a dwarf.
 
Actually, the fastest repeater I know of (and the easiest to set up) is "Pull the lever" on infinite repeat. I get about 1 pull every 5 or 6 steps with a perfectly agile dwarf, meaning one OPEN signal every 10-12 steps. Too bad it requires a dwarf.
  
===Third Design===
 
  
 
Third design:
 
Third design:
Line 319: Line 313:
 
Testing, however, reveals that screw pumps remain active for exactly 50 steps after they lose power. Since the water can fall two squares within 50 steps, it gets pumped onto the pressure plate again, delaying the CLOSE signal by the time it took for the water to fall, which is variable. Back to the drawing board.
 
Testing, however, reveals that screw pumps remain active for exactly 50 steps after they lose power. Since the water can fall two squares within 50 steps, it gets pumped onto the pressure plate again, delaying the CLOSE signal by the time it took for the water to fall, which is variable. Back to the drawing board.
  
===Fourth Design===
 
  
 
Fourth design:
 
Fourth design:

Please note that all contributions to Dwarf Fortress Wiki are considered to be released under the GFDL & MIT (see Dwarf Fortress Wiki:Copyrights for details). If you do not want your writing to be edited mercilessly and redistributed at will, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource. Do not submit copyrighted work without permission!

To protect the wiki against automated edit spam, we kindly ask you to solve the following CAPTCHA:

Cancel Editing help (opens in new window)