SMS: Programmable logic control (PLC)