It's a PLC (programmable logic controller).



Edit: beat to it