Growing PLCs from Simple Logic Controllers to Complex Solutions