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:Root Infinity"

From Dwarf Fortress Wiki
Jump to navigation Jump to search
 
(3 intermediate revisions by the same user not shown)
Line 5: Line 5:
 
This flip-flop toggles states when both C and T are on. Either Q or R are on at all times, but not both. It can be kind of hard to trigger properly the first time. If that happens (both Q and R are alternating on and off), disconnect all power and manually pump one of each of (Q or R) and (H or I), then reconnect power while the two pumps are both being forced on.
 
This flip-flop toggles states when both C and T are on. Either Q or R are on at all times, but not both. It can be kind of hard to trigger properly the first time. If that happens (both Q and R are alternating on and off), disconnect all power and manually pump one of each of (Q or R) and (H or I), then reconnect power while the two pumps are both being forced on.
 
====Truth Table====
 
====Truth Table====
{| class="wikitable"
+
{| class="wikitable" border="1"
 +
! colspan="2" | Inputs
 +
! colspan="2" | Outputs
 
|-
 
|-
 
! C
 
! C
Line 47: Line 49:
 
These three sections do not need to be placed together.
 
These three sections do not need to be placed together.
  
===Legend===
+
====Legend====
{| class="wikitable"
+
{| class="wikitable" border="1"
 
|-
 
|-
 
! Gear
 
! Gear
Line 78: Line 80:
 
|}
 
|}
 
Note: Letters that are upper-case mean that the gear assembly has been pre-toggled.
 
Note: Letters that are upper-case mean that the gear assembly has been pre-toggled.
 +
 +
==Hybrid Logic==
 +
Hybrid logic elements use more than just one type of logic.
 +
===Rotation Sensor===
 +
A rotation sensor is something that turns a presence or absence of power to the input to a toggle output.
 +
This rotation sensor is fluid-conserving and fast.
 +
====Design====
 +
  %>^~#
 +
- --- -
 +
<nowiki>#~~~~~#</nowiki>
 +
This is the side view.
 +
Connect the pump to the input, & fill it with 42 units of water (6 full water tiles).
 +
If you want it to be inverting, set the pressure plate to trigger on 2-4 units of water, otherwise set it to 5-7 units.
 +
====Legend====
 +
{| class="wikitable"
 +
|-
 +
| %>
 +
| Pump (pumps from left)
 +
|-
 +
| #
 +
| Wall
 +
|-
 +
| ^
 +
| Pressure Plate
 +
|-
 +
| -
 +
| Floor
 +
|-
 +
| ~
 +
| Water
 +
|}

Latest revision as of 02:19, 12 June 2011

Flip-flops[edit]

A flip-flop is a logic gate with "memory" - see Wikipedia for more.

T Flip-flop[edit]

This flip-flop toggles states when both C and T are on. Either Q or R are on at all times, but not both. It can be kind of hard to trigger properly the first time. If that happens (both Q and R are alternating on and off), disconnect all power and manually pump one of each of (Q or R) and (H or I), then reconnect power while the two pumps are both being forced on.

Truth Table[edit]

Inputs Outputs
C T Q R
0 0 Q R
0 1 Q R
1 0 Q R
1 1 R Q

Design[edit]

CQ= <-- to power sensor for R (inverted)
pI
pr
ti= <-- To power sensor for H
pc
th= <-- To power sensor for I
pq
pH
CR= <-- To power sensor for Q (inverted)

These three sections do not need to be placed together.

Legend[edit]

Gear Connected to
P Power in
C Clock
T Toggle in
Q Q Output
R R Output
H H "Output"
I I "Output"
* Gear Assembly

Note: Letters that are upper-case mean that the gear assembly has been pre-toggled.

Hybrid Logic[edit]

Hybrid logic elements use more than just one type of logic.

Rotation Sensor[edit]

A rotation sensor is something that turns a presence or absence of power to the input to a toggle output. This rotation sensor is fluid-conserving and fast.

Design[edit]

  %>^~#
- --- -
#~~~~~#

This is the side view. Connect the pump to the input, & fill it with 42 units of water (6 full water tiles). If you want it to be inverting, set the pressure plate to trigger on 2-4 units of water, otherwise set it to 5-7 units.

Legend[edit]

%> Pump (pumps from left)
# Wall
^ Pressure Plate
- Floor
~ Water