PLC automation control system