Programmable logic controller, PLC installed in a control panel