A programmable logic controller is a ruggedized industrial computer designed to execute discrete and sequential control logic for machinery and processes. PLCs receive inputs from field devices like switches and sensors, process programmed logic, and drive outputs to actuators, valves, and motor starters. These controllers are preferred for standalone equipment packages and batch processes where fast scan times and deterministic response are required.