ComputerCraft Forums

ComputerCraft => Media => Topic started by: Frekvens1 on Oct 17, 2018, 10:01 pm

Title: Ladder Diagram in ComputerCraft
Post by: Frekvens1 on Oct 17, 2018, 10:01 pm
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.