Automaton
Automate your manufactory – machines and stackers!
Features:
– up to 3 machines and 3 stackers
– toggle stacker when machine turned on/off
– turns off machine and stacker when idle for 45 seconds
– ejects from stacker before turning it off
– craft exact amount of items as specified per stacker quantity
Setup:
– connect IC Housing with the same network as machines and stackers
– set machines(autolathe, printer etc) on the left side(screws d0-d2) and associated stackers on the right side(screws d3-d5). The machine on screw d0 will control stacker on screw d3 and so on.
All devices are optional – connect one, two or three machines with or without stackers 😉
To customize time before shutdown change value for variable "Timeout" on the line 7 by doubling amount of seconds needed(with value 90 it waits 45 sec).
P.S. The script code contains a bunch of comments, so it should be easy to figure out what’s going in it. Thumbs up if you like this approach 🙂