Arduino PLC - Programing Ladder Logic

I build it off of this design. What I'm stuck on is the C++ programing. Is there tutorial that goes into more depth on how to code this thing? or would it be possible with this design to use of the open source ladder logic program for Arduino's? I'm just wondering if that would cause an problems

https://drive.google.com/file/d/1CMOy0OFotAPxdLSUv_-boZZOyCfHrxje/view?usp=sharing

https://drive.google.com/file/d/1CZJ4a7LqNp7zm1iNZ4u-LNp599Yk3xop/view?usp=sharing

https://drive.google.com/file/d/1WwAG4lano9xRezZlXncV6w4leZl25CWW/view?usp=sharing

What have you tried?

Post a short (less than 10 rungs) ladder program that you want to run on Arduino.

Sflem:
Is there tutorial that goes into more depth on how to code this thing?

There's a whole manual worth of materials on the main Arduino site. The top bar on your forum page has a pull-down with links into that and more.

The Tutorial Examples are built into your IDE under the File menu as Examples.

Yeah I know, I know, there's that huge catch where you have to look and try that is just so effort-killing.