PLC

A programmable logic controller (PLC) is a specialised hardened computers and is used to synchronize the flow of inputs from (physical) sensors and events with the flow of outputs to actuators and events. This leads to precisely controlled actions that permit a tight control of almost any industrial process.

Reference
Wikipedia page: PLC.