Posted 17 October 2018 - 09:36 PM
Ladder Diagram in ComputerCraft
Why? I wanted a little challenge.
https://youtu.be/8b9IFxwNYe4
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.
Code please?
Unless someone requests it and really want it, I won't post it.
It is a coding nightmare consisting of 750 lines of bad code.
If anyone really wants this functionality, I will rewrite it from scratch (With proper screen buffer etc).
Why? I wanted a little challenge.
https://youtu.be/8b9IFxwNYe4
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.
Code please?
Unless someone requests it and really want it, I won't post it.
It is a coding nightmare consisting of 750 lines of bad code.
If anyone really wants this functionality, I will rewrite it from scratch (With proper screen buffer etc).