Logic Friday Design using combinators (Decision Tables/Karnaugh maps)

This board is to show, discuss and archive useful combinator- and logic-creations.
Smart triggering, counters and sensors, useful circuitry, switching as an art :), computers.
Please provide if possible always a blueprint of your creation.
Post Reply
User avatar
HeilTec
Filter Inserter
Filter Inserter
Posts: 258
Joined: Tue Jul 08, 2014 1:14 pm
Contact:

Logic Friday Design using combinators (Decision Tables/Karnaugh maps)

Post by HeilTec »

Experiment with Factorio and "Logic Friday"

When designing any kind of logic functionality one must always start with some sort of specification.
To get things rolling an example is needed. With the possibility to read Storage Tanks and control pumps by wire network -
let's make a fluid balancer (for petroleum gas) since that would be handy.
To be useful it should handle both situations of either plenty or scarcity.
intro
Using the opensource program "LogicFriday" a truth-table can be input.
truth
friday
Combinator build.


Now the inputs are ready, the State machine for the pump control can be designed.
big truth
min
manumap
Overview
All in one (10 = max attachments)
All in one (10 = max attachments)
Overview.png (827.6 KiB) Viewed 13581 times

logic
Complete RTF document
Google is my friend. Searching the forum and the wiki is always a first.

User avatar
ssilk
Global Moderator
Global Moderator
Posts: 12888
Joined: Tue Apr 16, 2013 10:35 pm
Contact:

Re: Logic Friday Design using combinators

Post by ssilk »

Which shows again, that decision tables/Karnaugh maps are a good idea to design circuits, see https://forums.factorio.com/forum/vie ... sion+table

Would be cool to make a pdf out of it, cause I guess, that this rtf cannot be displayed by everybody.
Cool suggestion: Eatable MOUSE-pointers.
Have you used the Advanced Search today?
Need help, question? FAQ - Wiki - Forum help
I still like small signatures...

User avatar
HeilTec
Filter Inserter
Filter Inserter
Posts: 258
Joined: Tue Jul 08, 2014 1:14 pm
Contact:

Re: Logic Friday Design using combinators

Post by HeilTec »

ssilk wrote:Which shows again, that decision tables/Karnaugh maps are a good idea to design circuits, see https://forums.factorio.com/forum/vie ... sion+table

Would be cool to make a pdf out of it, cause I guess, that this rtf cannot be displayed by everybody.
Right on both points:
1. Before I tried the LogicFriday tool I actually used Karnough maps to get to the boolean functions. How nice to find friendly free tools to remove the toil and many possibilities to fail. After this I tried another little tool called "LogiSim" - due to the poor circuit editing interface in LogicFriday. LogiSim was used to draw the manual map circuit that was built in-game using just the equations.

2. The .rtf is my working copy I prepared before posting. Unable to fit all the images I ended up just sharing the raw file. It would be nice if some better format could be used for both working on it and sharing. The Images in the .rtf are .jpg - they are also available in .png
Google is my friend. Searching the forum and the wiki is always a first.

Lupoviridae
Fast Inserter
Fast Inserter
Posts: 155
Joined: Mon Apr 20, 2015 6:26 pm
Contact:

Re: Logic Friday Design using combinators

Post by Lupoviridae »

Seeing this, I think it would be a REALLY great addition if it were made so that in in the Alt info overlay for the game, red and green wires were thicker/highlighted, like what you have in the diagram. It would really help.

User avatar
HeilTec
Filter Inserter
Filter Inserter
Posts: 258
Joined: Tue Jul 08, 2014 1:14 pm
Contact:

Re: Logic Friday Design using combinators

Post by HeilTec »

Lupoviridae wrote:Seeing this, I think it would be a REALLY great addition if it were made so that in in the Alt info overlay for the game, red and green wires were thicker/highlighted, like what you have in the diagram. It would really help.
Why stop there - show signals on the poles (as extended option)
Google is my friend. Searching the forum and the wiki is always a first.

User avatar
provet
Fast Inserter
Fast Inserter
Posts: 133
Joined: Thu Feb 12, 2015 9:49 pm
Contact:

Re: Logic Friday Design using combinators (Decision Tables/Karnaugh maps)

Post by provet »

Interesting will definitely take a look at this during the weekend!

Post Reply

Return to “Combinator Creations”