Einstein-Engines icon indicating copy to clipboard operation
Einstein-Engines copied to clipboard

Programmable Logic Controller

Open Timfa2112 opened this issue 1 year ago • 3 comments

Description

A PLC, or Programmable Logic Controller, which interfaces with the wireless Device Linking system. Build the PLC, write Spessembly code and have your PLC control and read from any attached devices.

You could use these PLC's to add dynamic behaviour to anything that you can link together with your multitool. Think airlocks that actually pump in or out air before cycling, more complex behaviour in conveyor belts, longer sequences of events when pressing buttons or levers, automating linked devices based on pressure, temperature, time, light intensity, etc. etc.


TODO

  • [x] C# class that can interpret assembly-like code
  • [x] defining input and output registers in the assembly-interpreter
  • [x] complete assembly-like language (working title Spessembly)
  • [ ] Creating the boilerplate code needed for the entity to exist and do things in the world
  • [ ] connecting Device Linking signals and sending integers over the connection for sensors
  • [ ] Sprites!
  • [x] Buildable object via build menu, something simple like steel and lv cable
  • [ ] GUI the user can type text in, which also displays console output
  • [ ] dynamically adding device linking inputs and outputs

Media

Example Media Embed


Changelog

:cl: Alia Ash

  • add: Added Programmable Logic Controller

Timfa2112 avatar Aug 29 '24 06:08 Timfa2112

no way mlog ss14

image

BasedUser avatar Aug 29 '24 11:08 BasedUser

Is this being worked on?

Mnemotechnician avatar Sep 18 '24 10:09 Mnemotechnician

Is this being worked on?

I try to figure things out now and then, but I haven't had time in the past few days. Because I'm still very unfamiliar with how the device linking works, as well as making GUI and ensuring the entity to be placed in the world functions properly, I've attempted to find someone who wants to collaborate on this and fill in the gaps of my knowledge, but I've had no luck with that yet.

So, in short, it's had no progress on a while, but I haven't given up yet :P

Timfa2112 avatar Sep 18 '24 10:09 Timfa2112