Ladder Diagram in ComputerCraft

Started by Frekvens1, Oct 17, 2018, 10:01 PM

Previous topic - Next topic

Frekvens1

Ladder Diagram in ComputerCraft

Why? I wanted a little challenge.



What is ladder diagram?
It is a form of coding for real life PLCs used in automating heavy machinery.
The goal was making a program in ComputerCraft which could draw such code like the real deal.
Since I managed to make it look somewhat good in the end, I threw in I/O support for it aswell.

The end goal of this program was to make it behave like a real life PLC, realistic simulation.
The program uses Instruction List (IL) to draw the components and handle the logic.