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:Hussell/ClockToggle"

From Dwarf Fortress Wiki
Jump to navigation Jump to search
(Created page with '=Clock Toggle= I don't know the proper name for this. Oh well. {| style="border-spacing: 0" |- |{{888}} |{{888}} |{{888}} |{{888}} |{{888}} |- |{{888}} |{{888}} |{{888}} |{{RT0…')
 
m
 
(2 intermediate revisions by the same user not shown)
Line 101: Line 101:
  
 
This is what you get when you connect the output of a [[User:Hussell/DataFlipFlop|Data Flip-Flop]] back into its Data input. When the Clock input is connected to a [[Repeater]], the output ({{Raw Tile|^|#0FF|#000}} and its inverse {{Raw Tile|^|#FF0|#000}}) toggle when and only when the clock sends an OPEN signal. If you connect several of these in sequence, you can create a counter that counts up or down. In short, a dwarven clock.
 
This is what you get when you connect the output of a [[User:Hussell/DataFlipFlop|Data Flip-Flop]] back into its Data input. When the Clock input is connected to a [[Repeater]], the output ({{Raw Tile|^|#0FF|#000}} and its inverse {{Raw Tile|^|#FF0|#000}}) toggle when and only when the clock sends an OPEN signal. If you connect several of these in sequence, you can create a counter that counts up or down. In short, a dwarven clock.
 +
 +
Note that if you build a repeater with two pressure plates, one triggering on high water and the other on low water, you can connect it directly to the {{Raw Tile|┼|#00F|#000}} and {{Raw Tile|┼|#F0F|#000}} doors and get rid of that little inverter at the top. If you do this, you won't need any drainage anywhere in the system.
  
  
Line 445: Line 447:
 
|{{888}}
 
|{{888}}
 
|}
 
|}
 +
 +
 +
 +
A variation requiring more digging, but fewer doors and mechanisms (and thus fewer jobs to set up), and assuming a repeater which provides an inverse output as well as its normal output:
 +
{| style="border-spacing: 0"
 +
|-
 +
|{{888}}
 +
|{{888}}
 +
|{{888}}
 +
|{{888}}
 +
|{{888}}
 +
|{{888}}
 +
|{{888}}
 +
|-
 +
|{{888}}
 +
|{{888}}
 +
|{{C.C}}
 +
|{{RT0|┼|#0FF}}
 +
|{{RT0|┼|#F80}}
 +
|{{RT0|^|#80F}}
 +
|{{888}}
 +
|-
 +
|{{H2O}}
 +
|{{RT0|┼|#F0F}}
 +
|{{C.C}}
 +
|{{888}}
 +
|{{888}}
 +
|{{888}}
 +
|{{888}}
 +
|-
 +
|{{888}}
 +
|{{888}}
 +
|{{C.C}}
 +
|{{RT0|┼|#FF0}}
 +
|{{RT0|┼|#80F}}
 +
|{{RT0|^|#F80}}
 +
|{{888}}
 +
|-
 +
|{{888}}
 +
|{{888}}
 +
|{{888}}
 +
|{{888}}
 +
|{{888}}
 +
|{{888}}
 +
|{{888}}
 +
|-
 +
|{{888}}
 +
|{{888}}
 +
|{{C.C}}
 +
|{{RT0|┼|#F80}}
 +
|{{RT0|┼|#FF0}}
 +
|{{RT0|^|#0FF}}
 +
|{{888}}
 +
|-
 +
|{{H2O}}
 +
|{{RT0|┼|#00F}}
 +
|{{C.C}}
 +
|{{888}}
 +
|{{888}}
 +
|{{888}}
 +
|{{888}}
 +
|-
 +
|{{888}}
 +
|{{888}}
 +
|{{C.C}}
 +
|{{RT0|┼|#80F}}
 +
|{{RT0|┼|#0FF}}
 +
|{{RT0|^|#FF0}}
 +
|{{888}}
 +
|-
 +
|{{888}}
 +
|{{888}}
 +
|{{888}}
 +
|{{888}}
 +
|{{888}}
 +
|{{888}}
 +
|{{888}}
 +
|}
 +
 +
For reference, a two-plate repeater might look like this:
 +
{| style="border-spacing: 0"
 +
|-
 +
|{{888}}
 +
|{{888}}
 +
|{{888}}
 +
|{{888}}
 +
|{{888}}
 +
|{{888}}
 +
|-
 +
|{{H2O}}
 +
|{{RT0|╬|#0F0}}
 +
|{{RT0|^|#0F0}}
 +
|{{RT0|^|#F00}}
 +
|{{RT0|X|#0F0}}
 +
|{{888}}
 +
|-
 +
|{{888}}
 +
|{{888}}
 +
|{{888}}
 +
|{{888}}
 +
|{{888}}
 +
|{{888}}
 +
|}
 +
 +
Where {{Raw Tile|^|#0F0|#000}} is a 7-7 pressure plate controlling the one tile raising drawbridge {{Raw Tile|╬|#0F0|#000}} and the flood gate {{Raw Tile|X|#0F0|#000}}, and {{Raw Tile|^|#F00|#000}} is a 0-6 pressure plate acting as the inverse output.

Latest revision as of 17:27, 10 November 2009

Clock Toggle[edit]

I don't know the proper name for this. Oh well.

>
^
^
^
^
^

is a water source (preferably infinite)

are doors controlled by the Clock input.

^ is a 0-6 pressure plate controlling door .

> are downward stairways acting as unpressurized drains.

^, ^, ^, and ^ are 7-7 pressure plates controlling the doors of the same colors.

3 is 3/7 water.


This is what you get when you connect the output of a Data Flip-Flop back into its Data input. When the Clock input is connected to a Repeater, the output (^ and its inverse ^) toggle when and only when the clock sends an OPEN signal. If you connect several of these in sequence, you can create a counter that counts up or down. In short, a dwarven clock.

Note that if you build a repeater with two pressure plates, one triggering on high water and the other on low water, you can connect it directly to the and doors and get rid of that little inverter at the top. If you do this, you won't need any drainage anywhere in the system.


Clock CLOSED, Output CLOSED:

>
^
7 3 ^
7 7 ^
2 3 ^
^


Clock OPEN, Output OPEN:

>
7 ^
2 3 ^
^
7 7 ^
7 3 ^


Clock CLOSED, Output OPEN:

>
^
7 7 ^
7 3 ^
^
2 3 ^


Clock OPEN, Output OPEN:

>
7 ^
^
2 3 ^
7 3 ^
7 7 ^


A variation requiring more digging, but fewer doors and mechanisms (and thus fewer jobs to set up), and assuming a repeater which provides an inverse output as well as its normal output:

. ^
.
. ^
. ^
.
. ^

For reference, a two-plate repeater might look like this:

^ ^ X

Where ^ is a 7-7 pressure plate controlling the one tile raising drawbridge and the flood gate X, and ^ is a 0-6 pressure plate acting as the inverse output.