Jump to content




Ladder Diagram in CC

utility lua

2 replies to this topic

#1 Frekvens1

  • Members
  • 5 posts

Posted 17 October 2018 - 08: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).

#2 Lyqyd

    Lua Liquidator

  • Moderators
  • 8,441 posts

Posted 18 October 2018 - 12:58 AM

Moved to Media. Posts in Programs require code.

#3 Frekvens1

  • Members
  • 5 posts

Posted 18 October 2018 - 02:09 AM

View PostLyqyd, on 18 October 2018 - 12:58 AM, said:

Moved to Media. Posts in Programs require code.

Thanks. I didn't have access to post here.





1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users