by rramadass·6y ago·view on hn ↗I had come across Building Arduino PLCs: The essential techniques you need to develop Arduino-based PLCs when i was looking for something similar a while ago. You might find it a good starting point.