This hopefully will be a thread where people can post ideas/tricks for dwarven logic (gates, timers, et cetera.) Please post whether any idea is tested or not as well, as I will probably try to add good ideas to the wiki (in Quickfort format if I get the time, but seeing as exams are fast approaching, it may be a while)
My idea: 16 to 1 multiplexer
16 inputs (mechanisms connected to gears labeled A-P)
4 toggles (mechanisms connected to gears labeled 1-4)
(W-Z are inverted (pre-toggled) inputs of the respective toggles)
A B E F
43Z 43Z
2=1=X
4YZ 4YZ
C D G H
z+1
*=*=*=*
|
| *=== <- Power In
|
*=*=*=* <- Out
z
I J M N
43Z 43Z
2=W=X
4YZ 4YZ
K L O P
z-1
The only holes between levels are between the gears A-P and the running gears, and between gears 1 and W and the running gear between them.
This also can be used as a demultiplexer if one removes the "C" of running gears on the middle level.
This can be used for all sorts of things. Basicially what it does is takes 16 inputs and a (4-bit) selection of what input to use, gives out the value of that input.
Minimum power loss (selected input not on):29
Maximum power loss (when all inputs are on)=120+40+12+6+57=245
Note that this is reversible - but I wouldn't use it reversed, as the power usage (I think) tends to be higher - at least for the cases where inputs that arn't selected are on but the selected input isn't on, and the case where no inputs are on.
This is untested - use at your own risk!